6bad14d5a2
Core: Revert async query handling in the guild loading code to remove coding style issues. Also fixes the compiling on Linux.
linencloth2010-09-19 01:31:39 +02:00
0c9aa48d91
Core/PetAI: Fix an infinite loop
linencloth2010-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 #3992Liberate2010-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 #4037Liberate2010-09-18 12:33:16 +02:00
49dc1e55de
Core/Utils: Fix a crash in vutf8printf. Author: Vladimir
Machiavelli2010-09-18 11:29:09 +02:00
6ba1aec80c
Core/Pools: Converted quest-related pool queries into prepared statements
Shauren2010-09-17 21:01:58 +02:00
726e5cf466
Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for enabling/disabling SQL-query logging
click2010-09-17 20:36:29 +02:00
19a76020bc
Core: more cleanup at locale handling. Also fixes some problems mainly with non English languages.
linencloth2010-09-17 19:55:54 +02:00
7708e2ea06
Core/Creature: Reset loot recipient group on respawn. Fixes issue 4051.
linencloth2010-09-17 15:10:10 +02:00
164d6cce65
Core: Better tracking of quest POI loading (progress bar)
Shauren2010-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
Shauren2010-09-17 13:52:46 +02:00
dd1521aa55
Scripts/Spell: implement script effect of spell 24751 Trick or Treat (specially for Malcrom)
azazel2010-09-17 14:24:25 +06:00
d8a854d6e0
Core: Cleanup locale handling. It also fixes the recent problem of strange strings.
linencloth2010-09-17 07:04:29 +02:00
5de48a67c6
Core: Optimize quest POI points loading
linencloth2010-09-17 04:25:00 +02:00
f12a61f9f4
Core/Map: Log grid loading only if the grid was not already active
linencloth2010-09-17 04:15:42 +02:00
7bac6c16be
Auth/Login: fixes the "cant relog after login failed" bug and fixes a potential security risk
Rat2010-09-16 21:00:36 +02:00
05ccd476be
Core/Quests: Added index column for quest poi points forcing them to load in certain order
Shauren2010-09-16 19:58:06 +02:00
502a813720
Core/Dungeon Finder: Use correct guids to readd or remove players when removing a failed proposal
Spp2010-09-16 18:55:24 +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).
azazel2010-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).
azazel2010-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.
linencloth2010-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)
linencloth2010-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.
linencloth2010-09-15 17:30:42 +02:00
0856197d87
Core/Unit: Fix a crash in GetCurrentMovementGeneratorType(). Author: dr.tenma Fixes issue #1876Machiavelli2010-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
Shauren2010-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...
Liberate2010-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.
Liberate2010-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
Shauren2010-09-15 13:44:40 +02:00
9d9f18f9d2
Core/Loot: Add new config option "Rate.Drop.Item.ReferencedAmount" which allows multiplication of referenced loot count
Shauren2010-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
Shauren2010-09-15 10:35:54 +02:00
5a312bdc3e
Core/Loot: Check conditions before distributing currency
Shauren2010-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.
linencloth2010-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.
linencloth2010-09-15 06:23:25 +02:00
356a263059
Core/Creature: Fix creature respawn time in unloaded/inactive grid cells. Fixes issue 1865.
linencloth2010-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
Spp2010-09-14 20:14:10 +02:00
b5172ea7d4
Core/Dungeon Finder: LfgUpdatePlayer and LfgUpdateParty opcodes will be sent only when LfgUpdate is active
Spp2010-09-14 20:09:34 +02:00
64e60aaeda
Core/Dungeon Finder: Add extended debug info to handler
Spp2010-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
Spp2010-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
click2010-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
Shauren2010-09-14 16:56:30 +02:00
e5e980b686
Core/Spells: Fix Health Funnel health cost, fixes issue 1985
Shocker2010-09-14 10:54:16 +03:00
6bdfc77b42
Core/Player: allow dead players to see dead creatures near their corpses
linencloth2010-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
Shocker2010-09-14 01:27:05 +03:00
5bd9afb9fa
Core: Prevent critters from rewarding XP. Also avoid unnecessary XP rate calculations.
linencloth2010-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)
click2010-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
Shocker2010-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
Shocker2010-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.
click2010-09-13 18:22:16 +02:00
88f378e7ae
Core/DBLayer: Fix a memory leak in prepared statement parameter/result binds. Original author: raczman
Machiavelli2010-09-13 17:07:27 +02:00
6d0a031a77
Core/Quests: Some cleanup in quest relation accessing
Shauren2010-09-13 13:18:27 +02:00
c7289967b0
Code Style: Tab to spaces
Spp2010-09-13 09:51:40 +02:00
9a7990e4ed
Core/Dungeon Finder: Restore consistency after an inconsistency is found while checking compatibilities Closes issue 3950
Spp2010-09-13 09:43:59 +02:00
1f9b2b5af7
Core/Dungeon Finder: Use proper function to find players
Spp2010-09-13 09:20:07 +02:00
6e55c22a12
Core: Add function to find players by low guid
Spp2010-09-13 09:16:57 +02:00
62d0d8921d
Core/Dungeon Finder: Offer to continue only if dungeon is not complete Updates issue 3916
Spp2010-09-13 08:47:24 +02:00
afad2447c7
Fix wrong sql file name
Spp2010-09-13 08:18:46 +02:00
b7b1efa4c1
Core/Spells: Fix Bone Shield to drop charges only from damage and not heals, fixes issue 3284
Shocker2010-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
Shocker2010-09-13 01:59:09 +03:00
21182308b3
Core: Partial revert of r63468c6c86 (GCC being totally weird o.O) - should fix x64 builds (drops back warning though)
click2010-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.
Liberate2010-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
Shocker2010-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)
click2010-09-12 21:19:43 +02:00
9bf50057a3
Typofix from previous revision
Shauren2010-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
Shauren2010-09-12 19:17:58 +02:00
976cc3f8c4
Core/DBLayer: Make GCC happy (initialize variables in the correct order in ResultBind()
click2010-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.
Liberate2010-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"
click2010-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 #3504Liberate2010-09-12 17:48:50 +02:00
123163dc41
Core/DBLayer: Check for potential mysql client/server version mismatch. Version mismatch may lead to undefined behaviour with prepared statements.
Machiavelli2010-09-12 15:57:36 +02:00
bb8438c09b
Core/DBLayer: Add GetCString method for PreparedResultSet (dynamic copy is responsibility of the high level code)
Machiavelli2010-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 #3918click2010-09-12 14:29:09 +02:00
6a4c798867
Core/DBLayer: Replace all ad-hoc queries in AuthSocket with prepared statements
Machiavelli2010-09-12 11:06:26 +02:00