PiBoSo Official Forum

GP Bikes => General Discussion => Documentation => Topic started by: huertasRC on August 07, 2018, 05:35:24 PM

Title: server created but the options that I put the server.ini do not appear
Post by: huertasRC on August 07, 2018, 05:35:24 PM
wave friends, I have a problem I have the server.ini file in the folder where gp-bikes is installed, the server.ini is correctly filled with server name track and bike etc etc.

When I run the server, the only thing that appears is the track, the rest comes out as default
I attached an image to see if you know where I have the fault




how to create the dedicated server followed the videos of Napalm Nick
Title: Re: server created but the options that I put the server.ini do not appear
Post by: Napalm Nick on August 07, 2018, 06:41:13 PM
I'm not sure if this is your problem mate but in the MOTD remove the special characters(!) - I remember don't use them in any of the server commands.
Title: Re: server created but the options that I put the server.ini do not appear
Post by: huertasRC on August 07, 2018, 06:52:50 PM
Quote from: Napalm Nick on August 07, 2018, 06:41:13 PM
I'm not sure if this is your problem mate but in the MOTD remove the special characters(!) - I remember don't use them in any of the server commands.

ok Napalm Nick, I'm going to try removing the signs!

thanksss
Title: Re: server created but the options that I put the server.ini do not appear
Post by: huertasRC on August 07, 2018, 06:58:32 PM
nothing that was not the problem, it is as if I were taking another server.ini in another place instead of taking the one in the folder dedi server
Title: Re: server created but the options that I put the server.ini do not appear
Post by: Tom HWK on August 07, 2018, 07:08:15 PM
that isn't the correct .ini is it?

i use the one on the dedicated server thread and it works.
http://forum.piboso.com/index.php?topic=26.0
Title: Re: server created but the options that I put the server.ini do not appear
Post by: huertasRC on August 07, 2018, 07:18:26 PM
Quote from: Tom HWK on August 07, 2018, 07:08:15 PM
that isn't the correct .ini is it?

i use the one on the dedicated server thread and it works.
http://forum.piboso.com/index.php?topic=26.0

The .ini that I have used is that of peterV   http://forum.piboso.com/index.php?topic=26.15
Title: Re: server created but the options that I put the server.ini do not appear
Post by: Tom HWK on August 07, 2018, 07:28:24 PM
Your folders should look like this.


Your servers .ini needs to be in the gpbikes folder


the .ini should look like this
[connection]
name = British SSP ;
maxclient = 24 ;
password = ;
admin_password = not my password ;
bandwidth = 3 ; 0 -> low, 1 -> medium, 2 -> high, 3 -> very high
max_ping = 400 ;
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = England ; information about server location
MOTD = Tom HWK's server, enjoy! ; message of the day

[export]
results = html ; html or xml, If set it will automatically export results at the end of the race
directory = D:\TCHar\Desktop\Dedicated Server\results ; the directory where results will be saved ( must exist )
units = 2 ; 0 -> metric units, 1 -> US units, 2 -> UK units

[replay]
save = ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where replays will be saved ( must exist )

[event]
name = ; the name of the event ( optional )
track = Snetterton 300 V1.0 ; track ID ( for ex. Victoria )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = WSSP 2018 ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: GP125/GP500/GP1000

[rating]
class = ; A -> 2000+, B -> 1600-1999; C -> 1200-1599; D -> 800-1199

[weather]
realistic = 0 ; 0 or 1, if set to 1, following params are ignored
conditions = 0 ; 0 -> sunny, 1 -> cloudy, 2 -> rainy
temperature = 24 ; air temperature, celsius
wind_direction = 0 ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 0 ; meters/second
track_conditions = 0 ; 0 -> dry, 1 -> wet

[hardcore]
force_cockpit = 0 ; 0 or 1
no_aids = 0 ; 0 or 1
limited_tyre_sets = 0 ; 0 or 1

