stracker

Apps stracker 3.5.1

Login or Register an account to download this content
Hi Neys,

After the 1.12 update to AC I noticed something in the changelog:

"Added Tyre compound on race_out.json and server result"

My question is: does this make possible sTracker knowing the tyres used of every car, not just the ones running pTracker?

Thanks for a great app btw, 5 stars man!
 
Hi Neys,

After the 1.12 update to AC I noticed something in the changelog:

"Added Tyre compound on race_out.json and server result"

My question is: does this make possible sTracker knowing the tyres used of every car, not just the ones running pTracker?

Thanks for a great app btw, 5 stars man!

Hi Alex

I don't think so - this would mean stracker would have to parse the race_out.json file, and that is not something on my list (if anyone else feels like he want to do it : patches are welcome :) )

Greetings
Neys
 
here is my .log on linux

-bash-4.1$ ./stracker --stracker_ini stracker.ini
stracker[INFO ]: Logging to ./stracker.log
Starting stracker - press ctrl+c for shutdown

stracker[INFO ]: Log verbosity changed: 2
stracker[ERROR]: Cannot read file with bad words (bad_words.txt): [Errno 2] No such file or directory: 'bad_words.txt'
stracker[STDOUT]: Starting stracker - press ctrl+c for shutdown
stracker[INFO ]: Lowered stracker priority.
stracker[INFO ]: Using database './stracker.db3'
stracker[INFO ]: Using plugin configuration rcvport=8003 sendport=8002 proxy=(None/None)
stracker[INFO ]: Plugin listens to port 8003 and sends to port 8002.
stracker[INFO ]: Using database './stracker.db3'
stracker[INFO ]: Enabled keep alive (30 seconds/3 seconds/10 tries) for the connection (linux).
stracker[ERROR]: (last message repeated 1 times)
stracker[ERROR]: Unexpected error, finishing connection of guid None
stracker[ERROR]: Traceback:
stracker[ERROR]: Traceback (most recent call last):
File "stracker/stracker_lib/ac_monitor.py", line 1427, in handle
File "ptracker_lib/ps_protocol.py", line 1216, in unpack_item
ptracker_lib.ps_protocol.ProtocolError: Protocol error: Unknown request ID 8276

stracker[ERROR]: Unexpected error, finishing connection of guid None
stracker[ERROR]: Traceback:
stracker[ERROR]: Traceback (most recent call last):
File "stracker/stracker_lib/ac_monitor.py", line 1427, in handle
File "ptracker_lib/ps_protocol.py", line 1216, in unpack_item
ptracker_lib.ps_protocol.ProtocolError: Protocol error: Unknown request ID 8276

stracker[INFO ]: Enabled keep alive (30 seconds/3 seconds/10 tries) for the connection (linux).
stracker[ERROR]: Unexpected error, finishing connection of guid None
stracker[ERROR]: Traceback:
stracker[ERROR]: Traceback (most recent call last):
File "stracker/stracker_lib/ac_monitor.py", line 1427, in handle
File "ptracker_lib/ps_protocol.py", line 1216, in unpack_item
ptracker_lib.ps_protocol.ProtocolError: Protocol error: Unknown request ID 8276

I cant open my sTracker server
 
Here are the configs. All ports are allowed on my firewall.

server_cfg.ini
[SERVER]
NAME=acserverph.ml | server 1 Philippines
CARS=ks_audi_r8_lms;bmw_m3_gt2;bmw_z4_gt3;ks_corvette_c7r;ferrari_458_gt2;ks_lamborghini_huracan_gt3;ks_mclaren_650_gt3;mclaren_mp412c_gt3;ks_mercedes_amg_gt3;ks_nissan_gtr_gt3
CONFIG_TRACK=layout_gp
TRACK=ks_barcelona
SUN_ANGLE=-16
PASSWORD=
ADMIN_PASSWORD=wwwww
UDP_PORT=9001
TCP_PORT=9001
HTTP_PORT=8001
MAX_BALLAST_KG=0
QUALIFY_MAX_WAIT_PERC=120
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=180
KICK_QUORUM=85
VOTING_QUORUM=80
VOTE_DURATION=20
BLACKLIST_MODE=1
FUEL_RATE=100
DAMAGE_MULTIPLIER=100
TYRE_WEAR_RATE=100
ALLOWED_TYRES_OUT=2
ABS_ALLOWED=1
TC_ALLOWED=1
START_RULE=0
RACE_GAS_PENALTY_DISABLED=0
RESULT_SCREEN_TIME=60
MAX_CONTACTS_PER_KM=3
STABILITY_ALLOWED=0
AUTOCLUTCH_ALLOWED=0
TYRE_BLANKETS_ALLOWED=0
FORCE_VIRTUAL_MIRROR=1
REGISTER_TO_LOBBY=1
MAX_CLIENTS=20
NUM_THREADS=2
UDP_PLUGIN_LOCAL_PORT=8002
UDP_PLUGIN_ADDRESS=127.0.0.1:8003
AUTH_PLUGIN_ADDRESS=
LEGAL_TYRES=
RACE_EXTRA_LAP=0
WELCOME_MESSAGE=cfg/welcome message.txt

[FTP]
HOST=
LOGIN=
PASSWORD=
FOLDER=
LINUX=

