Commit Graph

9739 Commits

Author SHA1 Message Date
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
Machiavelli
7982cc0f7d Core/DBLayer:
- A few prepared statement implementations in authsocket as example.
- Add an ASSERT in MySQLConnection::Execute(PreparedStatement*) to catch faulty created statements

--HG--
branch : trunk
2010-09-03 01:00:49 +02:00
Machiavelli
2c1c391597 Core/DBLayer:
- Example implementation of prepared statement in ObjectMgr::SaveCreatureRespawntime
- #include "MYSQLThreading.h" -> #include "MySQLThreading.h" (*really* fixes Linux build)

--HG--
branch : trunk
2010-09-03 00:44:27 +02:00
Machiavelli
1e8a294659 Missing include from previous rev.
--HG--
branch : trunk
2010-09-03 00:08:20 +02:00
Machiavelli
39027133e4 Fix Linux build
--HG--
branch : trunk
2010-09-03 00:04:14 +02:00
Shauren
e25846a08e Core/Spells: Fixed crash in EffectFeedPet
Closes issue #3728.
Closes issue #3752.

--HG--
branch : trunk
2010-09-02 22:04:08 +02:00
Machiavelli
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

Build:
- Add sLog define ¨hack¨ in DatbaseWorkerPool.h to fix some more sLog errors temporarily

FYI: Builds on windows

--HG--
branch : trunk
2010-09-02 20:54:43 +02:00
Shauren
cd182a1e8f Fixed build
Fixed wrong header includes in new database files, thx Thyros

--HG--
branch : trunk
2010-09-02 20:22:19 +02:00
Shauren
e9ff90a967 Fix *SOME* build errors
--HG--
branch : trunk
2010-09-02 18:20:59 +02:00
Machiavelli
c47f45694f Core/DBLayer: Add Login-/Characters-/Worlddatabase class implementations
--HG--
branch : trunk
2010-09-02 17:56:49 +02:00
Machiavelli
5ef738c16e Core/DBLayer:
- Better way to shutdown worker thread, prevents a crash. Fixes issue #3696
- Delete missing file from previous rev

--HG--
branch : trunk
2010-09-02 17:55:03 +02:00
Machiavelli
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)

--HG--
branch : trunk
2010-09-02 17:47:50 +02:00
runningnak3d
39f901d566 SQL: add exploration base XP date for levels 71-79. Patch by Svannon
--HG--
branch : trunk
2010-09-02 08:56:18 -06:00
Machiavelli
d2edf39feb Core/DBLayer: Remove as of recent redundant DatabaseWorkerPoolEnd operation
--HG--
branch : trunk
2010-09-02 16:45:33 +02:00
Shocker
55c54c9ad2 Database/Table: Forgotten data from previous commit regarding auctionhousebot removal
--HG--
branch : trunk
2010-09-02 17:43:27 +03:00
Shocker
c8cf877d1a Merge
--HG--
branch : trunk
2010-09-02 17:40:24 +03:00
Shocker
661cd04c27 Remove auctionhousebot from base too
--HG--
branch : trunk
2010-09-02 17:37:32 +03:00
Shocker
0e865c9f72 Break monstrous lines from world_database.sql into multiple lines, once for each row
--HG--
branch : trunk
2010-09-02 17:30:40 +03:00
Brian
a32528f8d1 Database/Table: drop unused auctionhousebot table.
--HG--
branch : trunk
2010-09-02 08:30:24 -06:00
Shocker
0c4c139b94 * Allow Waylay to proc from Backstab too (also remove PROC_EX_CRITICAL_HIT flag, invalid), closes issue 3009.
* Small filename typo fix

