Thanks for reply. I might had something wrong in stracker config.
It works exactly as you said. KMR controls acServer and stracker detects when the server is being restarted.
I really apreciate your work on this plugin. A must have for asseto corsa server admins.
Just a few more ideas:
Add more ini options than just race length and session time. What about weather/dynamic_track?
Rotating entry list.
Next track voting through chat commands
You can change virtually any ini setting between one rotation and another.
It's all written in the readme:
- The ini_options track rotation config entry defined for each track lets you change server_cfg.ini entries before the track rotates. You could for example change the server name, the grip, the server password, the qualify time, the amount of laps, the weather or anything that comes to your mind.
- The ini_options need to includes the entries to set for each server_cfg.ini section. Let's say that we want to change the server name to "My Awesome Imola Server", the qualify time to 30 minutes, remove the practice session and set the start grip to 97% with a session grip transfer of 75%. Normally to do this we would open the file and change the NAME entry of the [SERVER] section, the TIME entry of the [QUALIFY] section, the SESSION_START and SESSION_TRANSFER of the [DYNAMIC_TRACK] as well as removing the [PRACTICE] section. We then need to set ini_options: {"SERVER": {"NAME": "My Awesome Imola Server"}, "QUALIFY": {"TIME": 30}, "PRACTICE": "remove", "DYNAMIC_TRACK": {"SESSION_START": 97, "SESSION_TRANSFER": 75}} and we're done.
- ini_options remain between one rotation and another so the server name will remain "My Awesome Imola Server" until you change it again. If a session was removed and you wish to add it back, it's enough to specify the TIME (qualify and practice) or the LAPS (race) value. It's wise to limit the amount of changes to the ones that are strictly necessary.
- The json_verify command is your friend to see if your entry is valid. To visualize an entry you can visit: http://jsonparseronline.com/
As for track voting it's an interesting idea. I can keep it in mind for the future.
Last edited: