aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptSystem.cpp
AgeCommit message (Collapse)Author
2023-04-10Core/AI: Drop script_waypoints and move data to waypoint_data (#28879)ModoX
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-06-10Core/Movement: Allow waypoints to use 0 as valid facing value (#26655)Ovah
(cherry picked from commit 4747515872775553de35cc3267e1ccd5e0076ca4)
2021-12-16Core/Movement: add a velocity argument for the spline chain meta table (PR ↵Ovah
#23575) (cherry picked from commit 3f7b2252a1d7d89d3b5e6a43aa10692c2bc8c457)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-23Core/Movement: waypoint movement (#20121)ccrs
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management. Ref 28050f3 #18020 (taking the good parts and ignoring the incomplete work) (cherry picked from commit 7fff83d67526efff63867d41b9e036a19a9287b3)
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-06-04Core/Game: Include cleanup part 5Shauren
* ObjectMgr.h * Player.h * Unit.h * G3D should no longer propagate everywhere from Spline/MotionMaster
2017-05-18Core/Game: Include cleanupShauren
* 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-03-02Core/Movement: Fix a DB spline chain overload I missed in 2170541treeston
(cherry picked from commit 3ec1b2f27ea7ecdaeb111958bf6f42fbf9ea191d)
2017-03-02Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while ↵treeston
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 2170541a51ced3c15675b8854e0ae49461884f8c) Code style follow-up, I blame Notepad++. (cherry picked from commit 7860da0de6e53c7740862cae18840c9d399dda7f)
2017-03-01Core/Movement: Add new SplineChainMovementGenerator that allows accurate ↵treeston
replication of sniffed waypoints in static sequences, along with DB facilities that allow loading of waypoints from DB. (cherry picked from commit 6d00d3f28380dd0811a18913450b1dc4f07fef48) Merge remote-tracking branch 'Treeston/3.3.5-splinechains' into 3.3.5 (PR #17946) (cherry picked from commit 20f483967fb3a430fbd54148c08b6d8e8937daac) 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 4fa646c0b2ae3261e7fab249f4177900d4c8d013) 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 4a1a460241acf511467decd92d2a30e19927d74d)
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-03-24Core/Game: Converted the game library to a shared library.Naios
* There is still the possibility to static link against game.
2016-03-11Core/Game: Move singleton instances into compilation unitsNaios
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-01-01Update copyright note for 2014.Vincent_Michael
Happy new year.
2013-11-08Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger ↵Spp
names are case-sensitive)
2013-05-13Core/Logging: Performance-related tweaks to logging systemSpp
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros. Memleak fix
2013-01-01Update copyright note for 2013.Vincent_Michael
Happy new year.
2012-12-13Core/DB: Drop table script_textsGacko
2012-11-27Core/Misc: Set mode 0644 for filesSpp
2012-08-16Core/Logging: Move more log messages to LOG_FILTER_SERVER_LOADINGSpp
2012-08-03Fix compile under windowsSpp
2012-08-03Core/Logging: Add Asyncronous logging with Loggers ("What to log") and ↵Spp
Appenders ("Where to log") system. Will allow to select to full log some parts of core while others are not even logged. - Logging System is asyncronous to improve performance. - Each msg and Logger has a Log Type and Log Level assigned. Each msg is assigned the Logger of same Log Type or "root" Logger is selected if there is no Logger configured for the given Log Type - Loggers have a list of Appenders to send the msg to. The Msg in the Logger is not sent to Appenders if the msg LogLevel is lower than Logger LogLevel. - There are three (at the moment) types of Appenders: Console, File or DB (this is WIP, not working ATM). Msg is not written to the resource if msg LogLevel is lower than Appender LogLevel. - Appender and Console Log levels can be changed while server is active with command '.set loglevel (a/l) name level' Explanation of use with Sample config: Appender.Console.Type=1 (1 = Console) Appender.Console.Level=2 (2 = Debug) Appender.Server.Type=2 (2 = File) Appender.Server.Level=3 (3 = Info) Appender.Server.File=Server.log Appender.SQL.Type=2 (2 = File) Appender.SQL.Level=1 (1 = Trace) Appender.SQL.File=sql.log Appenders=Console Server (NOTE: SQL has not been included here... that will make core ignore the config for "SQL" as it's not in this list) Logger.root.Type=0 (0 = Default - if it's not created by config, server will create it with LogLevel = DISABLED) Logger.root.Level=5 (5 = Error) Logger.root.Appenders=Console Logger.SQL.Type=26 (26 = SQL) Logger.SQL.Level=3 (2 = Debug) Logger.SQL.Appenders=Console Server SQL Logger.SomeRandomName.Type=24 (24 = Guild) Logger.SomeRandomName.Level=5 (5 = Error) Loggers=root SQL SomeRandomName * At loading Appender SQL will be ignored, as it's not present on "Appenders" * sLog->outDebug(LOG_FILTER_GUILD, "Some log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomName is found but it's LogLevel = 5 and Msg LogLevel=2... Msg is not logged * sLog->outError(LOG_FILTER_GUILD, "Some error log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomeName is found with proper LogLevel but Logger does not have any Appenders assigned to that logger... Msg is not logged * sLog->outDebug(LOG_FILTER_SQL, "Some msg related to SQLs") - Msg is sent to Logger SQL (matches type), as it matches LogLevel the msg is sent to Appenders Console, Server and SQL - Appender Console has lower Log Level: Msg is logged to Console - Appender Server has higher Log Level: Msg is not logged to file - Appender SQL has lower Log Level: Msg is logged to file sql.log * sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Some msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). As Logger has higher LogLevel msg is not sent to any appender * sLog->outError(LOG_FILTER_BATTLEGROUND, "Some error msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). Msg has lower LogLevel and is sent to Appender Console - Appender Console has lower LogLevel: Msg is logged to Console
2012-07-30Core/Misc: Use proper headers to optimize compileVincent-Michael
2012-03-27Core/DBLayer: Correct few more wrong read types (No. 4)Nay
DB/World: Some consistency in the ints "length" field (not really a length) All world dbs checked
2012-03-27Core/DBLayer: Correct few more wrong read types (No. 1)Nay
DB/World: Some consistency in the ints "length" field (not really a length) From A to D world tables verified; missing all the others int(11) -> int32 unsigned int(10) -> uint32 mediumint(8) -> int32 unsigned mediumint(8) -> uint32 smallint(6) -> int16 unsigned smallint(5) -> uint16 tinyint(4) -> int8 unsigned tinyint(3) -> uint8
2012-03-10Core/DBC: Remove store getters (useless since we don't have scripts as ↵Shauren
external dll)
2012-03-09Some random cleanup here and thereSpp
2012-01-01Update headers for 2012. HAPPY NEW YEAR!!!kiper
2011-10-28Core/Loading: Drop the field script_version from the table version.Nay
It serves no purpose (and one step closer to remove EAI from the core/db)
2011-10-07REPO: Code-style clean-upsBootz
* Fixed pMap->map * Fixed pInstance->instance * Fixed pInsta->instance * Fixed pQuest->quest * Fixed pWho->who * Fixed pTarget->target * Fixed pGo->go ~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-05-07Core: Warning fixesShauren
2011-04-29Add spaces after commasleak
2011-04-28Core/ObjectMgr: Refactor sCreatureStorageleak
2011-04-01Core: Removed unused functions (leftovers from sd2, was needed when scripts ↵Shauren
were built as separate dll)
2011-01-26Core: Generic cleanup (tab2spaces/trailing whitespace removal)leak
2011-01-01Update copyright note for 2011.Machiavelli
Happy new year.
2010-12-23Core: Removed more operator workarounds for ACE_Singleton (missed previously ↵Shauren
because of inconsistent naming) --HG-- branch : trunk
2010-12-22Core: Converted (hopefully) all remaining singletons to use ACE_Singleton classShauren
--HG-- branch : trunk
2010-12-22Removing ProgressBars as they are performing badly on startup.leak
[**************************************************] 100% R.I.P --HG-- branch : trunk
2010-12-19Streamlining loading functions for server startupleak
- Added a couple of timer outputs - Improved code consistency between loading functions - Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files) --HG-- branch : trunk
2010-10-07Remove the accidental additions of CRLF-crap from the header updatesclick
--HG-- branch : trunk
2010-10-07More copyright header updates (will this ever end?)click
--HG-- branch : trunk
2010-09-25Core/DBLayer:Machiavelli
- Fix another pesky linux specific compile error. (Thanks to Derex/Aokromes) - Fix a typo in an assertion. (Thanks to Derex/Aokromes) - Add proper zero termination in SetStructuredValue to get rid of memory issues that arose in the last few commits. - Fix a crash caused by vsprintf´ing std::string in SystemMgr::LoadVersion() --HG-- branch : trunk
2010-09-11Core/DBLayer:Machiavelli
* Rename QueryResult class to ResultSet * Rename QueryResult_AutoPtr to QueryResult * Declare ACE refcounted auto pointer for PreparedResultSet class --HG-- branch : trunk