--HG--
branch : trunk
2010-09-02 16:48:03 +03:00
Shauren
15880d27ea Core/Spells: Fixed Health Leech effect, should not apply healing multiplier to damage done
--HG--
branch : trunk
2010-09-02 15:34:36 +02:00
Shocker
ee31212cd5 Glyph of Prayer of Healing shouldn't benefit from spell power, thanks arielazuz (Fixes issue 2827)
--HG--
branch : trunk
2010-09-02 16:32:30 +03:00
Shocker
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
--HG--
branch : trunk
2010-09-02 16:24:08 +03:00
Shocker
8331da627d Some old typo fixes, closes issues #3747, #2756, #2607, thanks 2010phenix/jean-michele.nefen/toshik.777
--HG--
branch : trunk
2010-09-02 15:25:02 +03:00
Shocker
c8dfbdac35 Conflagrate direct & DoT damage shouldn't scale with duration increases of Immolate/Shadowflame, fixes issue 3376.
--HG--
branch : trunk
2010-09-02 06:02:51 +03:00
Shocker
96765bc6e0 creature_respawn should be InnoDB since it's prone to continuous writes
--HG--
branch : trunk
2010-09-01 17:03:43 +03:00
Spp
90a2e23a97 SQLS/Creation: Fix default engine for tables in world and characters
--HG--
branch : trunk
2010-09-01 12:51:35 +02:00
azazel
b2a49ad79a Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086. Closes issue #2989.
--HG--
branch : trunk
2010-09-01 10:40:44 +06:00
silinoron
80df469a38 Oooh, C++... How I love you.
--HG--
branch : trunk
2010-08-31 17:41:18 -07:00
click
64d77369fc Docs: Update UnixInstall with the current list of CMake parameters
--HG--
branch : trunk
2010-09-01 01:07:20 +02:00
Shocker
4e067dd313 Add LoS check for melee autoattacks, fixes issue 3535
--HG--
branch : trunk
2010-09-01 01:16:43 +03:00
John Holiver
3a765da2fa Small fix to Chimera Shot Serpent dmg and Scorpid CD.
Thanks to Arcane.

--HG--
branch : trunk
2010-08-31 19:13:59 -03:00
Shocker
6d64365e8f Allow Immolate DoT ticks to critically hit, fixes issue #1932
--HG--
branch : trunk
2010-09-01 00:38:13 +03:00
Liberate
cdaedef3c1 *Fix: Lacerate should scale with AP only, and not from SP.
--HG--
branch : trunk
2010-08-31 23:04:43 +02:00
Shauren
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

--HG--
branch : trunk
2010-08-30 11:36:15 +02:00
Shauren
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

--HG--
branch : trunk
2010-08-31 21:47:45 +02:00
Shauren
6048d2ec5e Core/Achievements: Pass killed unit pointer to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE (use in scripts)
--HG--
branch : trunk
2010-08-31 21:47:44 +02:00
Shauren
996e7741a1 Scripts/Icecrown Citadel: Corrected vehicleId for Deathbringer Saurfang, patch by Heisenberg/bolvor
Closes issue #3704.

--HG--
branch : trunk
2010-08-31 21:47:43 +02:00
click
174f2884b7 Buildsystem/MSVC: Only use /bigobj on x64 platforms - should solve x86 debug compilations (needs feedback)
--HG--
branch : trunk
2010-08-31 20:14:16 +02:00
John Holiver
258398ed30 Fixes Druid T10 Balance 4P bonus.
Fixes DK T10 Melee 4P bonus.

--HG--
branch : trunk
2010-08-31 15:01:04 -03:00
Shocker
e32ece52ea Pet level-synchronization with owner should be done before initializing stats, closes issue 3732, thanks moriquendu
--HG--
branch : trunk
2010-08-31 20:40:43 +03:00
John Holiver
46679c1bf7 File missing in the last commit.
--HG--
branch : trunk
2010-08-31 12:39:16 -03:00
John Holiver
5bf31a5e81 Fix to DK Tank 4P and Paladin Holy 4P T10 bonus.
Fixes issue 2684.
Fixes issue 2681.
Thanks to svetilo12.

--HG--
branch : trunk
2010-08-31 12:35:06 -03:00
Shauren
58ce3c77af Core/Scripts: Revert revision 619ba8b76250 and fix it properly
--HG--
branch : trunk
2010-08-31 15:37:29 +02:00
Spp
b5beb1c706 Better way to fix some warnings from rev 621c100eeb.
--HG--
branch : trunk
2010-08-31 13:31:38 +02:00
Spp
866c28fbec Core/Groups: Fix a crash loading groups from DB
Fixes issue 3693

--HG--
branch : trunk
2010-08-31 11:50:07 +02:00