Kart Racing Pro Official Forum

General => General Discussion => Documentation => Topic started by: PiBoSo on June 19, 2010, 11:38:45 PM

Title: Dedicated server
Post by: PiBoSo on June 19, 2010, 11:38:45 PM
To start a dedicated server, launch kart.exe with the following params:
kart.exe -dedicated (port number) [-set params (config_file)]
for example:
kart.exe -dedicated 54410 -set params dedicated.ini


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


Configuration file must be in 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 karts 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 ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = ; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100
allowed_karts = ; list of ID of allowed karts, separated by a slash. For example: t_kf1/ms_kf1

[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 ( values in between like 0.5 are allowed )

[settings]
force_cockpit = ; 0 or 1
no_aids = ; 0 or 1
limited_tyre_sets = ; 0 or 1
fixed_setup = ; 0 or 1
fixed_setup_file = ; the name ( without the extension ) of the fixed setup file. It must exist for all allowed karts, otherwise the default setup is used
fixed_setup_dir = ; the directory where to load the fixed setups. For example: C:\Users\"your user name"\Documents\PiBoSo\Kart Racing Pro\profiles\"your profile"\setups
no_tucking = ; 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, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = ; minutes
warmup_length = ; minutes
warmup_lap = ; 0 or 1
start = ; 0 -> default, 1 -> force the standing start, 2 -> force the rolling start
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, prefinal or final
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, prefinal or final
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.kartracing-pro.com/index.php?topic=2134.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 kartss 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.kartracing-pro.com/index.php?topic=7736.0 )
port = ; the UDP port
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

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

It is possible to set up to 9 additional tracks, in the "events" section:
track2=
track2_layout=
track3=
track3_layout=
...
...
track10=
track10_layout=
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 use 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 kart.
Also, it is possible to set a custom string, up to 18 character long, that is added to the XML results export.
[entry0]
guid = ........
race_number = ...
name = ...
name_prefix = ...
kart_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.kartracing-pro.com/index.php?topic=7939.msg52700#msg52700
It is also possible to send commands: http://forum.kartracing-pro.com/index.php?topic=7939.msg52703#msg52703
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.kartracing-pro.com/index.php?topic=7736.0


NOTE: a license is not needed to start a dedicated server.
Title: Re: Dedicated server
Post by: GSR03 on December 07, 2010, 05:19:24 AM
How do you launch it with different params?
Title: Re: Dedicated server
Post by: OS-Chris on December 09, 2010, 01:53:34 PM
Quote from: GSR03 on December 07, 2010, 05:19:24 AM
How do you launch it with different params?

create a new shortcut (copy & paste the existing game shortcut), right-click -> properties, rename it (i.e. KartRacingPro-DedicatedServer) and add the parameters to the "target" field ;)
Title: Re: Dedicated server
Post by: Zapata on December 09, 2010, 02:18:48 PM
One question, I create a server.ini?
When I create the i.e. KartRacingPro-DedicatedServer where I put the parameters?
Title: Re: Dedicated server
Post by: Tomy on December 09, 2010, 10:39:21 PM
Hi all, my name is Tomy. I'm www.rFactorNews.com administrator, one of the greatest comunities of simracing in Spain.

First of all like to congratulate the author of this game because after buy and test it thoroughly during the day I found one of the best simulators currently on the market, but I will try to present here some questions on how to create an online server, because it has been a little complicated for me.

As I've read...

1º) I have opened ports on my router:

(http://www.abload.de/img/09-12-201022-43-46vh76kgf3.png)

2º) I've created a alternative shortcut on desktop like this:

"C:\Program Files (x86)\Kart Racing Pro\kart.exe" -dedicated 10600 -set params dedicated.ini

(http://www.abload.de/img/09-12-201022-47-22yhtn.png)

3º) I've created a dedicated.ini in the Kart Racing Pro default folder like this one:

