ariel-
5f70be050f
Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60
...
Closes #15734
(cherrypicked from eac9c1f0b9 )
2019-08-17 20:04:14 +02:00
Kittnz
5291842a33
Game/Scripting: Add OnPlayerRepop hook
...
Called when a player presses release when he died
(cherrypicked from d550ba7392 )
2019-06-15 18:41:09 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
sirikfoll
e64cd5669d
Core/Scripting: Fixed hotswap calling evade mode for dead creatures
...
(cherry-picked from afa8527338 )
2018-12-09 14:18:42 +01:00
Shauren
8ed52e9dc3
Core/Scripts: Fixed ENSURE_AI assertion failures when used in Reset()/InitializeAI() hooks with hotswap
...
Updates #20727
(cherry picked from commit 2fd9dc2edb )
2018-02-05 23:41:39 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
66621a85e9
Core/Quests: Implemented player choice rewards
2017-12-31 23:22:55 +01:00
Traesh
89c91c271b
Core/Quests: Implemented player choices
...
* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
2017-12-31 23:22:55 +01:00
Traesh
422ad436c7
Core/Scripts: Added new QuestScript hooks ( #20950 )
...
* OnQuestStatusChange and OnQuestObjectiveChange
2017-12-04 17:35:37 +01:00
funjoker
465012978f
Core/Scripting: Implemented Conversation scripts ( #20758 )
2017-11-18 12:40:56 +01:00
Seyden
a9174d5eb7
Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication ( #19526 )
2017-07-20 00:15:02 +02:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
DoctorKraft
96ef820e20
Core/Hotswap: Fix Reload on Linux
...
* Closes #19465
(cherry picked from commit 04dfd78dac )
2017-05-23 19:09:51 +02:00
Shauren
c5d3dd90be
Core/Game: Include cleanup
...
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
7e538980a2
Core/Database: Include cleanup
2017-05-12 18:50:27 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Shauren
43510a258c
Core/Hotswap: Replace #ifdef conditions with comparisons of values defined in CompilerDefs.h
2017-04-15 17:15:28 +02:00
S.V
886e9e839b
Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X ( #19365 )
2017-04-05 22:02:34 +02:00
Traesh
9cc5273cd2
Core/AreaTriggers: Areatrigger rework script system + fix priest angelic feather
...
Closes #19171
2017-03-21 18:14:23 +01:00
Krudor
5a36a2eb17
Core/Scripts: Add support for spawn specific C++ scripts
...
Closes #19247
2017-03-18 11:31:31 +01:00
treeston
ee6e27a1d6
Various: Fix coverity reported issues.
...
(cherry picked from commit 84cf239fda )
Core/Scripts: kill whitespace
(cherry picked from commit 83771597c1 )
2017-03-05 01:19:55 +01:00
treeston
019fc08feb
Core/Movement: Fix a DB spline chain overload I missed in 2170541
...
(cherry picked from commit 3ec1b2f27e )
2017-03-02 20:51:25 +01:00
treeston
205ec4c3bf
Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true.
...
Movement/SplineChain: Bump value range for DB chainId up to uint16 (0 to 65535) from uint8 (0 to 255). Turns out sniffs generate far more chains than I expected.
(cherry picked from commit 2170541a51 )
Code style follow-up, I blame Notepad++.
(cherry picked from commit 7860da0de6 )
2017-03-02 20:47:29 +01:00
treeston
59d48ce7e4
Core/Movement: Add new SplineChainMovementGenerator that allows accurate replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB.
...
(cherry picked from commit 6d00d3f283 )
Merge remote-tracking branch 'Treeston/3.3.5-splinechains' into 3.3.5 (PR #17946 )
(cherry picked from commit 20f483967f )
Core/Movement: Add a convenience default ctor to SplineChainResumeInfo, and fix PCH build in some configurations (zzz why do we even keep Appveyor and Travis around).
(cherry picked from commit 4fa646c0b2 )
PCH build fix. Again.
(( Alright, you made me waste 20 minutes of my life on a full nonPCH rebuild of the core now. ))
(( I hope you're happy. ))
(cherry picked from commit 4a1a460241 )
2017-03-01 22:03:35 +01:00
Rochet2
117b45d768
Core/Scripts: Enhance quest status hook by making it catch more status changes ( #17865 )
...
(cherry picked from commit c52566a888 )
2017-02-26 15:36:01 +01:00
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
Shauren
b6f1f8405f
Core/Misc: Added regex compatibility layer to fall back to boost::regex for really old compiler
2016-12-10 19:11:10 +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
3607d9eef5
Tools: Added game tables extractor
2016-07-19 19:50:44 +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
51ec8d3b8c
Core/Scripting: Use the path of the worldserver executable to search for the scripts dir
...
* Fixes issues when starting the worldserver not in the bin directory
or the CMAKE_INSTALL_PREFIX directory using the -c option.
(cherry picked from commit 86b0fcf67a )
2016-04-18 23:03:24 +02:00
Naios
2809f11839
Core/Scripting: Use the systems temporary path for caching shared libs
...
* Disables the shared library caching on platforms completely which
never block files on usage (like linux).
(cherry picked from commit 081720b5dd )
2016-04-18 22:11:23 +02:00
Naios
d95bc7329d
Core/Scripting: Add the info how much time the system took to reload
...
(cherry picked from commit 11b5de63cb )
2016-04-18 22:11:09 +02:00
Naios
8fa52860ab
Core/Scripting: Improve the error message when the script reloader fails to create a cache entry
2016-04-16 22:07:13 +02:00
Vincent-Michael
3cd19d3b30
Core: Removed Whitespaces
2016-04-16 12:19:23 +02:00
Naios
8f78b1ed87
Core/Scripting: Fix a typo in b970a684
...
(cherry picked from commit ea627589d6 )
2016-04-14 22:17:54 +02:00
Naios
19bf0513bc
Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
...
* Thanks Shauren for the IsDebuggerPresent() hint.
(cherry picked from commit b970a68473 )
2016-04-14 21:30:52 +02:00
Naios
2038c31100
Core/Scripting: Disallow the build directory to contain spaces
...
* I wasn't able to work arround a path which contains spaces,
since it seems like a CMake specific issue.
* Closes #16947
(cherry picked from commit 42eeb28a8b )
2016-04-14 21:30:43 +02:00