Resource icon

Apps Kissmyrank - Local Assetto Corsa Server Plugin 1.6f

Login or Register an account to download this content
Is there some kind of an "extended tracks database" (tracks.json), where leagues and race admins have already included more tracks regarding (league-compatible) track boundaries?
 
I released 1.0 featuring track boundaries only a few days ago so, currently, all I have is what I did at dev time.
If anyone has an updated tracks.json, he can provide it here so that I can include it in the next release.
 
Yes I appreciate the feedback. I try to do all that is possible within the dev time that I have (plugin development takes a lot of time and I also need to work and stuff ;)).
Thanks for the donation :)
 
SERVER]
NAME=Open Wheels
CARS=ks_audi_r18_etron_quattro;ferrari_312t;ferrari_599xxevo;lotus_exos_125;ks_mazda_787b;pagani_zonda_r;ks_toyota_ts040;mclaren_mp412c_gt3;mercedes_sls_gt3
CONFIG_TRACK=
TRACK=mugello
SUN_ANGLE=0
PASSWORD=
ADMIN_PASSWORD=!!!!!!!!!!!!!!!
UDP_PORT=9600
TCP_PORT=9600
HTTP_PORT=81
MAX_BALLAST_KG=150
QUALIFY_MAX_WAIT_PERC=120
RACE_PIT_WINDOW_START=0
RACE_PIT_WINDOW_END=0
REVERSED_GRID_RACE_POSITIONS=0
LOCKED_ENTRY_LIST=0
PICKUP_MODE_ENABLED=1
LOOP_MODE=1
SLEEP_TIME=1
CLIENT_SEND_INTERVAL_HZ=18
SEND_BUFFER_SIZE=0
RECV_BUFFER_SIZE=0
RACE_OVER_TIME=60
KICK_QUORUM=70
VOTING_QUORUM=70
VOTE_DURATION=15
BLACKLIST_MODE=0
FUEL_RATE=2
DAMAGE_MULTIPLIER=22
TYRE_WEAR_RATE=0
ALLOWED_TYRES_OUT=4
ABS_ALLOWED=1
TC_ALLOWED=1
START_RULE=1
RACE_GAS_PENALTY_DISABLED=0
TIME_OF_DAY_MULT=1.000
RESULT_SCREEN_TIME=60
MAX_CONTACTS_PER_KM=5
STABILITY_ALLOWED=1
AUTOCLUTCH_ALLOWED=1
TYRE_BLANKETS_ALLOWED=1
FORCE_VIRTUAL_MIRROR=1
REGISTER_TO_LOBBY=1
MAX_CLIENTS=18
NUM_THREADS=2
UDP_PLUGIN_LOCAL_PORT=9606
UDP_PLUGIN_ADDRESS=192.168.0.2:9005
AUTH_PLUGIN_ADDRESS=http://192.168.0.2:9006/?
LEGAL_TYRES=
RACE_EXTRA_LAP=0
 
ports.png


SERVER]
NAME=Open Wheels
CARS=ks_audi_r18_etron_quattro;ferrari_312t;ferrari_599xxevo;lotus_exos_125;ks_mazda_787b;pagani_zonda_r;ks_toyota_ts040;mclaren_mp412c_gt3;mercedes_sls_gt3
CONFIG_TRACK=
TRACK=mugello
SUN_ANGLE=0
PASSWORD=
ADMIN_PASSWORD=admin
UDP_PORT=9600
TCP_PORT=9600
HTTP_PORT=81
MAX_BALLAST_KG=150
QUALIFY_MAX_WAIT_PERC=120
RACE_PIT_WINDOW_START=0
RACE_PIT_WINDOW_END=0
REVERSED_GRID_RACE_POSITIONS=0
LOCKED_ENTRY_LIST=0
PICKUP_MODE_ENABLED=1
LOOP_MODE=1
SLEEP_TIME=1
CLIENT_SEND_INTERVAL_HZ=18
SEND_BUFFER_SIZE=0
RECV_BUFFER_SIZE=0
RACE_OVER_TIME=60
KICK_QUORUM=70
VOTING_QUORUM=70
VOTE_DURATION=15
BLACKLIST_MODE=0
FUEL_RATE=2
DAMAGE_MULTIPLIER=22
TYRE_WEAR_RATE=0
ALLOWED_TYRES_OUT=4
ABS_ALLOWED=1
TC_ALLOWED=1
START_RULE=1
RACE_GAS_PENALTY_DISABLED=0
TIME_OF_DAY_MULT=1.000
RESULT_SCREEN_TIME=60
MAX_CONTACTS_PER_KM=5
STABILITY_ALLOWED=1
AUTOCLUTCH_ALLOWED=1
TYRE_BLANKETS_ALLOWED=1
FORCE_VIRTUAL_MIRROR=1
REGISTER_TO_LOBBY=1
MAX_CLIENTS=18
NUM_THREADS=2
UDP_PLUGIN_LOCAL_PORT=9606
UDP_PLUGIN_ADDRESS=192.168.0.2:9005
AUTH_PLUGIN_ADDRESS=http://192.168.0.2:9006/?
LEGAL_TYRES=
RACE_EXTRA_LAP=0
 

