Commit Graph

9937 Commits

Author SHA1 Message Date
Shauren
48786f2996 Core/Pools: Fixed a possible infinite loop in quest pools
Core/Pools: Fixed loading of quest pools
Core/Pools: Fixed possible startup crash

Closes issue #4015.

--HG--
branch : trunk
2010-09-15 10:35:54 +02:00
Shauren
5a312bdc3e Core/Loot: Check conditions before distributing currency
--HG--
branch : trunk
2010-09-15 10:35:51 +02:00
linencloth
a582ab9d9d Core/Spells: Allow AoE spells to target dead units.
Also removes some unneeded checks from ally targeting.

--HG--
branch : trunk
2010-09-15 06:33:38 +02:00
linencloth
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.

--HG--
branch : trunk
2010-09-15 06:23:25 +02:00
linencloth
356a263059 Core/Creature: Fix creature respawn time in unloaded/inactive grid cells.
Fixes issue 1865.

--HG--
branch : trunk
2010-09-15 06:22:54 +02:00
Spp
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
--HG--
branch : trunk
2010-09-14 20:14:10 +02:00
Spp
e12c01950a Code style (remove double blank line)
--HG--
branch : trunk
2010-09-14 20:10:48 +02:00
Spp
b5172ea7d4 Core/Dungeon Finder: LfgUpdatePlayer and LfgUpdateParty opcodes will be sent only when LfgUpdate is active
--HG--
branch : trunk
2010-09-14 20:09:34 +02:00
Spp
64e60aaeda Core/Dungeon Finder: Add extended debug info to handler
--HG--
branch : trunk
2010-09-14 20:05:30 +02:00
Spp
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

--HG--
branch : trunk
2010-09-14 20:04:00 +02:00
click
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

--HG--
branch : trunk
2010-09-14 18:36:56 +02:00
Shauren
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
Closes issue #4005.

--HG--
branch : trunk
2010-09-14 16:56:30 +02:00
Spp
61bbd284de Core/Player: Add default remove Method to RemoveFromGroup
--HG--
branch : trunk
2010-09-14 16:38:08 +02:00
Spp
80051c6d3c Core/Scripts: Add GroupScript class
--HG--
branch : trunk
2010-09-14 16:37:54 +02:00
Spp
8c74993a43 Core: Fix includes in ScriptMgr files
--HG--
branch : trunk
2010-09-14 16:37:40 +02:00
Shauren
c2c3302d2f Core/Vehicles: Removed hacky setting entry for multi-passenger mounts
Core/Pools: Fixed compile

--HG--
branch : trunk
2010-09-14 16:14:43 +02:00
Shauren
102e51d620 Core/Pools: Implemented quest pooling
Core/DBLayer: Added GetNumRows() method to PreparedResultSet

--HG--
branch : trunk
2010-09-14 13:56:27 +02:00
Shocker
cdd8f446fa Core/Spells: combo points requirement should be changed before CheckCast
--HG--
branch : trunk
2010-09-14 13:28:25 +03:00
Shocker
5e7bec0268 Core/Spells: Triggered spells should ignore combo points check, fixes issue 4006
--HG--
branch : trunk
2010-09-14 12:56:32 +03:00
Shocker
e5e980b686 Core/Spells: Fix Health Funnel health cost, fixes issue 1985
--HG--
branch : trunk
2010-09-14 10:54:16 +03:00
linencloth
6bdfc77b42 Core/Player: allow dead players to see dead creatures near their corpses
--HG--
branch : trunk
2010-09-14 02:57:53 +02:00
Shocker
df9d62d2b1 Core/Spells: Set maximum affected targets value for Unholy Frenzy (50312), will be used in DB AI scripting
--HG--
branch : trunk
2010-09-14 01:27:05 +03:00
linencloth
5bd9afb9fa Core: Prevent critters from rewarding XP.
Also avoid unnecessary XP rate calculations.

--HG--
branch : trunk
2010-09-14 00:09:58 +02:00
click
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)