(http://www.abload.de/img/09-12-201022-49-51vh4a.png)

4º) To finish, launch this shortcut that I call "Kart Racing Pro [Server]" and the Dedicated Server it's seems that's online now (the dedicated.ini it's in this path: C:\Program Files (x86)\Kart Racing Pro):

(http://www.abload.de/img/09-12-201022-53-20eglz.png)

But my colleagues who also purchased the game can't see the server, what am I doing wrong?
Title: Re: Dedicated server
Post by: PiBoSo on December 09, 2010, 11:55:11 PM
Quote from: Tomy on December 09, 2010, 10:39:21 PM
Hi all, my name is Tomy. I'm www.rFactorNews.com administrator, one of the greatest comunities of simracing in Spain.

First of all like to congratulate the author of this game because after buy and test it thoroughly during the day I found one of the best simulators currently on the market, but I will try to present here some questions on how to create an online server, because it has been a little complicated for me.

4º) Launch this shortcut Kart Racing Pro [Server] and the Dedicated Server it's seems that's online now:

(http://www.abload.de/img/09-12-201022-53-20eglz.png)

But my colleagues who also purchased the game can't see the server, what am I doing wrong?

Please try setting race parameters.
Example:

practice_length = 30
qualify_length = 20
race_length = 20

Title: Re: Dedicated server
Post by: Tomy on December 10, 2010, 01:41:10 AM
Now it works on another machine (dedicated server PC) with this settings in dedicated.ini file:

[connection]
name = rFactorNews.com
maxclient = 5
password =
admin_password = **********
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = No olvides visitarnos en www.rFactorNews.com; message of the day

[export]
results =  ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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 = C:\Program Files (x86)\Kart Racing Pro\replays; the directory where replays will be saved ( must exist )

[event]
track = ; track ID ( for ex. rye )
category = KC1; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 30; minutes
qualify_length = 10; minutes
sighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 20; % of full length



(http://www.abload.de/img/krp_2uh6x.jpg)

Thanks a lot!  ;)
Title: Re: Dedicated server
Post by: Tomy on December 11, 2010, 09:25:57 PM
Today, suddenly and without doing anything before the server goes down and closes when I accept the error.

The server is giving me these errors all time (about 20 minutes of running), what could it be?  :-\

(http://www.abload.de/img/error1zh80.png)

(http://www.abload.de/img/error2vcg1.png)
Title: Re: Dedicated server
Post by: VELOCIPEDE on December 13, 2010, 11:44:41 PM
this is my dedicated.ini

Quote[connection]
name = DrivingItalia.NET
maxclient = 15
password =
admin_password =
bandwidth = 1 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = ---> www.drivingitalia.net <---

[export]
results = 0 ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track = Lonato ; track ID ( for ex. rye )
category = KC1; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 10;
minutesqualify_length = 10;
minutessighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 15; % of full length

but in the server i have 20 minutes of qualifing!  :(
i want only 10 min of qual
Title: Re: Dedicated server
Post by: mopar93 on December 14, 2010, 04:25:50 AM
Quote from: VELOCIPEDE on December 13, 2010, 11:44:41 PM
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped

Try changing it to quick_race = 0

I don't think it works right if it's set to 1.

-Maurice
Title: Re: Dedicated server
Post by: PiBoSo on December 14, 2010, 11:02:27 AM
Quote from: VELOCIPEDE on December 13, 2010, 11:44:41 PM
this is my dedicated.ini

Quote
[race]
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 10;
minutesqualify_length = 10;
minutessighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 15; % of full length

but in the server i have 20 minutes of qualifing!  :(
i want only 10 min of qual

There is a typo, this should be:

[race]
quick_race = 1
practice_length = 10
qualify_length = 10
sighting_lap = 0
warmup_lap = 0
race_length = 15

Title: Re: Dedicated server
Post by: VELOCIPEDE on December 14, 2010, 04:37:34 PM
thanks Piboso, now work
Title: Re: Dedicated server
Post by: Schwoni on March 02, 2011, 05:18:17 PM
i tried to start a server i have created the shortcut with parameters, the ini file in KRP folder, ports are open.
But when click on this  shortcut server starts but the parameters that i have set are not there all is wrong, and when i run the game and click on world it says: connection lost.

[connection]
name = Training in Dijon
maxclient =10
password =
admin_password =****
bandwidth =1; 0 -> low, 1 -> medium, 2 -> high
MOTD = Have Fun!; message of the day

[export]
results = 0; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = C:\programm files\Kart Racing Pro\Results; the directory where results will be saved ( must exist )
units = 0; 0 -> metric units, 1 -> English 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:\programm files\Kart Racing Pro\Replayson; the directory where replays will be saved ( must exist )

[event]
track =  Dijon; track ID ( for ex. rye )
category = KC1 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 0 ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60 ; minutes
qualify_length = 60 ; minutes
sighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 30 ; % of full length

Title: Re: Dedicated server
Post by: VELOCIPEDE on March 13, 2011, 01:24:27 PM
when i open the Drivingitalia.net dedicated server i have the rolling start, but i don't want the rolling, i want the normal standing start! Help me please.
This is my config for the dedicated:

[connection]
name = DrivingItalia.NET
maxclient = 25
password =
admin_password =
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = DrivingItalia.NET www.drivingitalia.net ; message of the day

[export]
results = 0 ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track = lonato ; track ID ( for ex. rye )
category = KC1 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

[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 = 20 ; air temperature, celsius
wind_direction = 0 ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 0 ; meters/second

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

[race]
quick_race = 1 ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = 15 ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 0 ; 0 or 1
race_length = 15 ; % of full length
restart_delay = 15 ; server restart time in seconds
Title: Re: Dedicated server
Post by: Aritz on March 13, 2011, 02:25:26 PM
I want the same, at least for the KS1 races ;)

By the way, where are the new asphalt grip options?
Title: Re: Dedicated server
Post by: PiBoSo on March 13, 2011, 03:07:21 PM
Quote from: VELOCIPEDE on March 13, 2011, 01:24:27 PM
when i open the Drivingitalia.net dedicated server i have the rolling start, but i don't want the rolling, i want the normal standing start! Help me please.

It is not possible to set start procedure type. It is always rolling start, unless event's category is set to KS1

Title: Re: Dedicated server
Post by: Schwoni on March 13, 2011, 03:16:48 PM
someone can help me??
Title: Re: Dedicated server
Post by: VELOCIPEDE on March 13, 2011, 05:33:04 PM
thanks Piboso
Title: Re: Dedicated server
Post by: Schwoni on March 15, 2011, 10:08:51 PM
[connection]
name =Lonato Training
maxclient = 5
password =
admin_password =
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = Have fun; message of the day

[export]
results = ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = C:\Programm files\Kart racing pro\replays; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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 = C:\Program Files\Kart Racing Pro\replay; the directory where replays will be saved ( must exist )

[event]
track = Lonato; track ID ( for ex. rye )
category = KC1; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 30; minutes
qualify_length = 20; minutes
sighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 20; % of full length


This is my dedicated.ini but when i start the server in wodow only is:
Session name: dedicatedSession
Max clients: 20
Bandwidth: low
==============================
Track: amay
Category: Open
Practice: 20 min
Qualify: 20 min
Race: 10%
Realistic weather


Whats the matter?
Title: Re: Dedicated server
Post by: Schwoni on March 25, 2011, 12:29:22 PM
the server work but not with my values. wrong track, name, maxclients, category.
is it right to crate dedicated.ini with a editor and save this text and only to call it dedicated.ini.
when not please explain me how to create it right.
Title: Re: Dedicated server
Post by: Schwoni on March 25, 2011, 07:17:20 PM
Ja Dateityp: : Textdokument (.txt)

Yes filename is Dedicated.ini and in properties in filetype: .txt
Title: Re: Dedicated server
Post by: Schwoni on March 25, 2011, 07:47:55 PM
Ok thank you this fix it :)
Title: Re: Dedicated server
Post by: aireisor on April 04, 2011, 03:12:49 AM
I still don't understand where and how I set these ports? Can somebody explain please?
Title: Re: Dedicated server
Post by: Aritz on April 11, 2011, 01:50:43 PM
Piboso:

We are testing dedicated server for the 1st KRP league and we need some time recording system but if I activate "replay" and "results" options, only if the race finishes are replays and results...

Can you make that peoples best times can be recorded? Then we will be able to organize pilots using their best times made the day before of the race IN the server (we can controle them)

Thank you
Title: Re: Dedicated server
Post by: Schwoni on April 19, 2011, 05:17:53 PM
Hi guys,
Is there a way to start a server with kart class only kc3 and kc1 ??
i don`t wanna to have shifters there.
Title: Re: Dedicated server
Post by: PiBoSo on April 20, 2011, 11:12:45 AM
Quote from: Schwoni on April 19, 2011, 05:17:53 PM
Hi guys,
Is there a way to start a server with kart class only kc3 and kc1 ??
i don`t wanna to have shifters there.

No. It's not possible.
Title: Re: Dedicated server
Post by: VELOCIPEDE on April 27, 2011, 03:46:46 PM
the dedicated server work perfectly, but after a race don't restart and close without message
Title: Re: Dedicated server
Post by: PiBoSo on April 27, 2011, 03:59:15 PM
Quote from: VELOCIPEDE on April 27, 2011, 03:46:46 PM
the dedicated server work perfectly, but after a race don't restart and close without message

Is this the same problem reported here: http://forum.kartracing-pro.com/index.php?topic=309.0 ?
The problem should be fixed in Beta3.
Title: Re: Dedicated server
Post by: SRL-Hitman on May 11, 2011, 05:55:05 PM
Hello I have a dedicated server that I run GTR2 on and I am trying to get KRP to run on it with no luck keeps crashing.
The machine is running XP with service pack2.
I have setup a ded server on my work PC with no issues and works fine.
This server has limited graphics capability but would not think that the server window would be an issue.
All I get when I launch the icon is a larger black window then the windows error box.
Has anyone else had this issue......any help would be appreciated!

Thanks, Hitman.
Title: Re: Dedicated server
Post by: PiBoSo on May 11, 2011, 09:02:24 PM
Quote from: SRL-Hitman on May 11, 2011, 05:55:05 PM
Hello I have a dedicated server that I run GTR2 on and I am trying to get KRP to run on it with no luck keeps crashing.
The machine is running XP with service pack2.
I have setup a ded server on my work PC with no issues and works fine.
This server has limited graphics capability but would not think that the server window would be an issue.
All I get when I launch the icon is a larger black window then the windows error box.
Has anyone else had this issue......any help would be appreciated!

Thanks, Hitman.

Could you please post the error message?
The only requirement of dedicated server should be the installation of OpenAL redist.
Title: Re: Dedicated server
Post by: SRL-Hitman on May 11, 2011, 09:58:07 PM
I found the problem I had a space between the - and dedicated.....
It works great now :-[
Title: Re: Dedicated server
Post by: oppolo on May 22, 2011, 11:48:23 PM
i tryed to make a dedicated server but when i push "world" i have the message "connection time out"

this is dedicated.ini

[connection]
name = oppolo
maxclient = 5
password =
admin_password =
bandwidth = 1 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = ; message of the day

[export]
results =  0 ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units =  0 ; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track = essay ; track ID ( for ex. rye )
category = open ; kart category allowed. Empty -> Open; KC1, KC3, KS1

[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 = 20 ; air temperature, celsius
wind_direction = 0 ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 0 ; meters/second

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

[race]
quick_race = 0 ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60 ; minutes
qualify_length = 60 ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 0 ; 0 or 1
race_length = 20 ; % of full length
restart_delay = 30 ; server restart time in secon
Title: Re: Dedicated server
Post by: Hubschrauber on June 07, 2011, 12:35:07 PM
First of all: Hi to all & thanks for this great game :)
We've already had great fun in the last 2 days ;)

We already set up a server (bierbuden.de) and it works quiet nice.
Now there are some points which i didn't figured out reading and searching the forums:

1. Do we still need this patch (http://forum.kartracing-pro.com/index.php?topic=657.0)? I patched the EXE now but haven't tested it ingame (will do so tonight). I downloaded the install of krp3 yesterday in the morning from the mirrors, so i don't know if this already includes the patched exe.

2. Is there a max_client limit? It's a really huge machine were the dedi is running on ;)

3. Are there known problems if someone drives a skin online that you don't own/have installed? Because we drove on the server yesterday night and had no problems for a few hours with 5 to 7 different people. But one time two people joined and we kept getting black screens and gamecrashes during they were on the server. So we setted up a 2nd server with a password with the same track (Essay) and the same (KS1) Karts and we could join it without any problems for the rest of the evening, also drive some of the AddOn-Tracks and didn't notice any problems.

4. Is there a known problem with the Max_Ping? Sometimes (mostly short after session-changes) the pings were shown with values @ about 700 to 900, a minute later they are back to normal (20 to 200).

5. (Seems to be more a bug): One or two times it happens that everyone gets disqualified after hit "To Track" during the 1 minute pre-start. Is this known and experienced by other people to or is it more a problem with the server-config? A few other starts "worked smooth" as far as i can say as a big krp-starting-rules noob ;)

Our server-config:


[connection]
name = bierbuden.de
maxclient = 15
password =
admin_password = xxx
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping = ;
MOTD = Herzlich Wilkommen; message of the day

[export]
results =  0; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units =  0; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track = Essay; track ID ( for ex. rye )
category = KS1 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

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

[race]
quick_race = 1; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 5; minutes
qualify_length = 10; minutes
sighting_lap = 0; 0 or 1
warmup_lap = 0; 0 or 1
race_length = 50; % of full length
restart_delay = 30; server restart time in seconds


Thanks already for some helpful replies :)
Title: Re: Dedicated server
Post by: Hubschrauber on June 07, 2011, 01:59:04 PM
1.) Argh... classic iFail ;) We use the patched one now on the dedi. Thanks for the hint ;)

To the 3rd point: We also recieved the CTD at exactly the same time. Two different machines in two different locations. We were both driving on the track in qualy and recieved the CTD at the same time. We have installed a few AddOn-Tracks (Dijon, Amsterdam in&out, Kerpen, Goldenport) but none of the additional skins.
Title: Re: Dedicated server
Post by: PiBoSo on June 07, 2011, 03:53:56 PM
Quote from: Hubschrauber on June 07, 2011, 12:35:07 PM
First of all: Hi to all & thanks for this great game :)
We've already had great fun in the last 2 days ;)

We already set up a server (bierbuden.de) and it works quiet nice.
Now there are some points which i didn't figured out reading and searching the forums:

1. Do we still need this patch (http://forum.kartracing-pro.com/index.php?topic=657.0)? I patched the EXE now but haven't tested it ingame (will do so tonight). I downloaded the install of krp3 yesterday in the morning from the mirrors, so i don't know if this already includes the patched exe.

2. Is there a max_client limit? It's a really huge machine were the dedi is running on ;)

3. Are there known problems if someone drives a skin online that you don't own/have installed? Because we drove on the server yesterday night and had no problems for a few hours with 5 to 7 different people. But one time two people joined and we kept getting black screens and gamecrashes during they were on the server. So we setted up a 2nd server with a password with the same track (Essay) and the same (KS1) Karts and we could join it without any problems for the rest of the evening, also drive some of the AddOn-Tracks and didn't notice any problems.

4. Is there a known problem with the Max_Ping? Sometimes (mostly short after session-changes) the pings were shown with values @ about 700 to 900, a minute later they are back to normal (20 to 200).

5. (Seems to be more a bug): One or two times it happens that everyone gets disqualified after hit "To Track" during the 1 minute pre-start. Is this known and experienced by other people to or is it more a problem with the server-config? A few other starts "worked smooth" as far as i can say as a big krp-starting-rules noob ;)

1. Yes, the build is not updated ( yet )
2. The maximum number of clients is 50, but it also depends on the number of pit slots
3. If a paint is missing, default one is used
4. Max Ping is an experimental feature, that appears to have problems
Title: Re: Dedicated server
Post by: alphafloor on June 07, 2011, 04:35:00 PM
5. I don't think you face a bug but rather the sensitiveness of the automatic disqualification, because I was there when you got disqualified a few times and I could start the race normally.
Did it just happen at Essay?

If so, you might have been rolling backwards on the starting grid, so that's enough for a disqualification.
At Essay, hold the brakes and don't move your steering wheel until the formation lap starts.
Title: Re: Dedicated server
Post by: Hubschrauber on June 07, 2011, 05:19:00 PM
Thx for the replies so far!

@alphafloor: This was my problem on the first evening. Even if you are in neutral you aren't allowed to push the gas... But yesterday it was different. As i pushed "to track" the screen turned black for half a second and i got back to the chat etc. and was DQ for a jumpstart. I didn't get a chance to see the track.  No pedal was pushed and the wheel wasn't touched (like i learned the night before hehe). But everyone gots disqualified for a jumpstart in this session (4 or 5 people), and it seemed like they were also disqualified directly after pushing "to track".
And yes, it only appeared on Essay so far, but i have not been driving much else til now... I still need to find 2 seconds there with the ks-1 ;)
Title: Re: Dedicated server
Post by: C.Rauch on July 27, 2011, 11:48:45 AM
Hello,

