Commit Graph
651 Commits
Author SHA1 Message Date
leak aaa9b069d9 Core/Entities: Prevent accessing uninitialized memory 2011-02-17 02:04:47 +01:00
Shauren a24deaf980 Core/Objects: Fixed HasInLine and IsInBetween checks on certain compilers 2011-02-15 17:09:46 +01:00
runningnak3d a8a5734bea Core/Gossip: Revert a change to SendPreparedQuest to allow multiple
quests again.
Thanks Manuel for pointing it out and Nay for testing
2011-02-13 21:23:01 -07:00
runningnak3d 05e075ce0e Core/Gossip: Remove support for npc_gossip table (DEPRECATED). 2011-02-11 13:04:45 -07:00
Manuel Carrasco 6b2ffc9039 Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)

Thanks to Kaelima, Xanadu, Shauren and linencloth.

Signed-off-by: Manuel Carrasco <[email protected]>
2011-02-10 22:36:35 -03:00
leak 422cfec07d Core/Battlegrounds: Refactoring some pointless parameters 2011-02-09 16:47:47 +01:00
Shauren 4a55030f38 Core/Creatures: Flag dungeon bosses for quicker lookups for related encounters 2011-02-09 16:28:56 +01:00
Shauren 00b93c508f Core/Creatures: Fixed typo in difficulty template selection 2011-02-07 13:11:45 +01:00
VladimirMangos b5b9aa9647 Core/Instances: Fixed creature difficulty templates for non-battleground maps
Signed-off-by: Shauren <[email protected]>
2011-02-04 15:45:59 +01:00
QAston e9bae2d0a0 Core/Auras: Prevent possible crash on SPELL_AURA_DAMAGE_SHIELD aura handler. 2011-02-04 03:14:01 +01:00
QAston f862db8b92 Core/Unit: Move code using polymorphism out of CharmInfo destructor - fixes issues introduced with 38ea569525. 2011-02-04 02:51:12 +01:00
QAston 38ea569525 Core/Unit: Remove code which depends on polymorphism from Unit class destructor (at destruction time virtual methods aren't working as excpected) 2011-02-04 01:23:49 +01:00
QAston d18193e52d Core/DynamicObjects: Change the way how dynamic objects are bound to their owners, fixes some crashes in Aura::GetOwner. 2011-02-04 00:27:43 +01:00
Shauren c2b0bcbd6c Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
Shauren 704e0af9c4 Core/Spells: Fixed Val'anyr, Hammer of Ancient Kings proc 2011-02-01 19:01:56 +01:00
TOM_RUS c006f1b904 Core/Quests: Implemented proper calculation of quest honor reward using DBC
Signed-off-by: Shauren <[email protected]>
2011-01-31 16:27:23 +01:00
Shauren 82b7f30271 Scripts/Misc: Fixed rogue trainers not teaching dual spec 2011-01-31 15:58:20 +01:00
Lazzalf c0b15c0091 Fixed Judgement of Light not procing for non-mana users
Signed-off-by: Shauren <[email protected]>
2011-01-31 15:32:21 +01:00
Shauren 42007bb0a9 Core/Spells: Implemented Druid T10 4P restoration bonus 2011-01-31 14:51:42 +01:00
Shauren 089fd71877 Core/Auras: Fixed damage not being lowered by split damage auras
Closes #203
2011-01-31 12:17:44 +01:00
DrTenma 59448fddc4 Core/Spells: Fixed Judgements of the Just
Signed-off-by: Shauren <[email protected]>
2011-01-30 19:14:18 +01:00
Spp fd66517473 Core/Creatures: Add new extra flag to know if creature is dungeon boss 2011-01-29 09:01:00 +01:00
Shauren c3c2a807f0 Core/Auras: Fixed displaying SPELL_AURA_MOD_DAMAGE_PERCENT_DONE damage bonus in character stats 2011-01-28 20:41:03 +01:00
johnholiver ce4aca9011 Core/Spells: Move Glyph of Smite code to a better location.
Signed-off-by: Shauren <[email protected]>
2011-01-28 11:22:52 +01:00
leak 41d0c5571a Core/Entities: Avoid unique key violations during character inventory saving for newly created items 2011-01-26 17:20:21 +01:00
leak 137b079eea Core: Generic cleanup (tab2spaces/trailing whitespace removal) 2011-01-26 01:03:35 +01:00
leak 180b739483 Core/Entities: Avoid unique key violations during character inventory saving
(It only works "<Machiavelli> because I saideth so")
2011-01-25 18:42:17 +01:00
Machiavelli 3d58165dbd Core/Items: Proper money refund fix for 0ad2c90d22. Thanks to Destalker 2011-01-25 13:36:40 +01:00
Machiavelli 17971acddb Core/Players: Implement generic SendClearFocus instead of magic SMSG_BREAK_PACKET randomly in the middle of code. Also preallocate correct size for packed guid. 2011-01-25 08:04:47 +01:00
Machiavelli 0ad2c90d22 Core/Items: Fix money refund amount. Also fix a possible exploit possibility of redeeming both vendor sellprice and money refund price in one go. 2011-01-24 23:10:08 +01:00
Manuel fb950c00ee Core/ZoneScript: Implemented OnCreatureDeath function.
Signed-off-by: Manuel <[email protected]>
2011-01-24 18:56:06 -03:00
Shauren 867bc197ef Core/Instances: Made the max amount of instances player can enter within hour configurable and fixed typo in instance packing/cleaning query 2011-01-24 16:12:02 +01:00
Shauren 820f87f365 Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
Also fixes broken build
2011-01-24 11:38:59 +01:00
Shauren 464837077a Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit) 2011-01-24 11:20:30 +01:00
Machiavelli 0796889c21 Core/Vehicles: Hotfix for client freeze on vehicle enter by reverting certain changes to SMSG_MONSTER_MOVE_TRANSPORT. Still have to figure out the correct structure in the future. 2011-01-22 19:55:50 +01:00
leak dd751242fc Core/Spells: Better solution for exploit check (Thanks to manuel)
Readd lost changes from char db type cleanup
2011-01-20 03:06:51 +01:00
leak f7af49291b SQL: Characters db storage type cleanup No. 7 (final) - Note:
- It is _strongly_ recommended to extensively test the recent changes before applying them to live data

