Commit Graph
100 Commits
Author SHA1 Message Date
teacher baf946bdc7 Changed default value for WDBVerified field for better future handling.
--HG--
branch : trunk
2010-03-25 00:01:02 +01:00
teacher 99e186c830 Added spells to Wintergarde Gryphon (by Malcrom).
Added place holders for server-side spells.
Import errors fixes in world.sql.

--HG--
branch : trunk
2010-03-24 15:05:25 +01:00
Tartalo 41ad4fffeb Drak'Tharon Keep, Novos the Summoner: some improvements by pivonroll
Fix resseting issues
Better IA for adds

--HG--
branch : trunk
2010-03-24 13:34:49 +01:00
Tartalo 80cb722bba Drak'Tharon Keep: Cleanup
--HG--
branch : trunk
2010-03-24 12:31:00 +01:00
Tartalo 90b19607a1 Merge
--HG--
branch : trunk
2010-03-24 00:21:59 +01:00
Tartalo 50c5d81a79 Merge
--HG--
branch : trunk
2010-03-24 00:21:31 +01:00
Tartalo c7f5d95a1d Azjol Nerub, Azjol Nerub: Cleanup
--HG--
branch : trunk
2010-03-24 00:13:00 +01:00
Tartalo 29201cf687 Azjol Nerub, Ahn'Kahet: cleanup
--HG--
branch : trunk
2010-03-23 22:34:31 +01:00
Trazom62 76a8d8a62c Implement Tharon'ja achievements (Requires DB Data).
--HG--
branch : trunk
2010-03-23 21:31:30 +01:00
Trazom62 72c3c4696b Implement Tribunal of Ages Achievements (Requires DB Data)
--HG--
branch : trunk
2010-03-23 20:31:55 +01:00
n0n4m3 5fe2454b24 Fix one WPE exploit.
When apply more 6 gems, and after  player logout, server crash, also apply code style and cleanup.

--HG--
branch : trunk
2010-03-23 14:38:31 -05:00
Trazom62 1e9de7dbd7 Implement Four-Horsemen achievements (requires DB Data).
Fixes issue #1107.

--HG--
branch : trunk
2010-03-23 19:15:17 +01:00
Xanadu cfc094040f Added support for maximum allowed player level for quests. By Gyullo.
--HG--
branch : trunk
2010-03-23 16:10:18 +01:00
Tartalo a348b591a7 Violet Hold: Exploit fix
Now bosses reset if they're hitted when their door is closed

--HG--
branch : trunk
2010-03-23 12:48:28 +01:00
Tartalo 3cd729294e Gundrak: Fix for Eck the Ferocious spawning
--HG--
branch : trunk
2010-03-23 12:25:01 +01:00
teacher 05e7a155a5 Fixed long forgotten gamebuild default value (thx Aokromes).
Also fixed typo in script full file (thx ogeraisi).

--HG--
branch : trunk
2010-03-23 02:13:38 +01:00
Tartalo 2c2b75fb55 Ahn'Kahet: Code cleansing
--HG--
branch : trunk
2010-03-22 23:24:59 +01:00
Tartalo 2e5c5d3e1b Hall of Lightning: Fix Encounter state saving to db
Thanks Aokromes, Baraka & Spawn

--HG--
branch : trunk
2010-03-22 22:48:05 +01:00
Tartalo c80b67cebd Nexus, Anomalus: Summons rifts only once. Blizzlike 3.3.2 update
--HG--
branch : trunk
2010-03-22 22:44:54 +01:00
Tartalo 0d1bd05ce7 Gundrak: Code cleansing
--HG--
branch : trunk
2010-03-22 22:36:26 +01:00
Tartalo df45e38ba6 Gundrak: Implement Eck the Ferocious spawning
Based on pivonroll's code but rewrited from scratch

--HG--
branch : trunk
2010-03-22 22:27:37 +01:00
Trazom62 e018c4cc7b Implemented new achievement criteria data:
* ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPED_ITEM_LVL (item level and item quality).

Implemented achievement criteria:
* ACHIEVEMENT_CRITERIA_TYPE_LOOT_EPIC_ITEM
* ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM

Update ACHIEVEMENT_CRITERIA_TYPE_EQUIP_EPIC_ITEM implementation. Requires DB update to use new criteria data.

Thanks VladimirMangos.

--HG--
branch : trunk
2010-03-22 18:32:38 +01:00
XTZGZoReX f6e516d819 * Fix CRLF.
--HG--
branch : trunk
2010-03-22 17:47:38 +01:00
silverice d4c3620557 restore work of IsInMap check
--HG--
branch : trunk
2010-03-22 18:46:48 +02:00
Trazom62 4478ccf6c4 Add script VoA/Koralon and Toravon. Thanks WarHead.
Fixes issue #1231.

--HG--
branch : trunk
2010-03-22 15:33:44 +01:00
teacher 3b7677d364 Restored UPDATE query in 7660_world_creature_template.sql.
Thank you Zor for bringing reason to my mind!