today i tried to start a dedicated server, but it does not work correctly.
I have created a dedicated.ini in default folder and a new kart.exe shortcut like this: "C:\Programme\Kart Racing Pro\kart.exe" -dedicated 10600 -set params dedicated.ini
The Problem is that the Server doesn't use the information i write in dedicated.ini. It is always set on 20 Users and track Lonato.
I don't know what i am doing wrong.
Title: Re: Dedicated server
Post by: C.Rauch on July 27, 2011, 12:12:02 PM
OK works now.
Title: Re: Dedicated server
Post by: Sean_94 on August 03, 2011, 02:07:57 AM
Can someone post a tutorial on how to make a server? Maybe a video? It would be greatly appreciated!
Title: Re: Dedicated server
Post by: dibu on August 03, 2011, 07:23:02 PM
Everything you need to know for a dedicated server is explained here in this thread.


Maybe it's easier to use your gaming pc as a server for a first start.

- Note the IPv4 address of your pc and setup two port forwardings (UDP 10600 and UDP 10610) in your router to the IPv4 address of your pc.
- Make sure, that kart.exe is not blocked by a windows or antivirus firewall.
- Start KRP --> Race --> World --> Host World --> Continue --> choose a track and maybe change settings --> Start

Now your friends can join your server and drive with you. 

Title: Re: Dedicated server
Post by: Sourpuss on August 30, 2011, 10:27:10 PM
Is there any way of changing track or of skipping to next session in a dedicated server without shutting it down?
Title: Re: Dedicated server
Post by: PiBoSo on August 31, 2011, 12:12:51 AM
Quote from: Sourpuss on August 30, 2011, 10:27:10 PM
Is there any way of changing track or of skipping to next session in a dedicated server without shutting it down?

It is possible logging as administrator, or starting a poll.
Title: Re: Dedicated server
Post by: mdobrowney on September 02, 2011, 12:41:09 AM
here is my ini file .. it seems to work if you are having trouble just copy and paste this .. make note there has to be that space in the files. For ex in my my in name it is name = Race For ten. make note of the = then the space then the text. if you put the text next to the = it seems to crash the exe.

[connection]
name = Race For Ten
maxclient = 50
password =
admin_password = ADMIN
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = Welcome To RFT  ; message of the day

[export]
results =  1 ; 0 or 1, If set to 1 it will automatically save the full replay at the end

of the race
directory = C:\programm files\Kart Racing Pro\Results; the directory where results will

be saved ( must exist )
units =  0 ; 0 -> metric units, 1 -> English 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 = C:\programm files\Kart Racing Pro\Replays; the directory where replays will

be saved ( must exist )

[event]
track = Lonato ; track ID ( for ex. rye )
category = KC1 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

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

[race]
quick_race = 0 ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 120 ; minutes
qualify_length = 60 ; minutes
sighting_lap = 1 ; 0 or 1
warmup_lap = 1 ; 0 or 1
race_length = 100 ; % of full length
restart_delay = 30 ; server restart time in secon
Title: Re: Dedicated server
Post by: Schwoni on November 01, 2011, 01:29:34 PM
what we have to add for weather settings? for example clear weather but wet track?
Title: Re: Dedicated server
Post by: PiBoSo on November 01, 2011, 05:23:03 PM

First post updated.
Title: Re: Dedicated server
Post by: Pudlea on January 07, 2012, 07:00:16 AM
Hi Guys

I am having trouble getting the dedicated server to work properly with the new beta 5.

It seems to load ok on the server side:-

(http://www.racefactor.com.au/images/KRP%20Server.jpg)

Dedicated.ini is as follows:-

Quote[connection]
name = RaceFactor
maxclient = 20
password = ********
admin_password = ********
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping =
MOTD = Welcome to the RaceFactor KRP Server; message of the day

[export]
results =  1; 0 or 1, If set to 1 it will automatically export results at the end of the race
directory = C:\Kart Racing Pro\Results; the directory where results will be saved ( must exist )
units = 0; 0 -> metric units, 1 -> English 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]
track = Lonato ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
track2 = Lonato ; track ID ( for ex. Lonato )
track2_layout = Short ; track layout ( for ex. Short ). Empty -> Default;
track3 = Essay ; track ID ( for ex. Lonato )
track3_layout = ; track layout ( for ex. Short ). Empty -> Default;
track4 = Essay ; track ID ( for ex. Lonato )
track4_layout = Short; track layout ( for ex. Short ). Empty -> Default;
track5 = amsterdam_indoor ; track ID ( for ex. Lonato )
track5_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KC3; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60; minutes
qualify_length = 15; minutes
sighting_lap = 0; 0 or 1
race_length = 20; % of full length
restart_delay = ; server restart time in seconds

We did have it all working in Beta 4 using the same settings but know no-one can see server when they click "world", although the dedicated server screen (as in the screenshoot above, still all looks ok as it was in beta 4 when people could join.

Any ideas??

Thanks

Pudlea - RaceFactor
Title: Re: Dedicated server
Post by: dibu on January 07, 2012, 09:36:55 AM
Excuse the silly question, but you also updated the server to beta5?

Can you post the line how you start the server.
With your dedicated.ini the server should show up.

Here some minor corrections
.....
[replay]
save = ; 0 or 1       --> set it to 0, if you don't use it   
.....
restart_delay = ;   --> set it to 30   

Title: Re: Dedicated server
Post by: vdalasta on February 12, 2012, 06:08:06 PM
Having this problem...
cant join my own server, it looks like this:





my dedicated:
[connection]
name = KRP Brasil
maxclient = 8
password =
admin_password =
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
max_ping =
MOTD = Thanks For coming to KRP Brasil! ; message of the day

[export]
results =0  ; 0 or 1, If set to 1 it will automatically export results at the end of the race
directory = ; the directory where results will be saved ( must exist )
units =0  ; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track =Lonato ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category =FS250 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

[weather]
realistic =1 ; 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 ; 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, sighting lap and warmup lap are skipped
practice_length =20 ; minutes
qualify_length =10 ; minutes
sighting_lap =1 ; 0 or 1
race_length =20 ; % of full length
restart_delay = ; server restart time in seconds
Title: Re: Dedicated server
Post by: dibu on February 12, 2012, 06:59:01 PM
Your server is visible, but it shows no ping. The portforwardings in your router seem to be wrong.

Title: Re: Dedicated server
Post by: laraarsa on March 08, 2012, 08:41:18 AM
We use this ini, but for some reason it shows KC3@ Essay short ingame  ???
Could anyone help us as our race is tommorow. I left the passwords empty as I don't want all of you to know them ;)

[connection]
name = WWW.RACEDEPARTMENT.COM Club
maxclient = 24
password =
admin_password =

bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
;max_ping =
MOTD = Welcome to Racedepartment; message of the day

[export]
results = 1; 0 or 1, If set to 1 it will automatically export results at the end of the race
directory = c:\Results; the directory where results will be saved ( must exist )
units = 0; 0 -> metric units, 1 -> English 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 = ; the directory where replays will be saved ( must exist )

[event]
track = Lonato; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = FS250; kart category allowed. Empty -> Open; KC1, KC3, KS1

[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 = 31; air temperature, celsius
wind_direction = 5; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 2; meters/second
track_conditions = 0; 0 -> dry, 1 -> wet

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60; minutes
qualify_length = 20; minutes
sighting_lap = 1; 0 or 1
race_length = 40; % of full length
restart_delay = 360; server restart time in seconds

Title: Re: Dedicated server
Post by: dibu on March 08, 2012, 11:28:30 AM
The dedicated.ini looks ok.
Is the real name dedicated.ini and not dedicated.ini.txt?
(Your explorer shouldn't suprress the extensions of known files.)

Can you post the line how you start the server?

The properties of the shortcut should look like this: (look at the quotes, they are important)

Target:
"C:\Program Files (x86)\Kart Racing Pro\kart.exe" -dedicated 10600 -set params dedicated.ini
Start in:
"C:\Program Files (x86)\Kart Racing Pro\"


Title: Re: Dedicated server
Post by: Schwoni on April 15, 2012, 01:46:02 PM
Is it possible to set the laps in a race to 12 in pre final and in final to 13 for example? it seem that it isn?t possible with this %
Can we change it to an more precise value like laps?
Title: Re: Dedicated server
Post by: PiBoSo on April 15, 2012, 01:47:14 PM
Quote from: Schwoni on April 15, 2012, 01:46:02 PM
Is it possible to set the laps in a race to 12 in pre final and in final to 13 for example? it seem that it isn?t possible with this %
Can we change it to an more precise value like laps?

No.
Title: Re: Dedicated server
Post by: Moretti on April 23, 2012, 10:27:16 PM
Quick question:
I was wondering what does the server do when you leave "track" empty in the event section. Does it cycle through the entire installed tracks?
If not:
I have more than 10 tracks, is there any way to configure the server to cycle through them?

Thanks
Title: Re: Dedicated server
Post by: PiBoSo on April 23, 2012, 10:37:34 PM
Quote from: Moretti on April 23, 2012, 10:27:16 PM
Quick question:
I was wondering what does the server do when you leave "track" empty in the event section. Does it cycle through the entire installed tracks?
If not:
I have more than 10 tracks, is there any way to configure the server to cycle through them?

Thanks

1) No
2) No
Title: Re: Dedicated server
Post by: Moretti on April 27, 2012, 12:32:53 AM
I started my own server and got ejected (lol). Somehow the ping got higher than 100ms and it took me out. Is there any way to enter again without restarting? It says I've been banned.

is there any way to unban a user?
Title: Re: Dedicated server
Post by: PiBoSo on April 27, 2012, 03:19:41 PM
Quote from: Moretti on April 27, 2012, 12:32:53 AM
is there any way to unban a user?

The only way is to restart the server.
Title: Re: Dedicated server
Post by: oppolo on June 18, 2012, 05:30:24 PM
I cant' connect to my server, i see it without ping

(http://i195.photobucket.com/albums/z226/kirkkonummi/il2/router1.jpg)
Title: Re: Dedicated server
Post by: Schwoni on June 18, 2012, 06:20:07 PM
try to do start port 10600 and end port 10610
But that are the default ports if u want to set up a dedicated server and drive on the same pc u should do ports like 10800-10810 for example. Don`t forget to change the ports in dedicated.EXE
Title: Re: Dedicated server
Post by: oppolo on June 18, 2012, 06:47:49 PM
thank you!
Title: Re: Dedicated server
Post by: oppolo on June 29, 2012, 11:05:45 AM
how can be make a pass for the server? i know in the dedicated.ini password = xxxxx, but in the list of servers it appears without pass
Title: Re: Dedicated server
Post by: darop88 on September 12, 2012, 06:16:44 PM
You can open the server on Windows 2003 Server?
pc requirements to open the server have to be good?

thanks
Title: Re: Dedicated server
Post by: Schwoni on September 12, 2012, 06:46:42 PM
u can use windows server 2003.
and pc haven`t to be good for just running a server, only ur internet ;)
Title: Re: Dedicated server
Post by: Hot_Rod on September 16, 2012, 01:12:31 AM
exist posibility to the server open ever?
Title: Re: Dedicated server
Post by: PsyMan on September 17, 2012, 03:36:10 PM
Quick Questions. (apologies if these are already answered elsewhere, still a lot of reading to do)

First, thanks for a fantastic sim, I am new to it but learning quickly and enjoying it much more than any of the other commercial offerings.

1. When bandwidth = high is enabled, what sort of bandwidth throughput per racer is required on average?

2. what are the ID's for the 3 default tracks (short name?) I have in my dedicated.ini file (is this correct?):
track = Lonato ; track ID ( for ex. rye )
track2 = rye
track3 = essay


I have successfully (it seems) set up a dedicated server on my linux box under wine in the UK and have a cable 100mb dl / 10mb ul connection, just wondered how many slots would be too many for that connection. (I am confident the actual hardware will support many more)

Server info (for those that are interested)
Dual Core Intel G840 @ 2.8Ghz (cheap CPU but seems to calculate superpi faster than my gaming rig's phenom x6 1100t, not so fast on other things tho')
4Gb DDR3
60Gb OCZ Agility 3 SSD (system Drive)
Centos 6.3 64bit (KRP DS on Wine with gnome desktop)
Virgin Media 100mb cable connection (100mb down / 10mb up)

+1 for a track vote system :)
Title: Re: Dedicated server
Post by: PiBoSo on September 17, 2012, 08:12:34 PM
Quote from: PsyMan on September 17, 2012, 03:36:10 PM
Quick Questions. (apologies if these are already answered elsewhere, still a lot of reading to do)

