Machiavelli
a9582964d3
Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.
...
Closes #805
2011-03-04 21:17:06 +01:00
Manuel
7a0df5876b
Core/SmartAI: Moved log to debug level.
...
Signed-off-by: Manuel <[email protected] >
2011-03-04 00:13:25 -03:00
Nay
eea7efa463
Core/SAI: Correct debug log for SMART_ACTION_CAST
2011-03-02 18:20:33 +00:00
Shauren
3cb0c4d969
Core/SAI: Fixed SMART_ACTION_EQUIP used with creature_equip_template ids
2011-03-02 18:23:50 +01:00
Shauren
6c020c72cc
Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1
2011-03-02 16:50:09 +01:00
click
d92fb9ad65
Core: Clean up some rogue whitespace and tabs
2011-02-27 18:34:24 +01:00
Rat
8b37ac4688
Core/SAI: Fix invoker logic and possible crashes
...
Signed-off-by: Rat <[email protected] >
2011-02-21 22:23:43 +01:00
Machiavelli
f8eae7427d
Core/SAI: Fix a possible crash and clean up some copypaste errors in ProcessAction
2011-02-21 04:23:53 +01:00
Machiavelli
4c04da6195
Core/SmartAI: Add some useful debug output to make development and debugging of SAI scripts easier. (Part 1/x)
...
Core/SmartAI: Fix param usage for SMART_ACTION_RANDOM_PHASE
2011-02-21 01:15:14 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
Nay
45db1591a4
DB/Schema: Properly use field types in smart_script table
...
Thanks Shauren
2011-02-20 19:11:42 +00:00
Manuel Carrasco
ad11baffe6
Core/SAI: Implemented SMART_ACTION_INTERRUPT_SPELL action.
...
Signed-off-by: Manuel Carrasco <[email protected] >
2011-02-15 00:29:33 -03:00
Malcrom
5241fefe7f
Core/SAI: Execute SMART_EVENT_WAYPOINT_REACHED events only once
2011-02-15 02:54:13 +01:00
runningnak3d
30e45b9356
Core/SAI: Change SMART_ACTION_PLAY_EMOTE and SMART_ACTION_RANDOM_EMOTE
...
to use the new IsEmoteValid which checks Emote.dbc.
Thanks Nay for noticing the problem
2011-02-13 20:42:57 -07:00
runningnak3d
2d9ecceae3
Core/SAI: Add IsEmoteValid back for looking up non-text emotes
2011-02-13 20:39:53 -07:00
runningnak3d
27f5d396a2
Core/SAI: Rename IsEmoteValid to a more fitting name of IsTextEmoteValid
2011-02-13 20:33:48 -07:00
runningnak3d
8d8e63a866
Core/SAI: Set proper index for UNIT_FIELD_BYTES_1. Thanks Malcrom
2011-02-07 19:29:16 -07:00
runningnak3d
97882544e1
Core/SAI: Add the ability to remove UNIT_FIELD_BYTES_1 in SAI (action
...
91)
2011-02-07 10:15:54 -07:00
runningnak3d
f7eba9c940
Core/SAI: Add the ability to set UNIT_FIELD_BYTES_1 in SAI (action 90)
2011-02-07 09:35:14 -07:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
leak
6115b0bd5f
Removing ProgressBars as they are performing badly on startup.
...
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
leak
fd694cd232
Streamlining loading functions for server startup
...
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)
--HG--
branch : trunk
2010-12-19 17:06:33 +01:00
Shauren
24193966dd
Core/Auras: Fixed crash in AuraEffect::TriggerSpell (dummy effect) and removed some useless code
...
Scripts/AI: Changed sOnDummyEffect to return bool value
Closes issue #5190 .
--HG--
branch : trunk
2010-12-18 22:04:19 +01:00
Shauren
58a9b15443
Core: Fixes some warnings
...
Core/SmartAI: Fixed DamageTaken and DamageDealt hooks
--HG--
branch : trunk
extra : rebase_source : 062f1c68cd1d318d192b294a493db17a1943bee2
2010-12-14 22:45:23 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
Rat
b5e24cbb9c
Core/SmartAI: ACTION_CALL_CASTEDCREATUREORGO can now be used with GameObjects too
...
--HG--
branch : trunk
2010-12-09 22:21:11 +01:00
Rat
cebf8590e3
Core/SmartAI: some error checks for actionlists, and enabled lists for GOs
...
--HG--
branch : trunk
2010-12-07 20:25:45 +01:00
Rat
bb09a4a50f
Core/SmartAI: all actions regarding to TIMED_ACTIONLIST will now use targeting:
...
you can now 'send' a list of timed actions to any targeted creature if it has SmartAI
NOTE: already made script with timed actions should be remade to use self as target
--HG--
branch : trunk
2010-12-07 18:31:34 +01:00
Spp
7ef59e3872
Core/SmartScripts: Fix a typo in action 'set instance data (64)'
...
--HG--
branch : trunk
2010-12-06 06:38:50 +01:00
Spp
408fce1de6
Core: Some optimizations
...
- Declare some functions const
- Fix some mem leak
- Fix some resource leak
- Remove unused variables and functions
- Remove duplicate functions
- Reduce the scope of some variables
- Remove unused file
--HG--
branch : trunk
2010-12-06 02:07:53 +01:00
Rat
3240a4ec33
Core/SmartScripts: Fix a typo in action 'set instance data'
...
--HG--
branch : trunk
2010-12-04 15:04:46 +01:00
Spp
25ac835507
Core/Groups: Move all function definition from .h to .cpp
...
Core/Groups: Remove Group.h dependency from any .h file
--HG--
branch : trunk
2010-11-29 07:50:31 +01:00
Rat
e1eae802e3
Core/SmartAI: ACTION_RANDOM_MOVE with distance = 0 should reset motion back to IDLE
...
--HG--
branch : trunk
2010-11-20 13:28:10 +01:00
Rat
e3c6723a8d
Core/SmartAI: added ACTION_RANDOM_MOVE
...
--HG--
branch : trunk
2010-11-20 13:23:29 +01:00
Rat
c1ec8c80de
Core/SmartAI: added TARGET_THREAT_LIST, uses all units from creature's threat list as targets
...
- modified ACTION_CALL_CASTEDCREATUREORGO to use simple targeting
--HG--
branch : trunk
2010-11-20 12:42:10 +01:00
Rat
67fa59fb68
Core/SmartAI: added ACTION_ACTIVATE_TAXI
...
--HG--
branch : trunk
2010-11-19 20:23:08 +01:00
Rat
3de2f6af01
Core/AI: added sOnDummyEffect() for all AIs
...
Core/SmartAI: added EVENT_DUMMY_EFFECT (66)
--HG--
branch : trunk
2010-11-17 23:24:21 +01:00
Rat
c1614bc0f3
Core/SmartAI: use last invoker for all Talk actions, should fix $vars in texts
...
--HG--
branch : trunk
2010-11-16 23:03:04 +01:00
Spp
addd762c4d
Core: Fix warnings
...
--HG--
branch : trunk
2010-11-16 14:08:12 +01:00
linencloth
8fae0c176d
Core/Units: Rename and change Get/SetVisibility to use a bool value instead of an unnecessary enum
...
Also replace some SetVisibility hacks to directly call UpdateObjectVisibility
--HG--
branch : trunk
2010-11-16 01:13:04 +01:00
Rat
8bb215d938
Core/SmartAI: removed depricated WP_LOAD, small fix to run-walk states when escorting, fix for escort invoker range check if no targets set
...
--HG--
branch : trunk
2010-11-16 00:13:47 +01:00
Rat
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)
--HG--
branch : trunk
2010-11-07 22:10:11 +01:00
Rat
044c003bdd
Core/SmartAI: added ACTION_CROSS_CAST
...
CasterTargets will cast spellID on all Targets
NOTE: use with caution if targeting multiple * multiple units!
--HG--
branch : trunk
2010-11-07 18:34:04 +01:00
Rat
205736ea84
Core/SmartAI: added TARGET_OWNER_OR_SUMMONER, useful if you have a creature summoned by a spell, you can use Summoner as target
...
--HG--
branch : trunk
2010-11-07 18:02:33 +01:00
Rat
13559bde9f
Core/SmartAI/Typo
...
--HG--
branch : trunk
2010-11-07 17:13:48 +01:00
Rat
9781bba535
Core/SmartAI: added SMART_ACTION_INVOKER_CAST, spellID, castFlags,
...
-if avaliable, last used invoker will cast spellId with castFlags on targets
--HG--
branch : trunk
2010-11-06 23:18:04 +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