--HG--
branch : trunk
2010-09-13 22:49:20 +02:00
Shocker
6528a82b61 Core/Spells: Remove duplicate healing bonus calculation for Prayer of Mending, closes issue 3879, thanks dr.tenma
--HG--
branch : trunk
2010-09-13 22:54:04 +03:00
Shocker
de9ed810ef Core/Guilds: Fix Guild bank event log for big stacks, fixes issue 3996, thanks maketheking for pointing out the problem
--HG--
branch : trunk
2010-09-13 22:41:32 +03:00
click
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.

--HG--
branch : trunk
2010-09-13 18:22:16 +02:00
Machiavelli
88f378e7ae Core/DBLayer: Fix a memory leak in prepared statement parameter/result binds. Original author: raczman
--HG--
branch : trunk
2010-09-13 17:07:27 +02:00
Shauren
6d0a031a77 Core/Quests: Some cleanup in quest relation accessing
--HG--
branch : trunk
2010-09-13 13:18:27 +02:00
Spp
c7289967b0 Code Style: Tab to spaces
--HG--
branch : trunk
2010-09-13 09:51:40 +02:00
Spp
9a7990e4ed Core/Dungeon Finder: Restore consistency after an inconsistency is found while checking compatibilities
Closes issue 3950

--HG--
branch : trunk
2010-09-13 09:43:59 +02:00
Spp
1f9b2b5af7 Core/Dungeon Finder: Use proper function to find players
--HG--
branch : trunk
2010-09-13 09:20:07 +02:00
Spp
6e55c22a12 Core: Add function to find players by low guid
--HG--
branch : trunk
2010-09-13 09:16:57 +02:00
Spp
62d0d8921d Core/Dungeon Finder: Offer to continue only if dungeon is not complete
Updates issue 3916

--HG--
branch : trunk
2010-09-13 08:47:24 +02:00
Spp
afad2447c7 Fix wrong sql file name
--HG--
branch : trunk
2010-09-13 08:18:46 +02:00
Shocker
fef504e365 Core/Loot: Looting should interrupt casting, fixes issue 3676.
--HG--
branch : trunk
2010-09-13 04:02:57 +03:00
Shocker
b7b1efa4c1 Core/Spells: Fix Bone Shield to drop charges only from damage and not heals, fixes issue 3284
--HG--
branch : trunk
2010-09-13 03:34:34 +03:00
Shocker
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

--HG--
branch : trunk
2010-09-13 01:59:09 +03:00
Shocker
4908187578 Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd
--HG--
branch : trunk
2010-09-13 01:42:14 +03:00
click
21182308b3 Core: Partial revert of r63468c6c86 (GCC being totally weird o.O) - should fix x64 builds (drops back warning though)
--HG--
branch : trunk
2010-09-13 00:32:50 +02:00
Liberate
35e16abad4 Core/Arena: Fix a typo made by me in revision b468981513. You can now join Arena again.
--HG--
branch : trunk
2010-09-12 22:54:12 +02:00
Shocker
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
--HG--
branch : trunk
2010-09-12 23:52:37 +03:00
click
c4028111bd Core: Remove some more warnings (initialization sequence in Unit.cpp and a non-initalized variable in worldserver)
--HG--
branch : trunk
2010-09-12 21:19:43 +02:00
Shauren
9bf50057a3 Typofix from previous revision
--HG--
branch : trunk
2010-09-12 19:23:52 +02:00
Shauren
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

Closes issue #3956.

--HG--
branch : trunk
2010-09-12 19:17:58 +02:00
click
976cc3f8c4 Core/DBLayer: Make GCC happy (initialize variables in the correct order in ResultBind()
--HG--
branch : trunk
2010-09-12 18:52:06 +02:00
Liberate
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.
--HG--
branch : trunk
2010-09-12 18:41:47 +02:00
click
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"

--HG--
branch : trunk
2010-09-12 18:32:49 +02:00
Liberate
c5b1861fe9 Core/Arena: Fixes a bug/exploit that makes you able to join arena with offline team mates.
Fixes issue #3504

--HG--
branch : trunk
2010-09-12 17:48:50 +02:00
Machiavelli
e873289828 Core/Authsocket: Fix errorenous authentication failure
--HG--
branch : trunk
2010-09-12 17:04:19 +02:00