Attachments

  • config.txt
    32 KB · Views: 633
According to your config.json you need to change Assetto Corsa server_cfg.ini UDP_PLUGIN_LOCAL_PORT to 9007
Code:
UDP_PLUGIN_LOCAL_PORT=9007

15:00:49> Initializing the Web Stats Interface.
15:00:49> Starting ping check.
15:00:49> Web Stats Server running on 0.0.0.0:82
15:00:49> Web Auth Server running on 0.0.0.0:9006
15:00:49> Set Assetto Corsa server_cfg.ini AUTH_PLUGIN_ADDRESS to: 127.0.0.1:9006/?
15:00:49> The Assetto Corsa Server terminated with an error code (2). Please check your server logs.
 
Assetto Corsa is failing to start probably because of server_cfg.ini misconfig.
Please post the AC Server log file that you find in C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server\logs\ so we can understand what's wrong.
Also change "ac_server_cfg_ini_path" in config.json to (watch out for the final comma):
Code:
"ac_server_cfg_ini_path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\assettocorsa\\server\\cfg\\server_cfg.ini",
 
Assetto Corsa is failing to start probably because of server_cfg.ini misconfig.
Please post the AC Server log file that you find in C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server\logs\ so we can understand what's wrong.
Also change "ac_server_cfg_ini_path" in config.json to (watch out for the final comma):
Code:
"ac_server_cfg_ini_path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\assettocorsa\\server\\cfg\\server_cfg.ini",
13:29:39> ------------------------------------------------------------
13:29:39> Kissmyrank Assetto Corsa Server Plugin
13:29:39> Robo-admin for Public Servers
13:29:39> Version: 1.0d
13:29:39> Author: Brioche
13:29:39> No warranty of any kind.
13:29:39> ------------------------------------------------------------
13:29:39> Loading configuration.
13:29:39> max_players: 18
13:29:39> max_ping: 450ms
13:29:39> max_ping_deviation: 100ms
13:29:39> ping_check_interval: 15s
13:29:39> currency_symbol: €
13:29:39> thousand_separator: .
13:29:39> custom_chat_driver_welcome_messages: not set
13:29:39> min_money: -12.000€
13:29:39> race_min_players: 2
13:29:39> race_driver_entry_fee: 100€
13:29:39> race_sponsor_entry_fee: 1.000€
13:29:39> race_sponsor_reward_base_length: 35km
13:29:39> race_sponsor_reward_base_time: 15minutes
13:29:39> race_sponsor_clean_gain_reward: 1.000€
13:29:39> race_sponsor_clean_gain_overtakes: 5
13:29:39> race_fastest_lap_prize: 150€
13:29:39> laptime_challenge_base_prize: 10€
13:29:39> laptime_challenge_base_average_speed: 110km/h
13:29:39> laptime_challenge_level_average_speed_gap: 1km/h
13:29:39> alltime_fastest_lap_prize: 1.000€
13:29:39> damage_cost_between_cars: 1.000€
13:29:39> damage_cost_with_environment: 600€
13:29:39> collision_minimum_damage_between_cars: 1€
13:29:39> collision_minimum_damage_with_environment: 1€
13:29:39> penalty_cost: 600€
13:29:39> car_towing_cost: 50€
13:29:39> hotlap_protection: 45m
13:29:39> lapping_protection: 40m
13:29:39> relative_hotlap_protection: 0.008
13:29:39> relative_lapping_protection: 0.007
13:29:39> lapping_protection_penalty_cost: 600€ every 3 seconds
13:29:39> hotlap_protection_penalty_cost: 600€ every 3 seconds
13:29:39> warned_car_grace: 120s
13:29:39> reverse_gear_max_distance: 30m
13:29:39> reverse_gear_penalty_cost: 600€
13:29:39> max_collisions_per_session: 6
13:29:39> max_collisions_per_100km: 30
13:29:39> max_collisions_per_100km_min_distance: 100km
13:29:39> max_collisions_per_100km_recharge_hours: 6hours
13:29:39> first_lap_max_collision_player_average: 2
13:29:39> first_lap_max_collision_minimum: 10
13:29:39> minimum_driving_standard: 110% of the best lap time
13:29:39> minimum_driving_standard_laps: 12
13:29:39> minimum_driving_standard_recharge_period: 86400s
13:29:39> minimum_driving_standard_min_players: 12
13:29:39> max_track_cuts: disabled
13:29:39> track_cuts_clear_on_stop_and_go: yes
13:29:39> cut_lines_enabled: yes
13:29:39> track_boundary_cut_penalty_cost: 50€
13:29:39> track_boundary_cut_max_speed: 30km/h
13:29:39> track_boundary_same_lap_cut_max_speed: 80km/h
13:29:39> cut_lines_max_cuts: 6
13:29:39> cut_lines_cuts_clear_on_stop_and_go: yes
13:29:39> track_boundary_sample_length: 3m
13:29:39> clean_lap_reward: 25€
13:29:39> time_based_race_extra_lap: enabled
13:29:39> race_podium_announcement: enabled
13:29:39> web_stats_interface: enabled
13:29:39> race_control: disabled
13:29:39> race_control_max_events: 150
13:29:39> race_control_collision_space: 2,2m
13:29:39> race_control_collision_time: 9seconds
13:29:39> session_history_length: 30
13:29:39> database_sharing_unique_name: not set
13:29:39> database_sharing_local_group_port: disabled
13:29:39> database_sharing_remote_listen_port: disabled
13:29:39> database_sharing_remote_listen_address: disabled
13:29:39> database_sharing_remote_connect_to_addresses: disabled
13:29:39> memory_monitor_enabled: no
13:29:39> update_interval: 100ms
13:29:39> web_stats_server_address: 0.0.0.0
13:29:39> web_stats_server_port: 82
13:29:39> web_stats_cache_time: 60
13:29:39> web_stats_drivers_per_page: 600
13:29:39> web_stats_override_public_address: auto detect
13:29:39> web_stats_override_public_port: use default
13:29:39> web_admin_console_password: not set
13:29:39> web_auth_server_address: 0.0.0.0
13:29:39> web_auth_server_port: 9006
13:29:39> web_auth_cache_time: 60
13:29:39> ac_server_ip: 192.168.0.2
13:29:39> ac_server_http_port: 81
13:29:39> ac_server_plugin_local_port: 9606
13:29:39> ac_server_plugin_address_port: 9005
13:29:39> ac_server_cfg_ini_path: C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server\presets\SERVER_01\server_cfg.ini
13:29:39> ac_server_bin_path: C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server\acServer.exe
13:29:39> ac_server_log_path: C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server\logs
13:29:39> ac_server_results_base_path: C:\Program Files (x86)\Steam\steamapps\common\assettocorsa\server
13:29:39> reserved_slots_guid_list: empty
13:29:39> reserved_slots_boot_players_at_race: boot players during race
13:29:39> track_list_0: imola_ for 6 races.
13:29:39> track_list_1: monza_ for 6 races.
13:29:39> track_list_2: mugello_ for 6 races.
13:29:39> track_list_3: ks_silverstone_gp for 6 races.
13:29:39> track_list_4: ks_vallelunga_extended_circuit for 6 races.
13:29:39> track_list_5: spa_ for 6 races.
13:29:39> track_list_6: magione_ for 6 races.
13:29:39> track_list_7: ks_nurburgring_layout_gp_a for 6 races.
13:29:39> track_rotation_max_players: 99
13:29:39> track_rotation_vote_min_percent: 60
13:29:39> track_rotation_vote_min_votes: 4
13:29:39> before_ac_server_start_run_path: not set
13:29:39> after_ac_server_start_run_path: not set
13:29:39> ac_server_restart_if_inactive_for_minutes: 90minutes
13:29:39> ------------------------------------------------------------
13:29:39> Starting the Kissmyrank Plugin v1.0d.
13:29:39> rank.json not found.
13:29:39> leaderboard.json not found.
13:29:39> Backing up config.json.
13:29:39> Backing up tracks.json.
13:29:39> Backing up leaderboard.json.
13:29:39> Cannot backup leaderboard.json.
13:29:39> Backing up rank.json.
13:29:39> Cannot backup rank.json.
13:29:39> Backing up Assetto Corsa server_cfg.ini.
13:29:39> Backing up Assetto Corsa entry_list.ini.
13:29:39> Loaded 0 players from rank.json.
13:29:39> Loaded 17 tracks from tracks.json.
13:29:39> session_history.json not found.
13:29:39> Starting the Assetto Corsa Server.
13:29:39> Initializing the Web Stats Interface.
13:29:39> Starting ping check.
13:29:39> Web Stats Server running on 0.0.0.0:82
13:29:39> Web Auth Server running on 0.0.0.0:9006
13:29:39> Set Assetto Corsa server_cfg.ini AUTH_PLUGIN_ADDRESS to: 127.0.0.1:9006/?
13:29:42> Track rotation is ENABLED.
13:29:42> Kissmyrank Console is ready. Use TAB for command autocompletion. Type "help command_name" to get help.
13:29:54> Error: Cannot read property '0' of undefined
 
