Commit Graph

9922 Commits

Author SHA1 Message Date
Shauren
c2c3302d2f Core/Vehicles: Removed hacky setting entry for multi-passenger mounts
Core/Pools: Fixed compile

--HG--
branch : trunk
2010-09-14 16:14:43 +02:00
Shauren
102e51d620 Core/Pools: Implemented quest pooling
Core/DBLayer: Added GetNumRows() method to PreparedResultSet

--HG--
branch : trunk
2010-09-14 13:56:27 +02:00
Shocker
cdd8f446fa Core/Spells: combo points requirement should be changed before CheckCast
--HG--
branch : trunk
2010-09-14 13:28:25 +03:00
Shocker
5e7bec0268 Core/Spells: Triggered spells should ignore combo points check, fixes issue 4006
--HG--
branch : trunk
2010-09-14 12:56:32 +03:00
Shocker
e5e980b686 Core/Spells: Fix Health Funnel health cost, fixes issue 1985
--HG--
branch : trunk
2010-09-14 10:54:16 +03:00
linencloth
6bdfc77b42 Core/Player: allow dead players to see dead creatures near their corpses
--HG--
branch : trunk
2010-09-14 02:57:53 +02:00
Shocker
df9d62d2b1 Core/Spells: Set maximum affected targets value for Unholy Frenzy (50312), will be used in DB AI scripting
--HG--
branch : trunk
2010-09-14 01:27:05 +03:00
linencloth
5bd9afb9fa Core: Prevent critters from rewarding XP.
Also avoid unnecessary XP rate calculations.

--HG--
branch : trunk
2010-09-14 00:09:58 +02:00
click
a6efc4dad5 Core/Loothandling: Make sure "pet-only"-kills doesn't drop loot (when pet is killing a creature on its own without any assistance from player)
(Also fix unintended typo from r701f212a00)

--HG--
branch : trunk
2010-09-13 22:49:20 +02:00
Shocker
6528a82b61 Core/Spells: Remove duplicate healing bonus calculation for Prayer of Mending, closes issue 3879, thanks dr.tenma
--HG--
branch : trunk
2010-09-13 22:54:04 +03:00
Shocker
de9ed810ef Core/Guilds: Fix Guild bank event log for big stacks, fixes issue 3996, thanks maketheking for pointing out the problem
--HG--
branch : trunk
2010-09-13 22:41:32 +03:00
click
a48923ee8c Core: Properly handle pet killing critters and also remove some old code - fixes a few issues:
- make pets return home after killing a critter (they refused to return to player on critter death)
- kills of an OLD bug : make critters lootable if they have loot (for quests). Fixes issue #1950.
Thanks to linencloth for the help on finding this bugger.

--HG--
branch : trunk
2010-09-13 18:22:16 +02:00
Machiavelli
88f378e7ae Core/DBLayer: Fix a memory leak in prepared statement parameter/result binds. Original author: raczman
--HG--
branch : trunk
2010-09-13 17:07:27 +02:00
Shauren
6d0a031a77 Core/Quests: Some cleanup in quest relation accessing
--HG--
branch : trunk
2010-09-13 13:18:27 +02:00
Spp
c7289967b0 Code Style: Tab to spaces
--HG--
branch : trunk
2010-09-13 09:51:40 +02:00
Spp
9a7990e4ed Core/Dungeon Finder: Restore consistency after an inconsistency is found while checking compatibilities
Closes issue 3950

--HG--
branch : trunk
2010-09-13 09:43:59 +02:00
Spp
1f9b2b5af7 Core/Dungeon Finder: Use proper function to find players
--HG--
branch : trunk
2010-09-13 09:20:07 +02:00
Spp
6e55c22a12 Core: Add function to find players by low guid
--HG--
branch : trunk
2010-09-13 09:16:57 +02:00
Spp
62d0d8921d Core/Dungeon Finder: Offer to continue only if dungeon is not complete
Updates issue 3916

--HG--
branch : trunk
2010-09-13 08:47:24 +02:00
Spp
afad2447c7 Fix wrong sql file name
--HG--
branch : trunk
2010-09-13 08:18:46 +02:00
Shocker
fef504e365 Core/Loot: Looting should interrupt casting, fixes issue 3676.
--HG--
branch : trunk
2010-09-13 04:02:57 +03:00
Shocker
b7b1efa4c1 Core/Spells: Fix Bone Shield to drop charges only from damage and not heals, fixes issue 3284
--HG--
branch : trunk
2010-09-13 03:34:34 +03:00
Shocker
61c11f8f9b Scripts/Deadmines: Fix OnUse hook usage, thanks zaphod, closes issue 3942.
Note: If you spot similar errors (forgotten changes for hooks) in other scripts, please report them

--HG--
branch : trunk
2010-09-13 01:59:09 +03:00
Shocker
4908187578 Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd
--HG--
branch : trunk
2010-09-13 01:42:14 +03:00
click
21182308b3 Core: Partial revert of r63468c6c86 (GCC being totally weird o.O) - should fix x64 builds (drops back warning though)
--HG--
branch : trunk
2010-09-13 00:32:50 +02:00
Liberate
35e16abad4 Core/Arena: Fix a typo made by me in revision b468981513. You can now join Arena again.
--HG--
branch : trunk
2010-09-12 22:54:12 +02:00
Shocker
cbe95da41a Core/Spells: Correct meaning & usage of SPELL_ATTR_EX2_NOT_RESET_AUTOSHOOT (now SPELL_ATTR_EX2_NOT_RESET_AUTO_ACTIONS) to ignore timer reset for both melee swings and ranged autoshoots, fixes issue 2639
--HG--
branch : trunk
2010-09-12 23:52:37 +03:00
click
c4028111bd Core: Remove some more warnings (initialization sequence in Unit.cpp and a non-initalized variable in worldserver)
--HG--
branch : trunk
2010-09-12 21:19:43 +02:00
Shauren
9bf50057a3 Typofix from previous revision
--HG--
branch : trunk
2010-09-12 19:23:52 +02:00
Shauren
e0ffae436c Core/Quests: Fixed remaining issues with quest crediting (note: previous commits did not introduce issues, only revealed them)
Core/DBLayer: Fixed more compile warnings
Core/Spells: Corrected code style from revision 634af79146

