click
1d6d11d367
Core/CharHandler: Correction on SQL-statement - fixes logincrashes when testing for banned characters
...
--HG--
branch : trunk
2010-09-20 03:37:49 +02:00
silinoron
76e47fd795
Core/Unit: Cleanup; mostly purging a ton of dead code.
...
TODO: Move packet stuff out of Unit into packet handlers...
--HG--
branch : trunk
2010-09-19 17:08:14 -07:00
silinoron
171fcfa963
Core/Unit: Do not allow game masters to be damaged.
...
--HG--
branch : trunk
2010-09-19 16:48:15 -07:00
click
7070ab49fe
Contrib: make the GDB macro start logging a little bit earlier to catch the important bits
...
--HG--
branch : trunk
2010-09-19 19:52:12 +02:00
Rat
5de3183180
Core/ConditionMgr: You can now add conditions to QuestAccept (at CanTakeQuest check)
...
--HG--
branch : trunk
2010-09-19 19:49:23 +02:00
click
58dafd94e2
BuildSystem/Platforms: Move platform-specific settings into respective directories, consistent with what is done with compilers.
...
BuildSystem/GCC: Add some additional parameters when using SFMT
--HG--
branch : trunk
2010-09-19 18:17:53 +02:00
click
54212cf387
Contrib: Add example GDB backtrace generator script and a small readme on how to use it - Note: DO read the README file before using.
...
(Allows for semi-automated crashreporting on GDB/*nix-based platforms with proper information included).
--HG--
branch : trunk
2010-09-19 18:11:03 +02:00
click
907203fdd9
Core/DBLayer: Shuffle an #include-statement around (initialize mysql connections before working on the rest) - Fixes nonPCH-builds.
...
--HG--
branch : trunk
2010-09-19 17:53:45 +02:00
Machiavelli
188165b7bf
Core/ObjectMgr: Fix another possible crash in guild loading. This should be the last of them.
...
--HG--
branch : trunk
2010-09-19 17:37:59 +02:00
Shauren
50f1e70151
Tagged revision 149aa1131e53 as 10000
...
--HG--
branch : trunk
2010-09-19 17:03:20 +02:00
Shauren
97aeb251b8
Core/Players: Added support for single character bans
...
Core/Commands: Renamed .ban character to .ban playeraccount (.ban character will ban only the player, not account)
This revision reaches 10000, congratulations and thanks to everyone who contributed!
--HG--
branch : trunk
2010-09-19 17:02:14 +02:00
Shauren
639a906664
Core/Pets: Fixed range check for water elemental Freeze
...
Closes issue #3628 .
--HG--
branch : trunk
2010-09-19 17:02:08 +02:00
Shauren
2983dab1cb
Core/Spells: Spell's damage should not interrupt auras applied by the same spell (fixes Frost Nova and water elemental Freeze), patch by dr.tenma
...
Closes issue #3052 .
--HG--
branch : trunk
2010-09-19 17:02:05 +02:00
Machiavelli
21c85a155c
Core/ObjectMgr:
...
- Fix a startup crash in guild loading when loading from the guild subtables with an invalid guild ID.
- Abort loading guild subtables if no entries were found in guild table
- Code style cleanup in affected functions
Fixes issue #4095
--HG--
branch : trunk
2010-09-19 15:41:26 +02:00
Machiavelli
019103cb5a
Core/DBLayer: Correct size for storing MYSQL_TYPE_FLOAT
...
--HG--
branch : trunk
2010-09-19 15:28:35 +02:00
Machiavelli
22571e9443
Core/DBLayer:
...
- Allow storing floats in prepared statements explicitly (previously would be casted to double)
- Add GetBool ¨wrapper/hack¨ to PreparedResultset class.
--HG--
branch : trunk
2010-09-19 15:25:50 +02:00
Machiavelli
b50c931d6e
Core/DBLayer: Move QueryHolder and BasicStatement operations to their own file and remove SQLOperation.cpp from revision control
...
--HG--
branch : trunk
2010-09-19 12:36:48 +02:00
Machiavelli
0982719f5f
Core/DBLayer:
...
- Declare the datatypes used to determine transaction element data (prepared statement/adhoc query string) on a generic level in SQLOperation.h
- Implement variable SQL element data for SQLQueryHolder class so it can execute both prepared statements and adhoc queries
- Make MySQLConnection::Query for adhoc queries return pointer to type instead of an autopointer, the autopointer is now applied on higher level code just like the function for querying prepared statements
--HG--
branch : trunk
2010-09-19 12:16:29 +02:00
Machiavelli
a25ef43223
Core/DBLayer,ObjectMgr: ´linkedGuid´ parameter WORLD_REP_CRELINKED_RESPAWN should be uint32
...
--HG--
branch : trunk
2010-09-19 10:53:20 +02:00
Machiavelli
12acb7dd8f
Core/DBLayer: Fix syntax of some recently added prepared statements that might have caused statement creation failure on certain platforms
...
--HG--
branch : trunk
2010-09-19 10:40:10 +02:00
Machiavelli
27dd112c97
Core/DBLayer: Add an assert to trace down when a prepared statement creation has failed (99% it will be because of a bad query) - to prevent crashes at a later stage
...
--HG--
branch : trunk
2010-09-19 10:36:48 +02:00
silinoron
65a50ed3a2
Core/DBLayer: Some more prepared statements in ObjectMgr.
...
Core/ObjectMgr: Some additional cleanup.
--HG--
branch : trunk
2010-09-18 19:49:17 -07:00
silinoron
383af00e2b
Core/Spells: Allow a priest's Mana Burn to break fear.
...
Patch by dr.tenma.
Fixes issue #3985
--HG--
branch : trunk
2010-09-18 19:26:34 -07:00
silinoron
48b29e6019
Scripts/Eastern Kingdoms/Scarlet Enclave: Fix some display issues.
...
Patch by Ramor.
Fixes issue #2503
--HG--
branch : trunk
2010-09-18 19:23:13 -07:00
silinoron
1e127eef73
Core/DBLayer: Change some regular statements to prepared statements.
...
Patch by [email protected] .
Fixes issue #3774
--HG--
branch : trunk
2010-09-18 19:21:03 -07:00
silinoron
52282986e1
Core/Movement: Some cleanup in MovementHandler.cpp.
...
--HG--
branch : trunk
2010-09-18 19:08:18 -07:00
Shocker
40cbb494fa
Core/Spells: Ebon Plaguebringer can now stack for different casters as of patch 3.1
...
--HG--
branch : trunk
2010-09-19 04:10:35 +03:00
Shocker
d297d8d637
Core/Spells: Force of Nature should scale with spell power, fixes issue 2618
...
--HG--
branch : trunk
2010-09-19 04:04:28 +03:00
linencloth
6bad14d5a2
Core: Revert async query handling in the guild loading code to remove coding style issues.
...
Also fixes the compiling on Linux.
--HG--
branch : trunk
2010-09-19 01:31:39 +02:00
linencloth
33babfa2d2
Core: Optimize guild loading
...
--HG--
branch : trunk
2010-09-18 21:24:05 +02:00
click
bf3abefd6a
BuildSystem: Fix another typo *sighs*
...
--HG--
branch : trunk
2010-09-18 22:16:35 +02:00
click
b15ceaf830
Fix typo in previous commit :P
...
--HG--
branch : trunk
2010-09-18 20:02:25 +02:00
click
e88879b24d
BuildSystem/Tools: Modify vmap3assembler linkflags to link Carbon framework on OSX. Fixes issue 4048.
...
--HG--
branch : trunk
2010-09-18 19:45:24 +02:00
azazel
ef9cb8000b
Scripts/Spelsl: improve 24751 Trick or Treat spell and implement 24750 Trick spell.
...
--HG--
branch : trunk
2010-09-18 22:50:43 +06:00
click
b93cca2a8d
Buildsystem: Don't build gsoap/sockets libraries unless building servers. Fixes issue 4049.
...
--HG--
branch : trunk
2010-09-18 18:47:49 +02:00
linencloth
ae13e7354a
Core/DBLayer: Fix a typo. Author: [email protected]
...
Fixes issue 4071.
--HG--
branch : trunk
2010-09-18 15:34:01 +02:00
linencloth
0c9aa48d91
Core/PetAI: Fix an infinite loop
...
--HG--
branch : trunk
2010-09-18 14:20:08 +02:00
Liberate
5fa7722b94
Core/Spells: Fixes certain spells that could pierce immunity auras while they shouldn't.
...
Fixes issue #3264
Fixes issue #3471
Fixes issue #3992
--HG--
branch : trunk
2010-09-18 12:42:17 +02:00
Liberate
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
--HG--
branch : trunk
2010-09-18 12:33:16 +02:00
Machiavelli
49dc1e55de
Core/Utils: Fix a crash in vutf8printf. Author: Vladimir
...
--HG--
branch : trunk
2010-09-18 11:29:09 +02:00
Shauren
6ba1aec80c
Core/Pools: Converted quest-related pool queries into prepared statements
...
--HG--
branch : trunk
2010-09-17 21:01:58 +02:00
click
726e5cf466
Buildsystem/Core: Add new build-flag WITH_SQLDEBUG - adds support for enabling/disabling SQL-query logging
...
--HG--
branch : trunk
2010-09-17 20:36:29 +02:00
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 [email protected]
...
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
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