Need help figuring out how to change server tickrate via lua somehow
2 replies, posted
Currently I'm running into an issue regarding the tick setting. I'm trying to figure out a way to force lua to be able to dynamically change the servers tickrate based on certain conditions.
For example multiple gamemodes that are used at different times. However one is fine tuned to tickrate 32, but another is in need of something a bit lower such as say between 16-20 tick.
Is there a way to tell the server to use a certain tickrate for specific gamemodes? or possibly a way to somehow change it before a gamemode switch without having to manually reboot the server? Alternatively is there something I could by chance do with C++ to gain access to changing server tickrate through lua?
Any references or help welcome
Sounds like an awful idea being able to change tickrate on the fly, even if you're thinking for gamemodes like BR or massive multiplayer, you're still having to deal with huge charges, so why don't you just run a 33 tickrate anyway
Anyway it would lead to awful out of sync problems and obviously fuck think hooks, don't...Just don't mess up with it
Going to be removing a bit of garbage code and rethinking how one of the gamemodes works. Possibly going to offload some work aswell and remove alot of stuff that relies on think/tick. Should resolve alot of issues then with running at 32
Sorry, you need to Log In to post a reply to this thread.