Commit Graph

7644 Commits

Author SHA1 Message Date
silverice
dac3af89ec revert Fix Object::IsInMap to check instanceId
if pointers differens, maps can't be same

--HG--
branch : trunk
2010-03-21 01:24:25 +02:00
Machiavelli
a0fd280a34 Memory optimization by making m_refundableItems a std::set<uint64>. Also fix a crash caused by invalid iterator in Player::_SaveInventory(). This should fix the last of the item save related crashes.
--HG--
branch : trunk
2010-03-20 21:49:01 +01:00
Machiavelli
f7ffd77123 Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the resolution for some client crashes.
--HG--
branch : trunk
2010-03-20 21:26:29 +01:00
Xanadu
830062779e Improved the kill proc slightly.
--HG--
branch : trunk
2010-03-20 18:49:50 +01:00
Machiavelli
b651b592ef Fix arena point calculation. If the configured arena season is >= 5, teams below 1500 rating should get a fixed amount of points, equal to the amount of points a person with 1500 rating would get.
--HG--
branch : trunk
2010-03-20 17:51:23 +01:00
Machiavelli
d21f0c3ce8 Make sure a to be traded item ends up in the item update queue for the correct player.
--HG--
branch : trunk
2010-03-20 16:42:22 +01:00
Machiavelli
a0d8b0be48 Item system update
- Set ITEM_FIELD_CREATE_PLAYED_TIME to 0 in Item::Create, should fix crash described in issue 1199
- Change some function calls so on Player::_saveInventory the core doesn't have to check for existance of item anymore when iterating over m_refundableItems. The loop will now only update played time, removal of items from this set is done in other functions.
- Cleanup in affected functions.

--HG--
branch : trunk
2010-03-20 16:26:16 +01:00
Tartalo
10417f1e6d Fix few typos on last commits
--HG--
branch : trunk
2010-03-20 13:22:02 +01:00
Tartalo
3ddaedf88c Gundrak, Slad'Ran: Despawn adds on wipe
--HG--
branch : trunk
2010-03-20 13:20:35 +01:00
Tartalo
830e55cfcb Azjol Nerub, Anub'Arak: Despawn adds on wipes
--HG--
branch : trunk
2010-03-20 13:18:48 +01:00
Tartalo
617c94c9da Halls of Stone: Implement achievement Brann's Spankin' New
--HG--
branch : trunk
2010-03-20 13:15:44 +01:00
Tartalo
3c2d7a4bba Merge
--HG--
branch : trunk
2010-03-20 13:07:24 +01:00
Tartalo
5bd575b974 Halls of Stone: Allow to loot Brann's chest when encounter ends (without waiting all the event). Blizzlike change
--HG--
branch : trunk
2010-03-20 13:06:21 +01:00
Trazom62
feeb3f564c Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
--HG--
branch : trunk
2010-03-20 13:02:34 +01:00
Xanadu
34fb5df569 Fixed KILL proc to occur for the unit that lands the killing blow, not for the loot recipient.
--HG--
branch : trunk
2010-03-20 04:18:08 +01:00
Trazom62
7a8dff70ed Fix Object::IsInMap to check instanceId.
Fig group loot distance checks to also check map instanceId.
Fixes issue #1172.

--HG--
branch : trunk
2010-03-19 22:28:00 +01:00
Machiavelli
b6258cf1cf Fix SQL yet again, thanks Trazom. (My apologies)
--HG--
branch : trunk
2010-03-19 22:06:38 +01:00
Machiavelli
86a33aa538 Fix SQL's, thanks Aokromes.
--HG--
branch : trunk
2010-03-19 22:00:52 +01:00
Machiavelli
3ae5a4094e Implement instance script for Zul'Farrak and prevent Gahz'Rilla from being summoned multiple times.
--HG--
branch : trunk
2010-03-19 21:38:07 +01:00
Machiavelli
0c6368bd39 Fix hunter pet talent reset feature.
Thanks to Xanadu and nalimleinad for aiding research.

--HG--
branch : trunk
2010-03-19 20:20:42 +01:00
XTZGZoReX
2b55eb2efe * Fix a typo that broke guild creation times...
--HG--
branch : trunk
2010-03-19 18:27:53 +01:00
XTZGZoReX
bb99135e40 * Minor cleanups/comments in regards to SMSG_GUILD_INFO.
--HG--
branch : trunk
2010-03-19 17:24:23 +01:00
Xanadu
31608cfb72 Merge
--HG--
branch : trunk
2010-03-19 16:32:50 +01:00
Xanadu
64066da223 Fixed a crash. Closes issue #1182.
--HG--
branch : trunk
2010-03-19 16:30:07 +01:00
Machiavelli
01dc7aeb08 Fix heirloom armor proficiency downgrading for warriors.
--HG--
branch : trunk
2010-03-19 16:26:46 +01:00
Machiavelli
a77ba0bf56 Fix SMSG_GUILD_INFO (/guildinfo command)
--HG--
branch : trunk
2010-03-19 14:47:08 +01:00
teacher
9d5049da94 Little sql improvement.
--HG--
branch : trunk
2010-03-19 14:21:21 +01:00
Machiavelli
1146c59f66 Fix crash in Player::_saveInventory().
Fixes issue #1175

