ALWAYS BACK UP YOUR DATA FILES IN THE LUAFILES FOLDER BEFORE UPDATING
v2 is a major data handling rewrite as 5 months since release, data files on servers are getting larger and larger. A lot of these updates are aimed at reducing memory consumption on servers.
Load StatTracker after you load game mode mods now, see updates below for details.
Memory use reduction
Loaded data is now stored as a single string instead of a nested table
This change seems to reduce server memory use by 30-40% with larger datasets
Placeholder data values that StatTracker detects are unused will now be removed. StatTracker will search for other gametypes that it tracks on load, and if it doesn't find some or all of them, it will remove placeholder values from data to reduce memory load.
For servers that only run vanilla, this is a filesize reduction of 50% for time record files, and 30% for the player file.
If you only occasionally load game modes on to your server, keep them loaded at all times, load them before StatTracker in your load order, and disable them via their respective console commands instead. StatTracker will lose/overwrite data if it does not see the game mode loaded.
Added additional admin vars to disable individual components of StatTracker so they are not loaded and consume memory. Remember to delete the associated file from the server's luafiles folder to get the full benefit from this. All these vars are on by default.
Data loading has been rewritten as loading large data sets was hanging up the client for a significant period of time. This loading time has now been almost completely removed.
Slightly rewrote saving functions to improve their speeds.
Additional notes
Added a converter for inputs from "MAPXX" format to it's numeric version for console commands.
st_mapdata now accepts "MAPXX" as a valid command
Added admin command st_clearmaprecord [MAPXX] to delete time records of the specified map.
This is so you can wipe out records that have become out of date due to map updates.
There is some validation on your input, but if you type the wrong map it's record WILL be wiped permanently, so be careful.
Added client command st_recordsound [ON/OFF] to mute character gloat sounds on getting a new record
Also added st_recordsound to autogenerated stattracker.cfg file
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.