Commit Graph
18745 Commits
Author SHA1 Message Date
Spp 6b668c8337 Core/Misc: Update headers to 2013 2013-01-02 13:31:19 +01:00
Spp aed36a8375 Merge branch 'master' into 4.3.4
Conflicts:
	dep/libmpq/CMakeLists.txt
	src/server/game/AI/EventAI/CreatureEventAI.cpp
	src/server/game/AI/EventAI/CreatureEventAI.h
	src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
	src/server/game/AI/EventAI/CreatureEventAIMgr.h
	src/server/game/Entities/Creature/Creature.h
	src/server/game/Entities/Item/ItemPrototype.h
	src/server/game/Entities/Object/ObjectDefines.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/ReferAFriendHandler.cpp
	src/server/game/Movement/Spline/MoveSplineInit.h
	src/server/game/World/World.h
	src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
	src/server/scripts/EasternKingdoms/ZulGurub/zulgurub.h
	src/server/scripts/EasternKingdoms/boss_kruul.cpp
	src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
	src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
	src/server/shared/Database/Implementation/CharacterDatabase.cpp
	src/server/shared/Database/Implementation/CharacterDatabase.h
	src/server/shared/Database/Implementation/WorldDatabase.cpp
2013-01-02 13:30:51 +01:00
Spp ebd14b4f01 Core/Mysql: Multiple changes
- added support for setting NULL column values to MySQL wrapper in core
- replaced nonstandard strdup function and manual memory management with std::string
- fixed bug in MySQLPreparedStatement::getQueryString method, it failed when string parameter contained embedded '?' symbols
- fixed memory leak in MySQLPreparedStatement::setString method
2013-01-02 12:22:50 +01:00
Spp 5280a77fe1 Core/Misc: Some minor changes here and there 2013-01-02 11:00:16 +01:00
Spp d36c4a91ba Core/Misc: Use equal_range instead of lower_bound/upper_bound calls where possible. 2013-01-02 09:53:43 +01:00
Spp 2292025bf9 Core/Misc: Replaced some macro definitions with inline functions 2013-01-02 09:07:52 +01:00
Spp c85dc26584 Core/Misc: EventMap will no longer inherit from std::map 2013-01-02 08:34:11 +01:00
Trista 423fb04270 Script/EoE: Some fixes here and there
* Add db support for Power Sparks, Teleports and Drakes
* Fix Power Sparks animations and texts and add support for giving buff to players + warning
* Fix Power Spark way of stacking - should be MultiSlot aura, didn't stack before either way
* Teleporters mechanic is fixed and will summon only 1 spark per 30-35 sec
* Fixed players getting mounted on 3rd phase
* Cleanned some wrong aggro handling, but whole aggro/attack system should be rewritten to get it working blizz
That is for today, this doesn't fix the whole instance by any means!
2013-01-02 06:35:28 +02:00
Warpten 91f8ca3244 Core/GuildFinder: Remove all requests from a player when he enters a guild. 2013-01-02 05:19:18 +01:00
Vincent_Michael 52fd561f47 DB/Creature: Removed "Grand Apothecary Putress" from Shattrath City
Patch 3.0.3 (2008-11-04): Removed from Shattrath City.
2013-01-02 05:15:53 +01:00
Malcrom 438c908faa DB/SAI: Improve SAI for Summoned Bloodwarder Mender. Add SAI for Summoned Bloodwarder Reservist 2013-01-02 00:19:57 -03:30
Vincent_Michael 336752a409 Core: Add missing changes in f7e7f5fe26 2013-01-02 03:25:08 +01:00
Vincent_Michael e0db317530 SQL: Fix sql import problem 2013-01-02 03:06:55 +01:00
Malcrom 1062a0b40f Core/Scripts: Added spell scripting for Commander Sarannis. Added Instance Template for The Botanica.
Thanks to Vincent Michael
2013-01-01 22:28:29 -03:30
Vincent_Michael 56096b7704 DB/Creatures: Some fix for Wyrmrest Skytalon
Closes #8733
2013-01-02 02:43:41 +01:00
Vincent_Michael 88e6071ff6 Core: Fix build 2013-01-02 02:28:00 +01:00
Malcrom 596ef0efd7 CORE/Scripting: Forgot new lines at end of file. 2013-01-01 21:41:37 -03:30
Malcrom f7e7f5fe26 CORE/Scripting: Move Commander Sarannis & Thorngrin the Tender to cpp scripting. Add instance script.
Thanks to Vincent Micheal for the help :)
2013-01-01 21:36:21 -03:30
Warpten 2fa3972707 Core/Guilds: Fixed a possible crash on guild invite.
Closes #8699
2013-01-01 22:27:26 +01:00
Shauren 312e8509dd Core/Spells: Implemented SPELL_EFFECT_RESURRECT_WITH_AURA (effect number 172) 2013-01-01 21:57:31 +01:00
Gacko 01b705c844 Core/Player: Fix armor calculation - 2nd try
Base armor value from WDB data includes the ArmorDamageModifier. Items of
same item level, required level, armor type and equiptment slot should
have (nearly) the same armor values.

