aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting
AgeCommit message (Collapse)Author
2025-06-22Core/Players: PlayerChoice improvementsShauren
* Add missing choice properties to database (InfiniteRange, ShowChoicesAsList) * Allow limiiting the number of responses sent at the same time * Fixed duration sent in SMSG_DISPLAY_PLAYER_CHOICE * Remove dynamically generated response identifiers from database * Remove auto rewarding choice responses * Change response scripts to be bound to scriptname
2025-06-13Core/Scripts: Mark script base class constructors noexceptShauren
2025-06-11Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflictShauren
2025-06-10Core/Misc: Kill copy/move constructors for singleton classesShauren
2025-05-19Core/Scripts: Fixed WorldMapScript being unintentionally restricted to one ↵Shauren
script for a given map id
2025-05-07Core/Misc: Minor compile time improving changesShauren
2025-04-08Core/Network: Socket refactorsShauren
* Devirtualize calls to Read and Update by marking concrete implementations as final * Removed derived class template argument * Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor * Make socket initialization easier composable (before entering Read loop) * Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2024-12-28Core/AI: Implemented conversation ai (#30538)ModoX
2024-04-22Core/Misc: Support boost 1.85Shauren
2024-04-05Core/Scripts: Added basic types for async script actionsShauren
2024-03-28Core/Battlegrounds: Move to scripts (#29799)Jeremy
* Introduce new BattlegroundScript class for map/bg specific scripts * Remove all sub, zone specific, battleground classes except Arena * Move all bg zone scripts to new BattlegroundScripts class in script folder * Remove ZoneScript from Battleground class * Remove some unused hooks from Battleground
2023-07-24Scripts/Spells: Modernize spell script internals a bit - this makes Prepare ↵Shauren
macros unneccessary
2023-07-19Scripts/Spells: Allow using templated spell script with multiple template ↵Shauren
arguments in RegisterSpellScriptWithArgs * Also fixed some script conversion issues
2023-07-09Core/SAI: Implemented new source type SMART_SCRIPT_TYPE_EVENT (3) (#28816)Meji
2023-06-28Core/Conversation: Implemented OnConversationStart and OnConversationUpdate ↵ModoX
hooks (#29086)
2023-06-24Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate scriptShauren
2023-06-14Core/Misc: Replace std::abort with our ABORT macroShauren
* libmysql is not a well behaved library on windows, it installs its own SIGABRT handler every time a new connection is opened, overriding our own
2023-05-13Core/Misc: Replace string to int conversion functions from Common.h with ↵Shauren
c++17 std::from_chars based ones Trinity::StringTo
2023-04-10Core/AI: Drop script_waypoints and move data to waypoint_data (#28879)ModoX
2023-04-06Core/Misc: Modernize code a bit by replacing std::tie with either structured ↵Shauren
bindings or operator<=>
2023-02-05Core/Objects: Move EventProcessor update to WorldObject::UpdateShauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2023-01-07Core/Misc: Include cleanup, 2023 editionShauren
2023-01-01Core/Misc: Fixed deprecation warnings for c++20Shauren
2022-11-06Core/Misc: Added noexcept to move constructors and move assignment operatorsShauren
2022-10-05Core/Scripts: Fixed worldserver startup with hostwap enabled when ran in ↵Shauren
terminals that don't pass full path to argv[0]
2022-07-25Core/Maps: Split Ebon Hold and Exile's reach by faction and removed forced ↵Shauren
sanctuary hack
2022-07-23Core/Maps: Move terrain data handling out of Map classShauren
Partial port of cmangos/mangos-wotlk@ff5232c64809207b5fa59d62e9870f58a36b6f3f
2022-07-19Core/Battlefields: Refactor Battlefield creation to be linked to host map ↵Shauren
creation instead of having globally accessible objects
2022-07-18Core/OutdoorPvP: Refactor OutdoorPvP creation to be linked to host map ↵Shauren
creation instead of having globally accessible objects
2022-06-25Core/World: implement database support for default map and realm wide world ↵Shauren
states Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-06-10Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)Ovah
(cherry picked from commit 4747515872775553de35cc3267e1ccd5e0076ca4)
2022-06-07Core/Transports: Path generation rewrite v2Shauren
* No TaxiPathNode row is skipped anymore (events/delays on first node now work) * Fixed transport animation synchronization with client * Fixed stoppable transports randomly resuming their path after relogging Closes #27985
2022-03-20Core/Scripting: Get rid of ModifyVehiclePassengerExitPos (#27126)offl
(cherry picked from commit d7adc50daa5a20142e0f39a9f65d39869525fd0e)
2022-03-09Core/Game: Fix cache path with git flow branches (#26494)ihm-tswow
- git flow may put forward slashes in branch names, so we cannot assume we are just creating one directory. (cherry picked from commit 471e5af32d24f99bea987ea4705f0165c9ece4d6)
2022-03-05Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf (cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-02-27Core/ChatCommands: Add `trinity_string` support for chat command helpTreeston
(cherry picked from commit 26c510775c6a1995d81b16ad7459227381801dcc)
2022-02-27[3.3.5] ChatCommands, the other half: chat command resolution refactor (PR ↵Treeston
#25463) (cherry picked from commit 1eca51b417678b9a48b28552925d5694105f82bb)
2022-02-15Core/Scripts: Fix Hotswap not reinitializing AIs after destroying them and ↵Seyden
then crashing due to AI being nullptr (#27744)
2022-02-13Core/Misc: Minor game include cleanupShauren
2022-02-12Core/Misc: Move (or delete) constructors and destructors to .cpp files ↵Shauren
(avoids compiling them in every file that includes them)
2022-02-11Core/Misc: Optimize ChatCommand includes (include only where neccessary)Shauren
2022-02-08Core/Scripts: Added script hook to execute actions after completing an ↵Meji
achievement (#27718)
2022-02-05Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to ↵Treeston
TryHandleOnce, and make its return value useful. (cherry picked from commit 0c7f6ac89fcc5fdc7f4435a6c1b673c752eb1e41)
2022-02-05Scripts/IcecrownCitadel: correct Rimefang's script nameTreeston
(cherry picked from commit fc3feebee9e26ec5bc21a46f37b5affe416582c6)
2022-02-04Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and ↵Shauren
remove it (cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-02-03Core/Scripts: Unify RegisterSpellScript and RegisterAuraScript macros to do ↵Shauren
the same thing and implemented passing custom arguments to spell script classes (cherry picked from commit 75a6a7a0ad48874e75dd71f766dad3707341bb32)
2022-01-26Core/Unit: Make HandleEmoteCommand typesafe (#25249)Peter Keresztes Schmidt
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter * Scripts/HoR: Fix wrong emote during escape event * Core/Unit: Make improve type safety of HandleEmoteCommand Change argument type to the expected enum type Emote * Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE UNIT_NPC_EMOTESTATE is no flag field (cherry picked from commit 6c7837f947ff4eb5110a116a371daa6f9e2b3bbe)
2022-01-24Core/EventProcessor: std::chrono-ify CalculateTimeCarbenium
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset). Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool) (cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
2022-01-23Dep: Switch to boost process instead of old standalone versionShauren
(cherry picked from commit 524d16739861d0b2279e2270e319b0c77ec9b03b)