MX Bikes Official Forum

General Category => Documentation => Topic started by: PiBoSo on October 02, 2014, 02:38:18 PM

Title: Dedicated server
Post by: PiBoSo on October 02, 2014, 02:38:18 PM
To start a dedicated server, launch mxbikes.exe with the following parameters:
mxbikes.exe -dedicated (port number) [-set params (config_file)]

for example:
mxbikes.exe -dedicated 54210 -set params dedicated.ini


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


Configuration file must be in the installation path
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 = ; 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", "xml" or "both". 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
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. Practice ). If no track is found, then it is searched in the full names ( for ex. Winchester MXoN )
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. 2018 to choose between different versions of Nevada )
category = ; bike category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: MX1/MX2
allowed_bikes = ; list of ID of allowed bikes, separated by a slash. For example: 350xf/450xf

[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]
open_practice = ; 0 or 1. If set to 1, the following race settings are unused
format = ; 0 or 1. If set to 1 the qualify race is replaced by a qualify practice session. The pre-qualify session is skipped, too
quick_race = ; 0 or 1. If set to 1 all sessions except for warmup and race2 are skipped. The sighting lap is skipped, too
practice_length = ; minutes. If set to 0, the session is skipped
prequalify_length = ; minutes. If set to 0, the session is skipped
qualifypractice_length = ; minutes. If set to 0, the session is skipped
warmup_length = ; minutes. If set to 0, the session is skipped
sighting_lap = ; 0 or 1
race_length_format = ; 0 -> % of full length + 2 laps, 1 -> timed race + extra laps, 2 -> laps
race_length = ; % of full length. Only used if race_length_format is 0
race_minutes = ; only used if race_length_format is 1
race_extralaps = ; only used if race_length_format is 1
race_laps = ; only used if race_length_format is 2
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, prequalify, qualifypractice, 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, qualifypractice, qualify, warmup, race1 or race2
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: http://forum.mx-bikes.com/index.php?topic=233.0 ). If set to 2, data is written to a local file
port = ; the UDP port ( only used with "enable = 1" ). If missing or set to 0, port 54220 is used
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: http://forum.mx-bikes.com/index.php?topic=3891.0 )
port = ; the UDP port. If missing or set to 0, port 54230 is used
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 )
auto_reset = ; 0 or 1. If set to 1, the terrain deformation is reset at the beginning of each session

[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

It is possible to 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]
steamid = ........

The GUID can be read in the "Profiles" page.
Optionally, it is possible to replace "guid" with "steamid", to use the Steam ID number instead.
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: http://forum.mx-bikes.com/index.php?topic=4729.msg44873#msg44873
It is also possible to send commands: http://forum.mx-bikes.com/index.php?topic=4729.msg44874#msg44874
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: http://forum.mx-bikes.com/index.php?topic=3891.0


NOTE: a license is not needed to start a dedicated server.
Title: Re: Dedicated server
Post by: teeds on May 14, 2015, 02:21:20 PM
I've been trying this -

In the dedicated server text input, it is possible to type:
"restart" to reset the server


But when I type "restart" in the dedi console it only seems to type a message in chat, is there a command symbol of some kind in need to put in front of these dedi console commands?
Title: Re: Dedicated server
Post by: PiBoSo on May 14, 2015, 03:21:34 PM
Quote from: teeds on May 14, 2015, 02:21:20 PM
I've been trying this -

In the dedicated server text input, it is possible to type:
"restart" to reset the server


But when I type "restart" in the dedi console it only seems to type a message in chat, is there a command symbol of some kind in need to put in front of these dedi console commands?

The "!" prefix must be used to execute a command.
First post updated.
Title: Re: Dedicated server
Post by: teeds on May 14, 2015, 03:37:34 PM
Thanks  Pibs :)
Title: Re: Dedicated server
Post by: PiBoSo on March 02, 2016, 07:36:49 PM

First post updated to add info about event name, race laps, event save, disable collisions and terrain deformation.
Title: Re: Dedicated server
Post by: [GH]Cody on March 04, 2016, 02:55:22 AM
ok im hosting my own server, and whenever i have my dedicated server running i cant join any server, not even my own. when i click join on a server it doesnt say connecting, it just gives me the option to cancel the server like this
(http://i68.tinypic.com/160vbzo.png)

does anyone have a fix? when i close the server it works and im able to relaunch the game and join other servers.
Title: Re: Dedicated server
Post by: PiBoSo on March 04, 2016, 11:35:16 AM
Quote from: gokitty199 on March 04, 2016, 02:55:22 AM
ok im hosting my own server, and whenever i have my dedicated server running i cant join any server, not even my own. when i click join on a server it doesnt say connecting, it just gives me the option to cancel the server like this

does anyone have a fix? when i close the server it works and im able to relaunch the game and join other servers.

When hosting on the same PC where the client is running, the port must be changed from 10410 to something else, for example 10411.
Title: Re: Dedicated server
Post by: [GH]Cody on March 04, 2016, 10:29:39 PM
Quote from: PiBoSo on March 04, 2016, 11:35:16 AM
Quote from: gokitty199 on March 04, 2016, 02:55:22 AM
ok im hosting my own server, and whenever i have my dedicated server running i cant join any server, not even my own. when i click join on a server it doesnt say connecting, it just gives me the option to cancel the server like this

does anyone have a fix? when i close the server it works and im able to relaunch the game and join other servers.

When hosting on the same PC where the client is running, the port must be changed from 10410 to something else, for example 10411.
ahh thank you sir. great work on beta 4 by the way, quite an improvement.
Title: Re: Dedicated server
Post by: teeds on March 05, 2016, 01:50:17 PM
Any chance we can get to set the qualifying race laps please? Looks like right now it's calculated at something like 70% of race distance, be nice if we could alter this as some Qualifying events, like LCQ, run less laps than a Heat race IRL.

I'd really like the ability to setup an ini for each race stage to get, for instance, the AMA Supercross 250 format of 2 heats, an LCQ and the main. I'd like to use the qualifying races for all heats and disable the qualy race for a main.

:)

