• Welcome to MX Bikes Official Forum. Please login or sign up.
 
September 22, 2020, 11:06:01 PM

News:

MX Bikes beta14e available! :)


Help / i don't understand how hosting session

Started by 74med, May 18, 2016, 02:01:59 AM

Previous topic - Next topic

74med

May 18, 2016, 02:01:59 AM Last Edit: May 18, 2016, 02:06:33 AM by 74med
hello , I read the message for create dedicated server  (PiBoSo) but I don't understand anything.

Can you explain me in detail steps to follow?

My port is already open at 10400 to 10410 
it's ok?

Because i want to create an enduro and freeride server :)

thank you very much for your help.
Have good day :)

[GH]Cody

port forward your router, i used port 10412 for mine. then create a shortcut of your mxbikes.exe, and rename it to something such as mxbikesserver. then right click on the shortcut and go to properties and put this in it mxbikes.exe -dedicated 10412 -set params dedicated.ini

now the dedicated.ini can be whatever you want, such as serversettings.ini. dedicated.ini/serversettings.ini is where you set the settings for the server, such as track/laps and such and other random things, make sure this file is inside your mx bikes directory C:\Program Files (x86)\MX Bikes 
now that youve created your serversettings.ini or dedicated.ini(if your using serversettings.ini change the properites that i put above to this, mxbikes.exe -dedicated 10412 -set params serversettings.ini) open it up and put what pisbo put in the dedicated server documentation and edit it as needed.

[connection]
name =
maxclient =
password =
admin_password =
bandwidth = ; 0 -> low, 1 -> medium, 2 -> high
max_ping = ; milliseconds. 0 -> no limit
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. Use "/r" to split the message in multiple lines.

[export]
results =  ; html or xml. If set it will automatically export results at the end of the last session
directory = ; the directory where results will be saved ( must exist )
units =  ; 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 = ; track ID ( for ex. Practice )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: MX1/MX2

[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]
quick_race = ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = ; minutes
prequalify_length = ; minutes
warmup_length = ; minutes
sighting_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
pause = ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, prequalify, qualify, warmup, race1 or race2
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, prequalify, qualify, warmup, race1 or race2
save_directory = ; the directory where data is saved. The default is "resume"

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

[collisions]
disable = ; 0 or 1. If set to 1, collisions between bikes are disabled. The default is 1

[deformation]
scale = ; 0 to 1. 0 disables the terrain deformation ( values in between like 0.5 are allowed )


this is my dedicated.ini file
[connection]
name = Cody's erode on;
maxclient = 10;
password =
admin_password = 1234;
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping = ; milliseconds. 0 -> no limit
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. Use "/r" to split the message in multiple lines.

[export]
results =  ; html or xml. If set it will automatically export results at the end of the last session
directory = ; the directory where results will be saved ( must exist )
units =  ; 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 = club; track ID ( for ex. Practice )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
track1 = maryland;
track1_layout = ;
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: MX1/MX2

[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 = 28; 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 or 1
no_aids = ; 0 or 1
limited_tyre_sets = ; 0 or 1

[race]
quick_race = ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 500; minutes
prequalify_length = ; minutes
warmup_length = ; minutes
sighting_lap = 0; 0 or 1
race_length = ; % 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 = ; server restart time in seconds
pause = ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, prequalify, qualify, warmup, race1 or race2
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, prequalify, qualify, warmup, race1 or race2
save_directory = ; the directory where data is saved. The default is "resume"

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

[collisions]
disable = 0; 0 or 1. If set to 1, collisions between bikes are disabled. The default is 1

[deformation]
scale = 1; 0 to 1. 0 disables the terrain deformation ( values in between like 0.5 are allowed )

74med

May 18, 2016, 01:35:56 PM #2 Last Edit: May 18, 2016, 02:21:55 PM by 74med
hi  :) thank you very much for your help.
I almost succeeded ... just when I run mxbikesservers. it will not start the settings of my files serversettings.ini (-dedicated 10411 -set params serversettings.ini)

My .ini file configuration :

[connection]
name = 74med Freeride;
maxclient = 6;
password =
admin_password = 1234;
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping = ; milliseconds. 0 -> no limit
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; if set to 1, polls are disabled
location = FR; information about server location
MOTD = ; message of the day. Use "/r" to split the message in multiple lines.

[export]
results =  ; html or xml. If set it will automatically export results at the end of the last session
directory = ; the directory where results will be saved ( must exist )
units =  ; 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 = Enduro; track ID ( for ex. Practice )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
track1 = ;
track1_layout = ;
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: MX1/MX2

[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 = 28; 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 or 1
no_aids = ; 0 or 1
limited_tyre_sets = ; 0 or 1

[race]
quick_race = ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 500; minutes
prequalify_length = ; minutes
warmup_length = ; minutes
sighting_lap = 0; 0 or 1
race_length = ; % 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 = ; server restart time in seconds
pause = ; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, prequalify, qualify, warmup, race1 or race2
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, prequalify, qualify, warmup, race1 or race2
save_directory = ; the directory where data is saved. The default is "resume"

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

[collisions]
disable = 0; 0 or 1. If set to 1, collisions between bikes are disabled. The default is 1

[deformation]
scale = 1; 0 to 1. 0 disables the terrain deformation ( values in between like 0.5 are allowed )

And when i start i have this (look picture)


THANKS A LOT

see you

teeds

You're getting server defaults, so make sure your serversettings.ini file is located in the MXBikes folder you have your server shortcut pointed to.
"Damn dirt bikers!" - Bubba

74med

hi teeds thank you its works.
.ini was in .txt .
everything works
Enormously thank you to you guys  :D