Commit Graph

  • 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 Kuidin1@mail.ru 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
  • 0612359f4b Core/DBLayer: - Fix a crash related to prepared resultset bind buffering. Fixes issue #3975 - Implement 64bit int fetching functions for preparedresultset NOTE: *Still* experimental, use at own risk. Machiavelli 2010-09-12 11:02:58 +02:00
  • 1f7064efee Core/Items: Use proper method for returning item max stack size Shauren 2010-09-12 10:43:40 +02:00
  • 90434d0a45 Auth: Typo fix in logon challenge handler, closes issue 3975, thanks 41782992 Shocker 2010-09-12 05:24:48 +03:00
  • 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 click 2010-09-12 02:59:19 +02:00
  • 26ec6042be Core/PetitionsHandler: Slight cleanup on enums (sorting by ID, types and costs) click 2010-09-12 02:52:44 +02:00
  • bc28f2ab25 Core/Petitions: Remove some magic numbers, and classify types into enums (based on Amkis patch) Fixes issue #3228 click 2010-09-12 02:00:42 +02:00
  • bf664b7a44 Cleanup/Core: Remove whitespace and tabs click 2010-09-12 01:40:27 +02:00
  • 6fa05cfa3e Core/DBLayer: Last of the QueryResult related warnings on linux Machiavelli 2010-09-11 22:27:56 +02:00
  • d1174be1fd Core/DBLayer: Fix gcc warnings related to changes added to QueryResult.h/cpp recently Machiavelli 2010-09-11 22:20:57 +02:00
  • d714d0eb20 Core/Loot: Reverted revision 44a1f284dd3e Core/Loot: Implemented automatic currency distribution in better way, applying all conditions and updating achievements Shauren 2010-09-11 21:28:55 +02:00
  • 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. Machiavelli 2010-09-11 21:22:15 +02:00
  • a41e99223e Core/DBLayer: * Rename QueryResult class to ResultSet * Rename QueryResult_AutoPtr to QueryResult * Declare ACE refcounted auto pointer for PreparedResultSet class Machiavelli 2010-09-11 21:10:54 +02:00
  • dacf427ea3 Core/Group: Some simple style cleanup in Group.cpp. silinoron 2010-09-11 09:09:41 -07:00
  • 5f6b73fcec Core/ScriptMgr: Remove incorrect assertion in OnGameObjectDestroyed, and clean up code style (fix by Zor) click 2010-09-11 16:11:07 +02:00
  • a52982195f Fixed compile Shauren 2010-09-11 12:15:34 +02:00
  • 1dce5b78d5 Core/DBLayer: Implement lower level classes for prepared statements with resultsets. (Implementation in upper level code not yet possible) Machiavelli 2010-09-11 09:17:14 +02:00
  • 053cf5fd07 SQL: Remove duplicate entry from base world_database Shocker 2010-09-11 00:22:38 +03:00
  • 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 Liberate 2010-09-10 23:08:49 +02:00
  • 320929ff40 Core/Conditions: Added "player knows spell" condition type Shauren 2010-09-10 20:49:29 +02:00
  • 61075d5101 Core/Spells: Correct check for starting cast while moving, thanks havenard for pointing out, fixes issue 3913 Shocker 2010-09-10 15:51:31 +03:00
  • 9ac9641429 Core/Arena/Logging: Better implementation for fetching IP address Shocker 2010-09-10 15:47:58 +03:00
  • 52bc38615c Core/WorldSession: use extra param in SendPartyResult for future use Spp 2010-09-10 13:45:21 +02:00
  • 9e9c39244b Code/Groups: use enum as parameter in Group::RemoveMember Spp 2010-09-10 13:37:55 +02:00