PiBoSo Official Forum

GP Bikes => General Discussion => Documentation => Topic started by: PiBoSo on March 20, 2013, 08:08:35 PM

Title: Dedicated server
Post by: PiBoSo on March 20, 2013, 08:08:35 PM
To start a dedicated server, launch gpbikes.exe with the following params:
gpbikes.exe -dedicated (port number) [-set params (config_file)]

for example:
gpbikes.exe -dedicated 54310 -set params dedicated.ini


NOTE: if a client runs on the same PC, port 54310 cannot be used.


Configuration file must be in installation path, under "gpbikes" folder.
If not set "server.ini" is used.

Format:
[connection]
name =
maxclient =
password =
admin_password =
bandwidth = ; 0 -> very low, 1 -> low, 2 -> medium, 3 -> high, 4 -> very high
max_ping =
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = ; information about server location
MOTD = ; message of the day

[export]
results =  ; "html", "xml" or "both". If set it will automatically export results at the end of the race
directory = ; the directory where results will be saved ( must exist )
units =  ; 0 -> metric units, 1 -> US units, 2 -> UK units
prefix = ; filename prefix of results
incremental = ; 0 or 1. If set to 1, results are exported at the end of each session
contacts = ; 1 -> contacts between bikes are added to the XML export, 2 -> contacts with walls are exported, too

[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 )
prefix = ; filename prefix of replays

[event]
name = ; the name of the event ( optional )
track = ; track ID ( the track folder name, for ex. Victoria ). If no track is found, then it is searched in the full names ( for ex. Assen to match "Assen 2005" )
track_layout = ; track layout ( for ex. Short ). Empty -> Default. If "track" is used to search in the full names, then "track_layout" is used as a second filter ( for ex. 2005 to choose between different versions of Assen )
track_paint = ; track paint file name ( without the PNT extension ). Empty -> Default
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: M2/GP500
allowed_bikes = ; list of ID of allowed bikes, separated by a slash. For example: schwaben_m2_18/varese_v594

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

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

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

[race]
testing_day = ; 0 or 1, if set to 1, the following race settings are unused
quick_race = ; 0 or 1. If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = ; minutes
warmup_length = ; minutes
sighting_lap = ; 0 or 1
warmup_lap = ; 0 or 1
race_length = ; % of full length
race_use_laps = ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = ; number of race laps
restart_delay = ; server restart time in seconds. The default is 300, 5 minutes. If set at zero, there is no restart

pause = ; 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 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 or 2 to enable live timing. If set to 1, data is sent through UDP packets ( more info: https://forum.piboso.com/index.php?topic=5419.0 ). If set to 2, data is written to a local file
port = ; the UDP port ( only used with "enable = 1" )
password = ;  ( only used with "enable = 1" )
file = ; the name of the file to write  ( only used with "enable = 2" )
track_position = ; 0 or 1. If set to 1, the track centerline and the position of all bikes are written, too ( only used with "enable = 2" )
contacts = ; 1 -> contacts between bikes are written, 2 -> contacts with walls are written, too ( only used with "enable = 2" )

[remote_admin]
enable = ; 1 to enable remote admin ( more info: https://forum.piboso.com/index.php?topic=9652.0 )
port = ; the UDP port. If missing or set to 0, port 54230 is used
password =

[dynamicsurface]
disable = ; 0 or 1. If set to 1, the dynamic track surface is disabled
persistent = ; 0 or 1. If set to 1, the dynamic track surface is not reset between events

[polls]
disable_during_races = ; 0 or 1. It set to 1, polls are disabled during races

[log]
file = ; the name of the file to write the dedicated server output to

NOTE: To minimize join lag, please make sure to restrict the allowed bike categories as much as possible

You can set up to 9 additional tracks, in the "events" section:
track2=
track2_layout=
track2_paint=
track3=
track3_layout=
track3_paint=
...
...
track10=
track10_layout=
track10_paint=
The server will move to the next at each restart and wrap to the first after the last.
The same track and layout can be repeated multiple times in the 10 "slots".

The whitelist and blacklist are a text file using the following format:
[entry0]
guid = ........

[entry1]
guid = ........

[entry2]
guid = ........
The GUID can be read in the "Profiles" page.
Whitelist only: it is possible to set, for each entry, the race number, the name, a prefix to the name ( for example a team "tag" ) and the bike.
Also, it is possible to set a custom string, up to 18 character long, that is added to the XML results export and to the live timing data.
[entry0]
guid = ........
race_number = ...
name = ...
name_prefix = ...
bike_id = ...
extra = ........

In the dedicated server text input, it is possible to type text that will be sent to the connected clients. It can be a personal message: https://forum.piboso.com/index.php?topic=9942.msg109763#msg109763
It is also possible to send commands: https://forum.piboso.com/index.php?topic=9942.msg109764#msg109764
Additional commands:
- "!restart" to reset the server
- "!whitelist update" to reload the whitelist file
- "!blacklist update" to reload the blacklist file
- "!admin" followed by client's name ( or #race number) to promote a client to admin
Text can be sent to the dedicated server from remote, too: https://forum.piboso.com/index.php?topic=9652.0


NOTE: a license is not needed to start a dedicated server.
Title: Re: Dedicated server
Post by: Hispinkness Prior on March 29, 2013, 12:00:26 PM
what is the bandwidth and what does it do :) thnx
Title: Re: Dedicated server
Post by: janaucarre on February 19, 2014, 07:50:38 PM
images were very nice:)
second time i try to do one and nothing happens. grrrrrrr
Title: Re: Dedicated server
Post by: HornetMaX on May 14, 2014, 06:27:22 PM
I don't see the option for the warmup lap in the .ini above.

