Commit Graph
660 Commits
Author SHA1 Message Date
Shauren 7ac891717c Core/Vehicles: Send proper GUID in SMSG_BREAK_TARGET packet when an unit enters vehicle 2011-02-19 22:50:09 +01:00
Machiavelli c0b29fd0ad Core/Vehicles: Chart VEHICLE_SEAT_FLAG_UNCONTROLLED and implement usage. Concerns vehicleseat enter/exit capabilities. Fixes vehicles related to Malygos encounter.
Original research by rsa, thanks to Manuel for pointing out.
2011-02-19 21:58:50 +01:00
Shauren 0f34df6e1a Scripts/Icecrown Citadel: Added support for weekly quest "Deprogramming" 2011-02-18 19:48:47 +01:00
leak 6a64c79d2a Core/Groups: Group system cleaning sweep. 2011-02-18 18:35:52 +01:00
seirge 8003f75781 Core/Players: Don't remove GCD from category if the respective spell doesn't have GCD-time. Fixes certain exploits related to macro's and wands.
Fixes #10
Fixes #220

Any further issues of the same nature should be reported in different tickets.

Signed-off-by: Machiavelli <[email protected]>
2011-02-17 21:55:15 +01:00
Machiavelli 6618655d04 Core/Vehicles: Let's use proper fractions/percentages 2011-02-17 21:41:09 +01:00
Machiavelli 6ebf672557 Core/Vehicles: Take in account current health percentage of vehichle when recalculating new HP based on vehicle gear scaling. Fixes an exploit that would allow vehicles to reset their HP in a jiffy.
Closes ticket #317
2011-02-17 21:32:38 +01:00
Feanordev 253891bf9f Core/Vehicles: Make vehicles with UNIT_FLAG_DISABLE_MOVE unable to move client side by sending SMSG_FORCE_MOVE_ROOT to area.
Signed-off-by: Machiavelli <[email protected]>
2011-02-17 21:06:38 +01:00
Azazel 4dc1eaa47c Core/Misc: improve error log messages by adding more info. Specially for Aokromes. 2011-02-17 19:47:08 +06:00
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