Of course the ultimate way would be to allow us to totally customise an event, numerous heats, mains and all  :D  I can dream eh ;)
Title: Re: Dedicated server
Post by: JJS209 on March 15, 2016, 09:08:20 PM
is it possible to select that riders crash with each other? now it seems that they drive thru like they are ghosts.
Title: Re: Dedicated server
Post by: Niko Mouk on March 16, 2016, 11:01:23 AM
 8) 300 Mbps french server is out.
Testing phase, password : saucisson (it was hard to make a choice between this and wine haha)
(http://www.mx-bikes.fr/wp-content/uploads/2016/03/serveur-800x450.png)
Title: Re: Dedicated server
Post by: Niko Mouk on March 16, 2016, 11:02:20 AM
Quote from: JJS209 on March 15, 2016, 09:08:20 PM
is it possible to select that riders crash with each other? now it seems that they drive thru like they are ghosts.

[collisions]
disable = ; 0 or 1. If set to 1, collisions between bikes are disabled. The default is 1
Title: Re: Dedicated server
Post by: PiBoSo on March 22, 2016, 12:20:58 AM
Quote from: geofanatec on March 22, 2016, 12:16:41 AM
If I make a "whitelist" will ONLY those riders be able to join server?

Yes.
Title: Re: Dedicated server
Post by: Niko Mouk on April 09, 2016, 04:45:24 PM
I got a super question  ;D

How do you define which GUID is admin or not ?
Title: Re: Dedicated server
Post by: Niko Mouk on April 10, 2016, 12:36:28 AM
So, I'm sorry, where do you put the apssword ? Nothing about it in the wiki
Title: Re: Dedicated server
Post by: HornetMaX on April 10, 2016, 03:24:28 PM
Quote from: Niko Mouk on April 10, 2016, 12:36:28 AM
So, I'm sorry, where do you put the apssword ? Nothing about it in the wiki
http://forum.mx-bikes.com/index.php?topic=197.0 (http://forum.mx-bikes.com/index.php?topic=197.0)
Title: Re: Dedicated server
Post by: Niko Mouk on April 10, 2016, 05:46:32 PM
No sorry I rode this, what I mean is me, as a client when I'm connected to my own server, where/how do I put the password to type admin commands ?
Title: Re: Dedicated server
Post by: HornetMaX on April 10, 2016, 05:48:37 PM
In the same place where you put the password to connect to a password protected server. If you put the admin password, you'll log in as admin.
Title: Re: Dedicated server
Post by: teeds on April 10, 2016, 06:00:39 PM
Quote from: Niko Mouk on April 10, 2016, 05:46:32 PM
No sorry I rode this, what I mean is me, as a client when I'm connected to my own server, where/how do I put the password to type admin commands ?

You need to enter the admin password before joining a server, it goes in the password box bottom right of the server list screen.
Title: Re: Dedicated server
Post by: Niko Mouk on April 10, 2016, 10:32:36 PM
Haha ok, I'll never thought to put the admin password here !
Thank you guys :)
Title: Re: Dedicated server
Post by: Azazel on January 10, 2017, 09:44:58 AM
Hi,
I dont understand how i can set qualif time and race time in the dedicated.ini.
I can set race_lap and race_length but i dont know what does it do?
When i join my dedicated server i play in practice, in qualif but never in race, where is the problem?

dedicated.ini :

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 1; minutes
prequalify_length = 0; minutes
warmup_length = 0; minutes
sighting_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 = 1; number of race laps


Title: Re: Dedicated server
Post by: teeds on January 10, 2017, 11:51:41 AM
Last I knew (don't think it's changed since) you can either set race laps or % of full race depending on the switch "race_use_laps = 1; 0 or 1. If set to 1, race_laps is used instead of race_length" . The qualifying laps are then set at 70% of the race distance and currently are not separately adjustable.

Quote from: Azazel on January 10, 2017, 09:44:58 AM
When i join my dedicated server i play in practice, in qualif but never in race, where is the problem?

Not sure what you mean by this? Your ini below is set for a 1 race lap, not sure how the game will set the qualifying laps but guess it'll round up to 1. But are you saying you never get to the race in your server with these settings?
Title: Re: Dedicated server
Post by: Azazel on January 10, 2017, 01:57:36 PM
Thanks Teeds,

If i understand good, I have to try with other parameters, maybe my problems will disappear.

