5fe2454b24
Fix one WPE exploit. When apply more 6 gems, and after player logout, server crash, also apply code style and cleanup.
n0n4m32010-03-23 14:38:31 -05:00
cfc094040f
Added support for maximum allowed player level for quests. By Gyullo.
Xanadu2010-03-23 16:10:18 +01:00
a348b591a7
Violet Hold: Exploit fix Now bosses reset if they're hitted when their door is closed
Tartalo2010-03-23 12:48:28 +01:00
3cd729294e
Gundrak: Fix for Eck the Ferocious spawning
Tartalo2010-03-23 12:25:01 +01:00
05e7a155a5
Fixed long forgotten gamebuild default value (thx Aokromes). Also fixed typo in script full file (thx ogeraisi).
teacher2010-03-23 02:13:38 +01:00
e26b96663a
Small update to Onyxia script: - Support for spawning Onyx Lair guardians - Maximum Whelp count per wave set to 20 as per Blizzlike - small update to her movement in phase 2 (might need to be overhauled, Breath isn't casted often enough)
Machiavelli2010-03-21 16:52:17 +01:00
19b84fd889
Missing part of previous commit. Thanks HG for being so coöperative.
Machiavelli2010-03-21 16:51:03 +01:00
13024dee64
- More changes to the item handling system to prevent an item still being listed in a player's refundable storage - Remove an assert in _SaveInventory(). Instead, I added an error log and manual removal. Please post these error logs should they occur - In _LoadInventory, also check for player_guid when loading refund data
Machiavelli2010-03-21 16:50:04 +01:00
74a2957af5
Don't proc KILLED for the victim twice when attacker's pet lands the killing blow.
Xanadu2010-03-21 16:23:50 +01:00
d01d4498ed
Don't set 'Created by...' for soul shards, it looks silly.
Xanadu2010-03-21 16:15:58 +01:00
91260d8409
Implemented Glyph of Drain Soul. Partly based on thenecromancer's code.
Xanadu2010-03-21 16:03:38 +01:00
36b2b5a1bc
The Nexus, The Oculus: Boss drakos support, register needed scripts This scripts are pushed for testing purposes, so is not recommended opening it for production enviroments. any feedback is welcome :) Fixes issue #449.
Tartalo2010-03-21 15:28:37 +01:00
5bada89128
Fix compilation error in previous commit.
Trazom622010-03-21 10:52:50 +01:00
4a406751af
Add some more function calls to remove refund referenced from player's m_refundableItems, preventing the triggering of an assert in _saveInventory.
Machiavelli2010-03-21 02:53:51 +01:00
dac3af89ec
revert Fix Object::IsInMap to check instanceId if pointers differens, maps can't be same
silverice2010-03-21 01:24:25 +02:00
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.
Machiavelli2010-03-20 21:49:01 +01:00
f7ffd77123
Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the resolution for some client crashes.
Machiavelli2010-03-20 21:26:29 +01:00
830062779e
Improved the kill proc slightly.
Xanadu2010-03-20 18:49:50 +01:00
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.
Machiavelli2010-03-20 17:51:23 +01:00
d21f0c3ce8
Make sure a to be traded item ends up in the item update queue for the correct player.
Machiavelli2010-03-20 16:42:22 +01:00
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.
Machiavelli2010-03-20 16:26:16 +01:00
10417f1e6d
Fix few typos on last commits
Tartalo2010-03-20 13:22:02 +01:00
3ddaedf88c
Gundrak, Slad'Ran: Despawn adds on wipe
Tartalo2010-03-20 13:20:35 +01:00
5bd575b974
Halls of Stone: Allow to loot Brann's chest when encounter ends (without waiting all the event). Blizzlike change
Tartalo2010-03-20 13:06:21 +01:00
feeb3f564c
Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
Trazom622010-03-20 13:02:34 +01:00
34fb5df569
Fixed KILL proc to occur for the unit that lands the killing blow, not for the loot recipient.
Xanadu2010-03-20 04:18:08 +01:00
7a8dff70ed
Fix Object::IsInMap to check instanceId. Fig group loot distance checks to also check map instanceId. Fixes issue #1172.
Trazom622010-03-19 22:28:00 +01:00
9d5049da94
Little sql improvement.
teacher2010-03-19 14:21:21 +01:00
1146c59f66
Fix crash in Player::_saveInventory(). Fixes issue #1175Machiavelli2010-03-19 13:36:54 +01:00
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...)
thenecromancer2010-03-19 08:47:03 +01:00
f1266ebec3
Update player damage reduction by resilience combat rating Apply crit damage reduction to periodic crit damage
thenecromancer2010-03-19 08:30:39 +01:00
e67274392e
Fix issues with NPC that have nonphysical melee damage Remove Ranged attack from attackerstateupdate() children function (Ranged attacks are always done using spells)
thenecromancer2010-03-19 08:26:44 +01:00
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.
Xanadu2010-03-19 00:21:57 +01:00
35a7f4849e
Store alternate currency spent on an item by Item ExtendedCost entry instead of honorPts/arenaPts/items seperately. Thanks to Opterman for the idea.
Machiavelli2010-03-18 22:56:48 +01:00
ef57a96cce
*fix quest Bury Those Cockroaches!(11608)
Rat2010-03-18 22:34:14 +01:00
d08567965a
*fix Merciless Totem of the Third Wind proc *fix in world.sql
Rat2010-03-18 21:32:16 +01:00
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.
Xanadu2010-03-18 20:41:38 +01:00
aca2d26bc5
remove unused player's class member,cleanup
silverice2010-03-18 20:21:42 +02:00
59e0d42260
Added (blizzlike) packet broadcast to near teleport. Thanks to Zor and nalimleinad (AKA anonymous colleague #1) for research.
Xanadu2010-03-18 17:58:27 +01:00
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
Machiavelli2010-03-18 17:27:40 +01:00
72833e1584
Identified a new spell attribute forbidding some spells to use caster's done dmg mods (spellpower etc).
Xanadu2010-03-18 17:22:11 +01:00
793a226692
* Remove typeid check and fix cast target for Improved Fear. Patch by jesper.vortex. * Closes#946.
XTZGZoReX2010-03-18 14:57:39 +01:00
1a6f216e91
* Cleanups and comments in Player::SendInitWorldStates.
XTZGZoReX2010-03-18 14:48:33 +01:00
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!
Rat2010-03-18 00:01:39 +01:00
4f948651df
*Fix possible exploits with flying paths. by QAston
Rat2010-03-17 23:16:35 +01:00
e65dfc6a31
attempt to stop mobs casting and fleeing while stunned or confused
reno2010-03-15 14:38:30 -05:00
b0b17e56de
- Overload Item::SetState with player argument where possible to ensure updated data is saved to DB properly. - Alter Item::SetEnchantmentDuration function, add parameter Player* because GetOwner() cannot be called in the function due to hashtable locking in the SaveAllPlayers process. - Remove a sanity check prior to Item::AddToUpdateQueueOf, so assertions can detect whenever a higher level function was not called properly. Please report any crashes related to these assertions to get them resolved asap.
Machiavelli2010-03-16 01:05:56 +01:00