--HG--
branch : trunk
2010-03-19 13:36:54 +01:00
thenecromancer
34d7e1fed9 Missing part of previous commit (Periodic Leech is DoT as well)
Fix talents Improved Rend and Gag Order not increasing whole damage of affected spells
(applying effect modifiers - spellmod_effectx should be however done for every static damage added to already calculated damage, we can't just apply all spellmods after effects are processed...)

--HG--
branch : trunk
2010-03-19 08:47:03 +01:00
thenecromancer
f1266ebec3 Update player damage reduction by resilience combat rating
Apply crit damage reduction to periodic crit damage

--HG--
branch : trunk
2010-03-19 08:30:39 +01:00
thenecromancer
e67274392e Fix issues with NPC that have nonphysical melee damage
Remove Ranged attack from attackerstateupdate() children function (Ranged attacks are always done using spells)

--HG--
branch : trunk
2010-03-19 08:26:44 +01:00
Xanadu
812874a55b Fixed broken missile visuals in certain DST and SRC type spells (Void Reaver's Arcane Orb and many others). Achieved by fixing wildly incorrect SMSG_SPELL_GO target mask data handling.
--HG--
branch : trunk
2010-03-19 00:21:57 +01:00
Machiavelli
35a7f4849e Store alternate currency spent on an item by Item ExtendedCost entry instead of honorPts/arenaPts/items seperately. Thanks to Opterman for the idea.
--HG--
branch : trunk
2010-03-18 22:56:48 +01:00
Rat
ef57a96cce *fix quest Bury Those Cockroaches!(11608)
--HG--
branch : trunk
2010-03-18 22:34:14 +01:00
Rat
d08567965a *fix Merciless Totem of the Third Wind proc
*fix in world.sql

--HG--
branch : trunk
2010-03-18 21:32:16 +01:00
Xanadu
06d4918163 Added unit targets for TARGET_TYPE_DEST_TARGET and TARGET_TYPE_DEST_CASTER to tackle the cases where unit targets are required but there is no other implicit target to produce them (like in 53, 0 combination).
This works in conjunction with my next commit.

--HG--
branch : trunk
2010-03-18 20:41:38 +01:00
silverice
aca2d26bc5 remove unused player's class member,cleanup
--HG--
branch : trunk
2010-03-18 20:21:42 +02:00
Xanadu
59e0d42260 Added (blizzlike) packet broadcast to near teleport. Thanks to Zor and nalimleinad (AKA anonymous colleague #1) for research.
--HG--
branch : trunk
2010-03-18 17:58:27 +01:00
Machiavelli
302af79bc2 Implement vendor item refund system.
For info about this system, see: hxxp://us.blizzard.com/support/article.xml?locale=en_US&articleId=27351
Thanks to:
- Opterman, Malcrom, Xanadu + anonymous colleagues for aiding research on packet structure
- Aokromes and Svannon for testing

--HG--
branch : trunk
2010-03-18 17:27:40 +01:00
Xanadu
72833e1584 Identified a new spell attribute forbidding some spells to use caster's done dmg mods (spellpower etc).
--HG--
branch : trunk
2010-03-18 17:22:11 +01:00
XTZGZoReX
793a226692 * Remove typeid check and fix cast target for Improved Fear. Patch by jesper.vortex.
* Closes #946.

--HG--
branch : trunk
2010-03-18 14:57:39 +01:00
XTZGZoReX
1a6f216e91 * Cleanups and comments in Player::SendInitWorldStates.
--HG--
branch : trunk
2010-03-18 14:48:33 +01:00
Rat
2b096c478a *always remove UNIT_FLAG_OOC_NOT_ATTACKABLE if crature enters combat and reset on leave combat
-Please post feedback if it breaks any script!

--HG--
branch : trunk
2010-03-18 00:01:39 +01:00
Rat
4f948651df *Fix possible exploits with flying paths. by QAston
--HG--
branch : trunk
2010-03-17 23:16:35 +01:00
malcromtdb@gmail.com
bef85de621 Add script for Amberpine Woodsmen Grizzly Hills
--HG--
branch : trunk
2010-03-17 18:27:17 -02:30
Troy
ebb62fb12c Added 7597_world_scriptname.sql to world_scripts_full.sql
--HG--
branch : trunk
2010-03-17 18:00:40 -02:30
Xanadu
5603de6048 Argent Tournament Post script by Malcrom
--HG--
branch : trunk
2010-03-17 21:20:21 +01:00
Xanadu
6f6c7a85af Merge
--HG--
branch : trunk
2010-03-17 21:17:02 +01:00
Xanadu
2c605ee482 Upgraded SCRIPT_COMMAND_EMOTE to do state emotes, too, based on datalong2 value. By Malcrom.
--HG--
branch : trunk
2010-03-17 21:00:44 +01:00
silverice
4177b876f3 Added hack that was removed in [7443]
Closes issue #979

--HG--
branch : trunk
2010-03-17 21:34:42 +02:00