--HG--
branch : trunk
2010-03-22 15:08:11 +01:00
Trazom62 248286c08d Fix Crash in XT-002 (Gravity Bomb proc). Fixes issue #734.
Fix compilation warning.
Fix typo in Freya soundid.

--HG--
branch : trunk
2010-03-22 14:07:08 +01:00
Tartalo daf5ce32aa Add missing sql assign from oculus patch. ty kiper
--HG--
branch : trunk
2010-03-21 21:56:49 +01:00
teacher fd3b4ec908 Added missing sql file for rev 7656 (by Machiavelli).
Removed DB content data from previous commit.

--HG--
branch : trunk
2010-03-21 19:57:00 +01:00
Machiavelli a4e98f50d0 Fix mounts in Arena's/BGs
--HG--
branch : trunk
2010-03-21 19:12:04 +01:00
Tartalo 4a7b208eab Naxxramas, Noth the Plaguebringer: Adjust timers, by scarymovie87
Closes issue #172.

--HG--
branch : trunk
2010-03-21 18:44:28 +01:00
Tartalo 2c34b6d376 The Obsidiam Sanctum: Several updates, by Ouden
Portal event, Flame Tsunami, Twilight Eggs, Twilights Fissure, Achievements in Hard Mode
Closes issue #1015.

--HG--
branch : trunk
2010-03-21 18:32:50 +01:00
Machiavelli fe30fc8bf2 Securer check for instance template for previous commit
--HG--
branch : trunk
2010-03-21 18:17:20 +01:00
Machiavelli 48051d1cd6 Add support field 'allowMount' to instance_template table (see http://trinitydatabase.org/index.php?/topic/14994-7656-instance-template/), this will define whether or not mounting is allowed in an instance, instead of defining it hard coded in the core.
--HG--
branch : trunk
2010-03-21 17:34:25 +01:00
Trazom62 450b2fba9d Update Script Ulduar/XT-002. Thanks Dakeyras. Fixes issue 1074.
Add script texts for all ulduar bosses and adds. Mainly from wowwiki, Thanks.
Some code style cleanup.
Still WiP.

--HG--
branch : trunk
2010-03-21 17:17:34 +01:00
[email protected]> c5f8341634 fixed oculus drake cpp and sql
--HG--
branch : trunk
2010-03-21 13:39:59 -02:30
Machiavelli c45da17ef9 Fix SQL's
--HG--
branch : trunk
2010-03-21 16:56:07 +01:00
Machiavelli 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)

--HG--
branch : trunk
2010-03-21 16:52:17 +01:00
Machiavelli 19b84fd889 Missing part of previous commit. Thanks HG for being so coöperative.
--HG--
branch : trunk
2010-03-21 16:51:03 +01:00
Machiavelli 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

--HG--
branch : trunk
2010-03-21 16:50:04 +01:00
Xanadu 74a2957af5 Don't proc KILLED for the victim twice when attacker's pet lands the killing blow.
--HG--
branch : trunk
2010-03-21 16:23:50 +01:00
Xanadu d01d4498ed Don't set 'Created by...' for soul shards, it looks silly.
--HG--
branch : trunk
2010-03-21 16:15:58 +01:00
Xanadu 91260d8409 Implemented Glyph of Drain Soul. Partly based on thenecromancer's code.
--HG--
branch : trunk
2010-03-21 16:03:38 +01:00
Tartalo 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.

--HG--
branch : trunk
2010-03-21 15:28:37 +01:00
Trazom62 5bada89128 Fix compilation error in previous commit.
--HG--
branch : trunk
2010-03-21 10:52:50 +01:00
Machiavelli 4a406751af Add some more function calls to remove refund referenced from player's m_refundableItems, preventing the triggering of an assert in _saveInventory.
--HG--
branch : trunk
2010-03-21 02:53:51 +01:00
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
[email protected] bef85de621 Add script for Amberpine Woodsmen Grizzly Hills
--HG--
branch : trunk
2010-03-17 18:27:17 -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
Xanadu 48d7ae707d Fixed players not being able to resurrect after core crash.
--HG--
branch : trunk
2010-03-17 20:34:02 +01:00
Xanadu a73b9b0f1e Cleanup
--HG--
branch : trunk
2010-03-17 17:43:28 +01:00
Xanadu e5cbe017f4 Fixed Drain Soul increased damage for targets below 25% HP. Closes issue #394. Closes issue #748. Closes issue #938. Rejoice, new era of server-side spells has begun!
--HG--
branch : trunk
2010-03-17 16:38:31 +01:00
Rat 4fb7bf3664 *fix Feral Spirit's healing (Spirit Hunt)
--HG--
branch : trunk
2010-03-17 08:07:14 +01:00
Anubisss fe67a3bc6e Fix some possible crashes.
--HG--
branch : trunk
2010-03-16 23:46:20 +01:00