• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
March 29, 2024, 05:57:32 AM

News:

Kart Racing Pro release13e available! :)


Dedicated server

Started by PiBoSo, June 19, 2010, 11:38:45 PM

Previous topic - Next topic

Robin Mayer

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


Being second is to be the first of the ones who lose - Ayrton Senna

Birel-Rotax 42

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.

Robin Mayer

July 23, 2014, 09:07:11 PM #152 Last Edit: July 23, 2014, 09:09:28 PM by RobinMa
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?


Being second is to be the first of the ones who lose - Ayrton Senna

PiBoSo

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

Fred Joseph

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

Fred Joseph

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 =

PiBoSo

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.

Fred Joseph

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 =

PiBoSo

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.

Fred Joseph

Thanks for the answer.

I'll make more test tonight and see if enough interest for an European champ at ESRA ;)

JesusRB

TupaKart is the best!
D.E.P  Jules Bianchi


dibu

@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.

tebbers14

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

Robin Mayer

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:



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

Thanks



Being second is to be the first of the ones who lose - Ayrton Senna