• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
April 26, 2024, 10:28:15 AM

News:

Kart Racing Pro release13e available! :)


Dedicated server

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

Previous topic - Next topic

PiBoSo


Pudlea

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:-



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

dibu

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   


vdalasta

February 12, 2012, 06:08:06 PM #48 Last Edit: February 12, 2012, 06:09:45 PM by vdalasta
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
Be Mad or Be Nothing!

dibu

Your server is visible, but it shows no ping. The portforwardings in your router seem to be wrong.


laraarsa

March 08, 2012, 08:41:18 AM #50 Last Edit: August 01, 2013, 01:48:44 PM by laraarsa
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


dibu

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\"



Schwoni

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?

PiBoSo

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.

Moretti

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

PiBoSo

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

Moretti

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?

PiBoSo

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.

oppolo

I cant' connect to my server, i see it without ping


Schwoni

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