Commit Graph

7107 Commits

Author SHA1 Message Date
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
Shocker
fef504e365 Core/Loot: Looting should interrupt casting, fixes issue 3676.
--HG--
branch : trunk
2010-09-13 04:02:57 +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
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
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
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
Shauren
1f7064efee Core/Items: Use proper method for returning item max stack size
--HG--
branch : trunk
2010-09-12 10:43:40 +02: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
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
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
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
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
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
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
6284854965 Core/Handlers: Prevent possible movement hijacking exploit, original code by VladimirMangos
--HG--
branch : trunk
2010-09-08 09:46:42 +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
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