Commit Graph

8404 Commits

Author SHA1 Message Date
XTZGZoReX
793a226692 * Remove typeid check and fix cast target for Improved Fear. Patch by jesper.vortex.
* Closes #946.

--HG--
branch : trunk
2010-03-18 14:57:39 +01:00
XTZGZoReX
1a6f216e91 * Cleanups and comments in Player::SendInitWorldStates.
--HG--
branch : trunk
2010-03-18 14:48:33 +01:00
Rat
2b096c478a *always remove UNIT_FLAG_OOC_NOT_ATTACKABLE if crature enters combat and reset on leave combat
-Please post feedback if it breaks any script!

--HG--
branch : trunk
2010-03-18 00:01:39 +01:00
Rat
4f948651df *Fix possible exploits with flying paths. by QAston
--HG--
branch : trunk
2010-03-17 23:16:35 +01:00
malcromtdb@gmail.com
bef85de621 Add script for Amberpine Woodsmen Grizzly Hills
--HG--
branch : trunk
2010-03-17 18:27:17 -02:30
Troy
ebb62fb12c Added 7597_world_scriptname.sql to world_scripts_full.sql
--HG--
branch : trunk
2010-03-17 18:00:40 -02:30
Xanadu
5603de6048 Argent Tournament Post script by Malcrom
--HG--
branch : trunk
2010-03-17 21:20:21 +01:00
Xanadu
6f6c7a85af Merge
--HG--
branch : trunk
2010-03-17 21:17:02 +01:00
Xanadu
2c605ee482 Upgraded SCRIPT_COMMAND_EMOTE to do state emotes, too, based on datalong2 value. By Malcrom.
--HG--
branch : trunk
2010-03-17 21:00:44 +01:00
silverice
4177b876f3 Added hack that was removed in [7443]
Closes issue #979

--HG--
branch : trunk
2010-03-17 21:34:42 +02:00
Xanadu
48d7ae707d Fixed players not being able to resurrect after core crash.
--HG--
branch : trunk
2010-03-17 20:34:02 +01:00
Xanadu
a73b9b0f1e Cleanup
--HG--
branch : trunk
2010-03-17 17:43:28 +01:00
Xanadu
e5cbe017f4 Fixed Drain Soul increased damage for targets below 25% HP. Closes issue #394. Closes issue #748. Closes issue #938. Rejoice, new era of server-side spells has begun!
--HG--
branch : trunk
2010-03-17 16:38:31 +01:00
Rat
4fb7bf3664 *fix Feral Spirit's healing (Spirit Hunt)
--HG--
branch : trunk
2010-03-17 08:07:14 +01:00
Anubisss
fe67a3bc6e Fix some possible crashes.
--HG--
branch : trunk
2010-03-16 23:46:20 +01:00
Trazom62
6d63c432e6 Fix Hunter's spell Snake Trap.
Fixes issue #896.

--HG--
branch : trunk
2010-03-16 21:32:01 +01:00
Trazom62
b00c745455 Update Halls of Stones script text entries to correct range.
Fixes issue #607.

--HG--
branch : trunk
2010-03-16 21:24:00 +01:00
Machiavelli
53bfd0934a Remove some files that were accidentaly added to last changeset.
--HG--
branch : trunk
2010-03-16 08:11:33 +01:00
Machiavelli
bbfdc117c8 Overload Item::SetState correctly in Item::SetItemRandomProperties.
Fixes issue #1126

--HG--
branch : trunk
2010-03-16 08:05:09 +01:00
reno
e65dfc6a31 attempt to stop mobs casting and fleeing while stunned or confused
--HG--
branch : trunk
2010-03-15 14:38:30 -05:00
Machiavelli
b0b17e56de - Overload Item::SetState with player argument where possible to ensure updated data is saved to DB properly.
- Alter Item::SetEnchantmentDuration function, add parameter Player* because GetOwner() cannot be called in the function due to hashtable locking in the SaveAllPlayers process.
- Remove a sanity check prior to Item::AddToUpdateQueueOf, so assertions can detect whenever a higher level function was not called properly. Please report any crashes related to these assertions to get them resolved asap.

--HG--
branch : trunk
2010-03-16 01:05:56 +01:00
teacher
5b277b11a7 Moved sql update files to 3.3.2_old directory.
Fixed my typo in world.sql.

--HG--
branch : trunk
2010-03-15 23:43:20 +01:00
thenecromancer
a81ad6986c Remove Hack detecting spell 61988 in HasAura()
Correctly cast 61988/61987 after casting Avenging Wrath/Divine Shield respectively
(This will correctly show both spells disabled state)
Don't allow casting Lay on Hands on self when aura 61988 is present (ie. after using Avenging Wrath)