MaX.
Title: Re: Dedicated server
Post by: PiBoSo on May 14, 2014, 08:19:53 PM
Quote from: HornetMaX on May 14, 2014, 06:27:22 PM
I don't see the option for the warmup lap in the .ini above.

MaX.

First post updated.
Title: Re: Dedicated server
Post by: ALEale on May 14, 2014, 08:21:09 PM
when i enter in the server as Admin... is possibile to restart it with a command in chat?
Title: Re: Dedicated server
Post by: HornetMaX on May 14, 2014, 09:24:14 PM
Quote from: PiBoSo on May 14, 2014, 08:19:53 PM
Quote from: HornetMaX on May 14, 2014, 06:27:22 PM
I don't see the option for the warmup lap in the .ini above.

MaX.

First post updated.

Thx.
Title: Re: Dedicated server
Post by: PiBoSo on May 14, 2014, 09:32:11 PM
Quote from: ALEale on May 14, 2014, 08:21:09 PM
when i enter in the server as Admin... is possibile to restart it with a command in chat?

No.
Title: Re: Dedicated server
Post by: ALEale on May 23, 2014, 10:58:36 AM
if i don't know the GUID of a banned user... how can i create a blacklist?
Title: Re: Dedicated server
Post by: HornetMaX on May 23, 2014, 11:16:35 AM
You can't. Only thing you can do in that case is create a whitelist.

MaX.
Title: Re: Dedicated server
Post by: guigui404 on June 19, 2014, 12:22:03 PM
Quote from: ALEale on May 23, 2014, 10:58:36 AM
if i don't know the GUID of a banned user... how can i create a blacklist?
u can know because when he come to the serv GUID is write on the server console
Title: Re: Dedicated server
Post by: Alibaskins on June 19, 2014, 12:24:45 PM
Or with this page if the server is registered : http://gpbikes.motonline-france.com/drivers.php (http://gpbikes.motonline-france.com/drivers.php)

;)
Title: Re: Dedicated server
Post by: guigui404 on June 19, 2014, 01:21:17 PM
good ali , your project is very useful for whitelist and black list thanks a lot :)
Title: Re: Dedicated server
Post by: Klax75 on July 15, 2014, 04:45:04 AM
Just found out you can add in location in your dedicated server .ini file. To display where your server is hosted from. I added "location = United States" after admin password. Now it shows United States for my server in GP Bikes server list once I click on it.
Title: Re: Dedicated server
Post by: PiBoSo on July 15, 2014, 04:17:50 PM

First post updated.
Title: Re: Dedicated server
Post by: JJS209 on August 04, 2014, 03:09:01 PM
when i create a ded. server i cant join the "world" connectionmenue in game, says me "connection timeout" .
should i post my server.ini?
never done something like this before :) please help
Title: Re: Dedicated server
Post by: PeterV on August 04, 2014, 03:26:27 PM
- ports open in router? (10500-10510)
- router able to port forward?
- anitivirus process core.exe allowed?
- firewall process core.exe allowed?


