aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-13Core/DBLayer: Implement global ExecuteOrAppend methods to DatabaseWorkerPool ↵Machiavelli
for executing queries in a diverse context (transaction or non transaction) - instead of local to Guild.cpp --HG-- branch : trunk
2010-12-13Fix wrong vsprintf parameter added in merge.Machiavelli
--HG-- branch : trunk
2010-12-13MergeMachiavelli
--HG-- branch : trunk
2010-12-13Backed out changeset: 8326a2411148Machiavelli
--HG-- branch : trunk
2010-12-12Fixed line endings in 10623_world_spell_bonus_dataShauren
Scripts/Naxxramas: Fixed a possible crash in instance script --HG-- branch : trunk
2010-12-11Core/ChatHandler: Cleanup in HandleMessagechatOpcode. Now commands are ↵Shocker
parsed and security checks are made in all channels --HG-- branch : trunk
2010-12-11Cleanup: implemented helper methods for manipulating percentage calculation ↵azazel
and used it where appropriate (plus fixed some other warnings). NOTE: Initially I just wanted to fix some warnings, but noticed that there is no common method for percentage calculation and various formulas are used many time in the code making it difficult to read and understand what the code actually does. So, I introduced several template methods for calculating percent values and adding those values to the original base. I replaced all the raw calculations throughout the code where found, but I could have missed something or could have made a mistake. So, please report any strange behaviour after this commit. If you ask me why I did it: for the sake of consistency and exact understanding what code means. If you see CalculatePct method, you clearly understand, that it find the value of x percent of y. And you can easily express, for example, spell behviour "reduces smth by x%" by the means of a method instead of recalling school maths. --HG-- branch : trunk
2010-12-11Core/Spells: Fix mage talent Frost Warding (and a little cleanup on ↵click
CalcAbsorbResist) - patch by DrTenma Fixes issue 2715. Closes issue 3770. --HG-- branch : trunk
2010-12-11Core/ChatHandler: Allow GM/server-commands to be executed through ↵click
whisper-channels - patch by Ramus Closes issue 5006. --HG-- branch : trunk
2010-12-10Core/Dungeon Finder: Fix crash in JoinSpp
(trying to delete a const iterator) Closes issue 5083 --HG-- branch : trunk
2010-12-10Core/RA: Calculate password hash internally instead of sending plaintext ↵Machiavelli
password to mysql. Convert tabs to spaces. --HG-- branch : trunk
2010-12-10Misc: fix CR/LF (my bad, sorry)azazel
--HG-- branch : trunk
2010-12-10Scripts/Quest: implement dummy effects for spells 43882, 50133 and aura ↵azazel
43874 for quests 11396/11399 Bring Down Those Shields (based on code by NoFantasy) --HG-- branch : trunk
2010-12-10Fix buildclick
--HG-- branch : trunk
2010-12-10Core/Worldserver: Remove external dependency to sockets-library after ↵click
RemoteAccess being converted to ACE, and fix one minor hiccup on non-PCH builds --HG-- branch : trunk
2010-12-10Rewrite remote access console using ACEDerex
--HG-- branch : trunk
2010-12-09Core/SmartAI: ACTION_CALL_CASTEDCREATUREORGO can now be used with ↵Rat
GameObjects too --HG-- branch : trunk
2010-12-09Core/Spells: Prevent Mind Sear from damaging the target itself. Patch by ↵leak
PrinceCreed. Fixes issue 2534 --HG-- branch : trunk
2010-12-09Core/Dungeon Finder: Fix incorrect Lfg state after multiple actions.Spp
- Clear state after get out DF system - Fix player not getting reward after finish a random dungeon - Remove OnDisband Hook, it's already handled by OnRemoveMember --HG-- branch : trunk
2010-12-09Core/Dungeon Finder: Fix a crash in JoinSpp
After a random dungeon is expanded to the corresponding dungeons and checked compatible dungeons of players joining. We have no dungeons and no lockmap. This may only happen when a random dungeon is expanded to no dungeon. And this may be impossible to happen Closes issue 5066 --HG-- branch : trunk
2010-12-09Core/Dungeon Finder: Fix a possible crash in rolechecks when not successSpp
--HG-- branch : trunk
2010-12-09Core/Mechanics: cleanup shapeshift form code (by VladimirMangos)azazel
--HG-- branch : trunk
2010-12-09Core/Auras: fix AuraType 138 to not affect ranged haste, and rename to ↵azazel
SPELL_AURA_MOD_MELEE_HASTE (by michalpolko) --HG-- branch : trunk
2010-12-08Core/Dungeon Finder: Some optimizationsSpp
- Reduce core dependencies with LFGMgr - Remove reduntant calculations in RoleCheck code - Remove no longer needed functions - Fix some packet data (Missing 0 when arrays were null) - Add some debug msgs closes issue 5042 --HG-- branch : trunk
2010-12-08Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel ↵Shauren
and Naxxramas) Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel Closes issue #5051. Closes issue #5050. Closes issue #5035. --HG-- branch : trunk
2010-12-08Core/Units: Corrected PLAYER_FIELD_BYTES2 invisibility/stealth flags, by ↵Shauren
VladimirMangos --HG-- branch : trunk
2010-12-07Core/SmartAI: some error checks for actionlists, and enabled lists for GOsRat
--HG-- branch : trunk
2010-12-07Core/SmartAI: all actions regarding to TIMED_ACTIONLIST will now use targeting:Rat
you can now 'send' a list of timed actions to any targeted creature if it has SmartAI NOTE: already made script with timed actions should be remade to use self as target --HG-- branch : trunk
2010-12-06Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added ↵Shauren
partial support for Frost Infusion (24757) --HG-- branch : trunk
2010-12-06Core/OutdoorPvP: Fixed a crash that occured on accessing CapturePoints after ↵leak
GO removal --HG-- branch : trunk
2010-12-06Core/Groups: Remove unused (and costly) return value from Group::RemoveInviteMachiavelli
--HG-- branch : trunk
2010-12-06Fix linux compile.Machiavelli
Closes issue #5044 --HG-- branch : trunk
2010-12-06Core/DBLayer: Optimization in transaction code, and prevent a crash and ↵Machiavelli
memleak on shutdown. --HG-- branch : trunk
2010-12-06Core/DBLayer: Simplify template usage for DatabaseWorkerMachiavelli
--HG-- branch : trunk
2010-12-06Core/Dungeon Finder: revert r14440b0b82 and fix it properly.Spp
That msg was just for debugging purposed and its not needed anymore --HG-- branch : trunk
2010-12-06Core/Dungeon Finder: Fix console spam msg in LeaveSpp
--HG-- branch : trunk
2010-12-06Core/SmartScripts: Fix a typo in action 'set instance data (64)'Spp
--HG-- branch : trunk
2010-12-06Core/Scripts: Comment out code sanitizing hook type - will be fixed soon.QAston
--HG-- branch : trunk
2010-12-06Core/Entities: Fixed a crash by accessing the GameObjectAI of a GameObject ↵leak
before the next Update cycle. Patch by Rat. Thanks to Visagalis for testing. Fixes issue 4863 --HG-- branch : trunk
2010-12-06SQL error corrections.leak
Fixes issue 5021 --HG-- branch : trunk
2010-12-06Core: Fix non-PCH buildSpp
--HG-- branch : trunk
2010-12-06Core: Some optimizationsSpp
- Declare some functions const - Fix some mem leak - Fix some resource leak - Remove unused variables and functions - Remove duplicate functions - Reduce the scope of some variables - Remove unused file --HG-- branch : trunk
2010-12-06- Added Perl based conf merger scriptleak
- Removed LogSQL config option until reimplementation on code side - A bit of cosmetics for .conf files --HG-- branch : trunk
2010-12-05Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL.QAston
Scripts: remove some unnecessary NULL checks from scripts. --HG-- branch : trunk
2010-12-05Core/Auras: Small correction on PLAYER_FIELD_BYTES2 usage in ↵Shauren
SPELL_AURA_OVERRIDE_SPELLS (293) --HG-- branch : trunk
2010-12-05Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific ↵QAston
sollution for the problem. --HG-- branch : trunk
2010-12-05Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two ↵leak
virtual functions each. Note to scripters: be aware that you will need to hook into the Remove functions if you want to do stuff at GO/creature removal. Closes issue 5011. --HG-- branch : trunk
2010-12-05Core/Dungeon Finder: Use different queues for each teamSpp
--HG-- branch : trunk
2010-12-05Core/Dungeon Finder: Code cleanup and minor optimizationsSpp
- Extend LfgState to keep control of the state of group and players using LFG - Move scripts to its own class and initialize only if Dungeon finder is enabled - Updated comments to doxygen format - Use constructor initialization list - All variables are declared in the inner most scope - Fix some mem leaks - Remove no longer needed code (Cleaner) - Normalize handler function names --HG-- branch : trunk
2010-12-05Core/Auras: Really add forgotten changes (as in do it properly).silinoron
--HG-- branch : trunk