Commit Graph

12760 Commits

Author SHA1 Message Date
click
0447ddacef Core: Fix a crash in Player::DeleteFromDB due to loading wrong fields 2012-04-04 17:42:45 +02:00
click
98fcadae46 Core: Fix Group::SetGroupMemberFlag and Pet::resetTalentsForAllPetsOf prepared statement parameters (thanks Saring) 2012-04-04 01:23:09 +02:00
Kandera
ef6b99cd37 Core/Spells: fix crash with wintergrasp water spell script. 2012-04-03 18:56:34 -04:00
click
e231cf9462 Core: Fix WorldSession::HandleWrapItemOpcode prepared statement parameters 2012-04-04 00:42:00 +02:00
click
9074102702 Core: Fix Item::SaveRefundDataToDB prepared statement parameters 2012-04-04 00:29:22 +02:00
Nay
5ebace6c7f Core/DBLayer: Fix issues in instance saving; spotted by Saring, thank you 2012-04-03 23:11:08 +01:00
Kandera
cce8b56a26 Core/Spells: fix wintergrasp water being applied to players. small codestyle fix 2012-04-03 10:19:17 -04:00
Shauren
d9451cedd8 Core/World: Add character name data after loading PlayerDump
Closes #3653

Note: Manual changes in database while the server is running are not advised thus not supported
2012-04-03 00:02:58 +02:00
Shauren
3831e76b9a Core/Protocol: Fixed SMSG_NAME_QUERY_RESPONSE for offline players (fixes friend lists) 2012-04-02 18:37:25 +02:00
Nay
f03af56d5d Core/DBLayer: Fix another wrong type, hopefully the last one
TODO: Hunt down the reason for friends list (characters_social) and instance reseting not working
2012-04-02 14:05:05 +01:00
click
d4cc9078e1 Core: Fix another type-error in the mail expiration handling (using data pulled from CHAR_SEL_EXPIRED_MAIL_ITEMS prepped statement) 2012-04-02 04:39:01 +02:00
kaelima
ede839dd97 Core/Database: Some extended debug output for Field::GetXXX logs. 2012-04-02 03:30:19 +02:00
Nay
6e4a4795ad Core/DBLayer: Yet more type fixes 2012-04-02 01:25:07 +01:00
Nay
b03f895cf5 Core/DBLayer: Yet more type fixes 2012-04-02 00:22:33 +01:00
Subv
66629854d0 Merge pull request #5981 from Jildor/fix_Spinning_Pain_Spike2
Core/Spells: Fix Spinning Pain Spike damage
closes #5652
2012-04-01 15:13:41 -07:00
Nay
b7f7e3118c Core/DBLayer: More type fixes
Thanks to Vasago for the help in spotting the errors
Thanks to Subv as well (so he doesn't feel lonely)
2012-04-01 22:41:47 +01:00
Jildor
e64d75f2c7 change GetMaxHealth and BeforeHit... 2012-04-01 22:01:17 +02:00
click
ad569ce649 Core: Only clear motionmaster flags if the respective entity exists in world.
Original patch by kewarr and Mrsmite, additional commenting by Machiavelli removing the pet-specific checks applied.
Fixes #5400.
2012-04-01 19:54:33 +02:00
click
55b53f44dc Core: Tell ScriptMgr to reload properly on .reload - thanks to codels for the patch 2012-04-01 19:38:15 +02:00
Subv
2987d4f40d Core/Commands: Allow combatstop command to be used from console with the player name as parameter
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-01 11:03:47 -05:00
Subv
8bd228179d Core/Spells: Fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT on several types of spell effects
closes #5961
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-01 11:02:44 -05:00
Jildor
b8558a6990 Core/Spells: Fix Spinning Pain Spike damage
Close: #5652
2012-04-01 18:00:37 +02:00
Nay
1bc99cd5af DB/Spawns: Fix previous commit (512aa8897b) 2012-04-01 14:55:19 +01:00
Gyx
a1c4786ba0 Core/Script: Code style and some rewriting.
MoveInLineOfSight(Unit* unit) -> MoveInLineOfSight(Unit* who)

Signed-off-by: Gyx <2359980687@qq.com>
2012-04-01 19:56:41 +08:00
Nay
377c5ce36e Core/DBLayer: Fix another wrong type in mail related code 2012-04-01 03:09:01 +01:00
click
409ebcca97 Core: Send SSL and ACE version in all logging detailmodes, not just when set in the config 2012-03-31 23:50:32 +02:00
Shocker
37840a882f Merge pull request #5964 from GyxTom/master
Core/Misc: Code style and some rewriting
2012-03-31 14:10:14 -07:00
Nay
0b645a825d Core/DBLayer: More type fixes 2012-03-31 17:47:18 +01:00
Nay
e3ae7ba498 Core/Config: Add SQLDriverQueryLogging to authserver.conf (disabled by default, just like worldserver) 2012-03-31 16:31:42 +01:00
Nay
91c7b5d2ca Core/DBLayer: Delete a triplicated prepared statement (LoginDatabase)
Thanks to Anubiss for spotting it
2012-03-31 15:48:40 +01:00
Nay
c71f75e9ca Core/Logging: Fix a typo in DebugLogFilters - Database & AI
Thanks to Garthog for finding it
2012-03-31 15:13:56 +01:00
Shauren
68fdf2a12f Core/DBLayer: Added missing prepared statement implementation for uint8/16 2012-03-31 14:16:48 +02:00
Gyx
d9088c083c Core/Script: Code style and some rewriting.
JustDied(Unit* Killer) -> JustDied(Unit* killer)
JustDied(Unit* /*Killer*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*unit*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*slayer*/)) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*victim*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* victim) -> JustDied(Unit* killer)
JustDied(Unit* /*who*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* who) -> JustDied(Unit* killer)
JustDied(Unit*) -> JustDied(Unit* /*killer*/)

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-31 18:56:37 +08:00
click
280f88db6b Merge pull request #5649 from Elron103/pull-requests2
Core/Movement: Fix random position finding near edges, avoid big z-coordinate differences
2012-03-30 18:14:58 -07:00
Shocker
b292437989 Merge pull request #5933 from GyxTom/master
Core/Misc: Code style and remove unused define
2012-03-30 14:49:44 -07:00
Shocker
3fb947d955 Merge pull request #5903 from Warpten/ringOfValor
Core/Battlegrounds: Fire lines in Ring of Valor should only be lit when the arena battle begins
2012-03-30 14:46:45 -07:00
Gyx
ba2ee48fc6 Core/Script: Code style(Missing?).
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-30 10:39:33 +08:00
Shauren
5843851559 Core/DBLayer: More prepared statement corrections 2012-03-29 23:22:10 +02:00
Shauren
3ba43cc08a Core/DBLayer: More type fixes
Closes #5936
2012-03-29 18:30:25 +02:00
Kandera
4a0085ad2c Core/DBLayer: more type fixes 2012-03-29 12:21:38 -04:00
leak
5e58905aa0 Core/DBLayer: More types fixes 2012-03-29 17:43:23 +02:00
click
411699b94d Core/DBLayer: Fix stupid mishap from last commit (i need glasses) - thanks nayd for poking me about it 2012-03-29 16:41:42 +02:00
click
af6c70cf99 Core/DBlayer: ... and some more COUNT()-based type-fixing ... 2012-03-29 16:33:54 +02:00
Nay
92d3548f0b Core/DBLayer: Even more types fixes... 2012-03-29 15:08:17 +01:00
click
f80f94809c Core/Group: Fix LoadGroupFromDB type-error 2012-03-29 15:13:19 +02:00
click
766475ea4f Core/Guild: Fix guildbank tab loading after recent changes (returned value of a COUNT() is always BIGINT) 2012-03-29 14:41:55 +02:00
Shauren
022143460a Core/DBLayer: Fixed some crashes caused by incorrect prepared statements usage
Closes #5934
2012-03-29 11:30:37 +02:00
Gyx
391d68be20 Core/Script: Code style.
WaypointReached(uint32 i) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 /*waypointId*/)
WaypointReached(uint32 uiI) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*i*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiWPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*wp*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 waypointId)

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 15:44:24 +08:00
Gyx
5b7493fc66 Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 14:43:34 +08:00
Gyx
360014856d Core/Game: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 13:42:04 +08:00