Commit Graph

9784 Commits

Author SHA1 Message Date
Shauren
de59ac3bc3 Core/Quests: Fixed quest kill crediting in heroic instances
--HG--
branch : trunk
2010-09-05 19:51:14 +02:00
click
af3ea4fac8 Buildsystem/Scripts: Include examples as part of compilation (forgot that they are referenced in the ScriptLoader)
--HG--
branch : trunk
2010-09-05 18:42:04 +02:00
click
73d72c8af7 Core/Spells: Fix Hunting Party talent, patch by Ktistay
--HG--
branch : trunk
2010-09-05 17:42:42 +02:00
click
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

--HG--
branch : trunk
2010-09-05 17:19:41 +02:00
Shauren
43e4e1f786 Core/Spells: Bladestorm will now cause the caster to drop flag on battleground
--HG--
branch : trunk
2010-09-05 15:25:33 +02:00
Shauren
77130c910f Core/Spells: Fixed Execute formula, patch by dr.tenma
Closes issue #3478.

--HG--
branch : trunk
2010-09-05 14:28:13 +02:00
Shauren
1b6eea7eee Core/Spells: Fixed Reign of the Dead/Unliving trinket, patch by un.spike
Closes issue #3661.

--HG--
branch : trunk
2010-09-05 14:03:29 +02:00
Shauren
1863960da8 Core/Spell: Fixed Escape artist, patch by Heisenberg
Closes issue #3536.

--HG--
branch : trunk
2010-09-05 13:59:49 +02:00
Shauren
14c8fa4925 Core/Spells: Fixed Nevermelting Ice Crystal trinket
--HG--
branch : trunk
2010-09-05 13:39:10 +02:00
Shauren
d42cfb6aa6 Core/Battlegrounds: Fixed scoreboard packet (and possible core crash) for TBC arenas, thx Maxdestroyer for pointing it out
--HG--
branch : trunk
2010-09-05 12:38:52 +02:00
Shauren
51eac1215c Scripts/Forge of Souls: Bronjahm should only cast Spirit Bolts if tank is not within melee range during phase 1, patch by Ottowayne
Closes issue #3657.

--HG--
branch : trunk
2010-09-05 12:22:08 +02:00
Shauren
0b743795d6 Core/Spells: Implemented aura type 303 (SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE), patch by Azuritus
Closes issue #3773.

--HG--
branch : trunk
2010-09-05 12:05:49 +02:00
Shauren
b39a21b795 Core/Spells: Check correct Attributes field in CanSpellPierceImmuneAura, patch by Maxdestroyer
Closes issue #3785.

--HG--
branch : trunk
2010-09-05 11:33:35 +02:00
Shauren
67c37b37cc Core/Battlegrounds: Added sanity checks for bg scoreboard packet handler, should fix client crashes in AV, thx Timothy003 for research
Closes issue #2165.

--HG--
branch : trunk
extra : rebase_source : b12e4ccf42d0d38064f1694242461eb0d9ad1605
2010-09-05 11:24:43 +02:00
Machiavelli
1608ebf7bf Core/DBLayer: Move some syncrhonisation error prone methods into the guarded scope in MySQLConnection:Execute(PreparedStatement*)
--HG--
branch : trunk
2010-09-05 10:34:46 +02:00
Shocker
f769e88f5c Core/Commands: Implement possibility to unbind specific maps/difficulties with .instance unbind, based on svetilo12's idea, closes issue 3792
--HG--
branch : trunk
2010-09-05 04:03:02 +03:00
Shocker
adf1ae6286 Cleanup: Some typo fixes, closes issue 3798, thanks tru.bazoozoo and Lopin
--HG--
branch : trunk
2010-09-05 00:48:31 +03:00
Shocker
d4763852cf Core/Unit: Fix some health-related calculations by adjusting maximum size to 64 bit integers, closes issue 3778
--HG--
branch : trunk
2010-09-05 00:38:19 +03:00
Shauren
481c1fedd3 Core/Spells: Fixed Scent of Blood removal
SQLs: Fixed typo in previous revision

Closes issue #2668.

--HG--
branch : trunk
2010-09-04 23:09:46 +02:00
Shauren
b4b8acf457 Core/Spells: Fixed Rune of Cinderglacier removal
Closes issue #2105.

--HG--
branch : trunk
2010-09-04 22:58:54 +02:00
silinoron
2dae023649 Core/[Mail, WorldPacket]: Pull mail packet handlers out of Mail.cpp into MailHandler.cpp
Core/ScriptSystem: Remove unneeded TODO.

--HG--
branch : trunk
2010-09-04 13:46:01 -07:00
azazel
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

--HG--
branch : trunk
2010-09-05 02:16:58 +06:00
silinoron
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.

--HG--
branch : trunk
2010-09-04 12:49:39 -07:00
Shauren
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)

Closes isssue #3749.