--HG--
branch : trunk
2010-03-15 18:03:43 +01:00
Machiavelli
3ba0862926 Fix guild bank money log display.
--HG--
branch : trunk
2010-03-15 17:17:19 +01:00
Machiavelli
f9a3aedc14 Don't call Item::AddToUpdateQueueOf if no player is specified as parameter for Item::SetState, since in this case, only data stored in the item_instance table is altered, not that of character_inventory.
--HG--
branch : trunk
2010-03-15 14:52:02 +01:00
Machiavelli
c47b8a89c1 Fix issue with .save or .saveall where either the core would freeze, or items would not be saved to the DB properly.
Fixes issue #381
Fixes issue #477

--HG--
branch : trunk
2010-03-15 14:03:13 +01:00
Machiavelli
ce51f24ff3 Change field crc in characters.addons to int(32) to support proper values.
--HG--
branch : trunk
2010-03-15 13:24:45 +01:00
Brian
8268adc932 * Added support for only displaying items from vendors for the team the
* player is on. Faction field in item_template is actually team, and will
* be renamed in a later patch.
* 1 == Horde / 2 == Alliance
* Thanks Aokromes for helping research / test

--HG--
branch : trunk
2010-03-15 06:19:27 -06:00
Xanadu
f9566e08ac Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.
--HG--
branch : trunk
2010-03-15 04:37:28 +01:00
Xanadu
8cc3d2ad7f Fixed Drain Soul and Shadowburn Soul Shard on target death. Closes issue 1058.
--HG--
branch : trunk
2010-03-15 02:59:21 +01:00
Trazom62
1845a9588d Fix lootable check in Player::isAllowedToLoot.
--HG--
branch : trunk
2010-03-15 00:21:37 +01:00
Rat
c8fd37a9dc *small tweaks to Utgarde keep bosses
--HG--
branch : trunk
2010-03-14 23:44:27 +01:00
Brian
50b59401dc * Was this really needed?
--HG--
branch : trunk
2010-03-14 16:36:53 -06:00
Brian
85b0798d75 * merge
--HG--
branch : trunk
2010-03-14 16:35:52 -06:00
Brian
920137f1ba * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:35:38 -06:00
Brian
71b7300348 * Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to only push one file
* also need hg push <filename>

--HG--
branch : trunk
2010-03-14 16:34:55 -06:00
Brian
0f0cb79f0b * merge
--HG--
branch : trunk
2010-03-14 16:33:04 -06:00
Brian
ace353d088 * merge
--HG--
branch : trunk
2010-03-14 16:32:04 -06:00
Brian
9aa96aaf9b * Fix potential import error for vehicle_accessory table
* Thanks Riccardo

--HG--
branch : trunk
2010-03-14 16:31:47 -06:00
Spp
f1696c42c9 Send SMSG_DESTRUCTIBLE_BUILDING_DAMAGE when a destructible building takes damage
Thanks to Opterman for the packet structure.

--HG--
branch : trunk
2010-03-14 21:10:21 +01:00
Brian
8ba7885cc8 * Added CONDITION_CLASS / CONDITION_RACE / CONDITION_ACHIEVEMENT for
* gossip / loot conditions

--HG--
branch : trunk
2010-03-14 11:45:34 -06:00
Trazom62
8d51d23cc5 Fix Master's call. Thanks Gyullo.
Fixes issue #1059.

--HG--
branch : trunk
2010-03-14 13:46:15 +01:00
Trazom62
6fdaf225f3 Fix creature tapped and lootable dynamic flags => fix creature not lootable.
Fixes issue #1067.

--HG--
branch : trunk
2010-03-14 00:22:53 +01:00
teacher
274268a686 Random sql cleanup.
--HG--
branch : trunk
2010-03-13 20:51:59 +01:00
Trazom62
7ff698b505 Fix SQL errors in world_script_texts.
--HG--
branch : trunk
2010-03-13 18:28:19 +01:00
Machiavelli
f56d65dc2a Fix display of item enchantments in mailbox
--HG--
branch : trunk
2010-03-13 17:22:42 +01:00
XTZGZoReX
f8c5b9a4a7 ** Cleanup in ObjectAccessor/HashMapHolder:
* Correctly lock the HashMapHolder on access.
* Use ObjectAccessor wrappers (GetPlayers, GetCreatures, GetGameObjects) instead of raw HashMapHolder<Type>::GetContainer.
* General code style cleanup.

--HG--
branch : trunk
2010-03-13 16:17:25 +01:00
Trazom62
76afec204d Yet another crash fix due to invalid cast.
Fixes issue #1079.

--HG--
branch : trunk
2010-03-13 12:51:37 +01:00
Trazom62
75a63297ca Fix ScriptedAI::SelectUnit to support SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
Remove duplicate select target function CreatureEventAI::SelectUnit.

--HG--
branch : trunk
2010-03-13 12:15:32 +01:00
Trazom62
4c9a9a02b0 Fix crash in boss_svala script + some cleanup.
Fixes issue #880.

--HG--
branch : trunk
2010-03-13 11:48:43 +01:00