(http://i.imgur.com/FedSlgs.jpg)

Example Dedicated.ini:


[connection]
name = Oldschool Fun | 2.40, info on forum
maxclient = 24
password = ;locked
admin_password = coldboss1000
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping =
whitelist = ; C:\Dropbox\Peter\whitelist11.txt ; the filename of the whitelist
blacklist = ; C:\Dropbox\Peter\blacklist11.txt ; the filename of the blacklist
polls_disable = 0 ; if set to 1, polls are disabled
location = Dibu, Germany; information about server location
MOTD = Enjoy, any problems post in forum.

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

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

[event]
track = Silverstone GP V0.94_NDS ;track ID ( for example NC - Mosport Park V1.1 )
track_layout = ; track layout ( for ex. Short ). Empty -> Default
category = Open ; bike category allowed. Empty -> Open; GP125; GP125 Cup; GP250; GP500; GP800; GP1000; SSP; SBK; WSS600; STK1000; Moto 2
[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 = 18 ; air temperature, celsius
wind_direction = 1 ; 0 -> n, 1 -> ne, 2 -> e, 3 -> se, 4 -> s, 5 -> sw, 6 -> w, 7 -> nw
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]
quick_race = 0 ; 0 or 1, If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = 90 ; minutes
qualify_length = 15 ; minutes
warmup_length = 0 ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 1 ; 0 or 1
race_length = 25 ; % of full length
race_use_laps = 1 ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 5 ; number of race laps
restart_delay = 180 ; 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 = race ; practice, qualify, warmup or race
pause_directory = C:\Dropbox\Peter\Resume10\ ; the directory where data is saved. The default is "resume"
resume = ;C:\Dropbox\Peter\Resume10\20130810-220819-Victoria.ini ; the file to load to resume an event

[live]
enable = 1; 1 to enable live timing
port = 28111; the UDP port
password = .....
Title: Re: Dedicated server
Post by: JJS209 on August 04, 2014, 03:52:11 PM
thx for that fast reply, ill test it.

€: same problem: RACE -> World -->> "Connection Timeout"

:(

btw. hosting pc is also the pc i play with, that was the question. if that is possible...
Title: Re: Dedicated server
Post by: PeterV on August 04, 2014, 04:31:48 PM
just launched a dedi on my PC and connected through it, its no problem.

The only thing different is i launch the dedicated through command line "C:\GP Bikes\core.exe" core.exe -dedicated 30510 -set params dedicated.ini
maybe thats the reason?
Title: Re: Dedicated server
Post by: JJS209 on August 04, 2014, 04:50:49 PM
that was it! thx a lot peter!

€: next problem is: data mismatch :( y that???!
Title: Re: Dedicated server
Post by: PeterV on August 04, 2014, 05:08:38 PM
Quote from: JJS209 on August 04, 2014, 04:50:49 PM
that was it! thx a lot peter!

€: next problem is: data mismatch :( y that???!

Simple, correct bikes, physics and tracks, if one of those dont match up you get a data mismatch.
Title: Re: Dedicated server
Post by: JJS209 on August 04, 2014, 05:14:06 PM
yea, but its the same source where the dedicated server the map file load from as the client uses, isnt it?
Title: Re: Dedicated server
Post by: PeterV on August 04, 2014, 05:37:35 PM
Quote from: JJS209 on August 04, 2014, 05:14:06 PM
yea, but its the same source where the dedicated server the map file load from as the client uses, isnt it?
should be yes, sometime you can get a datamismatch and then when you try again after a while its gone, its one of those things.
Title: Re: Dedicated server
Post by: JJS209 on August 06, 2014, 12:46:38 PM
ok the connection the the server list is not a problem anymore. i just faild in portforwarding ;)

but actual i have a strange thing. this is the router and server:

(http://www.jan-jonas.de/router_server.jpg)

but when i am ingame, in the "world" serverlist and try to connect to my "jjs-server" it directs me into the garage. ? then i choose the mur 990 and click on JOIN in lower right corner - the connected popup flashes up and then the message DATA MISSMATCH is shown.
how could there a datamissmatch when server and client use the same gpbikes-folder??

Title: Re: Dedicated server
Post by: PeterV on August 06, 2014, 12:55:32 PM
because you have not filled in all the blancs in the dedicated.ini

I have send you a basic dedicated.ini i deleted the entry's, thought you would see that :)

For instance:

Bandwidth = 2 (now its nothing so would explain youre problem i think)

Category = OPEN (is now empty)


all data relevant is empty... fill in times
[race]
quick_race = 0 ; 0 or 1. If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length =  ; minutes
qualify_length =  ; minutes
warmup_length =  ; minutes
sighting_lap =  ; 0 or 1
warmup_lap =  ; 0 or 1
race_length =  ; % of full length
restart_delay = 180 ; server restart time in seconds
Title: Re: Dedicated server
Post by: JJS209 on August 06, 2014, 01:26:54 PM
peter, thank you for the time you invested in me! :)

its working now like it should. thanks a lot for your advice!
Title: Re: Dedicated server
Post by: PiBoSo on November 16, 2014, 01:54:18 PM

First post updated to add info about setting race laps instead of race length.
Title: Re: Dedicated server
Post by: Alibaskins on November 17, 2014, 04:43:07 PM
I have a request about the event tracks.
I'm testing it, and i can see the round changing only when the race is over.

It would be nice if the track change was automatic every xx hours for exemple.
And it would be nice, too (...), to have a command to force the server to roll to the next track.
Title: Re: Dedicated server
Post by: PiBoSo on November 17, 2014, 04:56:39 PM
Quote from: Alibaskins on November 17, 2014, 04:43:07 PM
I have a request about the event tracks.
I'm testing it, and i can see the round changing only when the race is over.

It would be nice if the track change was automatic every xx hours for exemple.
And it would be nice, too (...), to have a command to force the server to roll to the next track.

Ok.
Title: Re: Dedicated server
Post by: Alibaskins on November 17, 2014, 05:02:47 PM
Thank you !

(http://media.giphy.com/media/TbRXNJJJbgIkE/giphy.gif)
Title: Re: Dedicated server
Post by: PeterV on November 17, 2014, 05:24:26 PM
Quote from: Alibaskins on November 17, 2014, 04:43:07 PM
I have a request about the event tracks.
I'm testing it, and i can see the round changing only when the race is over.

It would be nice if the track change was automatic every xx hours for exemple.
And it would be nice, too (...), to have a command to force the server to roll to the next track.
+1
Title: Re: Dedicated server
Post by: PeterV on November 18, 2014, 06:21:37 PM
Quote from: PeterV on November 17, 2014, 05:24:26 PM
Quote from: Alibaskins on November 17, 2014, 04:43:07 PM
I have a request about the event tracks.
I'm testing it, and i can see the round changing only when the race is over.

It would be nice if the track change was automatic every xx hours for exemple.
And it would be nice, too (...), to have a command to force the server to roll to the next track.
+1

I forgot too mention that this could be done true the vote system. Vote for a track from the rotation. How would we know what is rotating at that moment? Hotkey for a rotatelist used by server?
Title: Re: Dedicated server
Post by: Alibaskins on November 18, 2014, 06:40:22 PM
Maybe it would be good to add more informations in lobby to show what tracks are configured too ?
Title: Re: Dedicated server
Post by: PeterV on November 18, 2014, 06:43:34 PM
Quote from: Alibaskins on November 18, 2014, 06:40:22 PM
Maybe it would be good to add more informations in lobby to show what tracks are configured too ?
Hover mouse over server name, which then will display the tracks rotated and listed numbered so you can vote for a number?
Title: Re: Dedicated server
Post by: Alibaskins on November 26, 2014, 01:15:09 PM
Piboso, could you add the name server in messages from live timing service ?
Like :
Server: "Montonline-fr 1"
Title: Re: Dedicated server
Post by: JJS209 on April 25, 2015, 10:22:29 PM
when i set an admin_password and connect to the server how can i "login" as admin to click to quali or race and i changes?
also i would like to know if there are more commands for the commandline in the ded. server.
thx
Title: Re: Dedicated server
Post by: PiBoSo on April 25, 2015, 10:28:46 PM
Quote from: JJS209 on April 25, 2015, 10:22:29 PM
when i set an admin_password and connect to the server how can i "login" as admin to click to quali or race and i changes?
also i would like to know if there are more commands for the commandline in the ded. server.
thx

The password must be set in the browse page to connect as admin.
Title: Re: Dedicated server
Post by: JJS209 on April 25, 2015, 10:58:43 PM
ah ok thank you.
are there no other useful commands?
Title: Re: Dedicated server
Post by: teeds on April 26, 2015, 12:04:10 PM
Quote from: PiBoSo on April 25, 2015, 10:28:46 PM
The password must be set in the browse page to connect as admin.

ahhh  8) Bingo!
Title: Re: Dedicated server
Post by: JJS209 on May 13, 2015, 09:04:52 AM
would anybody share his working blacklist.txt - file with me?
is it by name or by ID?

i tryed it this way, blacklist.txt:
9FA01B7A; JJS209
Title: Re: Dedicated server
Post by: Napalm Nick on May 13, 2015, 09:15:22 AM
Hi JJ,
I thought it was like this example but I only ever used a Whitelist

[entry0]
guid = ........

[entry1]
guid = ........

[entry2]
guid = 9FA01B7A.

I am worried a blacklist is being considered......... :o
Title: Re: Dedicated server
Post by: JJS209 on May 13, 2015, 09:28:23 AM
just solved it, sry for my stupidness :) thanks anyway nick.

Title: Re: Dedicated server
Post by: Shahdoh on September 27, 2015, 02:39:40 PM
Another noob getting started in GPB. I have a (unlicensed) dedicated server running, ports opened and all is working except I do not see the server listed here: http://stats.gp-bikes.com/servers.php (http://stats.gp-bikes.com/servers.php).

I know what is important is that it shows up in game foremost, but thought having it in the stats/server list would help advertise that its available. Is there a setting or does it require to be registered to show up on that list?

Thank you for your help
Title: Re: Dedicated server
Post by: Hawk on September 27, 2015, 04:36:15 PM
Quote from: Shahdoh on September 27, 2015, 02:39:40 PM
Another noob getting started in GPB. I have a (unlicensed) dedicated server running, ports opened and all is working except I do not see the server listed here: http://stats.gp-bikes.com/servers.php (http://stats.gp-bikes.com/servers.php).

I know what is important is that it shows up in game foremost, but thought having it in the stats/server list would help advertise that its available. Is there a setting or does it require to be registered to show up on that list?

Thank you for your help

Hi Shahdoh and welcome!  ;)

When you say "Unlicensed", do you mean your only working with the "Demo" version of GPBikes when trying to setup your dedicated server? If so then you need to buy a GPBikes license key and register your fully licensed version of GPBikes to allow full operation of GPB.

I personally don't know anything about setting up a dedicated server, but I'm sure one of the server admin guys will be able to advise you once you inform us as to whether you are working with a fully licensed version of GPBikes or the demo version?  :)