[race]
testing_day = 0 ; 0 or 1, if set to 1, the following race settings are unused
force_start = 0 ; 0 or 1, if set to 1, the track day event is persistent
quick_race = 0 ; 0 or 1. If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = 60 ; minutes
qualify_length = 30 ; minutes
warmup_length = ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 0 ; 0 or 1
race_length = 100 ; % of full length
race_use_laps = 1 ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 6 ; number of race laps
restart_delay = 300 ; server restart time in seconds
pause = 0 ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, qualify, warmup or race
pause_directory = ; the directory where data is saved. The default is "resume"
resume = ; the file to load to resume an event
save = 0 ; 0 or 1. If set to 1, the event is saved at the end of "save_session". If "pause" is set, this setting is ignored
save_session = ; practice, qualify, warmup or race
save_directory = ; the directory where data is saved. The default is "resume"

[live]
enable = ; 1 to enable live timing
port = ; the UDP port
password =


your server start shortcut should have this in its properties (port doesn't matter as long as it isn't 54310)
Title: Re: server created but the options that I put the server.ini do not appear
Post by: huertasRC on August 07, 2018, 07:38:17 PM
Quote from: Tom HWK on August 07, 2018, 07:28:24 PM
Your folders should look like this.


Your servers .ini needs to be in the gpbikes folder


the .ini should look like this
[connection]
name = British SSP ;
maxclient = 24 ;
password = ;
admin_password = not my password ;
bandwidth = 3 ; 0 -> low, 1 -> medium, 2 -> high, 3 -> very high
max_ping = 400 ;
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = England ; information about server location
MOTD = Tom HWK's server, enjoy! ; message of the day

[export]
results = html ; html or xml, If set it will automatically export results at the end of the race
directory = D:\TCHar\Desktop\Dedicated Server\results ; the directory where results will be saved ( must exist )
units = 2 ; 0 -> metric units, 1 -> US units, 2 -> UK units

[replay]
save = ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where replays will be saved ( must exist )

[event]
name = ; the name of the event ( optional )
track = Snetterton 300 V1.0 ; track ID ( for ex. Victoria )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = WSSP 2018 ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: GP125/GP500/GP1000

[rating]
class = ; A -> 2000+, B -> 1600-1999; C -> 1200-1599; D -> 800-1199

[weather]
realistic = 0 ; 0 or 1, if set to 1, following params are ignored
conditions = 0 ; 0 -> sunny, 1 -> cloudy, 2 -> rainy
temperature = 24 ; air temperature, celsius
wind_direction = 0 ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 0 ; meters/second
track_conditions = 0 ; 0 -> dry, 1 -> wet

[hardcore]
force_cockpit = 0 ; 0 or 1
no_aids = 0 ; 0 or 1
limited_tyre_sets = 0 ; 0 or 1

[race]
testing_day = 0 ; 0 or 1, if set to 1, the following race settings are unused
force_start = 0 ; 0 or 1, if set to 1, the track day event is persistent
quick_race = 0 ; 0 or 1. If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = 60 ; minutes
qualify_length = 30 ; minutes
warmup_length = ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 0 ; 0 or 1
race_length = 100 ; % of full length
race_use_laps = 1 ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 6 ; number of race laps
restart_delay = 300 ; server restart time in seconds
pause = 0 ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, qualify, warmup or race
pause_directory = ; the directory where data is saved. The default is "resume"
resume = ; the file to load to resume an event
save = 0 ; 0 or 1. If set to 1, the event is saved at the end of "save_session". If "pause" is set, this setting is ignored
save_session = ; practice, qualify, warmup or race
save_directory = ; the directory where data is saved. The default is "resume"

[live]
enable = ; 1 to enable live timing
port = ; the UDP port
password =


your server start shortcut should have this in its properties (port doesn't matter as long as it isn't 54310)



hahaha thank you very much friend, it was the server.ini file that was outside the gpbikes folder,is already working perfect
Title: Re: server created but the options that I put the server.ini do not appear
Post by: Tom HWK on August 07, 2018, 07:55:24 PM
Quote from: huertasRC on August 07, 2018, 07:38:17 PM
hahaha thank you very much friend, it was the server.ini file that was outside the gpbikes folder,is already working perfect

no problem  ;)