Commit Graph

10269 Commits

Author SHA1 Message Date
linencloth 19a76020bc Core: more cleanup at locale handling.
Also fixes some problems mainly with non English languages.

--HG--
branch : trunk
2010-09-17 19:55:54 +02:00
linencloth 8622446ab9 Core/Creature: Despawn skinned creatures.
Fixes issue 4047.

--HG--
branch : trunk
2010-09-17 15:16:26 +02:00
linencloth 7708e2ea06 Core/Creature: Reset loot recipient group on respawn.
Fixes issue 4051.

--HG--
branch : trunk
2010-09-17 15:10:10 +02:00
Shauren 164d6cce65 Core: Better tracking of quest POI loading (progress bar)
--HG--
branch : trunk
2010-09-17 14:58:30 +02:00
Shauren 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
Closes issue #3976.
Closes issue #4011.

--HG--
branch : trunk
2010-09-17 13:52:46 +02:00
azazel dd1521aa55 Scripts/Spell: implement script effect of spell 24751 Trick or Treat (specially for Malcrom)
--HG--
branch : trunk
2010-09-17 14:24:25 +06:00
linencloth d8a854d6e0 Core: Cleanup locale handling.
It also fixes the recent problem of strange strings.

--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
linencloth 5de48a67c6 Core: Optimize quest POI points loading
--HG--
branch : trunk
2010-09-17 04:25:00 +02:00
linencloth f12a61f9f4 Core/Map: Log grid loading only if the grid was not already active
--HG--
branch : trunk
2010-09-17 04:15:42 +02:00
Rat 7bac6c16be Auth/Login: fixes the "cant relog after login failed" bug and fixes a potential security risk
--HG--
branch : trunk
2010-09-16 21:00:36 +02:00
Shauren 05ccd476be Core/Quests: Added index column for quest poi points forcing them to load in certain order
--HG--
branch : trunk
2010-09-16 19:58:06 +02:00
Spp 502a813720 Core/Dungeon Finder: Use correct guids to readd or remove players when removing a failed proposal
- Also add Some debug and Error msgs

--HG--
branch : trunk
2010-09-16 18:55:24 +02:00
Spp c7354dd66b Core/Dungeon Finder: Ignore multiple join queue petitions while joining
--HG--
branch : trunk
2010-09-16 18:55:00 +02:00
Spp 0f4f00c592 Core/Dungeon Finder: Extend error info about duplicate player in queue
--HG--
branch : trunk
2010-09-16 18:54:36 +02:00
Spp 1531ef20e2 Core/Dungeon Finder: UpdateProposal: Use the proper guid when finding queue info
- Also add log info if system is inconsistent

--HG--
branch : trunk
2010-09-16 18:54:00 +02:00
Spp 5ec5d5b6be Core/Dungeon Finder: add safe check in first call to FindNewGroup (Avoids Thousands of recursive calls
)

--HG--
branch : trunk
2010-09-16 18:53:25 +02:00
click 4d88ce57d2 Core/: Set correct sizes of SMSG_ATTACKSTOP packets
--HG--
branch : trunk
2010-09-16 18:05:50 +02:00
Shauren d139815962 Scripts/Quest: Fixed Quest 12019 (Last Rites), patch by Kuidin1@mail.ru
Closes issue #3952.

--HG--
branch : trunk
2010-09-16 13:12:41 +02:00
Spp 4db7e4aaa0 Core/Command: Fix 'character titles' command, patch by Shadowstep
closes issue 3939

--HG--
branch : trunk
2010-09-16 10:59:02 +02:00
azazel 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).
--HG--
branch : trunk
2010-09-16 13:28:16 +06:00
azazel 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).

--HG--
branch : trunk
2010-09-16 13:14:14 +06:00
linencloth 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.

--HG--
branch : trunk
2010-09-15 17:44:56 +02:00
linencloth 52bc2478c9 Core/Creature: Do not reward XP for creatures without any loot recipient. (XP fix part for the "pet-only"-kills)
--HG--
branch : trunk
2010-09-15 17:37:03 +02:00
linencloth 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.

--HG--
branch : trunk
2010-09-15 17:30:42 +02:00
Machiavelli 0856197d87 Core/Unit: Fix a crash in GetCurrentMovementGeneratorType(). Author: dr.tenma
Fixes issue #1876

--HG--
branch : trunk
2010-09-15 15:38:46 +02:00
Shauren e132da9547 Core/Pools: Reverted PoolMgr part of revision 4c50fada8a (fixes compile) and fixed the compile warning that was supposed to be fixed there
--HG--
branch : trunk
2010-09-15 15:11:19 +02:00
Liberate 23a49147cd Fix a typo in previous rev. I thought renaming a function shouldn't be too hard. I guess I was wrong...
--HG--
branch : trunk
2010-09-15 14:38:22 +02:00
Liberate 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.

--HG--
branch : trunk
2010-09-15 14:16:10 +02:00
Shauren 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

Closes issue #4004.

--HG--
branch : trunk
2010-09-15 13:44:40 +02:00
Spp e550494338 Core: Fix warnings added in recent commits
--HG--
branch : trunk
2010-09-15 13:23:36 +02:00
Spp cc3d4cc823 Core/Scripts: Add OnPlayerLogin, OnPlayerLogout, OnPlayerCreate and OnPlayerDelete
--HG--
branch : trunk
2010-09-15 13:23:07 +02:00
Shauren 9d9f18f9d2 Core/Loot: Add new config option "Rate.Drop.Item.ReferencedAmount" which allows multiplication of referenced loot count
Closes issue #814.

--HG--
branch : trunk
2010-09-15 10:44:38 +02:00
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