Welcome aboard and hope to see you online soon.  8)


Hawk.

Title: Re: Dedicated server
Post by: HornetMaX on September 27, 2015, 05:06:54 PM
Hmm ... setting up a dedicated server is definitely possible even with the demo (unregistered) version only (http://forum.piboso.com/index.php?topic=26.msg38#msg38 (http://forum.piboso.com/index.php?topic=26.msg38#msg38), see last line of the post, in red).

No idea why it does not pop up on the sever pages. Maybe a bug, I doubt it's intended like this.

MaX.
Title: Re: Dedicated server
Post by: Shahdoh on September 27, 2015, 05:51:14 PM
Yes, I have a licensed copy that I play off of. I installed the demo and running the dedicated off of a 2nd computer and have had people successfully connect and race on it. So that is not a problem. Was just curious as to what makes it show up on the web server list.

Thanks
Title: Re: Dedicated server
Post by: Hawk on September 27, 2015, 06:05:45 PM
Quote from: Shahdoh on September 27, 2015, 05:51:14 PM
Yes, I have a licensed copy that I play off of. I installed the demo and running the dedicated off of a 2nd computer and have had people successfully connect and race on it. So that is not a problem. Was just curious as to what makes it show up on the web server list.

Thanks

I've just been online, and I can see your "open" server in the server list. :)

Hawk.
Title: Re: Dedicated server
Post by: Napalm Nick on September 27, 2015, 06:55:51 PM
Yes I was having a good old think what might cause this (all my servers are run off demo copies of the game) but it looks like you have fixed it so hopefully you will tell what you did to resolve it in case the problem is seen by anyone again?

Ta  ;)
Title: Re: Dedicated server
Post by: Shahdoh on September 27, 2015, 08:05:01 PM
I think he means he sees it in game, I still do not see my server (Shahdoh's Sessions) on the web server list.
Title: Re: Dedicated server
Post by: Napalm Nick on September 27, 2015, 09:03:21 PM
Ah yes I see.  Could you post or attach your Dedi server script and I will have a butchers. ;)
Title: Re: Dedicated server
Post by: Shahdoh on September 27, 2015, 09:10:40 PM
Dedicated.ini:

[connection]
name = Shahdoh's Session
maxclient = 16
password = ;locked
admin_password = --------------
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping =
whitelist = ; C:\Dropbox\Peter\whitelist11.txt ; the filename of the whitelist
blacklist = ; C:\Dropbox\Peter\blacklist11.txt ; the filename of the blacklist
polls_disable = 1 ; if set to 1, polls are disabled
location = Az/United States; information about server location
MOTD =

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

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

[event]
track = Cadwell Park V0.8 ;track ID ( for example NC - Mosport Park V1.1 )
track_layout = ; track layout ( for ex. Short ). Empty -> Default
track2= Hockenheim 79 V2.0
track2_layout=
track3= Laguna Seca V0.9
track3_layout=
track4= NC - Mugello
track4_layout=
track5= NC - Suzuka_NDS
track5_layout=
track6= Silverstone GP V0.95
track6_layout=
track7= BreuquainVille V1.0
track7_layout=
track8= victoria
track8_layout=
track9= NC - Red Bull Ring
track9_layout=
track10= Tsukuba V1.2
track10_layout=


category = Open ; bike category allowed. Empty -> Open; GP125; GP125 Cup; GP250; GP500; GP800; GP1000; SSP; SBK; WSS600; STK1000; Moto 2
[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 = 18 ; air temperature, celsius
wind_direction = 1 ; 0 -> n, 1 -> ne, 2 -> e, 3 -> se, 4 -> s, 5 -> sw, 6 -> w, 7 -> nw
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]
quick_race = 0 ; 0 or 1, If set to 1, practice, warmup, sighting lap and warmup lap are skipped
practice_length = 90 ; minutes
qualify_length = 15 ; minutes
warmup_length = 0 ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 1 ; 0 or 1
race_length = 0 ; % of full length
race_use_laps = 1 ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 10 ; number of race laps
restart_delay = 120 ; 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"
Title: Re: Dedicated server
Post by: Napalm Nick on September 27, 2015, 09:23:06 PM
Check these:

Remove the/ from here location = Az/United States; information about server location.   Avoid / or \ in any text


Have you created these specific directories?>

directory = C:\GPBikes Results ; the directory where results will be saved ( must exist )

directory = D:\GP Bikes Replays ; the directory where replays will be saved ( must exist )


Try it with one track only - notice the words track_layout = and your track2_layout=  2nd version spaces! - also with track =


Not saying one of these is the culprit but I haven't seen this before but I do know erroneous characters cause the problems. Lemme know if it helps mate

Nick

Edit spello and clarity 'bolding'
Title: Re: Dedicated server
Post by: Shahdoh on September 27, 2015, 11:39:53 PM
Yes, the directories have been created. Will see check out the others things you mentioned and see if it helps.

Thanks!


Update: Removed the slash and corrected the spaces for the = signs on the extra tracks. Still no go on the web site. I am thinking it needs to be a registered copy to show up there. If I start a server from my licensed client, non-dedicated, it shows up on the web site just fine. Which brings up the next ?. Can I use the same license key on the dedicated server install? If not, will just go without it being on the web, no big deal.

Title: Re: Dedicated server
Post by: Saemon No Jyo on September 28, 2015, 04:42:30 AM
Hi Shahdoh,

When the name contains an apostrophe, it is not displayed Server list.

Quote[connection]
name = Shahdoh's Session
Title: Re: Dedicated server
Post by: Napalm Nick on September 28, 2015, 08:10:20 AM
Good spot.

Beware all that punctuation when used in textual parts of the script.

You definitely don't need a licensed copy for the server.  ;)
Title: Re: Dedicated server
Post by: Shahdoh on September 28, 2015, 11:33:59 AM
Quote from: Saemon No Jyo on September 28, 2015, 04:42:30 AM
Hi Shahdoh,

When the name contains an apostrophe, it is not displayed Server list.

Quote[connection]
name = Shahdoh's Session

Yep, that was it, thank you very much!
Title: Re: Dedicated server
Post by: PiBoSo on October 28, 2015, 11:28:23 AM
First post updated with info about:
- event name
- event save
Title: Re: Dedicated server
Post by: PeterV on October 29, 2015, 08:03:11 PM
@ Piboso
What is the difference between Event pause and Event save ?
When i look at the saved files of both they look similar to me.

Or did Event save replace Event pause ? can we delete the Event pause entries from the dedicated server file?

Ps
Sorry for messing op you're original post, did not know where to put my question.
Title: Re: Dedicated server
Post by: PiBoSo on October 29, 2015, 08:22:51 PM
Quote from: PeterV on October 29, 2015, 08:03:11 PM
@ Piboso
What is the difference between Event pause and Event save ?
When i look at the saved files of both they look similar to me.

Or did Event save replace Event pause ? can we delete the Event pause entries from the dedicated server file?

Ps
Sorry for messing op you're original post, did not know where to put my question.

"Pause" automatically uses event save, and then stops the event.
"Save" saves the state only: the event continues.
Title: Re: Dedicated server
Post by: Napalm Nick on October 29, 2015, 08:26:09 PM
PS: it is working good! Thanks PiBoSo!

I am thinking of the weekend long Events! Qually Saturday, Race Sunday lalalalalalalala  :)

Oh and yes I know Pause will do this but the SAVE allows us to continue to races at other times without the need to log off/restart server etc. Its good.
Title: Re: Dedicated server
Post by: Napalm Nick on January 11, 2016, 03:01:08 PM
Dear PiBoso (hope you are feeling better)

