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
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
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
silinoron
dacf427ea3
Core/Group: Some simple style cleanup in Group.cpp.
...
--HG--
branch : trunk
2010-09-11 09:09:41 -07:00
click
5f6b73fcec
Core/ScriptMgr: Remove incorrect assertion in OnGameObjectDestroyed, and clean up code style (fix by Zor)
...
--HG--
branch : trunk
2010-09-11 16:11:07 +02:00
Shauren
a52982195f
Fixed compile
...
--HG--
branch : trunk
2010-09-11 12:15:34 +02:00
Machiavelli
1dce5b78d5
Core/DBLayer: Implement lower level classes for prepared statements with resultsets. (Implementation in upper level code not yet possible)
...
--HG--
branch : trunk
2010-09-11 09:17:14 +02:00
Liberate
50a90522f9
Core/Arena: Fixes the Config option for the start rating of personal rating.
...
Add a Config option for the start rating of matchmaker rating.
Personal rating now resets when joining a new team.
Fixes the strange behaviour Personal rating gain/loss can have opposing to team rating,
by using a better way of calculating the personal rating gain.
Fixes issue #3871
Fixes issue #3847
Fixes issue #3843
Fixes issue #3839
--HG--
branch : trunk
2010-09-10 23:08:49 +02:00
Shauren
320929ff40
Core/Conditions: Added "player knows spell" condition type
...
--HG--
branch : trunk
2010-09-10 20:49:29 +02:00
Shocker
61075d5101
Core/Spells: Correct check for starting cast while moving, thanks havenard for pointing out, fixes issue 3913
...
--HG--
branch : trunk
2010-09-10 15:51:31 +03:00
Shocker
9ac9641429
Core/Arena/Logging: Better implementation for fetching IP address
...
--HG--
branch : trunk
2010-09-10 15:47:58 +03:00
Spp
52bc38615c
Core/WorldSession: use extra param in SendPartyResult for future use
...
--HG--
branch : trunk
2010-09-10 13:45:21 +02:00
Spp
9e9c39244b
Code/Groups: use enum as parameter in Group::RemoveMember
...
--HG--
branch : trunk
2010-09-10 13:37:55 +02:00
Spp
279d40efdc
Core/Groups: Store group member roles to DB
...
--HG--
branch : trunk
2010-09-10 13:40:20 +02:00
Spp
fd14d7195f
Core: Minor code cleanup before next commits
...
--HG--
branch : trunk
2010-09-10 13:37:33 +02:00
Shocker
842a79d38c
Scripts/Violet Hold: Fix event start by initializing event phase variable, closes issue 2874, thanks PivoNRoll
...
--HG--
branch : trunk
2010-09-10 14:39:56 +03:00
Shocker
67a430b6c7
Scripts/Violet Hold: Azure Saboteur should stick to opening the prison portals only, thanks PivoNRoll/amu.cng, closes issue 3930
...
--HG--
branch : trunk
2010-09-10 14:20:51 +03:00
Machiavelli
9dd6e8f4d0
Core/Worldsession: Fix possible crash in 6 query callbacks
...
--HG--
branch : trunk
2010-09-09 20:26:56 +02:00
Spp
a9782329ab
Core/Dungeon Finder: Move all packet handling from Mgr to Handler (also minor cleanups)
...
--HG--
branch : trunk
2010-09-09 14:49:52 +02:00
Shocker
a0ffc6ab86
Core/Spells: Triggered spells should be ignored when checking death state at spell cast, fixes issue 3914
...
--HG--
branch : trunk
2010-09-09 15:44:24 +03:00
Shocker
0126590c54
Core/Arena/Logging:
...
* Implement option for extended arena match info for each player (guid, name, team, IP, healing/damage done, killing blows) [disabled by default]
* Fix logging for rating change, winner and loser get different ratings with the new arena system
--HG--
branch : trunk
2010-09-09 15:27:27 +03:00
Shauren
e122712348
Scripts/Icecrown Citadel: Fixed compile warnings
...
--HG--
branch : trunk
2010-09-09 11:55:41 +02:00
click
3b91ce95a6
BuildSystem: Sort out issues with mysql-libraries under *nix (and should now also work properly for Win32)
...
- Rename the "EXTERNAL_MYSQL" flag to "USE_MYSQL_SOURCES" to reflect it's PROPER use (and ensure that it's ONLY used on Win32)
- Remove a lingering "scripts" definition (the "scripts"-target is always included, but only from compiled parts (broke builds with -DSCRIPTS=0)
--HG--
branch : trunk
2010-09-08 19:20:38 +02:00
Shauren
2cf5bfb150
Core/Quests: Fixed quest relying on KillCredit fields in creature_template, guid search for real entry should not be performed since we explicitly need the entry from credit
...
Closes issue #3882 .
--HG--
branch : trunk
2010-09-08 16:15:22 +02:00
Shocker
cbc7ca8655
Core/Spells: Fixed PvP Trinket / Every Man for Himself / Will of the Forsaken shared CD, fixes issue 1872, based on dr.tenma's patch
...
--HG--
branch : trunk
2010-09-08 16:00:10 +03:00