Commit Graph

  • 6bad14d5a2 Core: Revert async query handling in the guild loading code to remove coding style issues. Also fixes the compiling on Linux. linencloth 2010-09-19 01:31:39 +02:00
  • 33babfa2d2 Core: Optimize guild loading linencloth 2010-09-18 21:24:05 +02:00
  • bf3abefd6a BuildSystem: Fix another typo *sighs* click 2010-09-18 22:16:35 +02:00
  • b15ceaf830 Fix typo in previous commit :P click 2010-09-18 20:02:25 +02:00
  • e88879b24d BuildSystem/Tools: Modify vmap3assembler linkflags to link Carbon framework on OSX. Fixes issue 4048. click 2010-09-18 19:45:24 +02:00
  • ef9cb8000b Scripts/Spelsl: improve 24751 Trick or Treat spell and implement 24750 Trick spell. azazel 2010-09-18 22:50:43 +06:00
  • b93cca2a8d Buildsystem: Don't build gsoap/sockets libraries unless building servers. Fixes issue 4049. click 2010-09-18 18:47:49 +02:00
  • ae13e7354a Core/DBLayer: Fix a typo. Author: [email protected] Fixes issue 4071. linencloth 2010-09-18 15:34:01 +02:00
  • 0c9aa48d91 Core/PetAI: Fix an infinite loop linencloth 2010-09-18 14:20:08 +02:00
  • 5fa7722b94 Core/Spells: Fixes certain spells that could pierce immunity auras while they shouldn't. Fixes issue #3264 Fixes issue #3471 Fixes issue #3992 Liberate 2010-09-18 12:42:17 +02:00
  • d036f7726e Core/PetAI: Implement a more correct way of findng if your pet's target has Crowd Control on it. Stuns like Hammer of Justice will not make your pet stop attacking anymore. Pet's will only stop attacking if the Crowd Control is casted by the owner of the pet. Fixes issue #4037 Liberate 2010-09-18 12:33:16 +02:00
  • 49dc1e55de Core/Utils: Fix a crash in vutf8printf. Author: Vladimir Machiavelli 2010-09-18 11:29:09 +02:00
  • 6ba1aec80c Core/Pools: Converted quest-related pool queries into prepared statements Shauren 2010-09-17 21:01:58 +02:00
  • 726e5cf466 Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for enabling/disabling SQL-query logging click 2010-09-17 20:36:29 +02:00
  • 19a76020bc Core: more cleanup at locale handling. Also fixes some problems mainly with non English languages. linencloth 2010-09-17 19:55:54 +02:00
  • 8622446ab9 Core/Creature: Despawn skinned creatures. Fixes issue 4047. linencloth 2010-09-17 15:16:26 +02:00
  • 7708e2ea06 Core/Creature: Reset loot recipient group on respawn. Fixes issue 4051. linencloth 2010-09-17 15:10:10 +02:00
  • 164d6cce65 Core: Better tracking of quest POI loading (progress bar) Shauren 2010-09-17 14:58:30 +02:00
  • 137cfa4f77 Authserver: Fixed crash when accounts limited to ip tried to login and fixes compile on gcc 4.5, thx Kondziu for pointing it out Shauren 2010-09-17 13:52:46 +02:00
  • dd1521aa55 Scripts/Spell: implement script effect of spell 24751 Trick or Treat (specially for Malcrom) azazel 2010-09-17 14:24:25 +06:00
  • d8a854d6e0 Core: Cleanup locale handling. It also fixes the recent problem of strange strings. linencloth 2010-09-17 07:04:29 +02:00
  • 5de48a67c6 Core: Optimize quest POI points loading linencloth 2010-09-17 04:25:00 +02:00
  • f12a61f9f4 Core/Map: Log grid loading only if the grid was not already active linencloth 2010-09-17 04:15:42 +02:00
  • 7bac6c16be Auth/Login: fixes the "cant relog after login failed" bug and fixes a potential security risk Rat 2010-09-16 21:00:36 +02:00
  • 05ccd476be Core/Quests: Added index column for quest poi points forcing them to load in certain order Shauren 2010-09-16 19:58:06 +02:00
  • 502a813720 Core/Dungeon Finder: Use correct guids to readd or remove players when removing a failed proposal Spp 2010-09-16 18:55:24 +02:00
  • c7354dd66b Core/Dungeon Finder: Ignore multiple join queue petitions while joining Spp 2010-09-16 18:55:00 +02:00
  • 0f4f00c592 Core/Dungeon Finder: Extend error info about duplicate player in queue Spp 2010-09-16 18:54:36 +02:00
  • 1531ef20e2 Core/Dungeon Finder: UpdateProposal: Use the proper guid when finding queue info Spp 2010-09-16 18:54:00 +02:00
  • 5ec5d5b6be Core/Dungeon Finder: add safe check in first call to FindNewGroup (Avoids Thousands of recursive calls ) Spp 2010-09-16 18:53:25 +02:00
  • 4d88ce57d2 Core/: Set correct sizes of SMSG_ATTACKSTOP packets click 2010-09-16 18:05:50 +02:00
  • d139815962 Scripts/Quest: Fixed Quest 12019 (Last Rites), patch by [email protected] Shauren 2010-09-16 13:12:41 +02:00
  • 4db7e4aaa0 Core/Command: Fix 'character titles' command, patch by Shadowstep closes issue 3939 Spp 2010-09-16 10:59:02 +02:00
  • a034ac9937 Scripts: enhance SCRIPT_COMMAND_TALK command to make Players talk (add 0x1 bit to datalong2 and command will expect Player instead of Creature for talking). azazel 2010-09-16 13:28:16 +06:00
  • 236356628a Scripts/Quests: * add support for quest 12634 Some Make Lemonade, Some Make Liquor (implement 51840 spell and Adventurous Dwarf AI, thanks akadabeer) * implement dummy effect for 49587 Seeds of Nature's Wrath spell (used in quest 12459 That Which Creates Can Also Destroy) * implement dummy effect for 19512 Apply Salve spell (used in quest 6124/6129 Curing the Sick) Scripts/Misc: some cleanup in chat log Core/Locales: fix issue when default locale for trinity_string strings was not used (thanks Aokromes for testing). azazel 2010-09-16 13:14:14 +06:00
  • 9739bea487 Core/Loot: Reimplement the proper check for loot recipient to prevent rewarding loot without tagging the creature by the player. Also fix the related skinning problem, and do not set the skinnable flag for creatures without any loot recipient. linencloth 2010-09-15 17:44:56 +02:00
  • 52bc2478c9 Core/Creature: Do not reward XP for creatures without any loot recipient. (XP fix part for the "pet-only"-kills) linencloth 2010-09-15 17:37:03 +02:00
  • 91d2c1d64c Core/Creature: Initialize the recipient group for creatures. It fixes creatures appearing as tagged units, and may also prevent crashing which could happen by using the bad pointer. linencloth 2010-09-15 17:30:42 +02:00
  • 0856197d87 Core/Unit: Fix a crash in GetCurrentMovementGeneratorType(). Author: dr.tenma Fixes issue #1876 Machiavelli 2010-09-15 15:38:46 +02:00
  • e132da9547 Core/Pools: Reverted PoolMgr part of revision 4c50fada8a (fixes compile) and fixed the compile warning that was supposed to be fixed there Shauren 2010-09-15 15:11:19 +02:00
  • 23a49147cd Fix a typo in previous rev. I thought renaming a function shouldn't be too hard. I guess I was wrong... Liberate 2010-09-15 14:38:22 +02:00
  • 97a93573cb Core/PetAI: When commanding your pet to attack while being Passive, it will actually start attacking. Fixes the PetAI so that your pet stops attacking when the target is Crowd Controlled (including Frost Nova, Fear, etc) unless you specifically ask it to. Tested extensively with click. Liberate 2010-09-15 14:16:10 +02:00
  • a72fc44f9a Core/Loot: Reverted part of revision fe39cb058b75, fixes skinning loot Core/Loot: Some logic fixes for group looting Buildsystem/MSVC: Fixed compile warning Config: Added missing description for Rate.Drop.Item.ReferencedAmount Shauren 2010-09-15 13:44:40 +02:00
  • e550494338 Core: Fix warnings added in recent commits Spp 2010-09-15 13:23:36 +02:00
  • cc3d4cc823 Core/Scripts: Add OnPlayerLogin, OnPlayerLogout, OnPlayerCreate and OnPlayerDelete Spp 2010-09-15 13:23:07 +02:00
  • 9d9f18f9d2 Core/Loot: Add new config option "Rate.Drop.Item.ReferencedAmount" which allows multiplication of referenced loot count Shauren 2010-09-15 10:44:38 +02:00
  • 48786f2996 Core/Pools: Fixed a possible infinite loop in quest pools Core/Pools: Fixed loading of quest pools Core/Pools: Fixed possible startup crash Shauren 2010-09-15 10:35:54 +02:00
  • 5a312bdc3e Core/Loot: Check conditions before distributing currency Shauren 2010-09-15 10:35:51 +02:00
  • a582ab9d9d Core/Spells: Allow AoE spells to target dead units. Also removes some unneeded checks from ally targeting. linencloth 2010-09-15 06:33:38 +02:00
  • ec5edaf6bf Core/Creature: Initialize the creature's default movement generator on respawn. Fixes creatures which are moving by default, but not continuing it after respawning. linencloth 2010-09-15 06:23:25 +02:00
  • 356a263059 Core/Creature: Fix creature respawn time in unloaded/inactive grid cells. Fixes issue 1865. linencloth 2010-09-15 06:22:54 +02:00
  • cce61839f8 Core/Player: after removing player from group, if group is deleted assign pointer to NULL to make sure no garbage pointer is used later in code Spp 2010-09-14 20:14:10 +02:00
  • e12c01950a Code style (remove double blank line) Spp 2010-09-14 20:10:48 +02:00
  • b5172ea7d4 Core/Dungeon Finder: LfgUpdatePlayer and LfgUpdateParty opcodes will be sent only when LfgUpdate is active Spp 2010-09-14 20:09:34 +02:00
  • 64e60aaeda Core/Dungeon Finder: Add extended debug info to handler Spp 2010-09-14 20:05:30 +02:00
  • 3a890a16fc Core/Dungeon Finder: Redo update proposal algorithm when a group is found - Store wait times earlier to form new group to ensure we don't miss it - Fixes earlier removal of group/player from LFG system - Fixes issue 4009 Spp 2010-09-14 20:04:00 +02:00
  • 88d0744f1b Core/PetAI: Make pets respect being in passive mode (fixes a few "stuck in front of target"-issues with pets on certain occations) - setting pet into passive mode before reaching its target (after an attack-command) will break attack (return "home" to follow/stay position) - setting pet into passive mode and fully attacking target will make it return home properly click 2010-09-14 18:36:56 +02:00
  • 74ca173923 Core/Loot: Fixed currency items being automatically distributed to players outside the instance, now if player is outside he will still be able to claim his emblems but will have to loot it manually Shauren 2010-09-14 16:56:30 +02:00
  • 61bbd284de Core/Player: Add default remove Method to RemoveFromGroup Spp 2010-09-14 16:38:08 +02:00
  • 80051c6d3c Core/Scripts: Add GroupScript class Spp 2010-09-14 16:37:54 +02:00
  • 8c74993a43 Core: Fix includes in ScriptMgr files Spp 2010-09-14 16:37:40 +02:00
  • c2c3302d2f Core/Vehicles: Removed hacky setting entry for multi-passenger mounts Core/Pools: Fixed compile Shauren 2010-09-14 16:14:43 +02:00
  • 102e51d620 Core/Pools: Implemented quest pooling Core/DBLayer: Added GetNumRows() method to PreparedResultSet Shauren 2010-09-14 13:56:27 +02:00
  • cdd8f446fa Core/Spells: combo points requirement should be changed before CheckCast Shocker 2010-09-14 13:28:25 +03:00
  • 5e7bec0268 Core/Spells: Triggered spells should ignore combo points check, fixes issue 4006 Shocker 2010-09-14 12:56:32 +03:00
  • e5e980b686 Core/Spells: Fix Health Funnel health cost, fixes issue 1985 Shocker 2010-09-14 10:54:16 +03:00
  • 6bdfc77b42 Core/Player: allow dead players to see dead creatures near their corpses linencloth 2010-09-14 02:57:53 +02:00
  • df9d62d2b1 Core/Spells: Set maximum affected targets value for Unholy Frenzy (50312), will be used in DB AI scripting Shocker 2010-09-14 01:27:05 +03:00
  • 5bd9afb9fa Core: Prevent critters from rewarding XP. Also avoid unnecessary XP rate calculations. linencloth 2010-09-14 00:09:58 +02:00
  • a6efc4dad5 Core/Loothandling: Make sure "pet-only"-kills doesn't drop loot (when pet is killing a creature on its own without any assistance from player) (Also fix unintended typo from r701f212a00) click 2010-09-13 22:49:20 +02:00
  • 6528a82b61 Core/Spells: Remove duplicate healing bonus calculation for Prayer of Mending, closes issue 3879, thanks dr.tenma Shocker 2010-09-13 22:54:04 +03:00
  • de9ed810ef Core/Guilds: Fix Guild bank event log for big stacks, fixes issue 3996, thanks maketheking for pointing out the problem Shocker 2010-09-13 22:41:32 +03:00
  • a48923ee8c Core: Properly handle pet killing critters and also remove some old code - fixes a few issues: - make pets return home after killing a critter (they refused to return to player on critter death) - kills of an OLD bug : make critters lootable if they have loot (for quests). Fixes issue #1950. Thanks to linencloth for the help on finding this bugger. click 2010-09-13 18:22:16 +02:00
  • 88f378e7ae Core/DBLayer: Fix a memory leak in prepared statement parameter/result binds. Original author: raczman Machiavelli 2010-09-13 17:07:27 +02:00
  • 6d0a031a77 Core/Quests: Some cleanup in quest relation accessing Shauren 2010-09-13 13:18:27 +02:00
  • c7289967b0 Code Style: Tab to spaces Spp 2010-09-13 09:51:40 +02:00
  • 9a7990e4ed Core/Dungeon Finder: Restore consistency after an inconsistency is found while checking compatibilities Closes issue 3950 Spp 2010-09-13 09:43:59 +02:00
  • 1f9b2b5af7 Core/Dungeon Finder: Use proper function to find players Spp 2010-09-13 09:20:07 +02:00
  • 6e55c22a12 Core: Add function to find players by low guid Spp 2010-09-13 09:16:57 +02:00
  • 62d0d8921d Core/Dungeon Finder: Offer to continue only if dungeon is not complete Updates issue 3916 Spp 2010-09-13 08:47:24 +02:00
  • afad2447c7 Fix wrong sql file name Spp 2010-09-13 08:18:46 +02:00
  • fef504e365 Core/Loot: Looting should interrupt casting, fixes issue 3676. Shocker 2010-09-13 04:02:57 +03:00
  • b7b1efa4c1 Core/Spells: Fix Bone Shield to drop charges only from damage and not heals, fixes issue 3284 Shocker 2010-09-13 03:34:34 +03:00
  • 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 Shocker 2010-09-13 01:59:09 +03:00
  • 4908187578 Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd Shocker 2010-09-13 01:42:14 +03:00
  • 21182308b3 Core: Partial revert of r63468c6c86 (GCC being totally weird o.O) - should fix x64 builds (drops back warning though) click 2010-09-13 00:32:50 +02:00
  • 35e16abad4 Core/Arena: Fix a typo made by me in revision b468981513. You can now join Arena again. Liberate 2010-09-12 22:54:12 +02:00
  • 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 Shocker 2010-09-12 23:52:37 +03:00
  • c4028111bd Core: Remove some more warnings (initialization sequence in Unit.cpp and a non-initalized variable in worldserver) click 2010-09-12 21:19:43 +02:00
  • 9bf50057a3 Typofix from previous revision Shauren 2010-09-12 19:23:52 +02:00
  • 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 Shauren 2010-09-12 19:17:58 +02:00
  • 976cc3f8c4 Core/DBLayer: Make GCC happy (initialize variables in the correct order in ResultBind() click 2010-09-12 18:52:06 +02:00
  • 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. Liberate 2010-09-12 18:41:47 +02:00
  • 2279102ec9 BuildSystem: Make dep/* sources muted during compile (3rd party sources should not show messages during compile, as we're not responsible for them) Note: Certain functions called within the main src/ subdir will warn due to that we do not ignore them in the CMakeLists.txt yet. This will be properly handled at an opportune moment. Buildsystem/CMake: Set default warninglevel to 0 (no warnings shown during compile) - some warnings will still show while we create the "mutelist" click 2010-09-12 18:32:49 +02:00
  • c5b1861fe9 Core/Arena: Fixes a bug/exploit that makes you able to join arena with offline team mates. Fixes issue #3504 Liberate 2010-09-12 17:48:50 +02:00
  • e873289828 Core/Authsocket: Fix errorenous authentication failure Machiavelli 2010-09-12 17:04:19 +02:00
  • 123163dc41 Core/DBLayer: Check for potential mysql client/server version mismatch. Version mismatch may lead to undefined behaviour with prepared statements. Machiavelli 2010-09-12 15:57:36 +02:00
  • bb8438c09b Core/DBLayer: Add GetCString method for PreparedResultSet (dynamic copy is responsibility of the high level code) Machiavelli 2010-09-12 15:11:08 +02:00
  • 855ec1cd01 Core/Unit: Make sure pets respect unit damage resilience and the other way around (patch by Dr. Tenma) Fixes issue #3918 click 2010-09-12 14:29:09 +02:00
  • 6a4c798867 Core/DBLayer: Replace all ad-hoc queries in AuthSocket with prepared statements Machiavelli 2010-09-12 11:06:26 +02:00