af3ea4fac8
Buildsystem/Scripts: Include examples as part of compilation (forgot that they are referenced in the ScriptLoader)
click2010-09-05 18:42:04 +02:00
73d72c8af7
Core/Spells: Fix Hunting Party talent, patch by Ktistay
click2010-09-05 17:42:42 +02:00
8823a91cdc
BuildSystem/ALL: Remove unused custom code (most are duplicated as in examples) + remove fileglobbing for scripts (less error-prone) + Create proper lists per "scriptsection" NOTE! This change requires new files (cpp/h) to be MANUALLY ADDED to <type>/CmakeLists.txt
click2010-09-05 17:19:41 +02:00
43e4e1f786
Core/Spells: Bladestorm will now cause the caster to drop flag on battleground
Shauren2010-09-05 15:25:33 +02:00
d42cfb6aa6
Core/Battlegrounds: Fixed scoreboard packet (and possible core crash) for TBC arenas, thx Maxdestroyer for pointing it out
Shauren2010-09-05 12:38:52 +02:00
51eac1215c
Scripts/Forge of Souls: Bronjahm should only cast Spirit Bolts if tank is not within melee range during phase 1, patch by Ottowayne
Shauren2010-09-05 12:22:08 +02:00
0b743795d6
Core/Spells: Implemented aura type 303 (SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE), patch by Azuritus
Shauren2010-09-05 12:05:49 +02:00
b39a21b795
Core/Spells: Check correct Attributes field in CanSpellPierceImmuneAura, patch by Maxdestroyer
Shauren2010-09-05 11:33:35 +02:00
67c37b37cc
Core/Battlegrounds: Added sanity checks for bg scoreboard packet handler, should fix client crashes in AV, thx Timothy003 for research
Shauren2010-09-05 11:24:43 +02:00
1608ebf7bf
Core/DBLayer: Move some syncrhonisation error prone methods into the guarded scope in MySQLConnection:Execute(PreparedStatement*)
Machiavelli2010-09-05 10:34:46 +02:00
f769e88f5c
Core/Commands: Implement possibility to unbind specific maps/difficulties with .instance unbind, based on svetilo12's idea, closes issue 3792
Shocker2010-09-05 04:03:02 +03:00
adf1ae6286
Cleanup: Some typo fixes, closes issue 3798, thanks tru.bazoozoo and Lopin
Shocker2010-09-05 00:48:31 +03:00
d4763852cf
Core/Unit: Fix some health-related calculations by adjusting maximum size to 64 bit integers, closes issue 3778
Shocker2010-09-05 00:38:19 +03:00
481c1fedd3
Core/Spells: Fixed Scent of Blood removal SQLs: Fixed typo in previous revision
Shauren2010-09-04 23:09:46 +02:00
b4b8acf457
Core/Spells: Fixed Rune of Cinderglacier removal
Shauren2010-09-04 22:58:54 +02:00
2dae023649
Core/[Mail, WorldPacket]: Pull mail packet handlers out of Mail.cpp into MailHandler.cpp Core/ScriptSystem: Remove unneeded TODO.
silinoron2010-09-04 13:46:01 -07:00
f500ef201b
Scripts/Texts: * fix script texts in various locations (thanks TerrorBringer for the heads up). Closes issue #2055. Closes issue #3087. * cleanup world_script_texts.sql file (remove spaces, order entries) Scripts/Misc: * remove obsolete random seed initialization from scripts * fix some warnings in scripts * some cleanup in chat_log.cpp
azazel2010-09-05 02:16:58 +06:00
0f997162ee
Core/ScriptSystem: Refactor ScriptMgr::OnPlayerChat to no longer accept a C-style parameter of type void*. Instead, use overloaded methods for the different types.
silinoron2010-09-04 12:49:39 -07:00
0f9fe8dbeb
Core/Players: Don't set instanceId to 0 when player is on transport during loading, there CAN be transports inside instances Core/Scripts: Added waypoint id to OnRelocate transport hook Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances) Core/Transports: Call InstanceScript::EventInform for transport events Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now) Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore)
Shauren2010-09-02 10:40:32 +02:00
320cd16f20
Core/ArenaTeam: Correct player_divider use in ArenaTeam::GetAverageMMR and add a sanity check
Machiavelli2010-09-04 18:11:36 +02:00
e3957bd6de
DB-Schema/Characters: Store game_event_save.next_start as unix timestamp and remove runtime typecasts for this field.
Machiavelli2010-09-04 18:01:03 +02:00
a9ca3d5ed1
Core/ArenaTeam: Add a check to determine if a player is account for an accurate calculation of ArenaTeam::GetAverageMMR Fixes issue #3789Machiavelli2010-09-04 17:39:23 +02:00
f19d7c2ec7
Core/WorldRunnable: Convert the last part of autobroadcast (interval config) to Trinity standards (proper caching) as well. Patch by [email protected]. Closes issue #3796Machiavelli2010-09-04 17:27:28 +02:00
27c00a8cbb
Core/DBLayer: - Allow transactions to contain both raw ad-hoc queries and prepared statement elements * When coding on high level code, just make sure you use the right argument type for Transaction::Append and the proper execution will be done automagically
Machiavelli2010-09-04 16:49:23 +02:00
fd1c6c5440
Core/DBLayer: Add an assert in TransactionTask::Execute to make sure valid queries are held Core/Logging: Tiny cleanup in sLog.outSQLDriver
Machiavelli2010-09-04 16:06:04 +02:00
94b59b4f0e
Fix encoding for a previous core sql file
Shocker2010-09-04 16:47:57 +03:00
a0585adb37
Scripts/Ulduar: Ulduar Teleporter - add check for formation grounds thanks to silentstormpt - fix gossip for ulduar teleporter
Supabad2010-09-04 15:42:43 +02:00
c05d0722f4
Core/Game: forgotten changes from r3cc82905662712385f0d03895a426310e6cc96bd
silinoron2010-09-03 22:40:16 -07:00
5179d3149a
Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
silinoron2010-09-03 21:55:57 -07:00
1e1c596dda
Core/WorldPacket: Fix the core spamming complaints about CMSG_QUEST_QUERY being sent post-logout Core/Spells: A little bit of "cleanup"
silinoron2010-09-03 20:30:29 -07:00
d2c259fe76
Core/ScriptSystem: Add a PlayerScript::OnSpellCast(Player *player, Spell *spell, bool skipCheck) function. Requested by Zor.
silinoron2010-09-03 19:58:16 -07:00
128c60c84a
Core/PetAI: Add additional safeguard against possible crash if me->GetCharmerOrOwner() is NULL in agressiontest Patch by JacB667. Fixes issue #3766.
click2010-09-03 22:47:03 +02:00
7884fd927a
Spell Scripts: * moved some generic spell dummy effects to scripts * implemented two spell scripts for quests: 8913 Sacred Cleansing (Quest 55), 44936 Quest - Fel Siphon Dummy (Quest 11515). Closes issue #3040 * did some cleanup in spell scripts and added more comments
azazel2010-09-04 02:33:57 +06:00
d4e2fdad78
Core/Worldpacket: Correct size of SMSG_AUTH_RESPONSE (thanks to Ramus for orig patch, and svetilo for notification)
click2010-09-03 22:14:42 +02:00
8f1d660a4b
Core/Dungeon Finder: Added missing check in previous revision and moved RewardDungeonDoneFor to proper place in the file
Shauren2010-09-03 20:25:03 +02:00
d5115ca687
Core/Dungeon Finder: Added support for rewards for random dungeons Core/Quests: Simplified rewarding money from quests, now ModifyMoney and UpdateAchievementCriteria are called only once per quest Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_USE_LFD_TO_GROUP_WITH_PLAYERS
Shauren2010-09-03 20:11:14 +02:00
d7f9cea305
Core/WorldRunnable: Convert autobroadcast to trinity standards (properly cache configs, change function name to better reflect purpose)
Machiavelli2010-09-03 18:29:35 +02:00
ee83ffdfca
Fix snake's HP for hunter's Snake Trap
Shocker2010-09-03 19:04:32 +03:00
5469af3775
Core/DBLayer: Add an assert to detetct calls to invalid prepared statements.
Machiavelli2010-09-03 17:30:23 +02:00
273679c5ba
Core/DBLayer - Store threadbundlemask internally per database pool and prevent direct access to config file post startup - Fix threadbundlemask flag checking for ReactorRunnable, WorldRunnable - Remove CLI threadbundlemask flag, CLI doesn´t need a seperate mysql connection nor thread - Remove unused Character Database connection from WorldSocketMgr / ReactorRunnable - Add proper LoginDatabase connection to RA Runnable (soon to be overhauled)
Machiavelli2010-09-03 10:52:32 +02:00
277f2674ac
Core/Tickets: Fixed lag report db saving query
Shauren2010-09-03 09:58:26 +02:00
387ee751a9
Core/DBLayer - Add some small documentation on prepared statement defines naming contention (placed in the 3 database implementation header files so it can´t be missed) - Remove obsolete mutex declaration in DatabaseWorkerPool (was unused as of recently)
Machiavelli2010-09-03 09:21:28 +02:00
a15c45808c
Core/Build: Fix non-PCH compile for Linux (don't know about Windows)
runningnak3d2010-09-02 17:55:55 -06:00
7433768a55
Core/Build: Partial work of fixing non-PCH Linux compile
runningnak3d2010-09-02 17:19:53 -06:00
7982cc0f7d
Core/DBLayer: - A few prepared statement implementations in authsocket as example. - Add an ASSERT in MySQLConnection::Execute(PreparedStatement*) to catch faulty created statements
Machiavelli2010-09-03 01:00:49 +02:00
2c1c391597
Core/DBLayer: - Example implementation of prepared statement in ObjectMgr::SaveCreatureRespawntime - #include "MYSQLThreading.h" -> #include "MySQLThreading.h" (*really* fixes Linux build)
Machiavelli2010-09-03 00:44:27 +02:00
e25846a08e
Core/Spells: Fixed crash in EffectFeedPet
Shauren2010-09-02 22:04:08 +02:00
1198591bac
Core/DBLayer: - Add basic prepared statement interface (without implementation and thus without testing, without resultset support). - Based on raczman/Albator´s work on TrinityCore3
Machiavelli2010-09-02 20:54:43 +02:00
cd182a1e8f
Fixed build Fixed wrong header includes in new database files, thx Thyros
Shauren2010-09-02 20:22:19 +02:00
c47f45694f
Core/DBLayer: Add Login-/Characters-/Worlddatabase class implementations
Machiavelli2010-09-02 17:56:49 +02:00
5ef738c16e
Core/DBLayer: - Better way to shutdown worker thread, prevents a crash. Fixes issue #3696 - Delete missing file from previous rev
Machiavelli2010-09-02 17:55:03 +02:00
0117af4c37
Core/DBLayer: - Implement deriviate classes of MySQLConnection for every database type (world, realm, characters) - Make DatabaseWorkerPool templatized and use the above mentioned classes as parameter - Implementation of the new types in code (This is in preparation of prepared statement interface)
Machiavelli2010-09-02 17:47:50 +02:00
39f901d566
SQL: add exploration base XP date for levels 71-79. Patch by Svannon
runningnak3d2010-09-02 08:56:18 -06:00
d2edf39feb
Core/DBLayer: Remove as of recent redundant DatabaseWorkerPoolEnd operation
Machiavelli2010-09-02 16:45:33 +02:00
55c54c9ad2
Database/Table: Forgotten data from previous commit regarding auctionhousebot removal
Shocker2010-09-02 17:43:27 +03:00
661cd04c27
Remove auctionhousebot from base too
Shocker2010-09-02 17:37:32 +03:00
0e865c9f72
Break monstrous lines from world_database.sql into multiple lines, once for each row
Shocker2010-09-02 17:30:40 +03:00
a32528f8d1
Database/Table: drop unused auctionhousebot table.
Brian2010-09-02 08:30:24 -06:00
0c4c139b94
* Allow Waylay to proc from Backstab too (also remove PROC_EX_CRITICAL_HIT flag, invalid), closes issue 3009. * Small filename typo fix
Shocker2010-09-02 16:48:03 +03:00
15880d27ea
Core/Spells: Fixed Health Leech effect, should not apply healing multiplier to damage done
Shauren2010-09-02 15:34:36 +02:00
ee31212cd5
Glyph of Prayer of Healing shouldn't benefit from spell power, thanks arielazuz (Fixes issue 2827)
Shocker2010-09-02 16:32:30 +03:00
21313bec57
Missing data from spell_threat for various Warrior abilities, closes issue 2258, thanks maeh.sheep for collecting data. Most of the values are blizzlike, but since some of them are variable depending on AP/damage, we're using general increase for those based on previous ranks
Shocker2010-09-02 16:24:08 +03:00
8331da627d
Some old typo fixes, closes issues #3747, #2756, #2607, thanks 2010phenix/jean-michele.nefen/toshik.777
Shocker2010-09-02 15:25:02 +03:00
c8dfbdac35
Conflagrate direct & DoT damage shouldn't scale with duration increases of Immolate/Shadowflame, fixes issue 3376.
Shocker2010-09-02 06:02:51 +03:00
96765bc6e0
creature_respawn should be InnoDB since it's prone to continuous writes
Shocker2010-09-01 17:03:43 +03:00
90a2e23a97
SQLS/Creation: Fix default engine for tables in world and characters
Spp2010-09-01 12:51:35 +02:00
b2a49ad79a
Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086. Closes issue #2989.
azazel2010-09-01 10:40:44 +06:00
cdaedef3c1
*Fix: Lacerate should scale with AP only, and not from SP.
Liberate2010-08-31 23:04:43 +02:00
6c3b39ac01
Scripts/Icecrown Citadel: Added Festergut script, thx Cromash for providing the base and Cyrax for sniffs Scripts/Icecrown Citadel: Added Professor Putricide script handling ONLY Festergut related events
Shauren2010-08-30 11:36:15 +02:00
dc2c28985f
Scripts/Icecrown Citadel: Remove Mark of the Fallen Champion when Saurfang dies Scripts/Icecrown Citadel: Change previous scripts to use BossAI instead of ScriptedAI
Shauren2010-08-31 21:47:45 +02:00
6048d2ec5e
Core/Achievements: Pass killed unit pointer to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE (use in scripts)
Shauren2010-08-31 21:47:44 +02:00
996e7741a1
Scripts/Icecrown Citadel: Corrected vehicleId for Deathbringer Saurfang, patch by Heisenberg/bolvor
Shauren2010-08-31 21:47:43 +02:00
174f2884b7
Buildsystem/MSVC: Only use /bigobj on x64 platforms - should solve x86 debug compilations (needs feedback)
click2010-08-31 20:14:16 +02:00
e32ece52ea
Pet level-synchronization with owner should be done before initializing stats, closes issue 3732, thanks moriquendu
Shocker2010-08-31 20:40:43 +03:00
5bf31a5e81
Fix to DK Tank 4P and Paladin Holy 4P T10 bonus. Fixes issue 2684. Fixes issue 2681. Thanks to svetilo12.
John Holiver2010-08-31 12:35:06 -03:00
58ce3c77af
Core/Scripts: Revert revision 619ba8b76250 and fix it properly
Shauren2010-08-31 15:37:29 +02:00
b5beb1c706
Better way to fix some warnings from rev 621c100eeb.
Spp2010-08-31 13:31:38 +02:00
866c28fbec
Core/Groups: Fix a crash loading groups from DB Fixes issue 3693
Spp2010-08-31 11:50:07 +02:00
b9e19572c4
Core: Fix more warnings (very few left under linux 32)
Spp2010-08-31 11:39:51 +02:00
849ae84f5b
Core: Fix more warnings and fix compile under linux 64
Spp2010-08-31 10:23:22 +02:00
e252b8abe7
Core: Fix more warnings
Spp2010-08-30 23:07:14 +02:00
a6d075dfc6
Buildsystem: Whops, forgot to remove the last endif() in g3dlite CMakeLists.txt
click2010-08-30 23:10:32 +02:00
9fb9254810
Buildsystem: Remove some cruft (double set) of SCRIPT_LIB in worldserver CMakeLists.txt - if this breaks OSX build, notify us.
click2010-08-30 23:06:07 +02:00
511d571d25
Buildsystem: Clean up target link-definitions a bit
click2010-08-30 22:58:37 +02:00