--HG--
branch : trunk
2010-09-02 10:40:32 +02:00
Machiavelli
320cd16f20 Core/ArenaTeam: Correct player_divider use in ArenaTeam::GetAverageMMR and add a sanity check
--HG--
branch : trunk
2010-09-04 18:11:36 +02:00
Machiavelli
e3957bd6de DB-Schema/Characters: Store game_event_save.next_start as unix timestamp and remove runtime typecasts for this field.
--HG--
branch : trunk
2010-09-04 18:01:03 +02:00
Machiavelli
a9ca3d5ed1 Core/ArenaTeam: Add a check to determine if a player is account for an accurate calculation of ArenaTeam::GetAverageMMR
Fixes issue #3789

--HG--
branch : trunk
2010-09-04 17:39:23 +02:00
Machiavelli
f19d7c2ec7 Core/WorldRunnable: Convert the last part of autobroadcast (interval config) to Trinity standards (proper caching) as well. Patch by 41782992@qq.com.
Closes issue #3796

--HG--
branch : trunk
2010-09-04 17:27:28 +02:00
Machiavelli
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

--HG--
branch : trunk
2010-09-04 16:49:23 +02:00
Machiavelli
fd1c6c5440 Core/DBLayer: Add an assert in TransactionTask::Execute to make sure valid queries are held
Core/Logging: Tiny cleanup in sLog.outSQLDriver

--HG--
branch : trunk
2010-09-04 16:06:04 +02:00
Shocker
94b59b4f0e Fix encoding for a previous core sql file
--HG--
branch : trunk
2010-09-04 16:47:57 +03:00
Supabad
a0585adb37 Scripts/Ulduar: Ulduar Teleporter
- add check for formation grounds thanks to silentstormpt
- fix gossip for ulduar teleporter

--HG--
branch : trunk
2010-09-04 15:42:43 +02:00
silinoron
c05d0722f4 Core/Game: forgotten changes from r3cc82905662712385f0d03895a426310e6cc96bd
--HG--
branch : trunk
2010-09-03 22:40:16 -07:00
silinoron
5179d3149a Core/Game: Fix remaining warnings on windows (and most likely almost all of the ones on *nix)
--HG--
branch : trunk
2010-09-03 21:55:57 -07:00
silinoron
1e1c596dda Core/WorldPacket: Fix the core spamming complaints about CMSG_QUEST_QUERY being sent post-logout
Core/Spells: A little bit of "cleanup"

--HG--
branch : trunk
2010-09-03 20:30:29 -07:00
silinoron
d2c259fe76 Core/ScriptSystem: Add a PlayerScript::OnSpellCast(Player *player, Spell *spell, bool skipCheck) function.
Requested by Zor.

--HG--
branch : trunk
2010-09-03 19:58:16 -07:00
click
128c60c84a Core/PetAI: Add additional safeguard against possible crash if me->GetCharmerOrOwner() is NULL in agressiontest
Patch by JacB667. Fixes issue #3766.

--HG--
branch : trunk
2010-09-03 22:47:03 +02:00
azazel
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

--HG--
branch : trunk
2010-09-04 02:33:57 +06:00
click
d4e2fdad78 Core/Worldpacket: Correct size of SMSG_AUTH_RESPONSE (thanks to Ramus for orig patch, and svetilo for notification)
--HG--
branch : trunk
2010-09-03 22:14:42 +02:00
Shauren
8f1d660a4b Core/Dungeon Finder: Added missing check in previous revision and moved RewardDungeonDoneFor to proper place in the file
--HG--
branch : trunk
2010-09-03 20:25:03 +02:00
Shauren
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

--HG--
branch : trunk
2010-09-03 20:11:14 +02:00
Machiavelli
d7f9cea305 Core/WorldRunnable: Convert autobroadcast to trinity standards (properly cache configs, change function name to better reflect purpose)
--HG--
branch : trunk
2010-09-03 18:29:35 +02:00
Shocker
ee83ffdfca Fix snake's HP for hunter's Snake Trap
--HG--
branch : trunk
2010-09-03 19:04:32 +03:00
Machiavelli
5469af3775 Core/DBLayer: Add an assert to detetct calls to invalid prepared statements.
--HG--
branch : trunk
2010-09-03 17:30:23 +02:00
Shocker
d207f0d9a5 Fix compilation, thanks tru.bazoozoo, closes issue 3778
--HG--
branch : trunk
2010-09-03 16:56:17 +03:00
Machiavelli
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)

Note: still experimental and not tested for live use

--HG--
branch : trunk
2010-09-03 10:52:32 +02:00
Shauren
277f2674ac Core/Tickets: Fixed lag report db saving query
--HG--
branch : trunk
2010-09-03 09:58:26 +02:00
Machiavelli
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)

--HG--
branch : trunk
2010-09-03 09:21:28 +02:00
runningnak3d
a15c45808c Core/Build: Fix non-PCH compile for Linux (don't know about Windows)
--HG--
branch : trunk
2010-09-02 17:55:55 -06:00
runningnak3d
7433768a55 Core/Build: Partial work of fixing non-PCH Linux compile
--HG--
branch : trunk
2010-09-02 17:19:53 -06:00