click
7853a06912
Fix "typo" in previous commit (codingstyle)
...
--HG--
branch : trunk
2010-11-07 20:12:36 +01:00
click
5d4f009a87
Core/Entities: Fix exploit/crash in inventory-handling (CMSG_OPEN_ITEM) -thanks to leak
...
(Adds a scrutiny-based check to baghandling: don't allow placing items in bags that are not "usable" as regular bags)
--HG--
branch : trunk
2010-11-07 20:08:52 +01:00
Rat
3809892987
Core/SmartAI: modified ACTION_EQUIP to use a bitmask to send slot updates (for more blzzlike packet handling)
...
--HG--
branch : trunk
2010-11-06 23:08:33 +01:00
Machiavelli
26d8e04351
Core/Unit: Clear threat list on units when they die (fix players having aggro on corpses)
...
Original suggestion by [email protected]
Fixes issue #4667
--HG--
branch : trunk
2010-11-06 10:35:46 +01:00
Rat
c9cf2f059f
Core/AI: delay all AI()->Respawn() hooks by 1 server tick, this way when creatures are just got created they will successfully find other objects in scripts at spawn time
...
--HG--
branch : trunk
2010-11-03 18:33:47 +01:00
Rat
b6c8158f88
Core/Vehicles: temp fix visibility issues when creatures enter a vehicle, this also fixes the 'Ride Vehicle' type spells
...
note: isntance scripts using spell+EnterVehicle() hacks should be updated
--HG--
branch : trunk
2010-10-31 14:19:14 +01:00
Rat
064b3fd2b3
Core/AI: use NullGameObjectAI for gameobjects with ScriptName
...
- use GameObjectAI with Transports too
--HG--
branch : trunk
2010-10-25 18:11:52 +02:00
Spp
739f336618
Core: Fix warnings
...
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
Shauren
42065a236e
Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction
...
--HG--
branch : trunk
2010-10-25 11:12:47 +02:00
linencloth
9b8a457aeb
Core/DBLayer: Optimize creature formation loading
...
--HG--
branch : trunk
2010-10-25 02:32:33 +02:00
linencloth
3742e8ddec
Core/Transport: Prevent creature passengers from teleporting to an invalid grid.
...
--HG--
branch : trunk
2010-10-25 02:30:50 +02:00
Shauren
ae58481c21
Core/Entities: Remove circular dependencies from GameObject headers, fixes *nix compile
...
--HG--
branch : trunk
extra : rebase_source : bcedd4aed81ad6fb72a13607cf954c11356bbfcc
2010-10-24 22:03:53 +02:00
Shauren
88ae092744
Core/Quests: Use honor multiplier as base for calculating honor rewards, not the amount of kills (fix by Nay)
...
--HG--
branch : trunk
2010-10-24 21:32:26 +02:00
Shauren
d03aeab9ad
Scripts/Icecrown Citadel: Added Blood Prince Council script
...
Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets
Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony)
Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance
Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage
Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter
Scripts/Quests: Fixed quest "Unholy Infusion" (24749)
--HG--
branch : trunk
2010-10-24 21:27:02 +02:00
linencloth
07fa1bcbdf
Core/Creature: Implement FarTeleportTo (teleport to an other map)
...
Core/Transport: Cleanup and optimize transport and passenger handling
- Only transports will be active objects
- Reduced cpu and memory usage
- Using FarTeleportTo for creature passengers at transport teleportation
- Creatures won't be recreated on teleport
--HG--
branch : trunk
2010-10-24 02:55:50 +02:00
Rat
62739ed26f
Core/AI: implemented basic class for GameObjectAI
...
--HG--
branch : trunk
2010-10-23 23:31:37 +02:00
Rat
e67f04d362
Core/ConditionMgr: added CONDITION_SOURCE_TYPE_VEHICLE_SPELL, sourceGroup=creatureTemplate.entry, sourceEntry=spellEntry
...
--HG--
branch : trunk
2010-10-22 22:45:11 +02:00
click
a1319a2020
Core/Unit: Revert r457923c3f3 - combattimer handling from that revision is wrong, as it dictates wether not a creature will actually enter combat or not - with
...
the earlier change this ment that any creature entering combat would not properly continue if target moved.
--HG--
branch : trunk
2010-10-22 03:59:08 +02:00
click
8ac91ada22
Core/Unit: Fix leave combat timer - original patch by Laise
...
Needs further testing, give feedback if wrong.
--HG--
branch : trunk
2010-10-21 22:09:45 +02:00
linencloth
d9d1ec3670
Core: optimize string splitting
...
- Mainly affects item loading performance
- Reduces guild loading time a lot
--HG--
branch : trunk
2010-10-21 16:56:51 +02:00
Spp
959ef0878a
Core/Groups: Use the proper RemoveMethod when player leaves a group
...
--HG--
branch : trunk
2010-10-19 18:32:04 +02:00
Rat
b4c62b9646
Typo cleanup! :/
...
--HG--
branch : trunk
2010-10-17 22:00:40 +02:00
Rat
e9fffec5fb
removed wrong SetFacing...
...
--HG--
branch : trunk
2010-10-17 21:26:04 +02:00
Rat
ee32b4b39a
Core/Objects: added ToUnit(), ToGameObject() (will be used in future)
...
Core/Unit:
- added SetFacing() function, using proper packet implementetion (spline type)
- added GetAuraCount() function (will be used in future)
Core/Creature: renamed one unknown type_flag
--HG--
branch : trunk
2010-10-17 21:14:08 +02:00
azazel
c0faed2251
Core/Guilds: guild code was completely refactored and rewritten.
...
* OOP desing and implementation;
* all the queries are moved to prepared statements;
* guild loading is optimized;
* all the possible interaction with guild's data is done inside the guild class;
* added more hooks to GuildScript class;
WARNING: Make sure you backup your characters database before applying this change (just in case).
Known problems with guilds:
* when new member is added to the guild, MOTD is not displayed for him in guild tab of social window;
* if you add item with random property to guild bank visual representation of item below it becomes wrong (it displays wrong stack number);
* packets order differs from official: currently guild bank packet traffic is twice as more than on offy.
--HG--
branch : trunk
2010-10-17 19:54:13 +06:00
Xanadu
a77b8da5a9
Core/Vehicles: Fixed vendors on Tundra Mammoth mount - now they are visible after mounting up.
...
--HG--
branch : trunk
2010-10-17 01:31:19 +02:00
Shocker
c2295e86be
Core/Spells: Move hacky check for spec changing to its correct location
...
--HG--
branch : trunk
2010-10-16 17:44:42 +03:00
Shauren
8a17d95647
Scripts/Icecrown Citadel: Added Professor Putricide script
...
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead
Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction
Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code)
Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask)
--HG--
branch : trunk
extra : rebase_source : 943e3bac5d9063974d7f7132f144e91946f825d4
2010-10-16 16:34:21 +02:00
Shocker
222d1cd211
Core/Misc: Also remove buffs from pet when joining arena to make sure a player won't enter with a prebuffed pet, fixes issue 4287
...
--HG--
branch : trunk
2010-10-16 17:34:21 +03:00
Shocker
8154f7243c
Core/Arenas: Remove pet spell cooldowns on arena join too, fixes issue 1868
...
--HG--
branch : trunk
2010-10-16 17:01:01 +03:00
linencloth
ae213dd580
Core: Improve constant channel handling
...
- Implement area restrictions
- Disable constant channels in arenas
- Implement city requirement
- Implement global constant channels
- Fix some packets
--HG--
branch : trunk
2010-10-16 12:59:53 +02:00
azazel
3bd1ee0665
Fix most of the recently introduced warnings
...
--HG--
branch : trunk
2010-10-16 13:32:30 +06:00
click
3cc2770261
Core/Entities: Remove heartbeat update packet from Unit::SendMonsterStop()
...
(Also makes NPCs stop jumping when talked to - no more scared NPCs thankyou)
--HG--
branch : trunk
2010-10-13 19:01:21 +02:00
Shocker
91aa72a5c6
Core/Vehicles: Add some missing power types, thanks to Heisenberg, closes issue 3841
...
--HG--
branch : trunk
2010-10-12 21:59:11 +03:00
Shocker
66dec6d86f
Core/Misc: Implement config option for energy regeneration rate, patch by Ramus, closes issue 4394
...
--HG--
branch : trunk
2010-10-12 21:05:37 +03:00
runningnak3d
2a06d6a363
Core/Misc: Remove some not needed code that got through in the merge.
...
--HG--
branch : trunk
2010-10-09 01:57:04 -06:00
runningnak3d
7a9a9426a7
Misc/CodeStyle: Apply proper code style to c746695313
...
Thanks Paradox
--HG--
branch : trunk
2010-10-09 01:48:32 -06:00
runningnak3d
a667faaa94
Core/GameObject: Create enum GameObjectDynamicLowFlags instead of using hard
...
coded flags.
Author: NoFantasy
--HG--
branch : trunk
2010-10-08 18:38:58 -06:00
runningnak3d
86dbbe4afe
Core/Misc: Fix logic problem.
...
Thanks Zor
--HG--
branch : trunk
2010-10-08 18:00:43 -06:00
runningnak3d
26d0598b9a
Core/WorldPacket: Only activate GOs if in GM mode and not make them sparkle.
...
Got reports of blindness in GM mode.
--HG--
branch : trunk
2010-10-08 17:48:44 -06:00
click
29bddfa50c
Core/Pets: Initialize pet level properly (stupid mistake), and set loaded XP after initialization is completed.
...
--HG--
branch : trunk
2010-10-10 05:50:40 +02:00
click
91b48b33dc
Core/Pets: Initialize petlevel before synchronizing with owner
...
--HG--
branch : trunk
2010-10-10 04:23:08 +02:00
click
f358de5437
Core/Spells: Fix Hunters Mark and allow additional damage talents to provide benefits - patch by Dr.Tenma
...
Fixes issue 2674.
Fixes issue 2792.
--HG--
branch : trunk
2010-10-10 01:22:47 +02:00
click
0509a780c8
Core/Entities: Ensure that pets retain their XP-points when dismissed in any form or way (outrunning/riding/mounting/flying)
...
Also clean up the logic a bit - pet stats initialization initializes hp/mana/powers on pets, while they should only be initialized/changed on pet call/creation.
Fixes issues 4284
--HG--
branch : trunk
2010-10-10 01:03:21 +02:00
Shauren
063e89d07d
Core/Guild: Fixed crash when unstacking items in guild bank
...
Closes issue #4360 .
--HG--
branch : trunk
2010-10-09 18:07:27 +02:00
Shauren
91a97c7b83
DB-Schema/World/creature: Added possibility to override npcflag, unit_flags, dynamicflags in creature table
...
Core/Player: Fixed bad query in previous revision
--HG--
branch : trunk
2010-10-09 17:52:00 +02:00
Shauren
324de6fb4c
Core: Added some anti-WPE filter checks to prevent putting non-empty bags into other bags/gbank/mail/auction, original patch from mythcore
...
Core: Changed inventory saving - will no longer abort operation at single item fail
Closes issue #1994 .
--HG--
branch : trunk
2010-10-09 17:36:53 +02:00
QAston
e5e53498ce
Core/Spells:
...
- Add more descriptive enumerator of procflags - now clearly pointing out that proc flags are dependant to the spell dmg class of the spells causing procs.
- Define and implement PROC_FLAG_DONE_MAINHAND_ATTACK.
--HG--
branch : trunk
2010-10-08 19:17:49 +02:00
runningnak3d
debeea7f2a
Core/GameObject: Check if a GO is a requirement of a quest, and if so make it
...
sparkle
Author: NoFantasy
--HG--
branch : trunk
2010-10-06 16:46:18 -06:00
runningnak3d
89833567d2
Core/WorldPacket: Add support for generic (type 5) GOs sparkling if objective
...
of quest.
Author: NoFantasy
--HG--
branch : trunk
2010-10-06 16:36:50 -06:00