Shauren
e1bacef346
Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll)
2011-04-01 20:31:15 +02:00
Shauren
0fbde67824
Core/AI: Some code style cleanup
2011-03-27 12:54:42 +02:00
Shauren
9fea7d9a85
Core/SAI: Fixed another memory leak
2011-03-27 12:54:11 +02:00
Shauren
cbb552ead7
Core/SAI: Fixed memory leaks in targeting (lists were not being deleted)
2011-03-26 23:45:23 +01:00
Supabad
e494a154c7
Scripts/Ulduar:
...
Some cleanup in Flame Leviathan script
Add support for Shutout - Three Car Garage - Unbroken - Quick Shave
Add reset to Razorscale controller on fight end
2011-03-26 10:00:41 +01:00
Shauren
99104ab576
Scripts/Icecrown Citadel: Replace instance check with a safer one, this way if failed the creature is not idle
2011-03-21 19:00:56 +01:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
3b343ac497
Core/Scripts: Code style cleanup in AI base classes, removed duplicate DoAction method
2011-03-19 19:41:42 +01:00
Shauren
1a4a618d81
Core/Scripts: Code style cleanup in ScriptedAI and BossAI
2011-03-19 10:54:16 +01:00
Machiavelli
7b62bfc1c5
Core/ScriptedAI: Add ResetLootMode() to BossAI::_Reset() and remove some redundant calls in General Vezax script
2011-03-13 22:28:37 +01:00
Shauren
c2c40a4750
Scripts: Removed duplicate target selection function (SelectUnit), there is only SelectTarget now
2011-03-09 21:32:04 +01:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
Shauren
e25a5ca4f8
Core/Scripts: Changed SummonList::DoAction to take signed int as action identifier to be consistent with AI()->DoAction parameter type
2011-03-08 17:17:41 +01:00
Shauren
e5347a3bda
Core: Fixed warnings:
...
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Shauren
36f848a4c2
Scripts/Icecrown Citadel: Only one Mutated Abomination can exist during Professor Putricide encounter
...
Scripts/Spells: Added blizzlike error messages for certain spells
Scripts/Items: Removed obsolete scripts
2011-03-04 23:53:11 +01:00
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
leak
3e046f9bc4
Core/AI: Put log messages on filter
2011-02-24 18:37:27 +01:00
Machiavelli
4e9cd1e490
Core/UnitAI: Add template<class PREDICATE> void SelectTargetList, to select target list based on unary predicate function, with parameters maxTargets and targetType.
2011-02-23 13:35:15 +01:00
darkstalker
1646f9d91c
Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos)
2011-02-22 17:02:47 +06: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
Azazel
4dc1eaa47c
Core/Misc: improve error log messages by adding more info. Specially for Aokromes.
2011-02-17 19:47:08 +06: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
Manuel Carrasco
6b2ffc9039
Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
...
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)
Thanks to Kaelima, Xanadu, Shauren and linencloth.
Signed-off-by: Manuel Carrasco <[email protected] >
2011-02-10 22:36:35 -03: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
e8477a1cd5
Scripts/Pit of Saron: Fixed Rimefang getting stuck in combat with players after Scourgelord Tyrannus dies
...
Scripts/Forge of Souls: Added faction-specific spawn scripts for creatures near instance entrance
2011-01-31 11:03:48 +01:00
Machiavelli
deed0d0781
Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out.
2011-01-16 12:23:17 +01:00
Shauren
9c0cd63e93
Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon
2011-01-02 21:33:37 +01:00
Shauren
039d87bbc9
Scripts: Implemented virtual function DoCastSpellOnPlayers (self-explanatory) and CheckRequiredBosses checking states of other bosses before allowing combat with selected one
...
Scripts/Icecrown Citadel: Added checks to prevent skipping bosses
2011-01-01 23:37:35 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
click
b1f525ba7a
Core: Fix non-PCH building
2011-01-01 04:10:07 +01:00
Machiavelli
8ab453b465
Missing changes from 72a115f242
2010-12-31 18:24:35 +01:00
Machiavelli
f690338de1
Core/CreatureAI: Add virtual bool CanRespawn().
...
This method will be checked on Creature::Update with deathstate ¨DEAD¨, and allows inherited scripts to manipulate respawn behaviour based on scripted events.
--HG--
branch : trunk
2010-12-24 16:18:23 +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