[QUALIFY]
NAME=Qualify
TIME=15
IS_OPEN=1

[RACE]
NAME=Race
LAPS=8
TIME=0
WAIT_TIME=30
IS_OPEN=1

[DYNAMIC_TRACK]
SESSION_START=95
RANDOMNESS=2
SESSION_TRANSFER=90
LAP_GAIN=10

[WEATHER_0]
GRAPHICS=3_clear
BASE_TEMPERATURE_AMBIENT=18
BASE_TEMPERATURE_ROAD=6
VARIATION_AMBIENT=1
VARIATION_ROAD=1

[WEATHER_1]
GRAPHICS=7_heavy_clouds
BASE_TEMPERATURE_AMBIENT=15
BASE_TEMPERATURE_ROAD=-1
VARIATION_AMBIENT=1
VARIATION_ROAD=1

[DATA]
DESCRIPTION=
EXSERVEREXE=
EXSERVERBAT=
EXSERVERHIDEWIN=0
WEBLINK=
WELCOME_PATH=D:\SteamLibrary\steamapps\common\assettocorsa\server\welcome message.txt

stracker.ini
[STRACKER_CONFIG]
; Server ip address or name used to poll results from. You should not touch the default value: 127.0.0.1
ac_server_address = 127.0.0.1
; Path to configuration file of ac server. Note: whenever the server is restarted, it is required to restart stracker as well
ac_server_cfg_ini = /kamaynes/acServer/cfg/server_cfg.ini
; Set to 1, if you want to append to log files rather than overwriting them. Only meaningful with external log file rotation system.
append_log_file = False
; set to false, if you want to disable the TCP keep_alive option (that was the behaviour pre 3.1.7).
keep_alive_ptracker_conns = True
; Listening port for incoming connections of ptracker. Must be one of 50042, 50043, 54242, 54243, 60023, 60024, 62323, 62324, 42423, 42424, 23232, 23233, <AC udp port>+42; ptracker will try all these ports on the ac server's ip address (until a better solution is found...)
listening_port = 50042
; name of the stracker log file (utf-8 encoded), all messages go into there
log_file = ./stracker.log
; Valid values are "info", "debug" and "dump". Use "dump" only for problem analysis, log files can get very big.
log_level = info
; set to true, if you want the log messages to be prefixed with a timestamp
log_timestamps = True
; set to true, if you want stracker to reduce its priority. Will use BELOW_NORMAL on windows and nice(5) on linux.
lower_priority = True
; set to 1, if you want stracker to compare the players checksums.
perform_checksum_comparisons = False
; Configure which ptracker instances shall be allowed to connect: Valid values are "any", "newer" or "none".
ptracker_connection_mode = any
; name for the server; sessions in the database will be tagged with that name; useful when more than one server is running in parallel on the same database
server_name = aacserverph.ml acserver
; set to 1, if you want the messages appear on stdout
tee_to_stdout = False


[SWEAR_FILTER]
; Valid values are "none", "kick" and "ban".
action = none
; Number of days the player shall be banned (if action is "ban").
ban_duration = 30
; Specify the number of warnings issued before the player is going to be kicked.
num_warnings = 3
; Specify a file with bad words (one in each line). See https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words for examples.
swear_file = bad_words.txt
; message sent to player after a swear detection
warning = Please be polite and do not swear in the chat. You will be %(swear_action)s from the server after receiving %(num_warnings_left)d more warnings.


[SESSION_MANAGEMENT]
; What to do when the race is over and no player is actively racing. Valid values are: "none" or "skip".
race_over_strategy = none
; Number of seconds to wait before the session skip is executed (if race_over_strategy is set to "skip")
wait_secs_before_skip = 15


[MESSAGES]
; Lap times below this threshold (in percent of the best time) will be broadcasted as best laps. Lap times above this will be whispered to the player achieving it.
best_lap_time_broadcast_threshold = 105
; set to 1 to enable car to car private messages.
car_to_car_collision_msg = True
; available message types are "enter_leave","best_lap","checksum_errors","welcome","race_finished" and "collision". Connect them using a + sign without spaces.
message_types_to_send_over_chat = best_lap+welcome+race_finished


[DATABASE]
; Only relevant if database_type=sqlite3. Path to the stracker database. If a relative path is given, it is relative to the <stracker> executable
database_file = ./stracker.db3
; Valid values are "sqlite3" and "postgres". Selects the database to be used.
database_type = sqlite3
; Set to "False", if you do not want stracker to backup the database before migrating to a new db version. Note: The backups will be created as sqlite3 db in the current working directory.
perform_backups = True
; name of the postgres database.
postgres_db = stracker
; name of the host running the postgresql server.
postgres_host = localhost
; name of the postgres user password.
postgres_pwd = password
; name of the postgres user.
postgres_user = myuser


[DB_COMPRESSION]
; Interval of database compression in minutes.
interval = 60
; Various options to minimize database size. Valid values are "none" (no compression, save all available infos), "remove_slow_laps" (save detailed infos for fast laps only) and "remove_all" (save no detailed lap info).
mode = none
; If set to 1, database compression will only take place if the server is empty.
needs_empty_server = 1