When you tell 70%, it is 70% of race lap or race length?
So, if in parameters i have : 100% race and 100 laps race we have 70 qualif laps and 30 race laps or 70 qualif laps and 100 race laps?
Or i understanding nothing   :-[
Title: Re: Dedicated server
Post by: teeds on January 10, 2017, 04:40:33 PM
Quote from: Azazel on January 10, 2017, 01:57:36 PM
When you tell 70%, it is 70% of race lap or race length?
So, if in parameters i have : 100% race and 100 laps race we have 70 qualif laps and 30 race laps or 70 qualif laps and 100 race laps?

Yea I think you've got it but It's either laps or %, not both depending on how you set "race_use_laps = 1; 0 or 1. If set to 1, race_laps is used instead of race_length"

Qually is 70% of either, so -

If you use Laps - race_use_laps = 1
10 laps = 7 qualifying laps
20 laps = 14 qualifying laps

If you use % - race_use_laps = 0
If a real race is 20 laps and you set 100%, that's 20 laps = 14 qualifying laps
If a real race is 20 laps and you set 50%, that's 10 laps = 7 qualifying laps

Not used % myself so I'm not sure what the number of laps for 100% is (easy to find out though, just run a 100% race and note laps), maybe it's a certain amount set in game for SX and MX but maybe it's in each track config?
Title: Re: Dedicated server
Post by: Azazel on January 10, 2017, 05:10:10 PM
Thanks for all Teeds!!

I will try  ;D
Title: Re: Dedicated server
Post by: Yamaha285 on March 27, 2017, 01:48:12 AM
So was just getting mine to work but i have some confusion on what to do for this to work correctly so please help if you can. My server shows up as dedicated server and we can get our friends to connect but its stuck on a supermoto track only. Can i get some direction on how to name the tracks in order for this to work. Also the server is always on even when i disconnect it shows up on the list is that normal? Can someone post a code for how it should look to work correct and with the proper track codes?

Thanks and hopefully i can add to the list over servers.
Title: Re: Dedicated server
Post by: Yamaha285 on March 27, 2017, 02:23:43 AM
Quote from: geofanatec on March 27, 2017, 02:14:42 AM
Name the track same as the folder name (or pkz) for the track.

Some have different layouts like on JS7 and require a layout name as well (which is name of subfolder in track folder).

Hope that helps.

I've named them that but it defaults to the Adria international Raceway every time. Plus the laps are not changing as well. I want to make sure i am spacing and entering in all the right info. when i copy that code line do i need to edit every line in there?
Title: Re: Dedicated server
Post by: Yamaha285 on March 27, 2017, 02:33:15 AM
[connection]
name =Monster Yamaha Racing
maxclient =20
password =
admin_password =
bandwidth = ; 0
max_ping = ; milliseconds. 0
whitelist = ; the filename of the whitelist
blacklist = ; the filename of the blacklist
polls_disable = ; 0
location = ; Pacific Northwest
MOTD = ; Have Fun

[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 = ; Glen Helen 2015
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

[deformation]
scale = ; 1
Title: Re: Dedicated server
Post by: Yamaha285 on March 27, 2017, 02:51:44 AM
Ok and do i even need that ; after? is it spaced after the = or does that matter? Also how do i get the server to show something other then dedicated server?
Title: Re: Dedicated server
Post by: Yamaha285 on March 27, 2017, 03:09:59 AM
Ok i still for some reason cannot get it to work. I tried to host one earlier but people get a connection time out. I did the port forwarding as well but not sure
Title: Re: Dedicated server
Post by: Yamaha285 on March 28, 2017, 01:42:12 AM
Quote from: geofanatec on March 27, 2017, 03:11:45 AM
Better to just turn your firewall off and then see

I want to have a dedicated server just not sure what is wrong on my ini. I created a shortcut with the target info entered in. I have filled out the info on the ini file and when i click the shortcut a cmd like box pops up showing the server on with the supermoto track and the laps unchanged every time. I have to be missing something here. Can you send me in a PM you ini file with out like admin and other info you do not want me to see so i can make this work? I just want to use yours to refer to mine and correct anything i may have missed? I just went into notepad ++ and pasted that code piboso posted then saved it as server.ini but it will not work. That file is in my 86 folder as well
Title: Re: Dedicated server
Post by: Yamaha285 on March 28, 2017, 02:10:46 AM
https://gyazo.com/9e3d7321be0e812d6be4e66d02f2f51b

Just making sure this i need to name something else. Plus at the end of the target before ini i name that. Needs to be the same to match correct?
Title: Re: Dedicated server
Post by: Yamaha285 on March 28, 2017, 02:21:24 AM
In the most none homo way i love you!!! LOL. Thank you for helping me and all of your patience thru all of this i really appreciate it. It came up and worked right.
Title: Re: Dedicated server
Post by: Azazel on April 07, 2017, 10:36:12 AM
Hi,

I'm trying to launch server only in race, to begin to start from the grid.
When i set, in dedicated.ini, quick_race to 1, the game start only in race but i must to wait 15 minutes in stand before start race.
How i can do to disable this waiting time?

Thanks  ;)
Title: Re: Dedicated server
Post by: storken on April 26, 2017, 06:06:59 PM
I'm about to buy this game within the foreseeable future. I'd like to try and set up my own servers and whatnot whenever I get it. However it seems that it's for windows only, is that correct? So it would have to be on a windows server?
Title: Re: Dedicated server
Post by: Big Smooth one3 on April 26, 2017, 08:39:06 PM
Quote from: wahlmat on April 26, 2017, 06:06:59 PM
I'm about to buy this game within the foreseeable future. I'd like to try and set up my own servers and whatnot whenever I get it. However it seems that it's for windows only, is that correct? So it would have to be on a windows server?
Oh, hey there friend  ;D
Title: Re: Dedicated server
Post by: PizzaChet on April 26, 2017, 10:38:29 PM
Havoc says hi!
Title: Re: Dedicated server
Post by: Big Smooth one3 on April 27, 2017, 12:16:15 AM
Quote from: PizzaChet on April 26, 2017, 10:38:29 PM
Havoc says hi!
PizzaChet? What, was Havoc already taken?  :'(

See some familiar names around here...we'll see how it goes
Title: Re: Dedicated server
Post by: teeds on April 27, 2017, 09:24:42 AM
Quote from: wahlmat on April 26, 2017, 06:06:59 PM
So it would have to be on a windows server?

I'm fairly sure it's windows only right now.
Title: Re: Dedicated server
Post by: PizzaChet on April 27, 2017, 11:06:23 PM
Naw, I've always been (a) PizzaChet. MXS is the only place I use that name.  ;)
Title: Re: Dedicated server
Post by: PiBoSo on November 05, 2017, 06:12:07 PM

First post updated with the new network ports.
Title: Re: Dedicated server
Post by: MotoSavage on November 14, 2017, 10:41:46 PM
I setup a server last night on a virtual machine and it works amazing(virtual machine is a little powerful for one server). Im not sure how to set the export of race results..

[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

I have pasted the path to the directory of a folder to export files already.
What exactly do I put in the:
results = 


One other thing I didn't quite understand is what is "class"?

Just want to understand this file as much as possible because may eventually try to host some little fun races or something.
Title: Re: Dedicated server
Post by: PiBoSo on June 14, 2018, 11:20:25 PM

First post updated with info about the open practice mode.
Title: Re: Dedicated server
Post by: iNsane on June 17, 2018, 03:40:48 PM
is there any possibility to make something like [color] or <font color=""> for the name of the server?
Title: Re: Dedicated server
Post by: PiBoSo on June 17, 2018, 04:10:56 PM
Quote from: iNsane on June 17, 2018, 03:40:48 PM
is there any possibility to make something like [color] or <font color=""> for the name of the server?

Where should the server color be used?
In the web server browser?
Title: Re: Dedicated server
Post by: iNsane on June 17, 2018, 06:19:45 PM
Quote from: PiBoSo on June 17, 2018, 04:10:56 PM
Quote from: iNsane on June 17, 2018, 03:40:48 PM
is there any possibility to make something like [color] or <font color=""> for the name of the server?
Where should the server color be used?
In the web server browser?

Uhmm well yeah there too, I was Just curious about Colors in The game's Server Browser, didn't thought about the Web Server browser tbh but when there's such a feature it would be useful to have the same format for it.
I'm about to Host some 24/7 Servers and I liked the Idea to Change Colors and Font Style (Bold/italic) of the name for different servers. Just to make Things a little more colorful and better eye-catching  ::)
Title: Re: Dedicated server
Post by: Azazel on September 28, 2018, 08:32:52 AM
Hello everybody,

I try to get result to the end of session.
But i don,t know why I have not any xml file.

I tried this :

results = test.xml ; html or xml. If set it will automatically export results at the end of the last session
directory = \scores; the directory where results will be saved ( must exist )

and this :

results = xml ; html or xml. If set it will automatically export results at the end of the last session
directory = C:\scores; the directory where results will be saved ( must exist )

Nothing works.

Any ideas

Thanks
Title: Re: Dedicated server
Post by: teeds on September 28, 2018, 12:02:10 PM
Have you tried setting the units? Not sure if it's required but always had mine set when using this.
Title: Re: Dedicated server
Post by: Azazel on September 28, 2018, 02:18:48 PM
Quote from: teeds on September 28, 2018, 12:02:10 PM
Have you tried setting the units? Not sure if it's required but always had mine set when using this.

Thank you for your answer.

I just tried but always the same, no one file was created.

Can you give me your parameters please?
Title: Re: Dedicated server
Post by: teeds on September 29, 2018, 06:53:23 PM
results = html ; html or xml. If set it will automatically export results at the end of the last session
directory = C:\Output ; the directory where results will be saved ( must exist )
units = 2 ; 0 -> metric units, 1 -> US units, 2 -> UK units

Only thing I've not tried is XML, give HTML a go. Also I've used this in GPBikes not MXBikes yet, will test and see if it works for me in MXB.
Title: Re: Dedicated server
Post by: Azazel on October 01, 2018, 02:29:32 PM
Thanks for your answer teeds,

But to me that don't works.
Maybe i didn't understand how it's works.

I create dedicated server, i join it, i do the race and the game become in "Race over".
When are the results file is created?

Title: Re: Dedicated server
Post by: teeds on October 01, 2018, 04:39:28 PM
Had mine set for a few days and no results have been produced yet. Just changed it over to html to see if that changes anything.



Edit: it didn't.
Title: Re: Dedicated server
Post by: Lance H on May 08, 2019, 12:18:58 AM
When I try to play I cant it only opens the server text
Title: Re: Dedicated server
Post by: teeds on May 08, 2019, 09:38:49 AM
Sounds like you have a shortcut to your server.ini file for it to open just the text file. Instead the server shortcut must be made by editing the normal shortcut you use to launch the game. Edit it to include this "mxbikes.exe -dedicated 54210 -set params dedicated.ini" and set the port and filename to what you have setup.

http://forum.mx-bikes.com/index.php?topic=197.0

HTH  :)
Title: Re: Dedicated server
Post by: PiBoSo on July 10, 2019, 02:19:12 PM

First post updated to:
- add the "very high" setting of "bandwidth"
- add the "dynamicsurface" section
- update the information about the "quick_race" setting
Title: Re: Dedicated server
Post by: MxWayGamer on November 03, 2019, 06:09:53 PM
Is it possible to send commands from web panel ? With packet UDP for example
Title: Re: Dedicated server
Post by: PiBoSo on November 04, 2019, 12:40:59 AM
Quote from: MxWayGamer on November 03, 2019, 06:09:53 PMIs it possible to send commands from web panel ? With packet UDP for example

At the moment it's not possible to control a dedicated server from remote.
What commands would you need?
Title: Re: Dedicated server
Post by: MxWayGamer on November 04, 2019, 09:39:37 AM
I think the best will be to have all same commands than server text input. And why not add command to kick players.

Quote from: PiBoSo on October 02, 2014, 02:38:18 PMIn the dedicated server text input, it is possible to type:
"!restart" to reset the server
"!update whitelist" to update the whitelist
"!update blacklist" to update the blacklist

The easiest will be to add the possibility to use command in the packet like we use command in server text input.

Edit : To add track in my server, Do I need to have it on my server folder ?
Title: Re: Dedicated server
Post by: PiBoSo on November 05, 2019, 10:53:11 PM
Quote from: MxWayGamer on November 04, 2019, 09:39:37 AMEdit : To add track in my server, Do I need to have it on my server folder ?

The dedicated server should load tracks from the mods folder in "Documents", too.
Title: Re: Dedicated server
Post by: MxWayGamer on November 05, 2019, 11:05:15 PM
Quote from: PiBoSo on November 05, 2019, 10:53:11 PM
Quote from: MxWayGamer on November 04, 2019, 09:39:37 AMEdit : To add track in my server, Do I need to have it on my server folder ?

The dedicated server should load tracks from the mods folder in "Documents", too.

Ok, so for now. I need to have big hdd in my dedicated server to host my server :S

Do you plan to create lighter script to host server like for Mx Simulator ?
Title: Re: Dedicated server
Post by: PiBoSo on November 06, 2019, 10:35:04 AM
Quote from: MxWayGamer on November 05, 2019, 11:05:15 PM
Quote from: PiBoSo on November 05, 2019, 10:53:11 PM
Quote from: MxWayGamer on November 04, 2019, 09:39:37 AMEdit : To add track in my server, Do I need to have it on my server folder ?

The dedicated server should load tracks from the mods folder in "Documents", too.

Ok, so for now. I need to have big hdd in my dedicated server to host my server :S

Do you plan to create lighter script to host server like for Mx Simulator ?

Could you please explain what you mean with "lighter script"?
Title: Re: Dedicated server
Post by: iNsane on November 06, 2019, 12:08:14 PM
Quote from: MxWayGamer on November 05, 2019, 11:05:15 PM
Quote from: PiBoSo on November 05, 2019, 10:53:11 PM
Quote from: MxWayGamer on November 04, 2019, 09:39:37 AMEdit : To add track in my server, Do I need to have it on my server folder ?

The dedicated server should load tracks from the mods folder in "Documents", too.

Ok, so for now. I need to have big hdd in my dedicated server to host my server :S

Do you plan to create lighter script to host server like for Mx Simulator ?

You can change the location of the documents folder in windows settings, googling "change documents drive windows" should help you out. We had to do this on discord servers too.
Title: Re: Dedicated server
Post by: MxWayGamer on November 06, 2019, 01:06:41 PM
Quote from: PiBoSo on November 06, 2019, 10:35:04 AMCould you please explain what you mean with "lighter script"?

Lighter script : For me, it's independant script, a script dedicated to host server without have to install Mx Bikes on the dedicated server. For example, for Mx Simulator, it's just an excutable file who run server in the windows command prompt. It uses low resources so it can be run on light VPS. It's also possible to manage lot of servers easily because it's possible to change the title name of windows prompt. Files to add tracks in the server is also very light, only few ko unlike more than 100 Mo for MxB tracks.

Quote from: iNsane | WeekendWarriors on November 06, 2019, 12:08:14 PMYou can change the location of the documents folder in windows settings, googling "change documents drive windows" should help you out. We had to do this on discord servers too.

It's not a problem about location. It's more a problem about size of files to host server. Currently, you have to have big hard disk to host server with lot of tracks.
Title: Re: Dedicated server
Post by: PiBoSo on November 08, 2019, 01:30:09 PM
Quote from: MxWayGamer on November 06, 2019, 01:06:41 PM
Quote from: PiBoSo on November 06, 2019, 10:35:04 AMCould you please explain what you mean with "lighter script"?

Lighter script : For me, it's independant script, a script dedicated to host server without have to install Mx Bikes on the dedicated server. For example, for Mx Simulator, it's just an excutable file who run server in the windows command prompt. It uses low resources so it can be run on light VPS. It's also possible to manage lot of servers easily because it's possible to change the title name of windows prompt. Files to add tracks in the server is also very light, only few ko unlike more than 100 Mo for MxB tracks.

Quote from: iNsane | WeekendWarriors on November 06, 2019, 12:08:14 PMYou can change the location of the documents folder in windows settings, googling "change documents drive windows" should help you out. We had to do this on discord servers too.

It's not a problem about location. It's more a problem about size of files to host server. Currently, you have to have big hard disk to host server with lot of tracks.


On the dedicated server it is possible to save disk space manually editing each track to delete the MAP, EDF and image files.
Similarly, it is also possible to delete the EDF and sound files for all bikes.
Title: Re: Dedicated server
Post by: knotan85 on November 21, 2019, 05:46:19 PM
I'am starting to get some new gray hairs over here!....

I have tried to set up my dedicated server now for 2 days, but with NO luck......
What am I missing??

Followed the "guide" about 5 times
open up ports
try other ports and open them to
Try config trough Server setup App

All that happens is that the server window popup with server info, But my actual game NEVER START!
All that starts is that "Server window" but no game....

I have the game through STEAM and as soon that i'am pressing "Play" the server-window popup ( thanks to the parameter from the guide ) Then steam show me "Stop" instead of "Play" for MX-Bikes, but the game never starts up so i can´t play or check if my server works.

Please help! Realy wanna be able to set up my server for our Twitch community! :)

