Resource icon

AC_TrackCycle 2.8.3

Login or Register an account to download this content
AC_TrackCycle
=============

Features:
---------
- track cycles automatically after race end
- track cycle via admin command
- complete cfg template cycle (new since 2.0)
- server message to inform players of incoming track change (new since 2.0)
- session control tab (new since 2.4)
- connected drivers tab (new since 2.4)
- track graph tab (new since 2.4)
- result logging into json, including all players (not only the last connected players), collision events, laps (new since 2.0)
- server chat via server GUI or server command line (new since 2.0)
- server chat via admin command (new since 2.0)
- server private message via admin command (new since 2.2)
- results displayed as server chat messages including best lap and incidents (new since 2.0)
- near real-time incident report as server chat message including involved cars and impact speed (new since 2.0)
- live fastest lap in session broadcast (new since 2.1)
- driver welcome message (new since 2.1)
- complete C# source code on https://github.com/flitzi/AC_SERVER_APPS

1.png

2.png

3.png

4.png

result.jpg

collision1.jpg


Installation:
-------------
- Extract the files into your AC/server directory, next to acServer executable or extract anywhere else and set ac_server_directory in exe.config to folder where acServer executable is located
- If not already installed you need .NET 4.0


Configuration:
--------------
Plugin for result, report and server chat functionality
- add/edit these lines in the server_cfg.ini (you may adjust the ports, the ports are read from the server_cfg.ini)

UDP_PLUGIN_ADDRESS=127.0.0.1:12000
UDP_PLUGIN_LOCAL_PORT=11000


Track Cycle (optional):

- put this section in your server_cfg.ini
[TRACK_CYCLE]
TRACKS=spa,5;ks_nordschleife,endurance,2;mugello,6;nurburgring,6;silverstone,6;imola,6

syntax is like this <trackname>,<lapcount>;<trackname>,<layout>,<lapcount>;<trackname>,<lapcount>


Presets Cycle (optional):

- fill the name of the preset directory that includes a server_cfg.ini and/or entry_list.ini in the exe.config key presets_cycle, separated with ;
e.g.
<add key="presets_cycle" value="spa_gt3;nurburgring_street_mix"/>

the default directory stucture for this then should be:

/acserver.exe
/presets/spa_gt3/server_cfg.ini
/presets/spa_gt3/entry_list.ini
/presets/nurburgring_street_mix/server_cfg.ini
/presets/nurburgring_street_mix/entry_list.ini

you can change the presets directory name in the exe.config with the key ac_presets_directory ( note: before 2.7.8 this was always the cfg directory, but since acServerManager.exe creates a presets directory why not use that as default. If you want the 2.7.7 behaviour use <add key="ac_presets_directory" value="cfg"/> )

note: If you have the [TRACK_CYCLE] block in the default cfg/server_cfg.ini then this will take priority over the presets cycle.


In the exe.config you can also specify which incidents are broadcasted, 0=off, 1=only car with car, 2=all
<add key="broadcast_incidents" value="2"/>

You can specify the number of result broadcast positions
<add key="broadcast_results" value="10"/>

You can specify whether fastest lap set in session should be broadcasted live, 0=off, 1=on, 2=every lap
<add key="broadcast_fastest_lap" value="1"/>

You can specify the welcome message. For multiple lines use the | for line breaks. To disable set to empty string.
<add key="welcome_message" value="Welcome $DriverName$ to $ServerName$!|Please drive respectfully!"/>

- if you uncheck "Change track after race" the track will not be cycled after the race, you can flip this option while the server is running, so if you like to stay on the track for some races just uncheck, if you have enough, check.

- the "Next Track" button switches the track immediately

- you can also use admin commands to change the track while you are in the game, just type in the chat after you authorized yourself as admin with /admin myPassword

/next_track
switches to the next track in list

/change_track spa
/change_track ks_nordschleife,endurance (separated with comma, but no space)
the track in needs to be in the TRACKS=... list
this also works with the id of the track that is shown with /list_tracks, e.g. /change_track 1

/queue_track spa
/queue_track ks_nordschleife,endurance (separated with comma, but no space)
the track in needs to be in the TRACKS=... list
this also works with the id of the track that is shown with /list_tracks, e.g. /queue_track 1


- everyone can use these commands in the chat

/list_tracks
lists the all the tracks in the cycle

/vote_track spa
/vote_track ks_nordschleife,endurance (separated with comma, but no space)
the track in needs to be in the TRACKS=... list
this also works with the id of the track that is shown with /list_tracks, e.g. /vote_track 1
you can only vote once per cycle, it doesn't matter when you vote (practice/qualify/race)
the track with the most votes will be the next track, unless the server admin chooses something else
if multiple tracks have the same amount of votes, none of them is used

- admin command for broadcasting a message from the server
/broadcast blablabla

