Jump to content
ATTENZIONE
  • Numerosi attacchi SPAM, che vengono bloccati, stanno provocando rallentamenti nel sito
  • [AC - APPS] AC_TrackCycle


    Alessandro Pollini

    Recommended Posts

    File Name: AC_TrackCycle

    File Submitter: Alessandro Pollini

    File Submitted: 05 Sep 2015

    File Category: APPS



    Author : Thomas Gocke

     

    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)
    - result logging into json, including all players (not only the last connected players), collision events, laps (new since 2.0) (optional upload to database and safety rating based player access will come soon)
    - 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

    trackcycler_gui-png.101311

    result-jpg.101310

    collision1-jpg.101312

    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
    - put 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>,<lapcount>,<layout>;<trackname>,<lapcount>


    cfg Template Cycle (optional):

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


    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
    <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
    /change_track spa
    /change_track ks_nordschleife,endurance
    the track(and config, separated with comma, but no space!) in /change_track needs to be in the TRACKS=... list

    - admin command for sending a message from the server
    /send_chat blablabla

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

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

    - the server does NOT change the track if restart_session or next_session is voted after the race, so people can prevent the track change if they make a successful vote. Only after the RACE_OVER_TIME has passed the server will change the track

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



    Click here to download this file

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    By using this site, you agree to our Terms of Use.