You might want to change the 1st post example (using ports 10510 in the dedi server example) to something different - 10520 for example.

if you use 10510 AND want to run a game client on the SAME PC (behind the same firewall/router) the ports conflict due to this http://forum.piboso.com/index.php?topic=35.msg66#msg66 meaning the game will be unable to connect through to any World Server or even the own Dedi server.

More head scratching reached that suggestion lol. Might save some other poor bugger in the future  :D

Thanks also to HornetMax for his help in concluding this.
Title: Re: Dedicated server
Post by: PiBoSo on January 20, 2018, 02:23:15 PM

First post updated with info about the track day mode.
Title: Re: Dedicated server
Post by: PiBoSo on July 13, 2018, 11:43:07 AM

First post updated to rename the track day mode to testing day.
Title: Re: Dedicated server
Post by: huertasRC on August 04, 2018, 10:26:08 AM
hello good bikers, I can not create online games but I can create games in Lan,I do not know where the problem is I have open the port 54300
Title: Re: Dedicated server
Post by: teeds on August 04, 2018, 03:27:07 PM
Make sure the IP of the pc hosting is static, and you've forwarded that port to that pc.
Title: Re: Dedicated server
Post by: huertasRC on August 04, 2018, 05:06:38 PM
Quote from: teeds on August 04, 2018, 03:27:07 PM
Make sure the IP of the pc hosting is static, and you've forwarded that port to that pc.


hi teeds, the ip is 192.168.1.xxx and it's that ip to which I open the port, but it never lets me create games

thanksss ;D
Title: Re: Dedicated server
Post by: teeds on August 04, 2018, 11:09:24 PM
So you can launch the server but it doesn't show in the master server list?
Title: Re: Dedicated server
Post by: poumpouny on August 06, 2018, 12:05:33 PM
192.168..... etc is not your internet ip, it's just your local ip who is behind the router ......
Title: Re: Dedicated server
Post by: huertasRC on August 07, 2018, 07:22:04 PM

if I can run the server and it appears in the list, the only thing that happens is that it does not read the dedicated.ini from the gp-bikes folder
Title: Re: Dedicated server
Post by: teeds on August 07, 2018, 08:00:06 PM
Have you got the .ini file in the "install folder\gpbikes" folder?
Title: Re: Dedicated server
Post by: huertasRC on August 08, 2018, 05:50:04 AM
Quote from: teeds on August 07, 2018, 08:00:06 PM
Have you got the .ini file in the "install folder\gpbikes" folder?


is already solved thanks teed, it is fixed, the dedicated.ini was in the wrong path
Title: Re: Dedicated server
Post by: huertasRC on August 22, 2018, 10:54:16 AM
I give up, I believe the server well, I open port 64084 but people do not find my server in the game

However I can see my server in the game but on the right side where the pin does not appear any number comes out like this -

please help me to be able to create a server well, my server is "EOL Racing" server is active right now supposedly
Title: Re: Dedicated server
Post by: teeds on August 22, 2018, 11:09:09 AM
It was working, what did you change?
Title: Re: Dedicated server
Post by: huertasRC on August 22, 2018, 11:28:15 AM
Quote from: teeds on August 22, 2018, 11:09:09 AM
It was working, what did you change?

I changed the ports, I could not enter my server, I'm going crazy with this