Thank you in advance. ;) Gonna sit here and cry while i wait for somebody to help me :P xD
Title: Re: Dedicated server
Post by: iNsane on November 21, 2019, 05:55:32 PM
Quote from: knotan85 on November 21, 2019, 05:46:19 PMI'am starting to get some new gray hairs over here!....

I have tried to set up my dedicated server now for 2 days, but with NO luck......
What am I missing??

Followed the "guide" about 5 times
open up ports
try other ports and open them to
Try config trough Server setup App

All that happens is that the server window popup with server info, But my actual game NEVER START!
All that starts is that "Server window" but no game....

I have the game through STEAM and as soon that i'am pressing "Play" the server-window popup ( thanks to the parameter from the guide ) Then steam show me "Stop" instead of "Play" for MX-Bikes, but the game never starts up so i can´t play or check if my server works.

Please help! Realy wanna be able to set up my server for our Twitch community! :)

Thank you in advance. ;) Gonna sit here and cry while i wait for somebody to help me :P xD

Download the MX Bikes standalone installer and use that to run the server. It's somewhere on www.mx-bikes.com
Title: Re: Dedicated server
Post by: knotan85 on November 22, 2019, 10:35:52 PM
Quote from: iNsane | WeekendWarriors on November 21, 2019, 05:55:32 PM
Quote from: knotan85 on November 21, 2019, 05:46:19 PMI'am starting to get some new gray hairs over here!....

