aad6964dd0
Core/Spells: Show some SPELL_AURA_MOD_DODGE_PERCENT auras as debufs as expected (patch by zergtmn)
click2010-11-08 17:36:25 +01:00
b2f3b3d329
Core: Use portable ACE-methods to do millisec time-value calculation (patch by SilverIce) (also avoids some unsafe code on non-Windows platforms)
click2010-11-08 17:24:16 +01:00
b1bf8ebfe6
Core/ItemHandler: Fix a logic error when checking for gem equipment limits. (Socketed gems cannot be destroyed, they can only be replaced and that would be the "new gem" case) - fix by leak Closes issue 4698. Fixes issue 2495.
click2010-11-08 17:11:05 +01:00
551d0cea4e
Core/Maps: Fix exploit with players changing raid-difficulty and getting no cooldown on respective instance - Patch by selector
click2010-11-07 23:53:26 +01:00
44850aab07
Core: Disallow moving currency tokens out of their hidden bag - fix by leak
click2010-11-07 22:28:03 +01:00
c58e227ffa
Core/Spells: Fix hunter pet namechanging when using Certificate of Ownership (spellID 53987, used by itemID 43850) (There's also, as far as I know, no window on hunter pet renames, one selects the pet and clicks 'rename'). Closes issue 2967.
click2010-11-07 22:23:12 +01:00
2ee0fda94e
Core/SmartAI: added ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST added ACTION_CALL_RANDOM_TIMED_ACTIONLIST you can now call in random timed action lists (script type 9 aka Script9)
Rat2010-11-07 22:10:11 +01:00
d180e485e9
Added tag UP35 for changeset 35eb4004f6f8
click2010-11-07 20:31:53 +01:00
d1323767b0
Core/SQL: Move some SQL-files around (you all know what this means...)
click2010-11-07 20:30:59 +01:00
7853a06912
Fix "typo" in previous commit (codingstyle)
click2010-11-07 20:12:36 +01:00
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)
click2010-11-07 20:08:52 +01:00
044c003bdd
Core/SmartAI: added ACTION_CROSS_CAST CasterTargets will cast spellID on all Targets NOTE: use with caution if targeting multiple * multiple units!
Rat2010-11-07 18:34:04 +01:00
205736ea84
Core/SmartAI: added TARGET_OWNER_OR_SUMMONER, useful if you have a creature summoned by a spell, you can use Summoner as target
Rat2010-11-07 18:02:33 +01:00
9781bba535
Core/SmartAI: added SMART_ACTION_INVOKER_CAST, spellID, castFlags, -if avaliable, last used invoker will cast spellId with castFlags on targets
Rat2010-11-06 23:18:04 +01:00
3809892987
Core/SmartAI: modified ACTION_EQUIP to use a bitmask to send slot updates (for more blzzlike packet handling)
Rat2010-11-06 23:08:33 +01:00
26d8e04351
Core/Unit: Clear threat list on units when they die (fix players having aggro on corpses) Original suggestion by [email protected]Machiavelli2010-11-06 10:35:46 +01:00
b45e12fdf9
Core/Conditions: updated CONDITION_AURA, if Param3 is set true target is tested for condition, else caster is tested
Rat2010-11-05 22:54:51 +01:00
9b3ce64f6e
Core/SmartAI: added option to reset orientation (use ACTION_SET_ORIENTATION with TARGET_SELF to reset to spawn orientation)
Rat2010-11-05 21:34:26 +01:00
be25e38144
Core/SmartAI: added SMART_ACTION_SIMPLE_TALK, param1: textID, uses the 'Targets' to say the text, NOTE: textID is relative to the current target's entry OR if target is a player, text is used with source creature's entry
Rat2010-11-05 19:38:43 +01:00
7956bc8c44
Core/Chat: Move some protected members of chathandler to public scope so they can be used by commandscripts (Patch by Paradox) Closes issue 4653
click2010-11-05 07:54:24 +01:00
7f4039269c
Core/Groups: Fix issue with raid-leader being removed from group on relog/server restart. Updates issue 3142
Shocker2010-11-05 00:54:17 +02:00
57661c6d54
Core/SmartAI: swap menuid/actionid params in GOSSIP_SELECT event - use proper sql ORDER to order script lines
Rat2010-11-04 22:08:15 +01:00
f658176df8
Core/Spells: Enchanting items using a vellum is no longer possible in trade
Shauren2010-11-04 21:59:27 +01:00
54b11cce01
Core/SmartAI: store event invoker when available, and use it for Invoker target note: dont forget to call script_reset when script is over!
Rat2010-11-04 19:56:39 +01:00
cf475e75ca
dep/ace: fix the config-test macro
click2010-11-04 06:08:24 +01:00
9b16ee203f
Dep/ACE: Upgrade ACE -library to 5.8.3
click2010-11-04 05:30:29 +01:00
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
Rat2010-11-03 18:33:47 +01:00
4747c5f820
Core/SmartAI: fixed EVENT_RANGE handling, and limited it to only creature scripts
Rat2010-11-03 17:25:46 +01:00
58bc1194d2
Scripts/Icecrown Citadel: Fixed Festergut casting Gastric Bloat too often, patch by bytewarrior
Shauren2010-11-03 16:48:40 +01:00
f2fdcdf8f3
Core/Scripts: Added enum for generic script texts, fixed one broken text Scripts/Icecrown Citadel: Blood-Queen Lana'Thel will no longer spawn for Blood Princes intro if they were already killed
Shauren2010-11-03 16:44:34 +01:00
6f748a76a1
Core/SmartAI: use BaseObject for guid based targeting if available
Rat2010-11-03 16:40:12 +01:00
6b6d992d55
Core/Dungeon Finder: Fix 'unknown' player names after group being formed and teleported to dungeon Original Patch by danik Closes issue 3846
Spp2010-11-03 14:21:59 +01:00
9df4af80f4
Core/SmartAI: added script type 9 (TimedActionList) - interrupt spells when entering combat - fixed reset of timers - added npc flag modify actions - added action to call a TimedActionList, default options are: process only OOC and resume after combat
Rat2010-11-03 14:10:16 +01:00
afb3e790de
Core/Scripts: add example_commandscript as an example of how to use commandscripts to add your own commands to the core
Spp2010-11-03 08:44:03 +01:00
43a5a3ced1
Core/Scripts: Cached command definitions at first use to allow dynamic commands take security levels and help text from the database. Core/Scripts: Removed unused function related to executing dynamic commands.
Spp2010-11-03 08:35:48 +01:00
38ae2062d9
Core/Scripts: Changed chat command handlers to take ChatHandler* as an argument, instead of as 'this'.
Spp2010-11-03 08:30:40 +01:00
f27b6f6097
Core/SmartAI: do not report not used smart scripts as error
Rat2010-11-02 17:29:36 +01:00
e95eb72603
Core/Scripts/ToC5: Set proper vehicle IDs in script to go with recent exploit fix. Thanks again to Aokromes
runningnak3d2010-11-01 14:24:45 -06:00
7ed5f93aed
Core/SmartAI: use Target types where possible, instead of simple self target - removed some obsolete comments - added errorlog if a special action uses a non-smart scripted creature
Rat2010-11-02 13:13:54 +01:00
b3b048449b
Core/SmartAI: renamed reload command to reflect funtion name
Rat2010-11-01 16:10:30 +01:00
d568fcf273
Core/SmartAI: remade 'Say' handler, more simple, more usable, you can now script multiple npc conversations from one script -also added 'entry' to text_over event
Rat2010-11-01 11:00:53 +01:00
e68c149e69
Core/ConditionMgr: use chamer/owner player for spell condition check where avaliable
Rat2010-10-31 22:37:54 +01:00
96df97c5ae
Core/SmartAI: fix logic in HAS_AURA event note: copy-paste from eai is bad idea ..
Rat2010-10-31 22:11:56 +01:00
32f088558d
Core/ConditionMgr: added two new conditions NEAR_CREATURE and NEAR_GAMEOBJECT
Rat2010-10-31 22:10:31 +01:00
9a02ae79c9
Core/Conditions: fixed a typo in logging
Rat2010-10-31 15:39:09 +01:00
75c065637c
Core/SmartAI: added new target type (invoker's vehicle) -added new action: ENTER_VEHICLE (79), param1: seatID
Rat2010-10-31 14:21:35 +01:00
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
Rat2010-10-31 14:19:14 +01:00
05a292633c
Core/DBLayer: - Fix a race condition in KeepAlive() when connections are using mysql context when ping is called. - Don´t wait for locks to be released on a connection when pinging, this means the connection is not idle and locking is redundant.
Machiavelli2010-10-31 10:55:29 +01:00
c9bbe85e48
Core/DB: changed some errors to DB errors
Rat2010-10-30 23:06:05 +02:00
c9b6f44e9f
Core/Groups: Add some checks to prevent a crash with Invites Core/Groups: Use proper size with SMSG_GROUP_DECLINE Opcode
Spp2010-10-29 14:09:25 +02:00
618afa3656
Scripts/Icecrown Citadel: Fixed possible crash in Shadow Prison aura script
Shauren2010-10-28 16:55:28 +02:00
bcce517c6d
Core/Scripts: Fix exploit in ToC5 where vehicles could be used a multipassenger mounts anywhere. Thanks Aokromes from reporting
runningnak3d2010-10-27 15:01:29 -06:00
1d7100b67f
Core/Dungeon Finder: Fix a crash when someone leaves the group while a Rolecheck is active
Spp2010-10-28 17:14:18 +02:00
f1f1823901
Core/SmartScript: Fix a compile error. Thanks Aokromes for telling me it existed.
silinoron2010-10-27 20:03:42 -07:00
da4c2339bc
Core: Add a warning message for those who are using SFMT for random number generation. Patch and suggestion by Paradox.
silinoron2010-10-27 19:51:41 -07:00
5cb119e617
Core/AI: implemented SmartScripts System (still beta) not 100% complete WARNING: Use scripts at own risk. You were warned. NOTE0: creature, gameobject, areatrigger type scripts should be fully functional NOTE1: has no effect on any core related stuff if not using any SmartScript NOTE2: all event/action/etc descriptions can be found in SmartScriptMgr.h
Rat2010-10-27 21:01:47 +02:00
c9fba03da9
Scripts/Icecrown Citadel: Fixed Gaseous Blight removal on Festergut's death Scripts/Icecrown Citadel: Added missing in room check for Blood Prince Council Scripts/Icecrown Citadel: Fixed Professor Putricide facing during phase transitions
Shauren2010-10-27 18:46:48 +02:00
ba6fc58bad
Core/Spells: Fixed "not handled custom case" log spam for Sniper Training
Shauren2010-10-26 15:36:32 +02:00
0b4abbb48e
Core: Fix some warnings added in recent commits
Spp2010-10-26 11:40:13 +02:00
23d3f72bcb
Core/World?: (forgotten commit) make SessionMap public , can be usaful in some places..
Rat2010-10-25 18:47:30 +02:00
e4c27a2ffa
Core/TextMgr: updated with new funtions for future useage
Rat2010-10-25 18:25:21 +02:00
a792e3d67c
Core/AI: added Gossip* and Quest* virtual functions to UnitAI, will be used in future system (not all functions hooked yet)
Rat2010-10-25 18:23:45 +02:00
67346f449a
Core/Grids: implemented AllWorldObjectsInRange searcher, will be used in upcoming script engine
Rat2010-10-25 18:13:49 +02:00
064b3fd2b3
Core/AI: use NullGameObjectAI for gameobjects with ScriptName - use GameObjectAI with Transports too
Rat2010-10-25 18:11:52 +02:00
b282438198
Core/ConditionMgr: small fix for CONDITION_QUEST_COMPLETE
Rat2010-10-25 18:08:50 +02:00
ff0fdbfbea
Core/Guilds: * on load initialize guild vector with maximum available guild id (to avoid reallocations while loading); * reserve space for more than one guild when adding guild to guild vector in case when new guild is out of available vector's size (to avoid reallocations for at least 15 next new guilds).
azazel2010-10-25 19:20:39 +06:00
4acf6012a8
Scripts/Pit of Saron: Added script for Overlord's Brand aura
Shauren2010-10-25 11:23:29 +02:00
b96a206dc3
Core/Scripts: Moved OnPlayerLogout hook call before removing player, fixes crashes in scripts using this hook
Shauren2010-10-25 11:17:17 +02:00
42065a236e
Core/Scripts: Moved HealReceived from CreatureAI to UnitAI and added HealDone and removed creature-only restriction
Shauren2010-10-25 11:12:47 +02:00
4f5a60c487
Core/Scripts: Moved DamageDealt and DamageTaken down from CreatureAI to UnitAI
Shauren2010-10-24 22:12:35 +02:00
6d849ca34c
Core/Dungeon Finder: revert 5f4b58ea4bc5 (Do not allow 1 member groups) - Last member in dungeon not being kicked will be handled in other way
Spp2010-10-25 07:36:26 +02:00
3fc2d414b1
Core/Dungeon Finder: Use scripts to interact between groups and LFG
Spp2010-10-25 07:29:53 +02:00
4cd2431cd7
Core/Dungeon Finder: Redo Find algorithm to select one proposal (not all and later pick one)
Spp2010-10-25 07:16:46 +02:00
5eb8ea2a5d
Core/ConditionMgr: added CONDITION_QUEST_COMPLETE, conditionValue1: questiID, true if player has the quest in the questlog as 'completed'
Rat2010-10-24 21:44:58 +02:00
88ae092744
Core/Quests: Use honor multiplier as base for calculating honor rewards, not the amount of kills (fix by Nay)
Shauren2010-10-24 21:32:26 +02:00
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)
Shauren2010-10-24 21:27:02 +02:00
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
linencloth2010-10-24 02:55:50 +02:00