(https://s26.postimg.cc/52zdmfo6x/Base_Profile_Screenshot_2018.08.22_-_14.41.01.33.png) (https://postimg.cc/image/x33h6prn9/)
Title: Re: Dedicated server
Post by: teeds on August 22, 2018, 12:52:07 PM
Might be worth simplifying your server name, you've got a few special characters in there and the master server can be fussy. Try a really basic name with just letters numbers and spaces, see if that alone helps.

Can't right now but will try your server later today.
Title: Re: Dedicated server
Post by: huertasRC on August 22, 2018, 01:03:54 PM
Quote from: teeds on August 22, 2018, 12:52:07 PM
Might be worth simplifying your server name, you've got a few special characters in there and the master server can be fussy. Try a really basic name with just letters numbers and spaces, see if that alone helps.

Can't right now but will try your server later today.

thanks teeds, I'll try what you say
Title: Re: Dedicated server
Post by: javiliyors on August 22, 2018, 10:46:16 PM
Open all port with dmz option in the router and it works.
Title: Re: Dedicated server
Post by: huertasRC on August 23, 2018, 05:48:34 AM
Quote from: javiliyors on August 22, 2018, 10:46:16 PM
Open all port with dmz option in the router and it works.


yes but the ip that I have to open the ports is the public or private? thanks, I will try


PD: I think it is solved, if someone could try the server I would appreciate it
Title: Re: Dedicated server
Post by: javiliyors on November 04, 2018, 10:54:52 PM
How can i connect to my server with admin password? With the console cant use the commands... and is possible download the data when the players go out? If the server is empty the data losses. Thanks
Title: Re: Dedicated server
Post by: teeds on November 05, 2018, 08:40:39 AM
You use the admin password in the same place as you would a password to get in a locked server. Results can be exported at the end of sessions, not sure if it exports when every one leaves though.
Title: Re: Dedicated server
Post by: PiBoSo on February 06, 2019, 08:47:19 PM

First post updated with the setting to disable the dynamic track surface.
Title: Re: Dedicated server
Post by: PiBoSo on February 25, 2019, 02:42:17 PM

First post updated to remove "force_start" from "race" and add "persistent" to "dynamicsurface".
Title: Re: Dedicated server
Post by: DidietXFuera on February 26, 2019, 01:03:47 AM
Quote from: PiBoSo on February 25, 2019, 02:42:17 PM

First post updated to remove "force_start" from "race" and add "persistent" to "dynamicsurface".
Thanks, PiBoSo!  ;)
Title: Re: Dedicated server
Post by: PiBoSo on September 07, 2019, 09:49:54 PM

First post updated with the latest connection bandwidth settings.
Title: Re: Dedicated server
Post by: Daddi80 on November 22, 2019, 11:23:51 AM
Hi guys, im hosting dedicated servers from some days, for me is not clear the "remue" function.
If i set to pause the server after a specific session, how ca i resume the event?
THX
DAddi
Title: Re: Dedicated server
Post by: PiBoSo on February 11, 2020, 06:29:22 PM

First post updated to add the "polls" section and to add information on how to write the live timing data to a file.
Title: Re: Dedicated server
Post by: PiBoSo on May 28, 2020, 09:13:39 PM
First post updated to:
- add settings for "incremental" export and the filename prefix of results and replays
- add information about the "restart_delay", that is now disabled when set to zero
Title: Re: Dedicated server
Post by: PiBoSo on December 27, 2020, 10:51:36 PM
First post updated to:
- add support for a list of allowed bikes
- add the remote admin section
- add whitelist settings, that allow to:
-- force race number, name, name prefix and bike of each entry
-- set an ( optional ) "Extra" string for each entry, that is added to the results exports and live timing
- add information about personal messages
- add the command to promote a client to admin
- change the whitelist and blacklist reload commands
Title: Re: Dedicated server
Post by: PiBoSo on January 05, 2022, 10:33:52 PM
First post updated to:
- add the option to set the track paint
- add the option to export both HTML and XML at the same time
- add the option to add contacts to the XML export
- add the option to write contacts to the live timing file
Title: Re: Dedicated server
Post by: RaDiCaL on January 07, 2022, 03:01:05 PM
Hi @ all

i want to setup a Motogp dedicated server with Manu`s 0,8b mod but it only shows category "open". I have tried many different ways like MotoGP_2021_0,8b_MP but nothing works.
I have tried another line "allowed bikes" in the SERVER.ini and wrote in all the bikes of the mod and then it shows under category in the server list the name of all the bikes.
I dont know how to setup the right category in the SERVER.ini.
I hope someone can help me.

regards
Michael
Title: Re: Dedicated server
Post by: teeds on January 07, 2022, 10:26:51 PM
The bike name for a dedi server using that mod is MGP21 0.8 MP. If you want to know the name to use for any bike just look in the bikes folder for the .ini file, and look in there under cat = , that's the name to use.
Title: Re: Dedicated server
Post by: RaDiCaL on January 08, 2022, 10:10:58 PM
Thank you teeds !
I will try this
Title: Re: Dedicated server
Post by: PiBoSo on January 16, 2022, 10:22:20 PM
First post updated to add more information to "track" and "track_layout".
It is now possible to optionally select a track based on the track name, instead of the ID.
Title: Re: Dedicated server
Post by: PiBoSo on March 12, 2022, 10:56:31 AM
First post updated to add the option to write the dedicated server output to a file.
Title: Re: Dedicated server
Post by: Ionee_Q on April 17, 2022, 08:02:48 PM
I've done all the steps PiBoSo details in the instructions but I can't even get the dedicated server to write me a dedicated.ini file, I don't really know what to do  :(
Title: Re: Dedicated server
Post by: teeds on April 19, 2022, 07:15:05 PM
You need to create the .ini file yourself and point the game shortcut to it. The text you need for the file is in the first post of this thread.