lesvieuxcrevards Posted September 13, 2017 Report Share Posted September 13, 2017 HI, I've questions regarding decay timer : What is maximum value for these timers? Does it possible to turn off ? Best Regards Link to comment Share on other sites More sharing options...
DirtySanchez Posted September 15, 2017 Report Share Posted September 15, 2017 Hi there, If referring to the database expiration times. These can be edited to your liking and are in seconds. Increase these numbers to keep the db entries longer than default times Decrease these numbers to have the db remove entries quicker than default times I do not believe there is a limit to how high you can make these numbers These entries are necessary for the system to function properly and stay optimized over long periods of time.epochconfig.hpp Here is the ExpiresBuilding entry I feel you are asking about in reference to "decay"https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/%40epochhive/epochconfig.hpp#L81 EPOCH_server_loadBuildings.sqf Here is the function loading the config entry (_maxTTL)https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server/compile/epoch_bases/EPOCH_server_loadBuildings.sqf#L18 Here is the damage given to buildings based on that number. (_ttl / _maxTTL)https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server/compile/epoch_bases/EPOCH_server_loadBuildings.sqf#L70 Where _ttl(Total Time from Database) is divided by _maxTTL(Max Total Time from config) and it results in the _damage applied(if any) at server start Hope this helps you come to the conclusion you need or the direction to make the necessary changes to your liking. lesvieuxcrevards 1 Link to comment Share on other sites More sharing options...
lesvieuxcrevards Posted September 15, 2017 Author Report Share Posted September 15, 2017 Thank you i will check and setup these update on my server. DirtySanchez 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now