Commit Graph

8591 Commits

Author SHA1 Message Date
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
Shocker
047b244f2f Core/Spells: Fix Permanent Feign Death spells to be used in creature_addon auras
--HG--
branch : trunk
2010-09-08 14:57:44 +03:00
Spp
8509d50a39 Core/Dungeon finder: Missing changes from previous commit
--HG--
branch : trunk
2010-09-08 13:44:57 +02:00
Spp
fcc8d1e4a8 Core/Dungeon Finder: Properly expand random dungeons before adding to queue and minor cleanup
- Groups were being added to queue even with no dungeons. Client was not informed so group couldn't join queue anymore
- Some cleanup in error msgs and function order
Fixes issue 3851

--HG--
branch : trunk
2010-09-08 13:19:05 +02:00
Shocker
f19336e455 Core/Packets: Fix packet size and info for SMSG_SET_PROFICIENCY, original code by zhenya
--HG--
branch : trunk
2010-09-08 13:26:40 +03:00
Shauren
5c13a08d87 Core/Spells: Fixed The Art of War procing only on melee attacks, by tassader1000
Core/Spells: Added missing change in previous revision

Closes issue #2386.

--HG--
branch : trunk
2010-09-08 11:22:51 +02:00
Shauren
e5d612d339 Core/Spells: Fixed Taste for Blood and Glyph of Overpower after recent combo point changes
--HG--
branch : trunk
2010-09-08 10:59:10 +02:00
Shocker
3999444157 Core/Scripts: Use same standard for all GetInstanceScript's, closes issue 3890
--HG--
branch : trunk
2010-09-08 11:42:11 +03:00
Shocker
6284854965 Core/Handlers: Prevent possible movement hijacking exploit, original code by VladimirMangos
--HG--
branch : trunk
2010-09-08 09:46:42 +03:00
Shocker
665bc1ffb9 Typo fixes, closes issue 3885, thanks zaphod & Paradox
--HG--
branch : trunk
2010-09-08 09:35:54 +03:00
Shocker
f9ecc36fb0 Core/Commands: Implement config for setting the maximum number of results a .lookup command can return, closes issue 3875
--HG--
branch : trunk
2010-09-08 09:28:21 +03:00
Shocker
3bb2dc3588 Core/Arena: Don't ignore GM visibility in arena pre-start visibility check, fixes issue 3862
--HG--
branch : trunk
2010-09-08 07:57:14 +03:00
Shocker
01c2a6d87c Core/Spells: Don't allow most spells to be casted while dead
--HG--
branch : trunk
2010-09-08 07:01:55 +03:00
Shocker
fd52f7b202 Core/Spells: Add level requirement check for glyph sockets
--HG--
branch : trunk
2010-09-08 06:11:32 +03:00
Shocker
96812cfa27 Core/Spells: Fix ammo depletion handling
--HG--
branch : trunk
2010-09-08 05:39:24 +03:00
Shocker
948c1f0fd6 Core/Spells: Add server-side check for not allowing non-instant spells with movement interrupt flag to be casted while moving
--HG--
branch : trunk
2010-09-08 04:15:41 +03:00
Shocker
5f3ec4366d Core/Spells: Add server-side check for spells that require combo points to prevent exploits
--HG--
branch : trunk
2010-09-08 01:35:36 +03:00
Trazom62
88daff9676 Script: Fix crash in boss_tharon_ja.
Fixes issue #3356.

--HG--
branch : trunk
2010-09-07 20:52:42 +02:00
Trazom62
0e9d0f6bcb Core/Script/Item: fix urand range in Six Demon Bag.
--HG--
branch : trunk
2010-09-07 20:47:48 +02:00
click
da5569bee6 Core/Scripts: Ensure Example and spell-scripts are loaded at all times in the AddScripts() function
--HG--
branch : trunk
2010-09-06 22:09:55 +02:00
silinoron
320c354440 Fix spell damage bonus for improved devouring plague.
Patch by dr.tenma.
Fixes issue #2785

--HG--
branch : trunk
2010-09-06 10:53:02 -07:00
silinoron
b1e7dc1ad2 Core: Disallow race and faction transfers to races for which character creation is not allowed.
--HG--
branch : trunk
2010-09-06 10:42:53 -07:00
azazel
7afc640ef4 Core: add possibility to disable creating of characters of specified races/classes.
--HG--
branch : trunk
2010-09-06 23:34:16 +06:00
Machiavelli
d54225189e Core/DBLayer: Fix a warning
--HG--
branch : trunk
2010-09-06 17:55:12 +02:00