joschiwald
90a2acfbdf
Core/SAI: changed multiple validation checks
2014-10-11 18:52:01 +02:00
Vincent-Michael
0a897616da
Core/SAI: Added new error for wrong target orientation value
2014-10-11 05:33:34 +02:00
yesitsme
de7b503cc4
Core/SmartScripts: Fix multiple target_types
...
Checking the worldobjects GUID against the iterators GUID instead of pointer to worldobject against pointer to iterator, as 2 different pointers may point to the same object.
Closes #12670
2014-10-09 00:04:04 +02:00
Vincent-Michael
ec784be893
Core/SAI: Ingore text valid errors for SMART_TARGET_CREATURE_DISTANCE / SMART_TARGET_CREATURE_RANGE / SMART_TARGET_CLOSEST_CREATURE
2014-10-07 22:56:50 +02:00
Vincent-Michael
def151bb18
Core/SAI: Fix text over errors
2014-10-07 21:49:50 +02:00
Vincent-Michael
a3192b1ae3
Core: Fix warning
2014-10-05 03:50:45 +02:00
Vincent-Michael
ef92d31c49
Revert "Core/SAI: Added new error for is using other script as sai"
...
This reverts commit d08862a792 .
2014-10-04 20:24:58 +02:00
Vincent-Michael
d08862a792
Core/SAI: Added new error for is using other script as sai
2014-10-04 20:18:02 +02:00
Vincent-Michael
3d0c5cbf9a
Core/SAI: Fix typo
2014-10-04 19:45:33 +02:00
Vincent-Michael
a21149e1b7
Core/SAI: Added new error log is not using SmartAI / SmartGameObjectAI in db
2014-10-04 16:19:52 +02:00
Vincent-Michael
1d92315492
Core/SAI: CleanUp in 98257b9472 / 2838a62264
2014-10-03 20:06:22 +02:00
Vincent-Michael
98257b9472
Core/Sai: Added SMART_ACTION_TALK error log also for -guid creature
2014-10-03 16:20:12 +02:00
Vincent-Michael
6ef51481eb
Core: Fix crash
2014-10-03 16:07:11 +02:00
Vincent-Michael
2838a62264
Core/Sai: Added new error log for action SMART_ACTION_TALK
2014-10-03 16:02:11 +02:00
Vincent-Michael
cb2862671b
Core/SmartScript: Fix warnings
2014-10-02 23:03:48 +02:00
Vincent-Michael
d10dc5ac35
Core/Sai: Added better version for 4060fb1b59
2014-10-02 22:24:59 +02:00
Vincent-Michael
921457ae7b
Core/Sai: Added missing changes in 4060fb1b59
2014-10-02 21:13:16 +02:00
Vincent-Michael
4060fb1b59
Core/Sai: Added ugly code for new sai error log :(
2014-10-02 21:11:50 +02:00
Vincent-Michael
88ea67add0
Core/SAI: Addet new error log for SMART_ACTION_CAST kill credit invalid target
2014-09-30 18:56:12 +02:00
Vincent-Michael
1d8feb271c
Core:/SmartScript: Added log for item has credit spell blabla
2014-09-21 17:45:57 +02:00
DDuarte
af7daba02d
Core/SAI: Remove SMART_ACTION_STORE_VARIABLE_DECIMAL
...
It's not used.
2014-09-17 01:07:29 +01:00
Shauren
7d1d55124c
Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
...
Conflicts:
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Player/Player.h
src/server/game/Scripting/MapScripts.cpp
src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Shauren
6c1a33d62d
Core/Scripts: Fixed incorrect guid usage in logs
2014-09-16 19:47:10 +02:00
Shauren
a3d8f1d879
Core/Scripts: Fixed build of boss_* scripts
2014-09-15 22:07:11 +02:00
Shauren
6ce0a3107d
Core/Scripts: Changed GetGUID/SetGUID script hooks to operate on ObjectGuid class
...
Fixed compile for boss scripts starting with letters B, C and D
2014-09-15 00:23:47 +02:00
Shauren
56f46e3ce5
Scripts
...
* Introduced GetGuidData/SetGuidData to store guids in instance scripts (GetData64/SetData64 are still there)
* CONDITION_INSTANCE_INFO: Changed existing DATA64 condition to GUID_DATA to preserve current use of this instance info type (most/all assume the data is a guid) and moved DATA64 to a different value - no db changes needed
* Fixed compile in boss scripts starting with letter A
2014-09-14 23:23:23 +02:00
Shauren
a0e50ea35f
Core/Entities: Use ObjectGuid class in game project
2014-09-14 16:14:12 +02:00
joschiwald
59baaeec48
Core/Chat: cleanup MonsterText methods
2014-09-13 20:41:31 +02:00
Discover-
6066ec0949
Core/SAI: Implement a new action type to make a creature (or targets in list) start the closest waypoint available to them
2014-09-03 20:11:15 +02:00
DDuarte
430b3adfe8
Scripts: Correct despawn time of multiple objects
...
WorldObject::SummonGameObject respawn time is in seconds and not milliseconds
2014-08-26 13:37:55 +01:00
jackpoz
c20f92c08c
Merge branch 'Rochet2/questreward'
...
Close pull request #12657
2014-08-24 14:38:55 +02:00
Rochet2
9beae1dc97
Removed OnQuestComplete hook, use QuestReward instead. Implemented OnQuestStatusChange hook
...
Also fixed some comments and added overrides
The OnQuestComplete hook was unused and didnt work properly
2014-08-24 14:31:38 +03:00
jackpoz
7fe7f30521
Core/Misc: Fix some -Wconversion warnings
2014-08-23 19:56:41 +02:00
ShinDarth
d8b345a5ea
Core/SmartScripts: fix escort quest group-complete
2014-08-19 15:57:51 +02:00
Vincent-Michael
5b355c57ba
Core/Creature: Fix warning
2014-08-14 16:36:04 +02:00
DDuarte
df3b08d140
Core/Server: Use nullptr instead of 0 where pointers are expected
2014-08-09 21:32:26 +01:00
DDuarte
a394205eca
Core/Server: Add missing overrides
2014-08-09 20:17:40 +01:00
jackpoz
8402570bb8
Scripts/Misc: Fix static analysis issues
...
Replace CAST_AI() macro with ENSURE_AI() when dynamic_cast is not supposed to return NULL.
2014-08-09 00:12:20 +02:00
leak
dce92611f3
Refactored singletons to enable proper deconstruction during shutdown
2014-07-20 00:40:08 +02:00
Shauren
7532864264
Buildsystem/MSVC: Warning fixes
...
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)
C4127 conditional expression is constant
2014-07-17 15:42:57 +02:00
Subv
151785b9ce
Merge branch 'master' of github.com:TrinityCore/TrinityCore into boost
...
Conflicts:
src/server/game/World/World.cpp
2014-07-03 15:57:47 -05:00
leak
029bad6698
Replaced all remaining ACE based Singletons
...
Replaced ACE base AutoPtr class with shared_ptr
Note: worldserver currently broken due to MapUpdater threading failure (ACE ofc, what else could it be)
2014-07-01 00:54:09 +02:00
Subv
1320c9f8d6
Core/SmartAI: Allow the use of SMART_ACTION_SET_EVENT_PHASE with SMART_EVENT_RESPAWN.
...
Closes #9289
2014-06-24 23:01:12 -05:00
Aokromes
84e6af26e6
Merge pull request #11976 from Ascathor/master
...
Core/Misc: New ability to log account IP access history
2014-06-23 22:48:35 +02:00
Vincent-Michael
53caf7959e
Core/Ulduar: Added IsInCombat check for ulduar teleporter
2014-06-14 22:01:50 +02:00
Vincent-Michael
880253a833
Core/SAI: Fix typo in 2596f1f35d
2014-06-14 20:12:38 +02:00
Vincent-Michael
2596f1f35d
Core/SAI: Added SMART_ACTION_CAST support for gameobject cast
2014-06-14 19:55:55 +02:00
Ascathor
6949735098
Core/Misc:
...
* Fix some codestyle, fix some typos
* Change CMakeLists for: Custom (can be uncommented), Events, World
** Custom is theoretically unchanged. You can, however, uncomment the glob_recurse that initializes every file within. This might be easier for beginners.
* Introducing the IP Based Action Log System:
** On several different actions, e.g. Login, Character Login, etc., a new entry is added
** Can be logged on and off in worldserver config
*** Disabled by default to prevent increased log db size for unknowing users.
* Add a new row to account table called 'last_attempt_ip'
** Lists the last ip trying to connect to the account
* Add a new type of HookScripts: AccountScript
** Includes: OnAccountLogin, OnFailedAccountLogin, OnEmailChange, OnFailedChange, OnPasswordChange, OnFailedPasswordChange
* Added new Hook to PlayerScripts: OnFailedPlayerDelete
* Added new variables to PlayerScripts: OnPlayerDelete
2014-06-13 16:25:11 +02:00
Discover-
80daaf8d43
Core/SAI: SMART_EVENT_IC_LOS is now called when movement in LOS was made while the creature was in combat
2014-05-23 17:11:37 +02:00
jackpoz
1083dbb993
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
2014-05-20 21:21:33 +02:00