See following links for further proofs:
http://pastebin.com/fqNJLYj4
http://www.wowhead.com/item=50466#comments:id=889035:reply=444786

The shown item should have a base armor value of 177 as similar items and
a bonus armor value of 560 which equals 737 - like in DB atm.
2013-01-01 21:43:17 +01:00
Gacko 87368cab45 Partially revert last commit - fix on ItemHandler coming soon 2013-01-01 21:17:48 +01:00
Gacko 431b807275 Core/Player: Fix armor calculation
Base armor value from WDB data includes the ArmorDamageModifier. Items of
same item level, required level, armor type and equiptment slot should
have (nearly) the same armor values.

See following links for further proofs:
http://pastebin.com/fqNJLYj4
http://www.wowhead.com/item=50466#comments:id=889035:reply=444786

The shown item should have a base armor value of 177 as similar items and
a bonus armor value of 560 which equals 737 - like in DB atm.
2013-01-01 20:47:05 +01:00
Vincent_Michael 7fea285aea Core/Command: Add command for near creature finding 2013-01-01 18:16:32 +01:00
Warpten 35451c2307 Core/Logging: Improved opcode compressing logging. 2013-01-01 18:12:11 +01:00
Warpten 49e3526882 Core/Spells: Implemented SPELL_EFFECT_GIVE_CURRENCY. 2013-01-01 17:48:09 +01:00
Vincent_Michael eef7754dc2 Update more copyright note for 2013. 2013-01-01 15:35:09 +01:00
Vincent_Michael 11e1227784 Update more copyright note for 2013. (alcohol sucks) 2013-01-01 12:57:23 +01:00
Vincent_Michael cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Shauren fefee58de7 Core/Scripts: Added ai method to temporarily despawn a boss when it enters evade mode (respawns after 30 seconds) 2012-12-31 21:14:54 +01:00
Shauren 4082a411ac Core/Spells: Added new spell effect/target definitions 2012-12-31 21:13:40 +01:00
Shauren 47ac83ec3a Core/Units: Check aura presence before casting liquid spell to avoid resetting periodic tick timers 2012-12-31 21:12:33 +01:00
Shauren f1170ba0fb Core: Fixed some level 4 warnings (msvc) 2012-12-31 20:43:14 +01:00
Shauren b229f72bf4 Core/Units: Cleaned up DealDamage log message and moved it to debug level 2012-12-31 18:53:44 +01:00
Shauren c021bff594 Core/Vehicles: Fixed basepoints used when ride vehicle aura is created for !IsInMap case 2012-12-31 17:58:21 +01:00
click 7ef2c1e062 Core: Change a rather badly phrased warning regarding "bad" DBC datastructures 2012-12-31 16:36:58 +01:00
Vincent_Michael eac473df61 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2012-12-31 15:28:03 +01:00
Gacko edb90f957b Core/DB: Haaleshi Altar
- Prevent crash due to spamming GossipHello
- Convert core script to SAI
- Solves #8220
2012-12-31 15:03:19 +01:00
Vincent_Michael 8431be6bc6 SQL: rename sql for 4.3.4
Core/ZulGurub: revert my logic fail in 4232658c62
2012-12-31 14:15:24 +01:00
Shauren 4186c3cef7 Buildsystem/MSVC: Enable and treat as errors compilation warning about not matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example) 2012-12-31 14:10:22 +01:00
Vincent_Michael 4232658c62 Core:/ZulGurub: Fix mandokir decapitate targets 2012-12-31 12:58:16 +01:00
click b609b314b2 CMake/Buildsystem: CMake adds /Zm1000 to MSVC by default - explicitly replace that in the flaglist with the lower boundary 2012-12-31 12:09:22 +01:00
Subv c0913f09f4 Core/Conditions: Fixed build from previous merge. 2012-12-30 20:22:58 -05:00
Subv 82f3b24e8a Core/Conditions: Rename CONDITION_INSTANCE_DATA to CONDITION_INSTANCE_INFO.
And allow it to be used with GetData, GetData64 and GetBossState.
2012-12-30 20:22:57 -05:00
Vincent_Michael e7d02bfb7f Core/Spells: Implemented effect SPELL_EFFECT_DAMAGE_FROM_MAX_HEALTH_PCT 2012-12-31 02:10:04 +01:00
Gacko 0eb26feaf2 DB/SAI: Reforging the sword 2012-12-31 01:17:42 +01:00
Subv b4be02c8a0 Core/Conditions: Rename CONDITION_INSTANCE_DATA to CONDITION_INSTANCE_INFO.
And allow it to be used with GetData, GetData64 and GetBossState.
2012-12-30 16:03:25 -05:00
Vincent_Michael ee9b7dfef8 Core/Command: Add command for near creature finding 2012-12-30 17:10:54 +01:00
Subv 3d63deca7e Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4 2012-12-30 10:33:51 -05:00
Vincent_Michael 834f98f6bb Core/ZulGurub: Added script for Bloodlord Mandokir
ToDo: Remove hack :P
2012-12-30 03:02:39 +01:00