- admin command for sending a message from the server to a specific player
/send_chat carId blablabla


note:
- chat started with / is not visible to other players

- the result json are saved in the "sessionresults" folder

- for the track graph to work you need the official map.png and map.ini in the official folder structure. If you run acServer from a complete game steam installation, they will be found. If you are having a standalone server installation, you can put the two files per track in the content/tracks subfolders (where the surface.ini files are)


old Changelog:
--------------------

2.0.0 (2015/08/05)
- new AC 1.2 server plugin functionality

1.3.0 (2015/05/10)
- added console version
- flushing log file immediately

1.2.0 (2015/03/12)
- now possible to use different TRACK_CONFIG

1.1.0 (2015/03/08)
- option to create logs
- writing log after each track change and flushing log after 50000 lines to prevent high memory usage

1.0.0
- initial release

Latest updates

  1. AC_TrackCycle

    2.8.3 (2021/03/17) - added change_track_immediately_if_percentage_of_players_voted config option
  2. AC_TrackCycle

    2.8.2 (2021/03/11) - fixed missing enable_white_list key in AC_TrackCycle.exe.config
  3. AC_TrackCycle

    2.8.1 (2021/02/20) - votes now change track if auto_change_track = 0 - if several tracks get the...

Latest reviews

Great although theres a default welcome message when downloading through egs?
Excellent plugin. Thanks. Any way to configure race in mins rather than laps ?
Too difficulkt for a noob, not enough info to explain how to use it
Love it
Great little app
Excellent resource. Took me a minute to get it setup and understand and now it works perfect. Thank you.
Can I use this on a rented server with FTP access?
ThomasGocke
ThomasGocke
you need to start a different exe (and not start acserver.exe) so probably not without talking with the host. You could try Elite Games Servers, they have or at least had it running.
This app is perfect if you host a server and dont have time to always change tracks and cars. With the presets option the players on my server have now 18 options to vote for. Simply briljant!
Amazing app to manage things on the server side!
Hi All

Track Change Demonstration

SWITCH THE TRACK VIDEO LINK

http://steamcommunity.com/sharedfiles/filedetails/?id=1107178156

BIG THX Thomas

Have Fun
working in linux server ?
ThomasGocke
ThomasGocke
yes, using mono. Please use support thread for questions.
conflict with ptracker?
ThomasGocke
ThomasGocke
you probably mean sTracker. If you use TrackCycle as broadcaster for the other plugins it should work.
http://www.racedepartment.com/threads/ac_trackcycle.109505/page-8#post-2358255
Hi Thomas

Many thanks with me everything goes as always thank you.

Vielen dank bei mir geht alles wie immer danke.

Grazie a me tutto va come sempre Grazie
ThomasGocke
ThomasGocke
thx for letting me know
Have been using this on some of my drift servers for months now works sweet good work well done. Thanks for making a console version to as have that working on tcadmin :P
Good app and excellent support
THX, Danke Thomas
Absolutely fantastic app.

Thanks for the update man !
Premium
Perfect solution for track rotation without booking mode. !!
Thanks for all your efforts ;)
Once system understood ( maybe better didactically explained, maybe the reason of so few reviews: download but maybe not applied for this reason ), it works perfectly.
It has everything I needed to be my own server admin. Thank you so much.
I can't work with this, how start server, with this program only? first acmanager? after? how change cars? server ini? acmanager? I run console or both, ports what ports? I cant start this program (I have run AC servers 1 year now with old manager with new manager and with server_cfg but this is hard please make a tutorial or make readme file more friendly
ThomasGocke
ThomasGocke
You can configure cars as usual with acservermanager.
You can specify the plugin address/ports in acservermanager like this: http://www.racedepartment.com/threads/ac_trackcycle.109505/page-4#post-2156693
Once you copied server_cfg.ini and entry_list.ini to your server/cfg directory, you need to add these two lines to the server_cfg.ini

[TRACK_CYCLE]
TRACKS=spa,5;ks_nordschleife,endurance,2;mugello,6;nurburgring,6;silverstone,6;imola,6

Then you start AC_TrackCycle.exe (don't start acServer.exe manually)

Latest News

Author
ThomasGocke
Downloads
4,210
File size
261.3 KB
Views
31,944
First release
Last update
User rating
4.65 star(s) 20 ratings

How long have you been simracing

  • < 1 year

    Votes: 559 17.4%
  • < 2 years

    Votes: 379 11.8%
  • < 3 years

    Votes: 341 10.6%
  • < 4 years

    Votes: 243 7.6%
  • < 5 years

    Votes: 390 12.1%
  • < 10 years

    Votes: 367 11.4%
  • < 15 years

    Votes: 215 6.7%
  • < 20 years

    Votes: 168 5.2%
  • < 25 years

    Votes: 136 4.2%
  • Ok, I am a dinosaur

    Votes: 419 13.0%
Back
Top