treeston
e941d7e04b
Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.
...
(cherry picked from commit b3d44d6c36 )
Game/Scripting: Follow-up to b3d44d6 . Fix script selection for creatures on difficulty > 0.
(cherry picked from commit 91c2b3162d )
Build fix.
(cherry picked from commit a9f1151f2c )
Fine, this time I actually built it. Promise.
(cherry picked from commit 0c2c88ed50 )
2017-02-26 15:30:15 +01:00
Traesh
6ab3877c91
Core/Entities: Basic AreaTrigger System ( #18035 )
...
* Implemented AreaTrigger Templates
* Implemented AreaTrigger Splines
* Implemented SPELL_AURA_AREA_TRIGGER
* and many more
2017-01-29 00:00:43 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Traesh
96f7ce4bfa
Core/Scripting: Added missing hotswap code for SceneScripts
2017-01-01 03:23:04 +01:00
Krudor
1530c95697
Core/Scripts: Add server-side script support for movie completion ( #18308 )
2016-12-17 18:27:43 +01:00
ariel-
780d1019f2
Core/ScriptMgr: use vector instead of list to contain Spell and Aura scripts and hooks
...
(cherry picked from commit cbb5c073ce )
2016-11-14 05:35:41 -03:00
Traesh
d4887311e3
Core/Scenes: Implemented scene system
...
Closes #17858
Closes #17976
2016-09-25 16:13:12 +02:00
Naios
0eb573b7bd
Core/Scripts: Fix a crash when adding/removing objects from the map while swapping
...
* Ref #17833
(cherry picked from commit 79adaf4ee0 )
2016-09-15 15:15:48 +02:00
Shauren
a9a13d10f7
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-07-17 17:37:06 +02:00
Shauren
2056ce4d66
Scripts: Build fix
2016-07-17 15:20:56 +02:00
Naios
58dd647a88
Core/Scripting: Fix acquiring of references between script swaps
...
* Delay unloading of shared libraries to the next update tick
to prevent crashes in the destructor of the last referenced
script instance.
* Closes #17557
(cherry picked from commit 445746c402 )
2016-07-13 22:01:14 +02:00
Shauren
70137b8f3a
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-07-06 00:05:13 +02:00
Naios
1a891f3a5e
Core/Scripting: Don't force event cancellation when swapping creatures.
...
* EventProcessor::KillAllEvents(force = false) should only be used
by the EventProcessor.
(cherry picked from commit d68316fcd2 )
2016-07-05 00:19:38 +02:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00
Naios
8bf3d181b6
Core/Scripting: Kill pending unit events when swapping AI's
...
(cherry picked from commit 851c73b3e4 )
2016-05-01 17:50:34 +02:00
Naios
a3936c143d
Core/Scripting: Fix an assertion which was triggered at lazy unloading
...
* Also fixes 2 warnings
(cherry picked from commit e82a934387 )
2016-04-12 16:54:11 +02:00
Naios
89a3fc2167
Core/Scripting: Fix loading of spell/aurascripts
...
* Broken since 9cc97f226d
* There is still a crash when using lazy unloading which I
will fix in a later commit (this commit should fix at least
the static build and normal usage of the dynamic build).
* Closes #16948
(cherry picked from commit 410cf0dd05 )
2016-04-12 15:43:27 +02:00
Naios
926dfd1b57
Core/Scripting: Fix another warning when building statically
...
(cherry picked from commit 498c1e22ca )
2016-04-11 22:37:28 +02:00
Naios
9cc97f226d
Core/Game: Rewrote the ScriptMgr to support script reloading.
...
* Finally this commit enables dynamic script hotswapping
and finished the PR #15671 .
* Split the storage layout to use optimized storages
for database bound and unbound scripts.
* Add several unload workers to reload scripts correctly
-> Requires further investigation.
* Fixes memory leaks in ScriptMgr when dropping invalid scripts.
* Fixes VehicleScripts
* Makes OutdoorPvP scripts reloadable
* Makes InstanceMapScripts reloadable
* Makes CommandScripts reloadable
2016-04-11 21:14:00 +02:00
Naios
bc0f2b6e5a
Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
...
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.
2016-04-11 21:13:59 +02:00
Naios
59e3cf82ac
Core/Game: Move scheduled map scripts counter methods into MapManager
...
* Since those have nothing to do with core scripts and are
not wished inside the ScriptMgr
2016-04-11 20:07:24 +02:00
Shauren
4e67383621
Merge branch '3.3.5-instanceextend' into 3.3.5 (PR #16392 )
...
(cherry picked from commit 62aff401f6 )
2016-04-05 20:35:59 +02:00
Naios
bf33159a70
Core/Game: Converted the game library to a shared library.
...
* There is still the possibility to static link against game.
2016-03-24 01:31:51 +01:00
Naios
28d8f7f70d
CMake: Use inherited dependencies in scripts
...
* Removes the circular dependency between game <-> scripts
(cherry picked from commit 96bc31924a )
2016-03-19 23:19:54 +01:00
Shauren
50c8efecc5
Core/Misc: Removed OnUnknownPacketReceive script hook - it could never be called
2016-03-13 00:12:42 +01:00
Naios
329225b40d
Core/Game: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
Shauren
f809e5e13e
Core/Scripts: Fixed calling UnitScript hooks
...
Closes #16543
2016-02-11 16:35:42 +01:00
jackpoz
36ed04bc6b
Scripts/Commands: Fix ".help" command to show commands in alphabetical order
...
(cherry picked from commit 841ce54a0d )
2016-01-20 21:29:21 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Naios
30c421bf57
Core/ScriptMgr: Improve commit 155a289f05
2015-11-04 21:46:26 +01:00
Naios
155a289f05
Core/ScriptMgr: Fix "conditional expression is constant" warning.
...
* introduced in commit 12d1993994
2015-11-04 21:16:39 +01:00
Naios
b7b49fe35f
Core/Globals: Use std::string rather than char* to pass script names around.
2015-11-04 20:52:13 +01:00
Naios
12d1993994
Core/ScriptMgr: Replace IsDatabaseBound() methods through traits.
2015-11-04 20:51:56 +01:00
Shauren
b09e63e9de
Core/Conditions: Optimizations part 3 removed copying condition containers all over the place
2015-10-25 13:20:28 +01:00
Shauren
2d942ddcc5
Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
...
Closes #15616
Closes #15740
2015-10-22 20:26:56 +02:00
StormBytePP
0bed9d56cb
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
2015-09-21 15:17:05 +02:00
Golrag
d999caee67
Core/AreaTrigger: Added 'bool entered' to OnTrigger
2015-04-18 11:22:30 +02:00
et65
cffcf7ef46
Core/Guilds: Fix crash on kicking offline player of a guild.
2015-04-06 17:42:16 +02:00
Carbenium
c68449f49e
Core/Emote: Fix an issue with EMOTE_STATE_READ, which persisted after closing the map
2015-03-13 22:44:23 +01:00
Naios
9a61049f88
Core/Game: Fix some issues detected by static analysis.
...
* Possible inefficient checking for 'list' emptiness.
* Variable '_scheduledScripts' is assigned in constructor body.
Consider performing initialization in initialization list.
* Variable 'Text' is assigned in constructor body.
Consider performing initialization in initialization list.
* Possible inefficient checking for 'm_loadedScripts' emptiness.
2015-03-11 08:53:13 +01:00
Kinzcool
b21c346658
Core/Misc: Implemented leveling/killing experience loading from gtOCTLevelExperience.dbc
...
* Updated the xp formula to Warlords of Draenor
2015-01-16 21:46:00 -05:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Intel
4825832c85
Merge branch '6.x' into Spells
...
Conflicts:
src/server/game/DataStores/DBCStores.h
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Server/Protocol/Opcodes.cpp
src/server/scripts/Spells/spell_druid.cpp
2014-12-07 23:20:52 +02:00
joschiwald
9cda85a388
Fixed build
2014-12-06 00:19:12 +01:00
joschiwald
cc4ebdbe05
Core/Scripts: log ScriptNames assigned in database without core script
2014-12-05 23:55:06 +01:00
Rat
2144d6c851
Core/Spells: core now builds without scripts project, still not stable
2014-11-24 18:57:49 +01:00
Intel
5f2b5a325b
Core/DataStores: Updated AreaTrigger.dbc struct
2014-11-06 01:13:06 +02:00
Intel
e1cb43e831
Core/DataStores: Fixed build after rename
2014-11-05 23:33:56 +02:00
Shauren
a363c88f03
Core/Guilds: Fifth part of converting int to bigint guids in database
2014-10-25 15:04:38 +02:00
DDuarte
f3f81f6b0b
Merge remote-tracking branch 'origin/master' into 4.3.4
2014-09-29 19:29:54 +01:00