Commit Graph

9803 Commits

Author SHA1 Message Date
Shauren
ae2bf64b0a Core: Fixed compile
Core/Scripts: Compile and use spell scripts always, even if SCRIPTS not defined

--HG--
branch : trunk
2010-09-06 11:51:07 +02:00
click
db0b166116 Core/LFG: Include ObjectMgr.h in LFGHandler (fixes nonPCH-compiles)
--HG--
branch : trunk
2010-09-06 11:39:32 +02:00
Shauren
5709007b02 Core/Loot: Automatically distribute currency items when they drop, based on Destros' patch
Closes issue #2913.

--HG--
branch : trunk
2010-09-06 11:27:00 +02:00
Spp
23b5ae9d37 Core/Dungeon Finder: Fix an error that made restriction ignored when expanding a random dungeon to the related dungeons
- Fixes selecting a dungeon not in the level bracket of the players
- Fixes matching incompatible groups
- Fixes heroic binds being ignored (Fixes issue 3845)

--HG--
branch : trunk
2010-09-06 04:42:02 +02:00
Spp
c419c9f3cd Core/Dungeon Finder: Fix an error that made some groups being marked as compatibles when they are not
--HG--
branch : trunk
2010-09-06 03:51:08 +02:00
Spp
a27f077197 Core/Dungeon Finder: Autodismount players when teleported to dungeon
--HG--
branch : trunk
2010-09-06 03:40:30 +02:00
Spp
56940bb4a4 Core/Dungeon Finder: Fix an error that prevented lfg groups to find a new proposal with queued groups
- Also fix a typo in previous Dungeon Finder commit

Updates issue 3465

--HG--
branch : trunk
2010-09-06 03:03:21 +02:00
Xanadu
62673ec25e Fixed win x64 debug build. Thx to click for inspiration.
--HG--
branch : trunk
2010-09-06 02:36:54 +02:00
silinoron
c8f872da49 May as well make sure of no SQL errors for spells, too.
--HG--
branch : trunk
2010-09-05 16:45:18 -07:00
silinoron
66cc9a5d67 Fix a typo in race and faction transfers - reported by 0xFuture
Fixes issue #3844
Fix a SQL collision in race and faction transfers - reported by Aokromes

--HG--
branch : trunk
2010-09-05 16:34:38 -07:00
Shocker
e6450df9c4 DB-Schema/Characters: Add indexes for some columns used in JOINs in the core
--HG--
branch : trunk
2010-09-06 01:38:50 +03:00
silinoron
5e95be0c33 Fix Glyph of Totem of Wrath.
Fixes issue #3743
Patch by dr.tenma.

--HG--
branch : trunk
2010-09-05 14:59:46 -07:00
silinoron
4f112d6a9d Fix Totem of Wrath debuff effect.
Fixes issue #3297
Fixes issue #2276
Patch by Ramus.

--HG--
branch : trunk
2010-09-05 14:34:48 -07:00
Spp
4c393dc36b Fix typo in previous commit
--HG--
branch : trunk
2010-09-05 23:20:55 +02:00
Spp
26e3c5eb20 Core/Dungeon Finder: Redo find group algorithm
- Cache compatibilities to avoid doing calcs twice
- Algorithm will get all proposals (again)

Updates issue 3415

--HG--
branch : trunk
2010-09-05 22:05:14 +02:00
Spp
b80e1b4b5b Core/Dungeon Finder: Minor cleanups
--HG--
branch : trunk
2010-09-05 21:29:52 +02:00
Spp
9e4dd760ba Code/Dungeon Finder: Move some packets from Mgr to Handler
--HG--
branch : trunk
2010-09-04 18:20:10 +02:00
Spp
d566f8cccc Core/Dungeon Finder: Minor fixes to Reward system.
- Check if its random dungeon before giving rewards
- Update achievement only for heroic dungeons
- Other minor fixes

--HG--
branch : trunk
2010-09-04 15:40:43 +02:00
silinoron
be7d94f24e Add support for character race and faction transfers.
Based (loosely) on patch by Ner'zhul, DarkXuan, and darkshines@sakha.net.
Fixes issue #3429.

--HG--
branch : trunk
2010-09-05 13:12:24 -07:00
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