I have tried to set up my dedicated server now for 2 days, but with NO luck......
What am I missing??

Followed the "guide" about 5 times
open up ports
try other ports and open them to
Try config trough Server setup App

All that happens is that the server window popup with server info, But my actual game NEVER START!
All that starts is that "Server window" but no game....

I have the game through STEAM and as soon that i'am pressing "Play" the server-window popup ( thanks to the parameter from the guide ) Then steam show me "Stop" instead of "Play" for MX-Bikes, but the game never starts up so i can´t play or check if my server works.

Please help! Realy wanna be able to set up my server for our Twitch community! :)

Thank you in advance. ;) Gonna sit here and cry while i wait for somebody to help me :P xD

Download the MX Bikes standalone installer and use that to run the server. It's somewhere on www.mx-bikes.com


Ok thanks for info man! Only thing i can find on the website is the download for the "Demo" does that one work?
Or i need the "Complete game" to make this work? :)

Thank you!
Title: Re: Dedicated server
Post by: teeds on November 23, 2019, 12:59:10 PM
The demo d/l is the full game and will work fine for a dedi server.
Title: Re: Dedicated server
Post by: PiBoSo on November 26, 2019, 06:49:48 PM

First post updated to add the "polls" section.
Title: Re: Dedicated server
Post by: MxWayGamer on December 02, 2019, 04:45:55 PM
Could you add rcon commands feature in the server software ?
And the possibility to rename to server window ?