Closes issue #3956.

--HG--
branch : trunk
2010-09-12 19:17:58 +02:00
click
976cc3f8c4 Core/DBLayer: Make GCC happy (initialize variables in the correct order in ResultBind()
--HG--
branch : trunk
2010-09-12 18:52:06 +02:00
Liberate
00630d94d4 Core/Arena: Fix another exploit: When leaving your team in the middle of the arena fight your average Matchmaker Rating will not change till after the fight.
--HG--
branch : trunk
2010-09-12 18:41:47 +02:00
click
2279102ec9 BuildSystem: Make dep/* sources muted during compile (3rd party sources should not show messages during compile, as we're not responsible for them)
Note: Certain functions called within the main src/ subdir will warn due to that we do not ignore them in the CMakeLists.txt yet.
This will be properly handled at an opportune moment.
Buildsystem/CMake: Set default warninglevel to 0 (no warnings shown during compile) - some warnings will still show while we create the "mutelist"

--HG--
branch : trunk
2010-09-12 18:32:49 +02:00
Liberate
c5b1861fe9 Core/Arena: Fixes a bug/exploit that makes you able to join arena with offline team mates.
Fixes issue #3504

--HG--
branch : trunk
2010-09-12 17:48:50 +02:00
Machiavelli
e873289828 Core/Authsocket: Fix errorenous authentication failure
--HG--
branch : trunk
2010-09-12 17:04:19 +02:00
Machiavelli
123163dc41 Core/DBLayer: Check for potential mysql client/server version mismatch. Version mismatch may lead to undefined behaviour with prepared statements.
--HG--
branch : trunk
2010-09-12 15:57:36 +02:00
Machiavelli
bb8438c09b Core/DBLayer: Add GetCString method for PreparedResultSet (dynamic copy is responsibility of the high level code)
--HG--
branch : trunk
2010-09-12 15:11:08 +02:00
click
855ec1cd01 Core/Unit: Make sure pets respect unit damage resilience and the other way around (patch by Dr. Tenma)
Fixes issue #3918

--HG--
branch : trunk
2010-09-12 14:29:09 +02:00
Machiavelli
6a4c798867 Core/DBLayer: Replace all ad-hoc queries in AuthSocket with prepared statements
--HG--
branch : trunk
2010-09-12 11:06:26 +02:00
Machiavelli
0612359f4b Core/DBLayer:
- Fix a crash related to prepared resultset bind buffering. Fixes issue #3975
- Implement 64bit int fetching functions for preparedresultset
NOTE: *Still* experimental, use at own risk.

--HG--
branch : trunk
2010-09-12 11:02:58 +02:00
Shauren
1f7064efee Core/Items: Use proper method for returning item max stack size
--HG--
branch : trunk
2010-09-12 10:43:40 +02:00
Shocker
90434d0a45 Auth: Typo fix in logon challenge handler, closes issue 3975, thanks 41782992
--HG--
branch : trunk
2010-09-12 05:24:48 +03:00
click
4da2cdffea Core/ItemHandler: Force size on abs() value calaulation
The size of the return value of abs() is natively defined, and can exceed 32 bits on x64 systems
Fix by Zor

--HG--
branch : trunk
2010-09-12 02:59:19 +02:00
click
26ec6042be Core/PetitionsHandler: Slight cleanup on enums (sorting by ID, types and costs)
--HG--
branch : trunk
2010-09-12 02:52:44 +02:00
click
bc28f2ab25 Core/Petitions: Remove some magic numbers, and classify types into enums (based on Amkis patch)
Fixes issue #3228

--HG--
branch : trunk
2010-09-12 02:00:42 +02:00
click
bf664b7a44 Cleanup/Core: Remove whitespace and tabs
--HG--
branch : trunk
2010-09-12 01:40:27 +02:00
Machiavelli
6fa05cfa3e Core/DBLayer: Last of the QueryResult related warnings on linux
--HG--
branch : trunk
2010-09-11 22:27:56 +02:00
Machiavelli
d1174be1fd Core/DBLayer: Fix gcc warnings related to changes added to QueryResult.h/cpp recently
--HG--
branch : trunk
2010-09-11 22:20:57 +02:00
Shauren
d714d0eb20 Core/Loot: Reverted revision 44a1f284dd3e
Core/Loot: Implemented automatic currency distribution in better way, applying all conditions and updating achievements

Closes issue #3912.

--HG--
branch : trunk
extra : rebase_source : 35c2a59d213793ee29dfd0fc1acb7c15b375b049
2010-09-11 21:28:55 +02:00
Machiavelli
1de7e5bed1 Core/DBLayer:
* Example implementation of prepared statements with resultset in RealmList and AuthSocket code (selectively)
* Also correct a few bobo´s from previous commit.

--HG--
branch : trunk
2010-09-11 21:22:15 +02:00