You haven't fixed the config.json line:
Code:
"ac_server_cfg_ini_path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\assettocorsa\\server\\cfg\\server_cfg.ini",
.
If you want I can help you via teamviewer to set it up (just send me your id and password via personal message if you wish).

Regarding your question. If track rotation is enabled then you just start KMR (make sure that the Assetto Corsa Server is not running).
If track rotation is disabled then you have to manually start it.

Edit: solved via Teamviewer.
 
Last edited:
Brioche updated Kissmyrank - Local Assetto Corsa Server Plugin with a new update entry:

Version 1.0e

v1.0e Fixed: saving big JSON files causes delays during the session switch process. Fixed: saving big JSON files can cause high memory consumption (potentially leading to a crash on low specs systems). Fixed: circular reference error popping up when quickly refreshing the online Web Stats. Please note that quitting the plugin might take slightly longer now, as the database write process is optimized to use a limited amount of resources (this will keep more resources free for the other...

Read the rest of this update entry...
 
Brioche updated Kissmyrank - Local Assetto Corsa Server Plugin with a new update entry:

Version 1.0f

v1.0f New: Wins, Podiums, Poles and Fastest Laps counters are now part of the Kissmyrank statistics. Fixed: Reserved Slots handler not freeing a slot when a VIP connects to a full server. Improved: Web Stats Results now show the cut count, the collision count and the tyre change history for each driver that completed the race. Fixed: Web Stats online list sorts positions as text instead of number. Added: Kissmyrank version information is now shown in the Web Stats Pages footer. Improved: the...

Read the rest of this update entry...
 
Is there a possibility to leave the money counters to zero and leave the counters of the times?

If you wish, you can disable penalties, damage and rewards by setting them to 0.
However the rank table is sorted using money so you should at least leave the possibility to earn money somehow.
Also keep in mind that if you disable money you will also disable driver rating.
 
Our idea is that each month the money counters are restarted and the profits are uploaded to our website, but we would like the lap records not to be eliminated.
 

Latest News

How long have you been simracing

  • < 1 year

    Votes: 282 15.2%
  • < 2 years

    Votes: 190 10.2%
  • < 3 years

    Votes: 192 10.4%
  • < 4 years

    Votes: 140 7.5%
  • < 5 years

    Votes: 249 13.4%
  • < 10 years

    Votes: 222 12.0%
  • < 15 years

    Votes: 139 7.5%
  • < 20 years

    Votes: 112 6.0%
  • < 25 years

    Votes: 85 4.6%
  • Ok, I am a dinosaur

    Votes: 244 13.2%
Back
Top