I would like to work on the porting of MxsRank to Mx Bikes, but it's impossible without theses features. (I need to rename server window to kill the server software when it's useless to have multi servers).
Title: Re: Dedicated server
Post by: PiBoSo on December 03, 2019, 12:17:56 AM
Quote from: MxWayGamer on December 02, 2019, 04:45:55 PMCould you add rcon commands feature in the server software ?

What protocol would you prefer for the remote control of the server?
What commands should be available?
Title: Re: Dedicated server
Post by: MxWayGamer on December 03, 2019, 01:13:01 AM
Quote from: PiBoSo on December 03, 2019, 12:17:56 AM
Quote from: MxWayGamer on December 02, 2019, 04:45:55 PMCould you add rcon commands feature in the server software ?

What protocol would you prefer for the remote control of the server?
What commands should be available?

I don't have preference. Juste something I can use with PHP, I know how to use curl and socket sender, but I can learn other method.
It's not possible to have all commands ?
Title: Re: Dedicated server
Post by: PiBoSo on December 03, 2019, 02:25:28 PM

First post updated to add information on how to write the live timing data to a file.
Title: Re: Dedicated server
Post by: PiBoSo on December 29, 2019, 02:13:18 PM
First post updated with the latest connection bandwidth settings.
Title: Re: Dedicated server
Post by: Niko Mouk on January 06, 2020, 03:31:44 PM
It would be useful to get an idea of what you call "very low, low" etc. Because today internet connections are from 1 Mbps to 1Gbps so which option should I take for a 500 Mbps server i.e.?
Title: Re: Dedicated server
Post by: Niko Mouk on January 28, 2020, 11:14:35 PM
Do the whitelist prevent people to spectate too ? Got to know how to handle streamers.
Title: Re: Dedicated server
Post by: PiBoSo on January 28, 2020, 11:26:01 PM
Quote from: Niko Mouk on January 28, 2020, 11:14:35 PMDo the whitelist prevent people to spectate too ? Got to know how to handle streamers.

Yes, at the moment the whitelist and blacklist are checked for spectators, too.
Title: Re: Dedicated server
Post by: Niko Mouk on January 31, 2020, 11:26:04 AM
The XML result file exported only after race 2 is actually a shame for qualify handling.

Here's the best scenario :
- Divide signed up riders into groups (as the multiplayer is actually laggy with too much people).
- Run servers in practice (not free practice to limit the time) before the event.
- Get the generated XML files for me to parse them, generate groups (A, B, ...) ordered by best time + whitelists. Then start the event.

I already scripted everything but I'm stuck on how to get result files with no races. I don't want to develop something based on the livetiming as we're so close to achieve it with the actual system.