First, thanks for a fantastic sim, I am new to it but learning quickly and enjoying it much more than any of the other commercial offerings.

1. When bandwidth = high is enabled, what sort of bandwidth throughput per racer is required on average?

2. what are the ID's for the 3 default tracks (short name?) I have in my dedicated.ini file (is this correct?):
track = Lonato ; track ID ( for ex. rye )
track2 = rye
track3 = essay


I have successfully (it seems) set up a dedicated server on my linux box under wine in the UK and have a cable 100mb dl / 10mb ul connection, just wondered how many slots would be too many for that connection. (I am confident the actual hardware will support many more)

Server info (for those that are interested)
Dual Core Intel G840 @ 2.8Ghz (cheap CPU but seems to calculate superpi faster than my gaming rig's phenom x6 1100t, not so fast on other things tho')
4Gb DDR3
60Gb OCZ Agility 3 SSD (system Drive)
Centos 6.3 64bit (KRP DS on Wine with gnome desktop)
Virgin Media 100mb cable connection (100mb down / 10mb up)

+1 for a track vote system :)

1. Bandwidth has never been tested, so there are no "official" numbers.
2. The Tracks ID are lonato, essay and hoddesdon
Title: Re: Dedicated server
Post by: dibu on September 17, 2012, 08:49:17 PM
Here some inoffical bandwidth values:
For hosting 10 users at one track you need a bandwidth of about 1,5 Mbit/s upload and download to be save. It's very important that your ping doesn't rise at this load (test it from a second line).
The upload for a single user will vary between 7 Kbit/s and 120 Kbit/s (peak) depending on the action at the track and the download rate of the dedicated server is more or less the same.
Title: Re: Dedicated server
Post by: PiBoSo on September 17, 2012, 09:38:50 PM
Quote from: dibu on September 17, 2012, 08:49:17 PM
Here some inoffical bandwidth values:
For hosting 10 users at one track you need a bandwidth of about 1,5 Mbit/s upload and download to be save. It's very important that your ping doesn't rise at this load (test it from a second line).
The upload for a single user will vary between 7 Kbit/s and 120 Kbit/s (peak) depending on the action at the track and the download rate of the dedicated server is more or less the same.

Ugh! These numbers are scary!
Bandwidth usage needs to be debugged as soon as possible.
Title: Re: Dedicated server
Post by: PsyMan on September 17, 2012, 10:15:48 PM
thanks, I have now adjusted the dedicated.ini to reflect that.

Based on 10 users @ 1.5Mb I think that 20 will be fine on a 10Mb upload :D

I guess that

[event]
track = Lonato
track2 = hoddesdon
track3 = essay
category = ; kart category allowed. Empty -> Open; KC1, KC3, KS1

Will work now for an open track with the above rotation (will add more later)
Title: Re: Dedicated server
Post by: PsyMan on September 17, 2012, 10:36:10 PM
hmm, for some reason (server restarted a few times) I now just get kart.exe has stopped working.... oh well, back to the drawing board and a single track I think

EDIT:
Nope, don't think it's my server, it may be my client, connection timed out on all servers now and KRP crashes if I try to join my own via world OR local.

Interesting, maybe it's my router. The joys of PC's eh.

EDIT 2:

