Commit Graph

  • 0a8c99e02c Core/Social: Fix SMSG_WHO. Packet should contain number of players matching given criteria + number of players displayed, instead of total number of players online + number of players displayed. Fixes issue #4886 Machiavelli 2010-12-17 16:36:01 +01:00
  • 8a196ba4b0 DB/Commands: Add some missing entries to commands table.; Author: svetilo12 Closes issue #5015 Machiavelli 2010-12-17 16:06:47 +01:00
  • 04e5be6276 Core/DBLayer: Add some garbage collection on DatabaseWorkerPool shutdown (deleting SQLOperation objects) Machiavelli 2010-12-17 16:02:09 +01:00
  • cb08ec0d74 Core/DBLayer: Don´t prepare asynchronous statements on synchronous connections and vice versa. Prevents allocating RAM that will never be used. Machiavelli 2010-12-17 15:55:16 +01:00
  • 57d72fa708 Core/Scripts: Prevent double call to mob_acolyte_of_shadronAI::Reset() which applies encounter-related aura´s to certain creatures. Reset() was called from AIM_Initialize and prior to that the AI factory selector Update issue #5152 Please try to re-reproduce Machiavelli 2010-12-17 14:58:23 +01:00
  • fa6f2ee9d9 Core/Dungeon Finder: Fix typo, debug msg was supposed to be logged to debug (not error) Spp 2010-12-17 13:45:41 +01:00
  • 82f45966fc Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts) Shauren 2010-12-17 13:43:24 +01:00
  • ee3fd3ebeb Core/Vehicles: Fix facing adjustment. Patch by beberlescaraber Spp 2010-12-17 13:22:17 +01:00
  • a47150abb3 Core: Fix non-PCH build Spp 2010-12-17 08:54:15 +01:00
  • 0c6750dd52 Core: Fix a memoryleak in LoadCreatureFormations() - thanks to ge0rg (again) click 2010-12-17 05:05:17 +01:00
  • a7f3548259 Core: Prevent using uninitialized memory in Lazy Peon script - patch by ge0rg click 2010-12-17 05:03:25 +01:00
  • a6df53bbe2 Core/Spells: Fix erraneous behaviour on hunter spell Lock and Load (disable charge-drop) - thanks to Dr. Tenma Closes issue 3307 click 2010-12-17 04:52:17 +01:00
  • a3de6e7c6f Core/Dependency: Update gSoap to v2.8.0 - this should also fix some issues when connecting with Axis framework (needs to be tested) + Update packagelist to include correct versions of what we have in repository click 2010-12-17 01:04:12 +01:00
  • 5d887159c6 Core/Spells: Fix Power Word: Shield absorb amount after r5badab6d42. (casting TotalAuraMultiplier to int32 effectively meant setting amount to 0) Machiavelli 2010-12-16 23:16:14 +01:00
  • 942dadc6a9 Correctly fix my change (r10666 / 672c38da05). Kudos go to QAston. Anubisss 2010-12-16 19:23:58 +01:00
  • b702bd8987 This not needed too, correctly checked with UpdateVictim(). Anubisss 2010-12-16 18:13:03 +01:00
  • 6d9029c12e Make some cleanup. My thank goes to Az@zel for the code analysis. Anubisss 2010-12-16 18:08:23 +01:00
  • bb7bd9ef45 Core/Spells: Fix a possible crash in spell_hun_readiness_SpellScript Machiavelli 2010-12-16 16:00:56 +01:00
  • 4671500172 Core/Dungeon Finder: Move all LFG data from Player and Group classes to internal LFG data classes. Spp 2010-12-16 10:53:21 +01:00
  • 451a6f40d4 Core/Dungeon Finder: Use full guid of players instead of lowguid Spp 2010-12-16 04:20:22 +01:00
  • 1bc9b905f6 Scripts/Icecrown Citadel: Removed WIP leftovers Shauren 2010-12-15 16:39:23 +01:00
  • 2db0c7c017 Scripts/Icecrown Citadel: Festergut's Gas Spore and Vile Gas should not happen at the same time Shauren 2010-12-15 16:36:59 +01:00
  • 6f551d853f Core/Scripts: Novos the Summoner should only summon 4 Crystal Handlers. _manuel_ 2010-12-15 12:16:31 -03:00
  • ad13cd89b5 Core/Items: Fix item duration saving (and loading at a later stage). Machiavelli 2010-12-15 15:00:52 +01:00
  • 382fef1958 Core: Some warning fixes Spp 2010-12-15 10:44:06 +01:00
  • ddf06c086e Core/Social: properly remove deleted character from social list of online players (by Emtec) azazel 2010-12-15 14:44:41 +06:00
  • 0fdea34a8a Core/Items: fix error in saving item's enchantments introduced in rev 022f3858fc (thanks Shauren for spotting the problem) azazel 2010-12-15 14:44:02 +06:00
  • 23e3909221 Core/Arena: avoid arena match loss when leaving queue before actual invitation to match (by VladimirMangos) azazel 2010-12-15 14:25:10 +06:00
  • b39b8fdd0d DB Schema/Characters: removed columns auctionhouse.item_template, character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them. As a side effect moved related queries to prepared statements. As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14). azazel 2010-12-15 14:08:12 +06:00
  • 58a9b15443 Core: Fixes some warnings Core/SmartAI: Fixed DamageTaken and DamageDealt hooks Shauren 2010-12-14 22:45:23 +01:00
  • 80494d8f64 Core/DBLayer: Fix a possible crash in ProcessQueryCallback functions. Closes issue #5095 Machiavelli 2010-12-14 20:16:09 +01:00
  • 300e37fef7 Docs: Add a small info about how to report compilation errors, AND inform how to properly "hunt" for the error. click 2010-12-14 19:34:19 +01:00
  • 3b0297f912 Core/CharacterHandler: Fix ¨[ERROR] GetUInt32() on non-numeric field¨ on a certain query. Author: toshik.777 Closes issue #5068 Machiavelli 2010-12-14 19:14:54 +01:00
  • 9a806e63c1 Fixed compile Shauren 2010-12-14 16:31:01 +01:00
  • 314376e32c Scripts: Fixed uninitialized variables, unreferenced parameters and virtual overrides Shauren 2010-12-14 16:24:59 +01:00
  • f4581f67b8 Core: Fixed uninitialized variable warnings Shauren 2010-12-14 15:58:45 +01:00
  • 0c04b178db Scripts/Icecrown Citadel: Minor adjustments and compile warning fixes Shauren 2010-12-14 15:46:54 +01:00
  • 6be8446053 Core/Gameobjects: Fix fishing and looting specific chests which were bugged because of revision 044e466d75. Fixes issue #5116. Liberate 2010-12-14 15:02:42 +01:00
  • 48b234022f Core: Change HandleEjectPasenger to HandleEjectPassenger (English thank you) click 2010-12-14 14:09:14 +01:00
  • 09f4eb9e1c Core/Gameobjects: Make a chest not lootable when it still has a respawn time, to avoid cheating using third-party software. Liberate 2010-12-14 03:58:59 +01:00
  • 2d8e73fab5 Core: Fix up opcode-mess from previous commit, and move CMSG_DECLINE_CHANNEL_INVITE handling to its correct opcode (0x0410) (Please report back any findings of erranous behaviour to the tracker, or into this commit) click 2010-12-14 02:23:28 +01:00
  • 2642894342 Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal. (And clean up tabs and whitespace while rummaging around in there) Closes issue 5084. click 2010-12-13 22:37:56 +01:00
  • 89a33bbf61 Core/Dungeon Finder: Fix a crash in Join when there are no dungeons available for that group (And probably other random crashes that appear when having DF enabled) Core/Dungeon Finder: Tab2spaces + remove trailing spaces in LFG* files. Spp 2010-12-13 21:31:55 +01:00
  • 865f35a637 Core/Dungeon Finder: Minor optimization in handler code Spp 2010-12-13 21:28:36 +01:00
  • 9815847511 Core/Dungeon Finder: Return a copy of cached dungeons set (to avoid being cleared later in code) Spp 2010-12-13 21:28:33 +01:00
  • 620cde80cd Core: Fix non-PCH build click 2010-12-13 17:44:20 +01:00
  • d5f5fa59ab Add missing declarations as of recent merge Machiavelli 2010-12-13 17:34:27 +01:00
  • 451159cac4 Fix possible compile error under linux Machiavelli 2010-12-13 17:21:06 +01:00
  • bd77fb6d47 Fix a typo, thanks to sss.nevan Machiavelli 2010-12-13 17:05:01 +01:00
  • d75eaf8e83 Core/Guild: More signed/unsigned comparison fixes. Should fix guild log loading. Machiavelli 2010-12-13 16:58:59 +01:00
  • 1a4fe4baca Core/Guilds: Fix logic in bank withdrawal method (unsigned comparison with signed value). Should fix certain guild bank related bugs. Machiavelli 2010-12-13 16:42:09 +01:00
  • 976225a9dd Core/DBLayer: Implement global ExecuteOrAppend methods to DatabaseWorkerPool for executing queries in a diverse context (transaction or non transaction) - instead of local to Guild.cpp Machiavelli 2010-12-13 16:27:14 +01:00
  • 426b28e344 Fix wrong vsprintf parameter added in merge. Machiavelli 2010-12-13 16:18:07 +01:00
  • f1a73e89b8 Merge Machiavelli 2010-12-13 16:13:32 +01:00
  • ea29d87dcc Backed out changeset: 8326a2411148 Machiavelli 2010-12-13 09:18:49 +01:00
  • dd2602d3ec Fixed line endings in 10623_world_spell_bonus_data Scripts/Naxxramas: Fixed a possible crash in instance script Shauren 2010-12-12 17:32:26 +01:00
  • 4b0ffeb0bd Core/ChatHandler: Cleanup in HandleMessagechatOpcode. Now commands are parsed and security checks are made in all channels Shocker 2010-12-11 17:47:43 +02:00
  • d2d62eab50 Cleanup: implemented helper methods for manipulating percentage calculation and used it where appropriate (plus fixed some other warnings). azazel 2010-12-11 20:37:38 +06:00
  • 81db111ffd Core/Spells: Fix mage talent Frost Warding (and a little cleanup on CalcAbsorbResist) - patch by DrTenma Fixes issue 2715. Closes issue 3770. click 2010-12-11 12:00:57 +01:00
  • 0e33e73d39 Core/ChatHandler: Allow GM/server-commands to be executed through whisper-channels - patch by Ramus Closes issue 5006. click 2010-12-11 03:25:31 +01:00
  • a791df6415 Core/Dungeon Finder: Fix crash in Join (trying to delete a const iterator) Spp 2010-12-10 14:58:45 +01:00
  • 4f468f9552 Core/RA: Calculate password hash internally instead of sending plaintext password to mysql. Convert tabs to spaces. Machiavelli 2010-12-10 09:02:59 +01:00
  • e3c68e4ada Misc: fix CR/LF (my bad, sorry) azazel 2010-12-10 12:06:28 +06:00
  • 08f205722a Scripts/Quest: implement dummy effects for spells 43882, 50133 and aura 43874 for quests 11396/11399 Bring Down Those Shields (based on code by NoFantasy) azazel 2010-12-10 12:01:57 +06:00
  • 7e0dee8cb1 Fix build click 2010-12-10 01:44:34 +01:00
  • 456f29c089 Core/Worldserver: Remove external dependency to sockets-library after RemoteAccess being converted to ACE, and fix one minor hiccup on non-PCH builds click 2010-12-10 00:33:55 +01:00
  • ef768a8307 Rewrite remote access console using ACE Derex 2010-12-10 01:01:44 +02:00
  • b5e24cbb9c Core/SmartAI: ACTION_CALL_CASTEDCREATUREORGO can now be used with GameObjects too Rat 2010-12-09 22:21:11 +01:00
  • 855b8bcd20 Core/Spells: Prevent Mind Sear from damaging the target itself. Patch by PrinceCreed. leak 2010-12-09 21:45:04 +01:00
  • be73926ab3 Core/Dungeon Finder: Fix incorrect Lfg state after multiple actions. - 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 Spp 2010-12-09 19:13:11 +01:00
  • 4914ca575b Core/Dungeon Finder: Fix a crash in Join After a random dungeon is expanded to the corresponding dungeons and checked compatible dungeons of players joining. We have no dungeons and no lockmap. Spp 2010-12-09 14:25:48 +01:00
  • 4537ba2766 Core/Dungeon Finder: Fix a possible crash in rolechecks when not success Spp 2010-12-09 13:49:04 +01:00
  • e7eb4e22e2 Core/Mechanics: cleanup shapeshift form code (by VladimirMangos) azazel 2010-12-09 17:03:42 +06:00
  • 8c2ce7f86d Core/Auras: fix AuraType 138 to not affect ranged haste, and rename to SPELL_AURA_MOD_MELEE_HASTE (by michalpolko) azazel 2010-12-09 14:40:59 +06:00
  • b434273ed8 Core/Dungeon Finder: Some optimizations - 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 Spp 2010-12-08 21:29:43 +01:00
  • e4e048ed57 Core/Scripts: Fixed possible crashes in instance scripts (Icecrown Citadel and Naxxramas) Scripts/Sunwell Plateau: Fixed crash in Kil'jaeden Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel Shauren 2010-12-08 17:24:31 +01:00
  • 611dc153b0 Core/Units: Corrected PLAYER_FIELD_BYTES2 invisibility/stealth flags, by VladimirMangos Shauren 2010-12-08 14:51:50 +01:00
  • cebf8590e3 Core/SmartAI: some error checks for actionlists, and enabled lists for GOs Rat 2010-12-07 20:25:45 +01:00
  • bb09a4a50f Core/SmartAI: all actions regarding to TIMED_ACTIONLIST will now use targeting: you can now 'send' a list of timed actions to any targeted creature if it has SmartAI Rat 2010-12-07 18:31:34 +01:00
  • 703835ee94 Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added partial support for Frost Infusion (24757) Shauren 2010-12-06 22:54:19 +01:00
  • 20cc4ace5d Core/OutdoorPvP: Fixed a crash that occured on accessing CapturePoints after GO removal leak 2010-12-06 20:55:26 +01:00
  • 3ae225247a Core/Groups: Remove unused (and costly) return value from Group::RemoveInvite Machiavelli 2010-12-06 20:25:43 +01:00
  • cac0664150 Fix linux compile. Closes issue #5044 Machiavelli 2010-12-06 20:06:31 +01:00
  • f35c85acbe Core/DBLayer: Optimization in transaction code, and prevent a crash and memleak on shutdown. Machiavelli 2010-12-06 19:52:37 +01:00
  • 988a6f5c93 Core/DBLayer: Simplify template usage for DatabaseWorker Machiavelli 2010-12-06 19:28:05 +01:00
  • fbf525218b Core/Dungeon Finder: revert r14440b0b82 and fix it properly. That msg was just for debugging purposed and its not needed anymore Spp 2010-12-06 17:23:52 +01:00
  • 2581c2f70f Core/Dungeon Finder: Fix console spam msg in Leave Spp 2010-12-06 16:48:23 +01:00
  • 7ef59e3872 Core/SmartScripts: Fix a typo in action 'set instance data (64)' Spp 2010-12-06 06:38:50 +01:00
  • bb2a715afc Core/Scripts: Comment out code sanitizing hook type - will be fixed soon. QAston 2010-12-06 07:16:39 +01:00
  • 59d12e3b4a Core/Entities: Fixed a crash by accessing the GameObjectAI of a GameObject before the next Update cycle. Patch by Rat. Thanks to Visagalis for testing. leak 2010-12-06 04:52:33 +01:00
  • 72d8b18c5c SQL error corrections. leak 2010-12-06 04:32:20 +01:00
  • 090fb3572f Core: Fix non-PCH build Spp 2010-12-06 02:35:28 +01:00
  • 408fce1de6 Core: Some optimizations - 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 Spp 2010-12-06 02:07:53 +01:00
  • e226c4ac34 - Added Perl based conf merger script - Removed LogSQL config option until reimplementation on code side - A bit of cosmetics for .conf files leak 2010-12-06 00:24:45 +01:00
  • 59c1a238f5 Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL. Scripts: remove some unnecessary NULL checks from scripts. QAston 2010-12-05 21:38:52 +01:00
  • e2c9453442 Core/Auras: Small correction on PLAYER_FIELD_BYTES2 usage in SPELL_AURA_OVERRIDE_SPELLS (293) Shauren 2010-12-05 21:20:45 +01:00
  • 7db1b39224 Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem. QAston 2010-12-05 20:43:09 +01:00
  • 6fe19b5a86 Core/Scripts: Split OnCreatureCreate() and OnGameObjectCreate() into two 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. leak 2010-12-05 18:04:10 +01:00
  • dfa1e9532b Core/Dungeon Finder: Use different queues for each team Spp 2010-12-05 17:50:32 +01:00
  • e621f5fe98 Core/Dungeon Finder: Code cleanup and minor optimizations - 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 Spp 2010-12-05 17:50:26 +01:00