What would be awesome is to add some vars in the ini like :
results_frequency ; 0 = after the whole event, 1 = after each restart (that must work for the practice session)
results_prefix ; Add a custom prefix to the result filename
Please include something like the servername or let us add a prefix for the result files. When your run multiple servers with the same track so you get some result files with the same name. Yeah I know you can output them in different folders but the idea is to take them all like CTRL+A drag'n'drop and boom.
Title: Re: Dedicated server
Post by: teeds on January 31, 2020, 11:43:34 AM
+1
Title: Re: Dedicated server
Post by: Niko Mouk on February 20, 2020, 11:34:14 PM
[live]
enable = ; 1 or 2 to enable live timing. If set to 1, data is sent through UDP packets ( more info: http://forum.mx-bikes.com/index.php?topic=233.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" )

Is it possible to add a full path for the file name so it's output where I want ? like
file = "C:\mylivetimingfile.txt"
Title: Re: Dedicated server
Post by: teeds on February 21, 2020, 10:00:35 AM
Yes, used this myself last week.
Title: Re: Dedicated server
Post by: PiBoSo on April 07, 2020, 11:09:27 PM

First post updated to add settings for "incremental" export and the filename prefix of results and replays.
Title: Re: Dedicated server
Post by: PiBoSo on May 12, 2020, 05:24:36 PM

First post updated to:
- add settings for the automatic reset of the terrain deformation
- add information about the "restart_delay", that is now disabled when set to zero
Title: Re: Dedicated server
Post by: Paulo Rodrigues | Motocross Plays on July 21, 2020, 12:25:57 AM
@Pib

Any possibilities to send commands to the server with TCP/UDP packets? and prepend an pwd to commands for basic security?

like:
/restart
/ban xxxxx
/kick xxxxx
/unban xxxxx
/startrace race-x
/cleartrack
/settrack xxxxxx
/setpassword xxxxx
/chat "lorem ipzum"
/chat playerId "lorem ipzum"
and more...
Title: Re: Dedicated server
Post by: PiBoSo on July 21, 2020, 09:32:49 AM
Quote from: Paulo Rodrigues on July 21, 2020, 12:25:57 AM@Pib

Any possibilities to send commands to the server with TCP/UDP packets? and prepend an pwd to commands for basic security?

like:
/restart
/ban xxxxx
/kick xxxxx
/unban xxxxx
/startrace race-x
/cleartrack
/settrack xxxxxx
/setpassword xxxxx
/chat "lorem ipzum"
/chat playerId "lorem ipzum"
and more...

Work is in progress on the "remote admin" feature.
It will be integrated in the next update of MX Bikes, beta15.

However, shouldn't the ban and kick options be allowed only for admins that are connected to the server and can see exactly what is going on?
Title: Re: Dedicated server
Post by: teeds on July 21, 2020, 10:21:35 AM
Quote from: PiBoSo on July 21, 2020, 09:32:49 AMHowever, shouldn't the ban and kick options be allowed only for admins that are connected to the server and can see exactly what is going on?

Can a spectator issue admin commands? I'd assumed not but tbh never tried it as normal spectators can't call votes, if indeed not it would be handy in this scenario. Maybe a server admin could watch a stream too and might need to admin things from there.
Title: Re: Dedicated server
Post by: Paulo Rodrigues | Motocross Plays on July 22, 2020, 03:44:24 AM
Quote from: PiBoSo on July 21, 2020, 09:32:49 AM
Quote from: Paulo Rodrigues on July 21, 2020, 12:25:57 AM@Pib

Any possibilities to send commands to the server with TCP/UDP packets? and prepend an pwd to commands for basic security?

like:
/restart
/ban xxxxx
/kick xxxxx
/unban xxxxx
/startrace race-x
/cleartrack
/settrack xxxxxx
/setpassword xxxxx
/chat "lorem ipzum"
/chat playerId "lorem ipzum"
and more...

Work is in progress on the "remote admin" feature.
It will be integrated in the next update of MX Bikes, beta15.

However, shouldn't the ban and kick options be allowed only for admins that are connected to the server and can see exactly what is going on?

hm... i think if some numbers of players call me outside MXB saying the server has a anti-game player i need to do something remotely, like kick or ban.

And another question:

Will be possible (or its possible) to create server plugins with r/w commands and events?
like:

onPlayerJoined(playerObj obj, others attr...)
onPlayerRunStart(playerObj obj, others attr...)
onPlayerQuit(playerObj obj, others attr...)
...
setPlayerName() // usefull if i need to create some roles and prepend some text in the player name while he is in the server (ex: [MOD] Player name, or [VIP] Player name)
setPlayerGate(player, gateNumber) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
sendPlayerToSpec(player) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
sendPlayerToGate(player, gateNumber) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
blockPlayerRaceEntry(all or player) //
setEvent(eventType) //
broadcastMessage(player_NotRequired, message) //
...
Title: Re: Dedicated server
Post by: PiBoSo on July 28, 2020, 12:39:14 PM
Quote from: Paulo Rodrigues on July 22, 2020, 03:44:24 AM
Quote from: PiBoSo on July 21, 2020, 09:32:49 AM
Quote from: Paulo Rodrigues on July 21, 2020, 12:25:57 AM@Pib

Any possibilities to send commands to the server with TCP/UDP packets? and prepend an pwd to commands for basic security?

like:
/restart
/ban xxxxx
/kick xxxxx
/unban xxxxx
/startrace race-x
/cleartrack
/settrack xxxxxx
/setpassword xxxxx
/chat "lorem ipzum"
/chat playerId "lorem ipzum"
and more...

Work is in progress on the "remote admin" feature.
It will be integrated in the next update of MX Bikes, beta15.

However, shouldn't the ban and kick options be allowed only for admins that are connected to the server and can see exactly what is going on?

hm... i think if some numbers of players call me outside MXB saying the server has a anti-game player i need to do something remotely, like kick or ban.

And another question:

Will be possible (or its possible) to create server plugins with r/w commands and events?
like:

onPlayerJoined(playerObj obj, others attr...)
onPlayerRunStart(playerObj obj, others attr...)
onPlayerQuit(playerObj obj, others attr...)
...
setPlayerName() // usefull if i need to create some roles and prepend some text in the player name while he is in the server (ex: [MOD] Player name, or [VIP] Player name)
setPlayerGate(player, gateNumber) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
sendPlayerToSpec(player) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
sendPlayerToGate(player, gateNumber) // usefull if i need to create a custom race, x1 (two bikes turn based event), sudden dead
blockPlayerRaceEntry(all or player) //
setEvent(eventType) //
broadcastMessage(player_NotRequired, message) //
...

Thank you for the requests.
Could you please give more info about the "onPlayer" commands?
Is "two bikes turn based event" straight rhythm?
What would be the use of "blockPlayerRaceEntry"?
Please note that it's not possible to change event type while the server is running, so "setEvent" cannot be implemented.
Title: Re: Dedicated server
Post by: 𝖙𝖋𝖈 on July 28, 2020, 07:50:33 PM
Is it possible to host a server with reserved/VIP slots?

Would be great to have say a 30 man server, with 25 public slots and 5 reserved. A reserved slot would work so that only the person who's been assigned that slot can join it.

Is that or could it be possible?
Title: Re: Dedicated server
Post by: PiBoSo on July 29, 2020, 11:21:14 AM
Quote from: 𝖙𝖋𝖈 on July 28, 2020, 07:50:33 PMIs it possible to host a server with reserved/VIP slots?

Would be great to have say a 30 man server, with 25 public slots and 5 reserved. A reserved slot would work so that only the person who's been assigned that slot can join it.

Is that or could it be possible?

At the moment it's not possible.
But the option can be added.
Title: Re: Dedicated server
Post by: PiBoSo on October 27, 2020, 10:27:14 PM
First post updated to:
- add support for timed races and qualify practice
- add support for a list of allowed bikes
- add the remote admin section
- add the steam ID option in whitelist and blacklist
- 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: hawkinslee on November 07, 2020, 02:29:15 PM
when i paste the dedicated parameters into steam and launch the game i am unable to play the game on my own server as it only launches the server.
Title: Re: Dedicated server
Post by: teeds on November 07, 2020, 04:39:35 PM
For use with Steam download the demo from this site and run the dedi server with that, it's free and you can then join with Steam. Just make sure to use a custom port.
Title: Re: Dedicated server
Post by: Niko Mouk on November 17, 2020, 05:37:16 PM
Quote from: PiBoSo on October 27, 2020, 10:27:14 PMFirst post updated to:
- add support for timed races and qualify practice
- add support for a list of allowed bikes
- add the remote admin section
- add the steam ID option in whitelist and blacklist
- 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

Weeew back from 6 months of inactivity, this is awesome PiBoSo, I should be able to build many features that couldn't be done before. Thanks !
Title: Re: Dedicated server
Post by: Niko Mouk on December 14, 2020, 12:42:02 AM
race_num is not working... PiBoSo, could you take a look and confirm ?
Title: Re: Dedicated server
Post by: PiBoSo on December 14, 2020, 12:06:20 PM
Quote from: Niko Mouk on December 14, 2020, 12:42:02 AMrace_num is not working... PiBoSo, could you take a look and confirm ?

Documentation updated.
The "race_num" setting should have been "race_number".
Title: Re: Dedicated server
Post by: Absolution on December 30, 2020, 06:03:26 PM
Quote from: PiBoSo on July 29, 2020, 11:21:14 AM
Quote from: 𝖙𝖋𝖈 on July 28, 2020, 07:50:33 PMIs it possible to host a server with reserved/VIP slots?

Would be great to have say a 30 man server, with 25 public slots and 5 reserved. A reserved slot would work so that only the person who's been assigned that slot can join it.

Is that or could it be possible?

At the moment it's not possible.
But the option can be added.

I would love to see this added. I've been blocked out of my own server a few times because its full. This would be a great help.
Title: Re: Dedicated server
Post by: Niko Mouk on January 05, 2021, 11:23:38 AM
To rebound on what Paulo has suggested ;

What is complicated today is to manage who can join the starting gate. In the SX series scenario it's actually a nightmare because the race format is the following:
Top 8 from heat race 1 and 2 advance to the Main event, others to LCQ
Top 4 from LCQ race advance to the Main event

The only way to manage it today is the following:
Or I update the server whitelist then I must kick everybody (because we can't force them to spectate),
Or I create as much servers as races (this is the option we have chosen)

What would be the best IMO:
After updating the whitelist (with the text file or with a remote admin command), when you start the next race it checks for connected players and switch non-whitelisted people to spectator and vice versa.
So nobody has to leave/rejoin any server during the whole night. This without taking all the pits from the tracks (because this is the real issue performance wise).
Title: Re: Dedicated server
Post by: Niko Mouk on February 03, 2021, 03:40:02 PM
PiBoSo, may I request this feature :

[export]
results = both ; html or xml or both to get xml+htm exported
Title: Re: Dedicated server
Post by: PiBoSo on May 11, 2021, 01:40:21 PM
First post updated to:
- 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: PiBoSo on February 03, 2022, 12:12:30 AM
First post updated to:
- add the option to set the track paint
- 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: IShotTupac269 on February 10, 2022, 10:19:29 PM
Hi Peeps,

Please for the love of god someone explain this to me. I have read through a bit and am unsure how to do this lol.

I have created a server config file and placed it into my demo of mxb i downloaded and then how exactly am I changing the mxbikes.exe parameters and am I putting mxbikes.exe -dedicated 54210 -set params dedicated.ini or am I supposed to use mxbikes.exe -dedicated 54211-set params server.ini as I am running the game from from the same pc as the dedi server?

Also I have never forwarded ports so I am unsure if this is correct? I have no Idea what the source destination IP is nor the destination?.

Cheers

Title: Re: Dedicated server
Post by: PizzaChet on February 10, 2022, 10:38:59 PM
Quote from: IShotTupac269 on February 10, 2022, 10:19:29 PMI have created a server config file and placed it into my demo of mxb i downloaded...
Does this mean you're running the demo? I'm pretty sure that's not a feature in the demo. You need the full game. Otherwise, I don't know.
Title: Re: Dedicated server
Post by: IShotTupac269 on February 10, 2022, 11:02:30 PM
No, I'm running the steam version but I know you have to use the standalone mxb with the resolute mxb server manager and to edit the mxbikes.exe but I am unsure how  lol! I'm pretty savvy with computers and shizz but this is double dutch to me and I cant seem to find a straight forward explanation or tut on how to do this. Does this mean I have to buy the game twice to run a server as I bought it on steam?
Title: Re: Dedicated server
Post by: IShotTupac269 on February 11, 2022, 01:45:50 AM
Sorted it now, I didn't have the beta 17c downloaded only 16 standalone
Title: Re: Dedicated server
Post by: XenoMordA on February 20, 2022, 12:53:03 PM
Hello!
I have a little problem, i managaed to START a dedi server on my PC... The server is showing in the browser for me , and on the website, and some ppl even managed to connect and play with me. But my friend from the same town cannot join my server. He have connection timeout at every attempt. The thing is that my server doesnt show ping in the browser, could this be the reason he cant connect? I have read about the problem with showing the ping, i think i did everything as the instruction says but to no avail. Can someone help me pls?:)
Title: Re: Dedicated server
Post by: PiBoSo on March 08, 2022, 12:38:29 PM
First post updated to add the option to write the dedicated server output to a file.