Odd, I can't seem to join my own server now either locally or via world, it just crashes my client "kart.exe stopped working", is it just me as I can join others? I will leave it running, can anyone else join or are you getting the same? UK Quickrace fun server? I have killed the process and started it again.
Title: Re: Dedicated server
Post by: Schwoni on September 25, 2012, 12:25:45 AM
which port are u using for dedicated? krp client use 10600- 10610 u can`t use same ports for dedicated server, if u do u get that crash that u explain here. try to use 10810 orso for dedicated server.exe
Title: Re: Dedicated server
Post by: PsyMan on September 30, 2012, 03:51:22 PM
Finally got it fixed, I ran it without the dedicated.ini and the crashes stopped so I re-wrote the dedicated.ini from scratch, I must have inadvertantly put an error in there somewhere but now all working. Odd how it ran OK but the issue appeared to the client when joining.

Now running on 10810, thanks for the info :D

How do you admin a server from the client (when joined to a dedicated server with admin password set)
Title: Re: Dedicated server
Post by: darop88 on October 01, 2012, 06:46:00 PM
Hi, which is the command to log in as administrator on dedicated?.

Thanks :)
Title: Re: Dedicated server
Post by: PiBoSo on October 01, 2012, 06:50:52 PM
Quote from: darop88 on October 01, 2012, 06:46:00 PM
Hi, which is the command to log in as administrator on dedicated?.

Thanks :)

Using the administrator password.
Title: Re: Dedicated server
Post by: darop88 on October 01, 2012, 07:13:39 PM
but, I have my password, which is to be put and how?
Example: in the game.  /admin password
Title: Re: Dedicated server
Post by: Schwoni on October 01, 2012, 07:20:22 PM
just type ur admin pw in pw fiel in world page.
example:
public PW: 123
admin PW: 456

so the puplic join with 123 and u as admin sign in with 456 and then u have admin features available, admin button in event info, kick people or skip to next event withut vote for example.
Title: Re: Dedicated server
Post by: darop88 on October 01, 2012, 07:23:03 PM
Quote from: Schwoni on October 01, 2012, 07:20:22 PM
just type ur admin pw in pw fiel in world page.
example:
public PW: 123
admin PW: 456

so the puplic join with 123 and u as admin sign in with 456 and then u have admin features available, admin button in event info, kick people or skip to next event withut vote for example.

ready, thank you very much  ;)
Title: Re: Dedicated server
Post by: PsyMan on October 05, 2012, 01:41:08 PM
Thanks for the info, Been offline for a few days, had a keylogger/backdoor infection (sounds painful) and have spent the last 3 days formatting my PC, installing stuff again and changing the passwords on pretty much everything I have used in the past 6 months  :-[

I did try that but I had a data mismatch error when trying to join. Will double check my DS and try again, just re-installing steering wheel drivers and KRP now.
Title: Re: Dedicated server
Post by: LIAM-36-AUS on October 06, 2012, 05:45:24 AM
umm, how do i change it?   it just comes up with Es course and stuff and i cant change it?    sorry, ive never done something like this before :P
Title: Re: Dedicated server
Post by: LIAM-36-AUS on October 06, 2012, 09:53:12 AM
now i accidentley did the server and when i want to go online it straight away says  Connection Timeout    and i dont know how to shut down the server  :'(   Please help!!!!
Title: Re: Dedicated server
Post by: VELOCIPEDE on October 06, 2012, 12:52:28 PM
what's the category to set in the file ini?

category = ; kart category allowed.
Title: Re: Dedicated server
Post by: dibu on October 06, 2012, 01:21:58 PM
KF3, KF1, KZ1, FS250 and F100

Title: Re: Dedicated server
Post by: Schwoni on October 06, 2012, 10:36:47 PM
could you update first post? what we have to do for whitelist?
Title: Re: Dedicated server
Post by: PiBoSo on October 07, 2012, 06:50:33 PM

First post updated.
Title: Re: Dedicated server
Post by: dibu on October 07, 2012, 07:06:25 PM
Thanks, whitelist is understood now.
Can you please write some words about the live timing? how can we watch the times?
Is it possible to write the messages in the server window to a log file?
Title: Re: Dedicated server
Post by: Schwoni on October 07, 2012, 08:46:12 PM
+1 it would be interesting to know what we could do with live timing
Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 05:36:41 PM
can someone help me ? i have done everything like you said..



(http://i47.tinypic.com/27wr9tz.png)
Title: Re: Dedicated server
Post by: dibu on October 09, 2012, 05:53:34 PM
What's the real extension of your dedicated.ini? 'dedicated.ini' or dedicated.ini.txt'? Make sure that 'Hide extensions for known file types' is off in your explorer.

If the extension is ok then please post the line how you are starting the server.

Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 06:00:55 PM
ok it was dedicated.ini.txt
but now everything except track works :/
im wanted to drive at toowoomba but when i copy the name of toowoomba at the config but when i start the server(i have tried both names(short and normal)) there shows amay :/
Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 06:05:12 PM
ok i solved this but in the game it shows dedicatedsession amay and open but i called Race4everyone toowoomba and kz1 and in my server it shows that what i want.
now there is only this waiting thing.
Title: Re: Dedicated server
Post by: dibu on October 09, 2012, 06:05:34 PM
Try 'ToowoombaKartClub'.

If it shows  'dedicatedsession' and amay then the server doesn't read your dedicated.ini
Look for the spaces in your command line.
Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 06:10:26 PM
already done that but now its this and the problem in the game :/
Title: Re: Dedicated server
Post by: dibu on October 09, 2012, 06:16:43 PM
The screenshot looks ok, but your server still shows amay. Look in the taskmanager, maybe you have multiple kart.exe processes running now.
Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 06:22:58 PM
ok i made that so in the game everything is reight... except ping :( i cant get on my server
Title: Re: Dedicated server
Post by: dibu on October 09, 2012, 06:33:59 PM
Router or Windows firewall settings.

If you want, I can host the server today for you and you can fix everything with patience.
Just post your dedicated.ini here and I I'll run the server.
Title: Re: Dedicated server
Post by: LauZzZn on October 09, 2012, 06:36:34 PM
thank you very much :) btw i already made the router things.. maybe i done wrong.. no matter you host it today so thank you. please start the server at 19.00! ( 25min)


[connection]
name = Race4everyone
maxclient = 20
password =
admin_password = laurents
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
MOTD = Hey guys have fun !!!

[export]
results =  ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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 = C:\Program Files (x86)\Kart Racing Pro\replays; the directory where replays will be saved ( must exist )

[event]
track = ToowoombaKartClub; track ID ( for ex. rye )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KZ1 ; kart category allowed. Empty -> Open; KC1, KC3, KS1

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

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 30; minutes
qualify_length = 15; minutes
sighting_lap = 1; 0 or 1
warmup_lap = 1; 0 or 1
race_length = 50; % of full length
Title: Re: Dedicated server
Post by: VELOCIPEDE on October 09, 2012, 06:40:34 PM
here http://stats.kartracing-pro.com/servers.php?sort=name i have:

DrivingItalia.NET #1 Beta 7    +       1 / 20    Essay    Open    25%          S    Pre-Final       Join
DrivingItalia.NET #1 Beta 7    +       7 / 15    Essay    F100    25%          S    Qualify       Join
DrivingItalia.NET #2 Beta 7    +       0 / 15    Lonato    KF3    25%          C    Waiting       Join


but i have launched only the DrivingItalia.NET #1 Beta 7 Essay F100 and the DrivingItalia.NET #2 dedicated servers!  What's the DrivingItalia.NET #1 Beta 7 Essay Open ???
Title: Re: Dedicated server
Post by: dibu on October 09, 2012, 07:23:32 PM
All three servers run at your IP (95.110.xxx.xx3).

DrivingItalia.NET #1 Beta 7    Port 10610
DrivingItalia.NET #2 Beta 7    Port 10630
DrivingItalia.NET #3 Beta 7    Port 10650
Title: Re: Dedicated server
Post by: darop88 on October 26, 2012, 10:58:09 PM
Hi, sorry to bother you.

1) There is a possibility of change in the time dedicated server "pre-start" and "shinning lap"?
2) Change the way to export the results?, Does not work the old way on my server.

Thanks :)
Title: Re: Dedicated server
Post by: PiBoSo on October 27, 2012, 12:22:16 AM
Quote from: darop88 on October 26, 2012, 10:58:09 PM
Hi, sorry to bother you.

1) There is a possibility of change in the time dedicated server "pre-start" and "shinning lap"?
2) Change the way to export the results?, Does not work the old way on my server.

Thanks :)

1) It's not possible to set the time of "pre-start" and "sighting lap". But pre-start should end as soon as all the connected drivers are on track.
2) The new way:

[export]
results = html


Please read the first post for all the changes.
Title: Re: Dedicated server
Post by: Serega on October 29, 2012, 11:11:50 AM
When I drive one on the server and I run out of sets of soft tires I need to re-login, but when I do it then reset track conditions (I mean the rubber should knurl again). Is it possible to avoid this?
Title: Re: Dedicated server
Post by: LIAM-36-AUS on November 09, 2012, 12:19:32 AM
ive done everything right(im pretty sure) but when i want to put the dedicated.ini folder in the :C/Program files(x86)/KartRacingPro  it comes up "you don't have permission to save in this location.  Contact the Administrator to obtain Permission.  Would you like to save in the My Documents folder instead?"  ???
Title: Re: Dedicated server
Post by: LIAM-36-AUS on November 13, 2012, 11:16:02 PM
Anyone??.........   im still waiting for a reply :( ???
Title: Re: Dedicated server
Post by: LauZzZn on November 13, 2012, 11:45:58 PM
normal you just click ntinue.c
Title: Re: Dedicated server
Post by: LIAM-36-AUS on November 14, 2012, 12:23:03 AM
Quote from: LauZzZn on November 13, 2012, 11:45:58 PM
normal you just click ntinue.c
there is no Continue button, only yes or no if i want it to be in the "My Documents" section  :(
Title: Re: Dedicated server
Post by: LauZzZn on November 14, 2012, 01:15:53 PM
it has to be there.
or sace it to desktop an then copy and paste.
Title: Re: Dedicated server
Post by: LauZzZn on November 17, 2012, 03:11:12 PM
can someone help me with my server?
i always just show in the game when i click start the loading screen, but there where normally is the continue text with the cancel button, i nothing, just a cancel button.
i looks like this:

[connection]
name = WSK Winter test
maxclient = 20
password =
admin_password = laurents
bandwidth = 1; 0 -> low, 1 -> medium, 2 -> high
max_ping = 300
whitelist = ; the filename of the whitelist
MOTD = Keep the rules!!; 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 -> English 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]
track = Wackersdorf; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KF1; kart category allowed. Empty -> Open; KF1, KF3, KZ1, FS250, F100

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

[weather]
realistic = 1; 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 ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60; minutes
qualify_length = 30; minutes
sighting_lap = 1; 0 or 1
race_length = 50; % of full length
restart_delay = ; server restart time in seconds

[live]
enable = ; 1 to enable live timing
port = ; the UDP port
password =
Title: Re: Dedicated server
Post by: LIAM-36-AUS on November 17, 2012, 08:36:59 PM
Quote from: LauZzZn on November 17, 2012, 03:11:12 PM
can someone help me with my server?
i always just show in the game when i click start the loading screen, but there where normally is the continue text with the cancel button, i nothing, just a cancel button.
i looks like this:

[connection]
name = WSK Winter test
maxclient = 20
password =
admin_password = laurents
bandwidth = 1; 0 -> low, 1 -> medium, 2 -> high
max_ping = 300
whitelist = ; the filename of the whitelist
MOTD = Keep the rules!!; 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 -> English 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]
track = Wackersdorf; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KF1; kart category allowed. Empty -> Open; KF1, KF3, KZ1, FS250, F100

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

[weather]
realistic = 1; 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 ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60; minutes
qualify_length = 30; minutes
sighting_lap = 1; 0 or 1
race_length = 50; % of full length
restart_delay = ; server restart time in seconds

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

i know i dont know much about the dedicated server but i dont think you can leave most of them blank :P
Title: Re: Dedicated server
Post by: LauZzZn on November 18, 2012, 05:21:39 PM
liam i need real help.
Title: Re: Dedicated server
Post by: dibu on November 18, 2012, 06:07:06 PM
Please describe your problem again with other words. I've read your post at least ten times and I still don't understand what exactly your problem is.
Or write me a PM and I will help you.
Title: Re: Dedicated server
Post by: darop88 on November 26, 2012, 11:04:59 PM
Quote from: PiBoSo on June 19, 2010, 11:38:45 PM

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



Excuse me, how this works?. Where I see the live timing?, thanks.
Title: Re: Dedicated server
Post by: Pentti Hilkuri on January 20, 2013, 03:44:49 PM
I can't get Rye to work on my server. Every other track works just fine. What's the track name I need to type to dedi.ini?
Title: Re: Dedicated server
Post by: LauZzZn on January 20, 2013, 04:02:54 PM
the name of the rye house folder, i think its hoddesdon
Title: Re: Dedicated server
Post by: Pentti Hilkuri on January 20, 2013, 04:27:04 PM
Quote from: LauZzZn on January 20, 2013, 04:02:54 PM
the name of the rye house folder, i think its hoddesdon

Excellent, that did the trick. Thanks for the help!
Title: Re: Dedicated server
Post by: rich32g on May 19, 2013, 12:24:30 AM
Hey guys. Was testing to do my own dedicated server from my home pc last night. It's from a static ip with the ports forwarded and the ip is clear through the DMZ. It comes up in the server list with a ping but when i try to connect to it the box that normally says "connecting" or "connected" just has the cancel button and is blank. So it basically does nothing.

any ideas?

cheers
Title: Re: Dedicated server
Post by: PiBoSo on May 19, 2013, 09:43:22 PM
Quote from: rich32g on May 19, 2013, 12:24:30 AM
Hey guys. Was testing to do my own dedicated server from my home pc last night. It's from a static ip with the ports forwarded and the ip is clear through the DMZ. It comes up in the server list with a ping but when i try to connect to it the box that normally says "connecting" or "connected" just has the cancel button and is blank. So it basically does nothing.

any ideas?

cheers

If the dedicated server is on the same PC of the client, please make sure to set a port that is not the default one, for example:

kart.exe -dedicated 10611
Title: Re: Dedicated server
Post by: rich32g on May 19, 2013, 09:53:58 PM
Quote from: PiBoSo on May 19, 2013, 09:43:22 PM
Quote from: rich32g on May 19, 2013, 12:24:30 AM
Hey guys. Was testing to do my own dedicated server from my home pc last night. It's from a static ip with the ports forwarded and the ip is clear through the DMZ. It comes up in the server list with a ping but when i try to connect to it the box that normally says "connecting" or "connected" just has the cancel button and is blank. So it basically does nothing.

any ideas?

cheers

If the dedicated server is on the same PC of the client, please make sure to set a port that is not the default one, for example:

kart.exe -dedicated 10611


cheers mate, will give it a go:)

EDIT: Works a treat, thanks.
Title: Re: Dedicated server
Post by: oppolo on May 23, 2013, 04:41:32 PM
in the dedicated.ini there is the possibility of setting a whitelist, what's the use for? the ID in whitelist can join without password? or what?

is there possibility to set a blacklist?
Title: Re: Dedicated server
Post by: dibu on May 23, 2013, 07:18:01 PM
Only people included in the whitelist can join the server. The whitelist is independant from the password setting. If you set a password the whitelisted people still have to enter it (usually makes not much sense).
The whitelist is interesting for leagues or if your your server should be open only for a group of selected people.

The blacklist will be introduced in the next beta. GPBikes and WRS already have it.
Title: Re: Dedicated server
Post by: oppolo on May 23, 2013, 07:38:45 PM
Quote from: dibu on May 23, 2013, 07:18:01 PM
Only people included in the whitelist can join the server. The whitelist is independant from the password setting. If you set a password the whitelisted people still have to enter it (usually makes not much sense).
The whitelist is interesting for leagues or if your your server should be open only for a group of selected people.

The blacklist will be introduced in the next beta. GPBikes and WRS already have it.

thanks, quite clear now
Title: Re: Dedicated server
Post by: oppolo on May 31, 2013, 10:17:04 AM
I noticed that my dedicated server doesn't show the ping, also the server of a my friend is the same, any suggestion?
Title: Re: Dedicated server
Post by: Leonardo Ratafia on June 03, 2013, 12:59:57 AM
Quote from: PiBoSo on May 19, 2013, 09:43:22 PM
Quote from: rich32g on May 19, 2013, 12:24:30 AM
Hey guys. Was testing to do my own dedicated server from my home pc last night. It's from a static ip with the ports forwarded and the ip is clear through the DMZ. It comes up in the server list with a ping but when i try to connect to it the box that normally says "connecting" or "connected" just has the cancel button and is blank. So it basically does nothing.

any ideas?

cheers

If the dedicated server is on the same PC of the client, please make sure to set a port that is not the default one, for example:

kart.exe -dedicated 10611


This should be in the port forwarding section aswell, lots of people use the same computer to setup dedicated servers.
thank god i've found this, it was driving me insane! :)
Title: Re: Dedicated server
Post by: PiBoSo on June 08, 2013, 11:47:03 PM
First post updated.
Title: Re: Dedicated server
Post by: oppolo on June 09, 2013, 01:09:04 PM
correct this line
category = ; kart category allowed. Empty -> Open; KF1, KF3, KZ1, FS250, F100, MINI60
Title: Re: Dedicated server
Post by: oppolo on June 09, 2013, 02:17:23 PM
is there a way to disable pool?
Title: Re: Dedicated server
Post by: dibu on June 09, 2013, 02:44:25 PM
pool? If you mean poll, try this it worked at least in beta8:

[connection]
...
polls_disable = ; if set to 1, polls are disabled
...
Title: Re: Dedicated server
Post by: oppolo on June 09, 2013, 04:30:54 PM
Quote from: dibu on June 09, 2013, 02:44:25 PM
pool? If you mean poll, try this it worked at least in beta8:

[connection]
...
polls_disable = ; if set to 1, polls are disabled
...

yes poll  ;D
thanks, it works
Title: Re: Dedicated server
Post by: Leonardo Ratafia on July 15, 2013, 05:07:51 AM
what does it mean when setting up the bandwidth: low, medium or high? i couldn't find any relation to the upload speed.
i have a 2mbit upload/download conection, so it's around 200 KB/s. what setting should i put? i don't want more than 6 drivers in my server.
Title: Re: Dedicated server
Post by: PiBoSo on November 08, 2013, 09:16:59 PM

First post updated.
Title: Re: Dedicated server
Post by: oppolo on November 09, 2013, 10:49:01 AM
Quote from: PiBoSo on June 19, 2010, 11:38:45 PM

The GUID can be read in the "Profiles" page.

In the dedicated server text input, it is possible to type text that will be sent to the connected clients.
It is also possible to execute some commands:
"!restart" to reset the server
"!update whitelist" to reload the whitelist file
"!update blacklist" to reload the blacklist file


so, it is possible update the list without restart the server

what do you mean with profiles pages? I see the GUID in server window
Title: Re: Dedicated server
Post by: PiBoSo on November 09, 2013, 11:00:23 PM
Quote from: oppolo on November 09, 2013, 10:49:01 AM
Quote from: PiBoSo on June 19, 2010, 11:38:45 PM

The GUID can be read in the "Profiles" page.

In the dedicated server text input, it is possible to type text that will be sent to the connected clients.
It is also possible to execute some commands:
"!restart" to reset the server
"!update whitelist" to reload the whitelist file
"!update blacklist" to reload the blacklist file


so, it is possible update the list without restart the server

what do you mean with profiles pages? I see the GUID in server window

In Kart Racing Pro -> Profiles it is possible to read your own GUID.
Title: Re: Dedicated server
Post by: PiBoSo on November 13, 2013, 10:37:02 PM

First post updated.
Title: Re: Dedicated server
Post by: csubi1985 on December 22, 2013, 05:38:31 PM
Hy Piboso.

Please help, I know that my dedicated server to control the how?
How can people be excluded (for example: idiots)
The admin password can be entered to?
thank you
Title: Re: Dedicated server
Post by: Racertimm114 on March 24, 2014, 01:21:22 PM
Can someone help me doing the dedicated server. Maybe describe it in  m,ore details... i dont understand it ;(
Title: Re: Dedicated server
Post by: Racertimm114 on March 26, 2014, 02:22:22 PM
(http://www.upload-pictures.de/bild.php/53518,fuckJE44L.png)   

HELP???
Title: Re: Dedicated server
Post by: Birel-Rotax 42 on March 26, 2014, 04:54:25 PM
From my experience, you can't run a dedicated server off of your computer and play KRP on the same computer. As for the actual server, you may have to restart your computer after making changes. It is similar to when a client-side server's host game crashes, the session stays up on the stats until the computer is restarted. Try that, and make sure you save the dedicated.ini.
Title: Re: Dedicated server
Post by: LauZzZn on March 26, 2014, 04:58:10 PM
i run my servers on my computer for racing, works well
Title: Re: Dedicated server
Post by: Birel-Rotax 42 on March 26, 2014, 05:05:22 PM
Did you install the KRP directory in multiple places?
Title: Re: Dedicated server
Post by: PiBoSo on March 26, 2014, 05:19:07 PM
Quote from: Racertimm114 on March 26, 2014, 02:22:22 PM
HELP???

File extensions must be shown: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7
And dedicated.ini.txt renamed to dedicated.ini
Title: Re: Dedicated server
Post by: jd88x89 on April 06, 2014, 09:38:35 PM
Now with multi karts available to run @ 1 time, how are to setup the Category in the dedicated.ini file?
Title: Re: Dedicated server
Post by: PiBoSo on April 06, 2014, 10:05:36 PM

First post updated.
Title: Re: Dedicated server
Post by: Seb2a on April 07, 2014, 08:29:55 PM
Quote from: PiBoSo on April 06, 2014, 10:05:36 PM

First post updated.

could you please underline the things you changed in the .txt please :) i'm a bit lost at this moment
Title: Re: Dedicated server
Post by: PiBoSo on April 07, 2014, 09:18:58 PM
Quote from: Seb2a on April 07, 2014, 08:29:55 PM
Quote from: PiBoSo on April 06, 2014, 10:05:36 PM

First post updated.

could you please underline the things you changed in the .txt please :) i'm a bit lost at this moment

Updated to write that it is now possible to set multiple categories, separated by a '/'.
For example: KF1/F100/FS250
Title: Re: Dedicated server
Post by: Cory_Hayes on April 17, 2014, 02:30:16 PM
I am trying to host a dedicated server, I try to host, and it says " waiting " when I am running the server, and no server shows up in game, but when I go into http://stats.kartracing-pro.com/servers.php is has the server and no track listed it just has a  " * " where the track is meant to be listed, I am trying to make it run lonato and I am not sure why it isnt showing up, any suggestions?
Title: Re: Dedicated server
Post by: LauZzZn on April 17, 2014, 02:49:33 PM
Correct ports opened?
Title: Re: Dedicated server
Post by: PiBoSo on April 17, 2014, 05:51:58 PM
Quote from: Cory_Hayes on April 17, 2014, 02:30:16 PM
I am trying to host a dedicated server, I try to host, and it says " waiting " when I am running the server, and no server shows up in game, but when I go into http://stats.kartracing-pro.com/servers.php is has the server and no track listed it just has a  " * " where the track is meant to be listed, I am trying to make it run lonato and I am not sure why it isnt showing up, any suggestions?

If you want to connect to a dedicated server on the same PC, then a different port must be used. For example 10611.
For the track problem, please post the INI file you are using.
Title: Re: Dedicated server
Post by: JesusRB on May 22, 2014, 08:30:45 PM
where I put the folder: Dedicated.ini
Title: Re: Dedicated server
Post by: Robin Mayer on July 23, 2014, 06:39:51 PM
Hey Piboso,

I did it like this: set params dedicated.ini

Than I created a dedicated.ini file with my editor and put it in C:\Programme x86\Kart Racing Pro

But when I start the server its all standart.

What do I wrong?

Please help.
Title: Re: Dedicated server
Post by: PiBoSo on July 23, 2014, 07:00:46 PM
Quote from: RobinMa on July 23, 2014, 06:39:51 PM
Hey Piboso,

I did it like this: set params dedicated.ini

Than I created a dedicated.ini file with my editor and put it in C:\Programme x86\Kart Racing Pro

But when I start the server its all standart.

What do I wrong?

Please help.

Please make sure that known file extensions are shown: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7
Title: Re: Dedicated server
Post by: Robin Mayer on July 23, 2014, 07:53:20 PM
Piboso could you help me a second time?

Now it works when i start the Dedicated Server. But when I go online I see my server but again with the standart values. Please help me.

PS: For testing I took the ip: 127.0.0.1. Is that a problem?

Thanks
Title: Re: Dedicated server
Post by: Birel-Rotax 42 on July 23, 2014, 08:19:10 PM
Quote from: RobinMa on July 23, 2014, 07:53:20 PM
Piboso could you help me a second time?

Now it works when i start the Dedicated Server. But when I go online I see my server but again with the standart values. Please help me.

PS: For testing I took the ip: 127.0.0.1. Is that a problem?

Thanks
You have to specify the file that your dedicated server's settings are put in, with this format:
[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
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]
track = ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = ; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100

[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 ( values in between like 0.5 are allowed )

[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
qualify_length = ; minutes
sighting_lap = ; 0 or 1
standing_start = ; 0 or 1, if set to 1, it forces the standing start
race_length = ; % of full length
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, 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

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


Please refer to the first post in this thread.
Title: Re: Dedicated server
Post by: Robin Mayer on July 23, 2014, 09:07:11 PM
I did it. I haved copied it into the editor than I filled in the gaps and saved it as dedicated.ini.

When I opened KRP with the parameters there are my values.
But when I look at the Online Server I can see my server but not with my values.

Can you help me?
Title: Re: Dedicated server
Post by: PiBoSo on July 24, 2014, 10:06:48 AM
Quote from: RobinMa on July 23, 2014, 09:07:11 PM
I did it. I haved copied it into the editor than I filled in the gaps and saved it as dedicated.ini.

When I opened KRP with the parameters there are my values.
But when I look at the Online Server I can see my server but not with my values.

Can you help me?

Please make sure that known file extensions are shown: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7
Title: Re: Dedicated server
Post by: Fred Joseph on August 27, 2014, 01:13:57 PM
Quote from: LauZzZn on April 17, 2014, 02:49:33 PM
Correct ports opened?

Hello guys,

I've very new to all this and trying to host a server on my dedicated server.

Btw I'm the creator of ESRA (for European Sim Racing Association .. www.esra-league.com, we are running iRacing and Assetto Corsa championships) and I might be interested in running a KRP league.
For now I think I have a problem with my ports..

I have to open those ports in my dedicated server right ?

Quote from: PiBoSoKart Racing Pro uses UDP ports 10600 and 10610 for network protocol.
It also needs to send a DNS query ( port 53 ).

Also, I have to put one of them ports in my dedicated.ini file right ?

Because my server is running and don't see it on the server page..

Any help is appreciated !

Thanks,
Fred
Title: Re: Dedicated server
Post by: Fred Joseph on August 27, 2014, 04:29:39 PM
Ok I could get the server online and people see it now, but can't join.. seems like the track isn't showing for some reason.. (it showed Lonato before without doing anything.. can you guys help me ?

Here is my dedicated.ini :


[connection]
name = ESRA www.esra-league.com
maxclient = 16
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
MOTD =Welcome to ESRA .. join www.esra-league.com for more ; message of the day. Use "/r" to split the message in multiple lines.

[export]
results =  xml ; html or xml. If set it will automatically export results at the end of the last session
directory = saved ; the directory where results will be saved ( must exist )
units =  0 ; 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 = replays ; the directory where replays will be saved ( must exist )

[event]
track = ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = F100 ; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100

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

[weather]
realistic = 1 ; 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 ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0 ; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 30 ; minutes
qualify_length = 20 ; minutes
sighting_lap = 1; 0 or 1
standing_start = 1; 0 or 1, if set to 1, it forces the standing start
race_length = 20 ; % of full length
restart_delay = 25; server restart time in seconds
pause = 0; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = practice; practice, qualify, warmup or race
pause_directory = paused; the directory where data is saved. The default is "resume"
resume = resumed; the file to load to resume an event

[live]
enable = 1 ; 1 to enable live timing
port = 53 ; the UDP port
password =
Title: Re: Dedicated server
Post by: PiBoSo on August 27, 2014, 08:11:04 PM
Quote from: Fred Joseph on August 27, 2014, 04:29:39 PM
Ok I could get the server online and people see it now, but can't join.. seems like the track isn't showing for some reason.. (it showed Lonato before without doing anything.. can you guys help me ?

The problem is with these lines:
Quote

[event]
track = ; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;

that must be set with the correct track ID.
Title: Re: Dedicated server
Post by: Fred Joseph on August 28, 2014, 09:10:31 AM
Thanks for the answer, really appreciated. I'll try it asap.

About this paragraph, that only allow live timing right ?


[live]
enable = 1 ; 1 to enable live timing
port = 53 ; the UDP port
password =
Title: Re: Dedicated server
Post by: PiBoSo on August 29, 2014, 01:46:05 AM
Quote from: Fred Joseph on August 28, 2014, 09:10:31 AM
About this paragraph, that only allow live timing right ?


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


Right.
Title: Re: Dedicated server
Post by: Fred Joseph on August 29, 2014, 09:59:00 AM
Thanks for the answer.

I'll make more test tonight and see if enough interest for an European champ at ESRA ;)
Title: Re: Dedicated server
Post by: JesusRB on August 29, 2014, 01:06:55 PM
and put the ping?
Title: Re: Dedicated server
Post by: Fred Joseph on August 29, 2014, 01:09:34 PM
Quote from: JesusRB on August 29, 2014, 01:06:55 PM
and put the ping?

It's mandatory ?
Title: Re: Dedicated server
Post by: dibu on November 21, 2014, 09:43:20 PM
@PiBoSo, in next beta can you please add time/date to the dedicated server logging screen?  At least when the screen changes to 'waiting'.
Especially with problems like here it would be very helpful.
Title: Re: Dedicated server
Post by: tebbers14 on December 18, 2014, 10:24:29 PM
I have encountered a problem today. I was hosting and I added a new track. Others can see my home server, but I se (---). Can anyone help? Thanks
Title: Re: Dedicated server
Post by: Robin Mayer on December 26, 2014, 12:51:36 PM
Guys I got a problem:

This is the first code:

"C:\Program Files (x86)\Kart Racing Pro\kart.exe" -dedicated 11600 -set params trracing.ini

My trracing.ini looks like this:

[connection]
name = TR Racing Server
maxclient = 20
password =
admin_password = **********
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
MOTD = Server of the TR Racingteam.; 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]
track = essay; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KF3; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100

[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 = 25; air temperature, celsius
wind_direction = ; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = ; meters/second
track_conditions = 0; 0 -> dry, 1 -> wet ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 60; minutes
qualify_length = 20; minutes
sighting_lap = 0; 0 or 1
standing_start = 0; 0 or 1, if set to 1, it forces the standing start
race_length = 35; % of full length
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, 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

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


And in the rooter configuration I opened an UDP port:

(http://img5.fotos-hochladen.net/uploads/dedicatedservervn78k6ae0r.jpg)

But when I start KRP and go to the server list there is no Ping on my server. Can you help me? :)

Thanks

Title: Re: Dedicated server
Post by: Hugo Hernandez on December 26, 2014, 12:53:03 PM
Quit the fire wall
Title: Re: Dedicated server
Post by: Tr!st@n on December 26, 2014, 12:58:55 PM
If he can open the server, his firewall shouldnt be the problem. But make sure it is deactivated.
Title: Re: Dedicated server
Post by: Hugo Hernandez on December 26, 2014, 01:20:10 PM
To open my server i quit the firewall and i have got the ping
Title: Re: Dedicated server
Post by: Robin Mayer on December 26, 2014, 01:31:31 PM
Heycan i quit the firewall?
Title: Re: Dedicated server
Post by: Hugo Hernandez on December 26, 2014, 01:32:17 PM
Quote from: RobinMa on December 26, 2014, 01:31:31 PM
Heycan i quit the firewall?
Where?
Title: Re: Dedicated server
Post by: Robin Mayer on December 26, 2014, 01:35:49 PM
Sry how?
Title: Re: Dedicated server
Post by: Birel-Rotax 42 on January 02, 2015, 03:25:44 PM
Where is location dictated for dedicated servers? Also, are there any new undocumented features?
Title: Re: Dedicated server
Post by: PiBoSo on January 02, 2015, 03:57:28 PM

First post update with info about polls disable and server location.
Title: Re: Dedicated server
Post by: PiBoSo on July 24, 2015, 11:13:24 PM

First post update with info about:
- event name
- setting the race length as number of laps
- event save
Title: Re: Dedicated server
Post by: emperor312 on July 27, 2015, 07:00:19 PM
hi everybody

I want launch a dedicated server in distant server but when i launch this server i can't see in he game.

my dedicated.ini
[connection]
name =TEST FR
maxclient =16
password =
admin_password =FR
bandwidth = 2; 0 -> low, 1 -> medium, 2 -> high
max_ping = 100; 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 = france; 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 ; 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 = ; the directory where replays will be saved ( must exist )

[event]
name = test; ( optional )
track = Lonato; track ID ( for ex. Lonato )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KF1; kart category allowed. Empty -> Open. Multiple categories can be set with a slash in between. For example: KF1/FS250/F100

[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 = 30; air temperature, celsius
wind_direction = 0; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 1; meters/second
track_conditions = 0; 0 -> dry, 1 -> wet ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = 20; minutes
qualify_length = 20; minutes
sighting_lap = 0; 0 or 1
standing_start = 0; 0 or 1, if set to 1, it forces the standing start
race_length = 50; % 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 = 12; server restart time in seconds
pause = 0; 0 or 1. If set to 1, the event is paused and saved at the end of "pause_session"
pause_session = ; practice, qualify, prefinal or final
pause_directory = ; the directory where data is saved. The default is "resume"
resume = ; the file to load to resume an event
save = 0; 0 or 1. If set to 1, the event is saved at the end of "save_session". If "pause" is set, this setting is ignored
save_session = ; practice, qualify, prefinal or final
save_directory = ; the directory where data is saved. The default is "resume"

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


and i have this message in the app . All ports are open.

(http://i60.tinypic.com/23nvd4.jpg)

Thanks and sorry for my bad english


Title: Re: Dedicated server
Post by: dibu on July 27, 2015, 09:02:38 PM
It seems that you solved your problem now. At least I could connect to your server. :D
Title: Re: Dedicated server
Post by: LetsChief on August 18, 2016, 08:30:50 PM
This crash keeps happening to my dedicated server. Thoughts? Thanks in advance.

Problem signature:
  Problem Event Name: APPCRASH
  Application Name: kart.exe
  Application Version: 0.0.0.0
  Application Timestamp: 57aedaf1
  Fault Module Name: kart.exe
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp: 57aedaf1
  Exception Code: c0000005
  Exception Offset: 000c7756
  OS Version: 6.1.7601.2.1.0.272.7
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789


This is our dedicated.ini
[connection]
name = s1ke.com Dedicated Server
maxclient = 24
password =
admin_password = passwordwillgohere
bandwidth = 2 ; 0 -> low, 1 -> medium, 2 -> high
max_ping = 0; 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 = EU; information about server location
MOTD = Visit us on the web or teamspeak at s1ke.com!

[export]
results = 0 ; 0 or 1, If set to 1 it will automatically save the full replay at the end of the race
directory = ; the directory where results will be saved ( must exist )
units = 0 ; 0 -> metric units, 1 -> English 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:\Program Files (x86)\Kart Racing Pro\replays; the directory where replays will be saved ( must exist )

[event]
name = ; the name of the event ( optional )
track = Lonato; track ID ( for ex. rye )
track_layout = ; track layout ( for ex. Short ). Empty -> Default;
category = KF1; kart category allowed. Empty -> Open; KC1, KC3, KS1

[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 = 22; air temperature, celsius
wind_direction = 3; 0 -> north, 1 -> north-east, 2 -> east, ..., 7 -> north-west
wind_speed = 1; meters/second
track_conditions = 0; 0 -> dry, 1 -> wet ( values in between like 0.5 are allowed )

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

[race]
quick_race = 0; 0 or 1, if set to 1, practice, sighting lap and warmup lap are skipped
practice_length = ; minutes
qualify_length = 10; minutes
sighting_lap = 0; 0 or 1
standing_start = 0; 0 or 1, if set to 1, it forces the standing start
race_length =
race_use_laps = 1; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 8; number of laps
restart_delay = 12; 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, 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

[live]
enable = ; 1 to enable live timing
port = ; the UDP port
password =
Title: Re: Dedicated server
Post by: PiBoSo on August 29, 2016, 12:23:52 PM

First post updated:
- the "hardcore" has been renamed to "settings"
- added "fixed_setup" to "settings"
Title: Re: Dedicated server
Post by: HornetMaX on September 22, 2016, 12:34:25 AM
I put "standing_start = 1;" in my dedicated.ini but I still get a rolling start. Anything I'm missing ?
[just "hosting local" from in-game and ticking the "standing start" option works fine]
Title: Re: Dedicated server
Post by: PiBoSo on September 22, 2016, 11:00:42 AM
Quote from: HornetMaX on September 22, 2016, 12:34:25 AM
I put "standing_start = 1;" in my dedicated.ini but I still get a rolling start. Anything I'm missing ?
[just "hosting local" from in-game and ticking the "standing start" option works fine]

Thank you for the report.
First post updated with info about the new start setting.
Title: Re: Dedicated server
Post by: Mans0n on August 10, 2017, 02:13:33 PM
How to Start A dedicated Server with Steam? The Shortcut-kopie is an URL.
Title: Re: Dedicated server
Post by: PiBoSo on August 11, 2017, 12:29:03 AM
Quote from: Mans0n on August 10, 2017, 02:13:33 PM
How to Start A dedicated Server with Steam? The Shortcut-kopie is an URL.

It works the same way.
The default installation folder, where the executable kart.exe is located, is "C:\Program Files (x86)\Steam\steamapps\common\Kart Racing Pro\".
Title: Re: Dedicated server
Post by: PiBoSo on October 19, 2017, 11:44:37 PM

First post updated with the new network ports.
Title: Re: Dedicated server
Post by: PiBoSo on December 28, 2017, 02:27:17 PM

First post updated with info about track day and warmup session settings.
Title: Re: Dedicated server
Post by: matty0l215 on December 28, 2017, 10:18:01 PM
So Trackday will run a session indefinetly maintaining the time sheet? Or is there a reset point (i.e. when there is no one left in the server)
Title: Re: Dedicated server
Post by: PiBoSo on December 28, 2017, 11:16:05 PM
Quote from: matty0l215 on December 28, 2017, 10:18:01 PM
So Trackday will run a session indefinetly maintaining the time sheet? Or is there a reset point (i.e. when there is no one left in the server)

The classification is only reset when there is no one left in the server.
Title: Re: Dedicated server
Post by: matty0l215 on December 29, 2017, 10:57:14 AM
Quote from: PiBoSo on December 28, 2017, 11:16:05 PM
Quote from: matty0l215 on December 28, 2017, 10:18:01 PM
So Trackday will run a session indefinetly maintaining the time sheet? Or is there a reset point (i.e. when there is no one left in the server)

The classification is only reset when there is no one left in the server.

Thank! :)
Title: Re: Dedicated server
Post by: dibu on December 30, 2017, 04:23:36 PM
Quote from: PiBoSo on December 28, 2017, 11:16:05 PM
The classification is only reset when there is no one left in the server.

I just tested again
- when a player disconnects his best time disappears from the classification screen, despite other players are still online. Is this intended?

An other observation
- seems like track rotation isn't supported in track day mode?

The good news is, I didn't notice connection lags when a new player steps in, even if it's a player with high ping.

In the dedicated server documentation I'm missing:
- bandwidth = 3 (very high) it's working but not mentioned in the sample dedicated.ini


Title: Re: Dedicated server
Post by: PiBoSo on December 31, 2017, 07:14:25 PM
Quote from: dibu on December 30, 2017, 04:23:36 PM
I just tested again
- when a player disconnects his best time disappears from the classification screen, despite other players are still online. Is this intended?

Thank you for the reports.
This behaviour was not intended.

Quote
An other observation
- seems like track rotation isn't supported in track day mode?

Track rotation is not supported.
Since track day mode is not meant to have an end, it's not clear when the server should switch to the next track.

Quote
In the dedicated server documentation I'm missing:
- bandwidth = 3 (very high) it's working but not mentioned in the sample dedicated.ini

First post updated.
Title: Re: Dedicated server
Post by: agustin gajate on January 19, 2018, 11:36:53 PM

something does not work well, when I create the file called "kart.exe -dedicated 54410 -set params dedicated.ini" it transforms me into a configuration file and not into an application, to what do I owe that? Is it correct that this happens to me?
Title: Re: Dedicated server
Post by: Leonardo Ratafia on July 05, 2018, 08:50:56 PM
hi, is there a list of Track IDs and kart names for dedicated server?
If not, could you please make a proper list and make it sticky or add it to the OP?
thanks
Title: Re: Dedicated server
Post by: dibu on July 07, 2018, 11:42:12 AM
Here a list for the official tracks and karts.


track IDs of the official tracks -> track =
and layouts -> track_layout =     

display name                                track ID            track_layout (optional, Empty -> Default)

Circuit International d'Essay               essay               short
Karting Genk                                genk                endurance, small
Rye House Kart Circuit                      hoddesdon
Lonato                                      lonato 
Lonato '04-'15                              lonato_04           short
Pro-Kart Raceland                           wackersdorf
Zuera                                       zuera               short

---------------------

official karts -> category =
KF1, KF3, KZ1, FS250, F100, MINI60

---------------------

Title: Re: Dedicated server
Post by: PiBoSo on April 11, 2019, 05:58:58 PM

First post updated to add "no_tucking" to "settings" and to add "disable" and "persistent" to "dynamicsurface".
Title: Re: Dedicated server
Post by: PiBoSo on September 07, 2019, 11:55:28 PM

First post updated with the latest connection bandwidth settings.
Title: Re: Dedicated server
Post by: PiBoSo on December 29, 2019, 02:18:18 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 08, 2020, 01:31:44 PM

First post updated to:
- remove the "sighting_lap" setting
- add the "warmup_lap" setting
- add settings for "incremental" export and the filename prefix of results and replays
- add settings for custom fixed setups
- add information about the "restart_delay", that is now disabled when set to zero
Title: Re: Dedicated server
Post by: PiBoSo on August 21, 2020, 03:48:14 PM
First post updated to:
- add the remote admin section
- add the steam ID option in whitelist and blacklist
Title: Re: Dedicated server
Post by: PiBoSo on August 22, 2020, 10:41:48 PM
First post updated to:
- add information about personal messages
- add whitelist settings
- 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 11, 2021, 07:29:00 PM
First post updated to:
- add support for a list of allowed karts
- add the options to log the contacts in the XML exports and live timing
Title: Re: Dedicated server
Post by: fede86 on March 20, 2021, 08:07:05 PM
Hi everyone, can i run the server and play the game at the same time? Steam doesn't let me do that.
Title: Re: Dedicated server
Post by: PiBoSo on March 23, 2021, 10:07:32 PM
Quote from: fede86 on March 20, 2021, 08:07:05 PMHi everyone, can i run the server and play the game at the same time? Steam doesn't let me do that.

It is possible to use the standalone version (https://www.kartracing-pro.com/?page=downloads) to host a dedicated server while using Kart Racing Pro on Steam.
A license key is not needed.
Title: Re: Dedicated server
Post by: PiBoSo on June 09, 2021, 12:25:05 AM
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