- To fully resync the character db layout with TC releases it is recommended to dump the characters table with
mysqldump --no-data characters > characters_database_livedata.sql
and use a diff tool to compare it against sql/base/characters_database.sql
2011-01-20 02:11:49 +01:00
leak c59ea4726e SQL: Characters db storage type cleanup No. 6 2011-01-20 01:02:24 +01:00
leak a7df9ddff1 SQL: Characters db storage type cleanup No. 4 2011-01-19 22:46:21 +01:00
leak 471b6f138d SQL: Characters db storage type cleanup No. 3 - Note:
There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
2011-01-19 18:51:00 +01:00
leak c306acf298 SQL: Characters db storage type cleanup No. 2 2011-01-19 14:04:33 +01:00
Machiavelli deed0d0781 Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out. 2011-01-16 12:23:17 +01:00
Machiavelli 52cd2cbd7e Core/Maps: Unload transports in MapManager::UnloadAll instead of singleton destructor.
Core/Transports: Properly delink units from transports on transport desutruction. - Thanks to Shauren for help.
Core/ObjectAccessor: Unload corpse 'storage' in added UnloadAll method called in WorldRunnable postservice hook.
Core/Master: Change some postservice queries to syncrhonous (direct) execution to ensure execution on shutdown
Core/Master: Remove redundant calls to ACE::init and ACE::fini

These changes were made to fix crash/freeze issues on shutdown.
2011-01-16 00:08:52 +01:00
VladimirMangos 8c48704b23 Core/Loot: Fixed looting of individual, owner only items (item loot/skinning)
Signed-off-by: Shauren <[email protected]>
2011-01-14 21:24:11 +01:00
Manuel 3ab85db411 Core/Player: Pets are unsummoned after spec switch. Fixes #180 2011-01-14 13:38:56 -03:00
Machiavelli d399daab59 Core/Quests: Resolve ambiguity between QUEST_STATUS_COMPLETED and rewarded state by implementing QUEST_STATUS_REWARDED. The latter is not used in the database explicitly, only in the core. This is to prevent overhead by iterating over the rewarded quests storage multiple times.
All relevant upper level code has been updated accordingly to the best of my ability.
2011-01-13 23:06:59 +01:00
Spp bd2728eb74 Core: Fix some warnings 2011-01-11 11:18:00 +01:00
Shocker f03040b5b3 Core/Spells: Glyph of Polymorph should remove leech auras too, fixes #171 2011-01-11 00:57:20 +02:00
Shauren 870add0a3d Core/Spells: Fixed Spirit Walk ability of shaman's Feral Spirit summons
Closes #115

Signed-off-by: Shauren <[email protected]>
2011-01-10 22:01:19 +01:00
Manuel 014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00