[HTTP_CONFIG]
; password for the stracker admin pages (leaving it empty results in disabled admin pages
admin_password = wwwww
; username for the stracker admin pages (leaving it empty results in disabled admin pages
admin_username = wwwww
; Set to a file to be used for logging http authentication requests. Useful to prevent attacks with external program (e.g., fail2ban).
auth_log_file =
; icon to be used in webpages (leave empty for default Assetto Corsa icon)
banner =
; Enable paypal link for letting users donate to the author. If you do not like that, switch it off.
enable_paypal_link = False
; set to false if you do not want svg graphs in the http output (for saving bandwidth)
enable_svg_generation = False
; set to 1, if you want to start a http server for statistics access
enabled = False
; set to true to get the navbar inverted (i.e., dark instead of bright)
inverse_navbar = True
; number of items displayed per page
items_per_page = 15
; Additional columns to be displayed in LapTimes table (seperated by a + sign). Columns can be "valid", "aids", "laps", "date", "grip", "cuts", "collisions", "tyres", "temps", "ballast" and "vmax". Note that too many displayed columns might cause problems on some browsers.
lap_times_add_columns = valid+aids+laps+date
; listening address of the http server (normally there is no need to change the default value 0.0.0.0 which means that the whole internet can connect to the server)
listen_addr = 0.0.0.0
; tcp listening port of the http server
listen_port = 50041
; If set to true, http requests will be logged in stracker.log. Otherwise they are not logged.
log_requests = False
; Maximum number of streaming clients (LiveMap/Log users) allowed to connect to this server in parallel. The number of threads allocated for http serving will be max(10, max_streaming_clients + 5)
max_streaming_clients = 10
; Valid values are "degc" or "degf".
temperature_unit = degc
; Valid values are "kmh" or "mph".
velocity_unit = kmh


[BLACKLIST]
; Path to blacklist.txt of ac server. If empty, blacklist support will not be available. Changes to blacklist file require an AC server restart to be active.
blacklist_file =


[WELCOME_MSG]
; First line of welcome message text (if not empty, this text is sent a player when he enters the server
line1 = Welcome to km.ph stracker %(version)s
; Second line of welcome message text (if not empty, this text is sent a player when he enters the server
line2 =
; Third line of welcome message text (if not empty, this text is sent a player when he enters the server
line3 =


[ACPLUGIN]
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_LOCAL_PORT in server_cfg.ini)
proxyPluginLocalPort = -1
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_ADDRESS in server_cfg.ini)
proxyPluginPort = -1
; udp port the plugins receives from. -1 means to use the AC servers setting UDP_PLUGIN_ADDRESS
rcvPort = -1
; udp port the plugins sends to. -1 means to use the AC servers setting UDP_PLUGIN_LOCAL_PORT
sendPort = -1


[LAP_VALID_CHECKS]
; if true, collisions with other cars will invalidate laps
invalidateOnCarCollisions = True
; if true, collisions with environment objects will invalidate laps
invalidateOnEnvCollisions = True
; if -1: use server penalty setting, if available, otherwise use 2. All other values are passed to ptracker.
ptrackerAllowedTyresOut = -1

stracker.log
{2017-02-17 14:23:18}: stracker[INFO ]: Created log file (log_level=0).
{2017-02-17 14:23:18}: stracker[INFO ]: <stracker_lib.logger.Logger object at 0xb6ae5ecc> loglevel=0
{2017-02-17 14:23:18}: stracker[INFO ]: Stracker version 3.2.10
{2017-02-17 14:23:18}: stracker[INFO ]: Dump of stracker configuration (stracker.ini):
[STRACKER_CONFIG]
; Server ip address or name used to poll results from. You should not touch the default value: 127.0.0.1
ac_server_address = 127.0.0.1
; Path to configuration file of ac server. Note: whenever the server is restarted, it is required to restart stracker as well
ac_server_cfg_ini = /kamaynes/acServer/cfg/server_cfg.ini
; Set to 1, if you want to append to log files rather than overwriting them. Only meaningful with external log file rotation system.
append_log_file = False
; set to false, if you want to disable the TCP keep_alive option (that was the behaviour pre 3.1.7).
keep_alive_ptracker_conns = True
; Listening port for incoming connections of ptracker. Must be one of 50042, 50043, 54242, 54243, 60023, 60024, 62323, 62324, 42423, 42424, 23232, 23233, <AC udp port>+42; ptracker will try all these ports on the ac server's ip address (until a better solution is found...)
listening_port = 50042
; name of the stracker log file (utf-8 encoded), all messages go into there
log_file = ./stracker.log
; Valid values are "info", "debug" and "dump". Use "dump" only for problem analysis, log files can get very big.
log_level = info
; set to true, if you want the log messages to be prefixed with a timestamp
log_timestamps = True
; set to true, if you want stracker to reduce its priority. Will use BELOW_NORMAL on windows and nice(5) on linux.
lower_priority = True
; set to 1, if you want stracker to compare the players checksums.
perform_checksum_comparisons = False
; Configure which ptracker instances shall be allowed to connect: Valid values are "any", "newer" or "none".
ptracker_connection_mode = any
; name for the server; sessions in the database will be tagged with that name; useful when more than one server is running in parallel on the same database
server_name = acserverph.ml acserver
; set to 1, if you want the messages appear on stdout
tee_to_stdout = False


[SWEAR_FILTER]
; Valid values are "none", "kick" and "ban".
action = none
; Number of days the player shall be banned (if action is "ban").
ban_duration = 30
; Specify the number of warnings issued before the player is going to be kicked.
num_warnings = 3
; Specify a file with bad words (one in each line). See https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words for examples.
swear_file = bad_words.txt
; message sent to player after a swear detection
warning = Please be polite and do not swear in the chat. You will be %(swear_action)s from the server after receiving %(num_warnings_left)d more warnings.


[SESSION_MANAGEMENT]
; What to do when the race is over and no player is actively racing. Valid values are: "none" or "skip".
race_over_strategy = none
; Number of seconds to wait before the session skip is executed (if race_over_strategy is set to "skip")
wait_secs_before_skip = 15


[MESSAGES]
; Lap times below this threshold (in percent of the best time) will be broadcasted as best laps. Lap times above this will be whispered to the player achieving it.
best_lap_time_broadcast_threshold = 105
; set to 1 to enable car to car private messages.
car_to_car_collision_msg = True
; available message types are "enter_leave","best_lap","checksum_errors","welcome","race_finished" and "collision". Connect them using a + sign without spaces.
message_types_to_send_over_chat = best_lap+welcome+race_finished


[DATABASE]
; Only relevant if database_type=sqlite3. Path to the stracker database. If a relative path is given, it is relative to the <stracker> executable
database_file = ./stracker.db3
; Valid values are "sqlite3" and "postgres". Selects the database to be used.
database_type = sqlite3
; Set to "False", if you do not want stracker to backup the database before migrating to a new db version. Note: The backups will be created as sqlite3 db in the current working directory.
perform_backups = True
; name of the postgres database.
postgres_db = stracker
; name of the host running the postgresql server.
postgres_host = localhost
; name of the postgres user password.
postgres_pwd = XXX
; name of the postgres user.
postgres_user = XXX


[DB_COMPRESSION]
; Interval of database compression in minutes.
interval = 60
; Various options to minimize database size. Valid values are "none" (no compression, save all available infos), "remove_slow_laps" (save detailed infos for fast laps only) and "remove_all" (save no detailed lap info).
mode = none
; If set to 1, database compression will only take place if the server is empty.
needs_empty_server = 1


[HTTP_CONFIG]
; password for the stracker admin pages (leaving it empty results in disabled admin pages
admin_password = XXX
; username for the stracker admin pages (leaving it empty results in disabled admin pages
admin_username = XXX
; Set to a file to be used for logging http authentication requests. Useful to prevent attacks with external program (e.g., fail2ban).
auth_log_file =
; icon to be used in webpages (leave empty for default Assetto Corsa icon)
banner =
; Enable paypal link for letting users donate to the author. If you do not like that, switch it off.
enable_paypal_link = False
; set to false if you do not want svg graphs in the http output (for saving bandwidth)
enable_svg_generation = False
; set to 1, if you want to start a http server for statistics access
enabled = False
; set to true to get the navbar inverted (i.e., dark instead of bright)
inverse_navbar = True
; number of items displayed per page
items_per_page = 15
; Additional columns to be displayed in LapTimes table (seperated by a + sign). Columns can be "valid", "aids", "laps", "date", "grip", "cuts", "collisions", "tyres", "temps", "ballast" and "vmax". Note that too many displayed columns might cause problems on some browsers.
lap_times_add_columns = valid+aids+laps+date
; listening address of the http server (normally there is no need to change the default value 0.0.0.0 which means that the whole internet can connect to the server)
listen_addr = 0.0.0.0
; tcp listening port of the http server
listen_port = 50041
; If set to true, http requests will be logged in stracker.log. Otherwise they are not logged.
log_requests = False
; Maximum number of streaming clients (LiveMap/Log users) allowed to connect to this server in parallel. The number of threads allocated for http serving will be max(10, max_streaming_clients + 5)
max_streaming_clients = 10
; Valid values are "degc" or "degf".
temperature_unit = degc
; Valid values are "kmh" or "mph".
velocity_unit = kmh


[BLACKLIST]
; Path to blacklist.txt of ac server. If empty, blacklist support will not be available. Changes to blacklist file require an AC server restart to be active.
blacklist_file =


[WELCOME_MSG]
; First line of welcome message text (if not empty, this text is sent a player when he enters the server
line1 = Welcome to km.ph stracker %(version)s
; Second line of welcome message text (if not empty, this text is sent a player when he enters the server
line2 =
; Third line of welcome message text (if not empty, this text is sent a player when he enters the server
line3 =


[ACPLUGIN]
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_LOCAL_PORT in server_cfg.ini)
proxyPluginLocalPort = -1
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_ADDRESS in server_cfg.ini)
proxyPluginPort = -1
; udp port the plugins receives from. -1 means to use the AC servers setting UDP_PLUGIN_ADDRESS
rcvPort = -1
; udp port the plugins sends to. -1 means to use the AC servers setting UDP_PLUGIN_LOCAL_PORT
sendPort = -1


[LAP_VALID_CHECKS]
; if true, collisions with other cars will invalidate laps
invalidateOnCarCollisions = True
; if true, collisions with environment objects will invalidate laps
invalidateOnEnvCollisions = True
; if -1: use server penalty setting, if available, otherwise use 2. All other values are passed to ptracker.
ptrackerAllowedTyresOut = -1




{2017-02-17 14:23:18}: stracker[INFO ]: Dump of ac server configuration (/kamaynes/acServer/cfg/server_cfg.ini):
[SERVER]
NAME=acserverph.ml | server 1 Philippines
CARS=ks_audi_r8_lms;bmw_m3_gt2;bmw_z4_gt3;ks_corvette_c7r;ferrari_458_gt2;ks_lamborghini_huracan_gt3;ks_mclaren_650_gt3;mclaren_mp412c_gt3;ks_mercedes_amg_gt3;ks_nissan_gtr_gt3
CONFIG_TRACK=layout_gp
TRACK=ks_barcelona
SUN_ANGLE=-16
PASSWORD = XXX
ADMIN_PASSWORD = XXX
UDP_PORT=9001
TCP_PORT=9001
HTTP_PORT=8001
MAX_BALLAST_KG=0
QUALIFY_MAX_WAIT_PERC=120
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=180
KICK_QUORUM=85
VOTING_QUORUM=80
VOTE_DURATION=20
BLACKLIST_MODE=1
FUEL_RATE=100
DAMAGE_MULTIPLIER=100
TYRE_WEAR_RATE=100
ALLOWED_TYRES_OUT=2
ABS_ALLOWED=1
TC_ALLOWED=1
START_RULE=0
RACE_GAS_PENALTY_DISABLED=0
RESULT_SCREEN_TIME=60
MAX_CONTACTS_PER_KM=3
STABILITY_ALLOWED=0
AUTOCLUTCH_ALLOWED=0
TYRE_BLANKETS_ALLOWED=0
FORCE_VIRTUAL_MIRROR=1
REGISTER_TO_LOBBY=1
MAX_CLIENTS=20
NUM_THREADS=2
UDP_PLUGIN_LOCAL_PORT=8002
UDP_PLUGIN_ADDRESS=127.0.0.1:8003
AUTH_PLUGIN_ADDRESS=
LEGAL_TYRES=
RACE_EXTRA_LAP=0
WELCOME_MESSAGE=cfg/welcome message.txt

[FTP]
HOST=
LOGIN = XXX
PASSWORD = XXX
FOLDER=
LINUX=

[QUALIFY]
NAME=Qualify
TIME=15
IS_OPEN=1

[RACE]
NAME=Race
LAPS=8
TIME=0
WAIT_TIME=30
IS_OPEN=1

[DYNAMIC_TRACK]
SESSION_START=95
RANDOMNESS=2
SESSION_TRANSFER=90
LAP_GAIN=10

[WEATHER_0]
GRAPHICS=3_clear
BASE_TEMPERATURE_AMBIENT=18
BASE_TEMPERATURE_ROAD=6
VARIATION_AMBIENT=1
VARIATION_ROAD=1

[WEATHER_1]
GRAPHICS=7_heavy_clouds
BASE_TEMPERATURE_AMBIENT=15
BASE_TEMPERATURE_ROAD=-1
VARIATION_AMBIENT=1
VARIATION_ROAD=1

[DATA]
DESCRIPTION=
EXSERVEREXE=
EXSERVERBAT=
EXSERVERHIDEWIN=0
WEBLINK=
WELCOME_PATH=D:\SteamLibrary\steamapps\common\assettocorsa\server\welcome message.txt


{2017-02-17 14:23:18}: stracker[INFO ]: Log verbosity changed: 2
{2017-02-17 14:23:18}: stracker[ERROR]: Cannot read file with bad words (bad_words.txt): [Errno 2] No such file or directory: 'bad_words.txt'
{2017-02-17 14:23:18}: stracker[STDOUT]: Starting stracker - press ctrl+c for shutdown
{2017-02-17 14:23:18}: stracker[INFO ]: Lowered stracker priority.
{2017-02-17 14:23:18}: stracker[INFO ]: Using database './stracker.db3'
{2017-02-17 14:23:18}: stracker[INFO ]: Using plugin configuration rcvport=8003 sendport=8002 proxy=(None/None)
{2017-02-17 14:23:18}: stracker[INFO ]: Plugin listens to port 8003 and sends to port 8002.
{2017-02-17 14:23:18}: stracker[INFO ]: Using database './stracker.db3'
{2017-02-17 14:23:20}: stracker[INFO ]: update soft split positions for ks_barcelona-layout_gp []
 
Experimental versions 3.3.4 of stracker and ptracker are available for download at http://n-e-y-s.de

Changes:

stracker
  • core: add timed races support in stracker
  • http: fix track display in session details
ptracker
  • display delta as 1L if more than a lap behind (rather than giving 99:99 seconds)
  • add support for timed races (the extra lap is not fully supported, there might be some issues with that)
  • do not show countdown anymore when red lights are on (for timed races)
Also the NEYS servers are set up for timed races with version 3.3.4 and you can test there if you want.

Greetings
Neys
 
Why some of the information is empty?
 

Attachments

  • 2017-02-20_193709.jpg
    2017-02-20_193709.jpg
    70.7 KB · Views: 486
Hi there!

All the drivers in a race I hosted last night appear as disqualified when we all completed the race successfully. Maybe it has to do with the fact that after the last update there can be timed races instead of lap race?

However the race ended successfully and correctly, but the S tracker did not display it as such, displayed everybody as disqualified.

The previous qualification was correctly tracked. It was just the race from last night.

Stats link: http://85.17.189.117:50841/admin/sessiondetails?sessionid=29

Any ideas what might be wrong?

And besides that, any way to change it manually? So I could correct this race manually and input the final position myself so as to achieve a correct result in the tracker

Thanks a lot for your help
 
For timed races, you need the latest experimental version, in current stable this is not supported. If this was a championship race, you can manually correct the number of points given in the session, but the result is not really correctable I'm afraid.

[if someone likes to implement: there is a result.json file generated by the server, in principle this could be used to import problematic sessions into the database. Someone would need to write the import filter though ...]
 
For timed races, you need the latest experimental version, in current stable this is not supported. If this was a championship race, you can manually correct the number of points given in the session, but the result is not really correctable I'm afraid.

[if someone likes to implement: there is a result.json file generated by the server, in principle this could be used to import problematic sessions into the database. Someone would need to write the import filter though ...]

Thanks a lot man.
 
Hi Neys, first thank a lot for your awesome work! And user friendly app. I'm sorry to bother your busy time but Ive a problem that I can't solve alone.
My stracker doesn't recognize cuts.

If ACS tires out = 3 and stracker.ini =-1 stracker recognize cuts

If ACS tires out =-1 and stracker =2 stracker doesn't recognize

If ACS tires out =-1 and stracker =3 stracker doesn't recognize

What I'm doing wrong?

I want that stracker shows me the cuts without that AC interfere with his cutting technique. (Slow down for x seconds). I just want to know if someone put his tires out of track, in my case 3 and print on the stracker http.

Thanks a lot. Sorry if my English isn't so good if you got any question or need any file please let me know. Bye
 
Hi Neys, first thank a lot for your awesome work! And user friendly app. I'm sorry to bother your busy time but Ive a problem that I can't solve alone.
My stracker doesn't recognize cuts.

If ACS tires out = 3 and stracker.ini =-1 stracker recognize cuts

If ACS tires out =-1 and stracker =2 stracker doesn't recognize

If ACS tires out =-1 and stracker =3 stracker doesn't recognize

What I'm doing wrong?

I want that stracker shows me the cuts without that AC interfere with his cutting technique. (Slow down for x seconds). I just want to know if someone put his tires out of track, in my case 3 and print on the stracker http.

Thanks a lot. Sorry if my English isn't so good if you got any question or need any file please let me know. Bye

The ptrackerAllowedTyresOut setting in stracker.ini only works if the players use ptracker (as the name somehow indicates). If you set ALLOWED_TYRES_OUT to 4 or -1, stracker cannot detect cuts anymore server-sided.

Worth a try is the brand new (since AC 1.12) setting in server_cfg.ini RACE_GAS_PENALTY_DISABLED=1 together with ALLOWED_TYRES_OUT=2 (for example). I think in this case, cuts are reported, but no penalties are issued. If you try that out, please let me know if it works (because I didn't try for myself yet).Use the stracker setting ptrackerAllowedTyresOut=-1

Greetings
Neys
 
The ptrackerAllowedTyresOut setting in stracker.ini only works if the players use ptracker (as the name somehow indicates). If you set ALLOWED_TYRES_OUT to 4 or -1, stracker cannot detect cuts anymore server-sided.

Worth a try is the brand new (since AC 1.12) setting in server_cfg.ini RACE_GAS_PENALTY_DISABLED=1 together with ALLOWED_TYRES_OUT=2 (for example). I think in this case, cuts are reported, but no penalties are issued. If you try that out, please let me know if it works (because I didn't try for myself yet).Use the stracker setting ptrackerAllowedTyresOut=-1

Greetings
Neys
Dude it's working ✌️ Now we are going to do a race... I'll give you a update when we're done thanks again
 
Code:
stracker[INFO ]: Created log file (log_level=0).
stracker[INFO ]: <stracker_lib.logger.Logger object at 0x02A36430> loglevel=0
stracker[INFO ]: Stracker version 3.2.10
stracker[INFO ]: Dump of stracker configuration (stracker.ini):
[STRACKER_CONFIG]
; Server ip address or name used to poll results from. You should not touch the default value: 127.0.0.1
ac_server_address = 127.0.0.1
; Path to configuration file of ac server. Note: whenever the server is restarted, it is required to restart stracker as well
ac_server_cfg_ini = ..\..\server\cfg\server_cfg.ini
; Set to 1, if you want to append to log files rather than overwriting them. Only meaningful with external log file rotation system.
append_log_file = False
; set to false, if you want to disable the TCP keep_alive option (that was the behaviour pre 3.1.7).
keep_alive_ptracker_conns = True
; Listening port for incoming connections of ptracker. Must be one of 50042, 50043, 54242, 54243, 60023, 60024, 62323, 62324, 42423, 42424, 23232, 23233, <AC udp port>+42; ptracker will try all these ports on the ac server's ip address (until a better solution is found...)
listening_port = 50042
; name of the stracker log file (utf-8 encoded), all messages go into there
log_file = ./stracker.log
; Valid values are "info", "debug" and "dump". Use "dump" only for problem analysis, log files can get very big.
log_level = info
; set to true, if you want the log messages to be prefixed with a timestamp
log_timestamps = False
; set to true, if you want stracker to reduce its priority. Will use BELOW_NORMAL on windows and nice(5) on linux.
lower_priority = True
; set to 1, if you want stracker to compare the players checksums.
perform_checksum_comparisons = False
; Configure which ptracker instances shall be allowed to connect: Valid values are "any", "newer" or "none".
ptracker_connection_mode = any
; name for the server; sessions in the database will be tagged with that name; useful when more than one server is running in parallel on the same database
server_name = acserver
; set to 1, if you want the messages appear on stdout
tee_to_stdout = False


[SWEAR_FILTER]
; Valid values are "none", "kick" and "ban".
action = none
; Number of days the player shall be banned (if action is "ban").
ban_duration = 30
; Specify the number of warnings issued before the player is going to be kicked.
num_warnings = 3
; Specify a file with bad words (one in each line). See https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words for examples.
swear_file = bad_words.txt
; message sent to player after a swear detection
warning = Please be polite and do not swear in the chat. You will be %(swear_action)s from the server after receiving %(num_warnings_left)d more warnings.


[SESSION_MANAGEMENT]
; What to do when the race is over and no player is actively racing. Valid values are: "none" or "skip".
race_over_strategy = none
; Number of seconds to wait before the session skip is executed (if race_over_strategy is set to "skip")
wait_secs_before_skip = 15


[MESSAGES]
; Lap times below this threshold (in percent of the best time) will be broadcasted as best laps. Lap times above this will be whispered to the player achieving it.
best_lap_time_broadcast_threshold = 105
; set to 1 to enable car to car private messages.
car_to_car_collision_msg = True
; available message types are "enter_leave","best_lap","checksum_errors","welcome","race_finished" and "collision". Connect them using a + sign without spaces.
message_types_to_send_over_chat = best_lap+welcome+race_finished


[DATABASE]
; Only relevant if database_type=sqlite3. Path to the stracker database. If a relative path is given, it is relative to the <stracker> executable
database_file = ./stracker.db3
; Valid values are "sqlite3" and "postgres". Selects the database to be used.
database_type = sqlite3
; Set to "False", if you do not want stracker to backup the database before migrating to a new db version. Note: The backups will be created as sqlite3 db in the current working directory.
perform_backups = True
; name of the postgres database.
postgres_db = stracker
; name of the host running the postgresql server.
postgres_host = localhost
; name of the postgres user password.
postgres_pwd  = XXX
; name of the postgres user.
postgres_user  = XXX


[DB_COMPRESSION]
; Interval of database compression in minutes.
interval = 60
; Various options to minimize database size. Valid values are "none" (no compression, save all available infos), "remove_slow_laps" (save detailed infos for fast laps only) and "remove_all" (save no detailed lap info).
mode = none
; If set to 1, database compression will only take place if the server is empty.
needs_empty_server = 1


[HTTP_CONFIG]
; password for the stracker admin pages (leaving it empty results in disabled admin pages
admin_password  = XXX
; username for the stracker admin pages (leaving it empty results in disabled admin pages
admin_username  = XXX
; Set to a file to be used for logging http authentication requests. Useful to prevent attacks with external program (e.g., fail2ban).
auth_log_file =
; icon to be used in webpages (leave empty for default Assetto Corsa icon)
banner =
; Enable paypal link for letting users donate to the author. If you do not like that, switch it off.
enable_paypal_link = True
; set to false if you do not want svg graphs in the http output (for saving bandwidth)
enable_svg_generation = True
; set to 1, if you want to start a http server for statistics access
enabled = True
; set to true to get the navbar inverted (i.e., dark instead of bright)
inverse_navbar = False
; number of items displayed per page
items_per_page = 15
; Additional columns to be displayed in LapTimes table (seperated by a + sign). Columns can be "valid", "aids", "laps", "date", "grip", "cuts", "collisions", "tyres", "temps", "ballast" and "vmax". Note that too many displayed columns might cause problems on some browsers.
lap_times_add_columns = valid+aids+laps+date
; listening address of the http server (normally there is no need to change the default value 0.0.0.0 which means that the whole internet can connect to the server)
listen_addr = 0.0.0.0
; tcp listening port of the http server
listen_port = 50041
; If set to true, http requests will be logged in stracker.log. Otherwise they are not logged.
log_requests = False
; Maximum number of streaming clients (LiveMap/Log users) allowed to connect to this server in parallel. The number of threads allocated for http serving will be max(10, max_streaming_clients + 5)
max_streaming_clients = 10
; Valid values are "degc" or "degf".
temperature_unit = degc
; Valid values are "kmh" or "mph".
velocity_unit = kmh


[BLACKLIST]
; Path to blacklist.txt of ac server. If empty, blacklist support will not be available. Changes to blacklist file require an AC server restart to be active.
blacklist_file =


[WELCOME_MSG]
; First line of welcome message text (if not empty, this text is sent a player when he enters the server
line1 = Welcome to stracker %(version)s
; Second line of welcome message text (if not empty, this text is sent a player when he enters the server
line2 =
; Third line of welcome message text (if not empty, this text is sent a player when he enters the server
line3 =


[ACPLUGIN]
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_LOCAL_PORT in server_cfg.ini)
proxyPluginLocalPort = -1
; proxy the AC server protocol on these ports, so multiple plugins may be chained (this is equivalent to UDP_PLUGIN_ADDRESS in server_cfg.ini)
proxyPluginPort = -1
; udp port the plugins receives from. -1 means to use the AC servers setting UDP_PLUGIN_ADDRESS
rcvPort = -1
; udp port the plugins sends to. -1 means to use the AC servers setting UDP_PLUGIN_LOCAL_PORT
sendPort = -1


[LAP_VALID_CHECKS]
; if true, collisions with other cars will invalidate laps
invalidateOnCarCollisions = True
; if true, collisions with environment objects will invalidate laps
invalidateOnEnvCollisions = True
; if -1: use server penalty setting, if available, otherwise use 2. All other values are passed to ptracker.
ptrackerAllowedTyresOut = -1




stracker[INFO ]: Dump of ac server configuration (..\..\server\cfg\server_cfg.ini):
[SERVER]
UDP_PLUGIN_LOCAL_PORT=11000
UDP_PLUGIN_ADDRESS=127.0.0.1:12000
NAME=MALAYSIA
CARS=sts_ek9_typer_spoon
CONFIG_TRACK=
TRACK=sepang
SUN_ANGLE=0
PASSWORD = XXX
ADMIN_PASSWORD = XXX
UDP_PORT=9602
TCP_PORT=9602
HTTP_PORT=8083
MAX_BALLAST_KG=150
QUALIFY_MAX_WAIT_PERC=120
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=120
KICK_QUORUM=70
VOTING_QUORUM=70
VOTE_DURATION=15
BLACKLIST_MODE=0
FUEL_RATE=100
DAMAGE_MULTIPLIER=100
TYRE_WEAR_RATE=100
ALLOWED_TYRES_OUT=2
ABS_ALLOWED=1
TC_ALLOWED=1
START_RULE=1
RACE_GAS_PENALTY_DISABLED=0
RESULT_SCREEN_TIME=60
MAX_CONTACTS_PER_KM=2
STABILITY_ALLOWED=0
AUTOCLUTCH_ALLOWED=1
TYRE_BLANKETS_ALLOWED=1
FORCE_VIRTUAL_MIRROR=1
REGISTER_TO_LOBBY=1
MAX_CLIENTS=26
NUM_THREADS=1
UDP_PLUGIN_LOCAL_PORT=0
UDP_PLUGIN_ADDRESS=
AUTH_PLUGIN_ADDRESS=
LEGAL_TYRES=
RACE_EXTRA_LAP=0
WELCOME_MESSAGE=

[FTP]
HOST=
LOGIN = XXX
PASSWORD = XXX
FOLDER=
LINUX=0

[PRACTICE]
NAME=Practice
TIME=60
IS_OPEN=1

[QUALIFY]
NAME=Qualify
TIME=10
IS_OPEN=1

[RACE]
NAME=Race
LAPS=8
TIME=0
WAIT_TIME=60
IS_OPEN=1

[DYNAMIC_TRACK]
SESSION_START=100
RANDOMNESS=0
SESSION_TRANSFER=100
LAP_GAIN=1

[WEATHER_0]
GRAPHICS=3_clear
BASE_TEMPERATURE_AMBIENT=30
BASE_TEMPERATURE_ROAD=14
VARIATION_AMBIENT=2
VARIATION_ROAD=2

[DATA]
DESCRIPTION=
EXSERVEREXE=
EXSERVERBAT=
EXSERVERHIDEWIN=0
WEBLINK=
WELCOME_PATH=


stracker[INFO ]: Log verbosity changed: 2
stracker[ERROR]: Cannot read file with bad words (bad_words.txt): [Errno 2] No such file or directory: 'bad_words.txt'
stracker[STDOUT]: Starting stracker - press ctrl+c for shutdown
stracker[INFO ]: Lowered stracker priority.
stracker[INFO ]: Using database './stracker.db3'
stracker[ERROR]: Cannot parse the UDP_PLUGIN_ADDRESS in your server_cfg.ini file. This is a fatal error!
stracker[ERROR]: In the [SERVER] section there must be a line UDP_PLUGIN_ADDRESS=127.0.0.1:<port>
stracker[ERROR]: with <port> being the first UDP port number used for the plugins.
stracker[STDOUT]: Runtime error. Check stracker.log and check your configuration files.
stracker[ERROR]: Traceback (most recent call last):
  File "stracker_lib\stracker_udp_plugin.py", line 144, in __init__
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "stracker_lib\ac_monitor.py", line 1773, in run
  File "stracker_lib\stracker_udp_plugin.py", line 149, in __init__
RuntimeError: Cannot parse the value in UDP_PLUGIN_ADDRESS

stracker[INFO ]: Shutting down acmonitor.
stracker[INFO ]: Shutting down the server.
stracker[INFO ]: Shutting down http.
stracker[INFO ]: Shutting down pending ptracker connections.

Dear Neys,

May I know which step I did wrongly for stracker?
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top