PiBoSo Official Forum

GP Bikes => Support => Topic started by: doubledragoncc on October 27, 2017, 09:21:18 PM

Title: Server stuck on?
Post by: doubledragoncc on October 27, 2017, 09:21:18 PM
I tried to set up a dedicated server using the Nords_LS_NDS track and GP1000

It showed on the server page and in my GPBikes world screen but when I tried to join just went to joining screen and showed no syncing just cancel button and then when I canceled, stopped the server and then changed it to victoria  it showed as Nords LS still on the webpage and in GPB even when I turned the server OFF???

It seems the main GPB server kept it as ON

Any clues?

DD

EDIT: I actually cant join ANY servers I see in world screen too?
Title: Re: Server stuck on?
Post by: Napalm Nick on October 27, 2017, 10:20:06 PM
I can join other servers. I don't see yours.  If I was a guesser I would guess you have two instances of core.exe running somewhere? Or the master server just hasn't released yours yet - takes a moment sometimes?
Title: Re: Server stuck on?
Post by: doubledragoncc on October 27, 2017, 10:27:34 PM
I just got on CAWS 6 ok. Then tried my server again and cant connect to it. Then I can no longer get on CAWS so I think I have a port conflict

Server is set to 54320 and forwarded on my router too. Firewall has inbound and out bound rules too

I am confused lol

Put server back up so see if you can join iy pls ty m8

DD
Title: Re: Server stuck on?
Post by: Napalm Nick on October 27, 2017, 10:37:31 PM
Yep can see it and join ok.

Check yer task Man for core.exe's or RS PC?
Title: Re: Server stuck on?
Post by: doubledragoncc on October 27, 2017, 10:49:22 PM
Game GPB on C drive, server on E drive but wont let me join any servers if I have started my server even if I see world servers. Must be some kind of port conflict?

You know I know how to set up servers so is real odd. Asked Peter if he has port settings to see if I am doing something wrong.

No doubles on core just game and server core exe showing as normal in beta11

If I reboot I can join other servers but as soon as I start my server and try to join it I cant join others either?

EDIT could it be the virgin media router dont cover 54300 ports?
Title: Re: Server stuck on?
Post by: Napalm Nick on October 27, 2017, 10:57:34 PM
Yeh that does sound like a port conflict.

Have you had it working in Beta 12b?

Master server is 54300 now but you must have set that for it to show up in World on my PC.

So if your server port is 5320 your client should be 54300 as standard so shouldn't conflict?

Hmm trying to remember back I think I had this before but I have slept many times.

Will keep thinking. Hopefully Peter will have some thoughts. Will post back if I think of anything

Edit: Just seen your edit. I wouldn't have thought so but I don't have Virgin here to check soz
Title: Re: Server stuck on?
Post by: Napalm Nick on October 27, 2017, 11:02:02 PM
Are you sure the ports are forwarded to the IPs correctly? Did the IPs change?
Title: Re: Server stuck on?
Post by: doubledragoncc on October 27, 2017, 11:03:09 PM
have a ststic IP and just checked it?

Title: Re: Server stuck on?
Post by: Napalm Nick on October 27, 2017, 11:09:49 PM
Is this relevant?

QuoteGP Bikes uses UDP ports 54300 and 54310 for network protocol.
Title: Re: Server stuck on?
Post by: doubledragoncc on October 27, 2017, 11:15:00 PM
Tried 54310 and was the same.

Really buggin me now lol

Thanks anyways will look at it in the mornin

DD
Title: Re: Server stuck on?
Post by: PeterV on October 28, 2017, 08:38:59 AM
Quote from: Napalm Nick on October 27, 2017, 10:57:34 PM
Yeh that does sound like a port conflict.
So if your server port is 5320 your client should be 54300 as standard so shouldn't conflict?
Hmm trying to remember back I think I had this before but I have slept many times.

Its in here i think Dedicated server guide (http://forum.piboso.com/index.php?topic=3635.0)

Dedicated.ini sample


[connection]
name = CAWS Special #1
maxclient = 10
password =
admin_password =
bandwidth = 3 ; 0 -> low, 1 -> medium, 2 -> high, 3 -> very high
max_ping =
whitelist = ; C:\Peter\GPBSaves\whitelist.txt ; the filename of the whitelist
blacklist = ; C:\Peter\GPBSaves\blacklist.txt ; the filename of the blacklist
polls_disable = 0 ; if set to 1, polls are disabled
location = Dibu, Germany ; information about server location
MOTD = Enjoy !

[export]
results = html; html or xml, If set it will automatically export results at the end of the race
directory = C:\Peter\GPBSaves\GPB_results\Results; 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 = C:\Peter\GPBSaves\GPB_results\Replays ; the directory where replays will be saved ( must exist )

[event]
name = Modteam Testrace ; the name of the event ( optional )
track = Silverstone GP 2017 V0.96_NDS
track_layout =
; ------------------------------------------------------------------------------------------------------------------
;track= OULTONPARK_NDS ; example of one track with different layouts
;track_layout = OULTONPARK_CLASSIC_NDS
;track2= OULTONPARK_NDS ; example of one track with different layouts
;track2_layout= OULTONPARK_FOSTERS_NDS
;track3= OULTONPARK_NDS ; example of one track with different layouts
;track3_layout=
; -----------------------------------------------------------------------------------------------------------------
category = Moto 2         ; bike category allowed. Empty -> Open; Moto GP; GP125; GP125 Cup
; GP250; GP500; GP600; GP800; GP1000; SSP600; SBK; WSS600; STK1000
; Moto 2; Moto 3; Road; Roadster; Speedway; R6 Cup

[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 = 2 ; 0 -> n, 1 -> ne, 2 -> e, 3 -> se, 4 -> s, 5 -> sw, 6 -> w, 7 -> nw
wind_speed = 5 ; meters/second
track_conditions = 0 ; 0 -> dry, 1 -> wet (incremental, 1.0 = 100% wet, 0.9 = 90% wet etc.)

[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, warmup, sighting lap and warmup lap are skipped
practice_length = 45 ; minutes
qualify_length = 15 ; minutes
warmup_length = 0 ; minutes
sighting_lap = 0 ; 0 or 1
warmup_lap = 0 ; 0 or 1
race_length = 100 ; % of full length
race_use_laps = 1 ; 0 or 1. If set to 1, race_laps is used instead of race_length
race_laps = 18 ; number of race laps
restart_delay = 360 ; 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 = race ; practice, qualify, warmup or race
pause_directory = C:\Peter\GPBSaves\\Resume\ ; the directory where data is saved. The default is "resume"
resume = ;C:\Peter\GPBSaves\Resume\victoria_500.ini ; 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 = qualify ; practice, qualify, warmup or race
save_directory = C:\Peter\GPBSaves\Resume\ ; the directory where data is saved. The default is "resume"

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

; ----------------- livetiming details ----------------------
; Server name: CAWS Special #1
; server IP = 217.92.97.79
; external live timing port = 28118
; internal port. 28118
Title: Re: Server stuck on?
Post by: doubledragoncc on October 28, 2017, 11:17:27 AM
Thanks Peter

It is very different to the old beta11 ini I had that worked fine so need to play with it to see.

DD
Title: Re: Server stuck on?
Post by: doubledragoncc on October 28, 2017, 11:35:43 AM
So it defo seems a port conflict but not sure why

Game is on C, server on E. Game connects to 54300, server is on 54320

I can not connect to other servers if mine is running but if I turn it off I can connect

HELP!!!!!!!!!!!!!!!

DD
Title: Re: Server stuck on?
Post by: dibu on October 28, 2017, 12:28:15 PM
Quote from: doubledragoncc on October 28, 2017, 11:35:43 AM
So it defo seems a port conflict but not sure why

Game is on C, server on E. Game connects to 54300, server is on 54320

I can not connect to other servers if mine is running but if I turn it off I can connect

HELP!!!!!!!!!!!!!!!

DD

Your server is running at port 54310 which causes the collision with the client ports (UDP 54300 and 54310).

Depending on your browser you can hover over the JOIN button of your server at http://stats.gp-bikes.com/servers.php or copy the shortcut of the button and insert it to an editor.
Your server shows: gpbikes://82.43.148.211:54310/192.168.0.4:54310/GPBOC%20#1/0/victoria//GP1000

Title: Re: Server stuck on?
Post by: doubledragoncc on October 28, 2017, 12:32:11 PM
Thanks Dibu that helps to know now

Okay then ther is a problem as I set the server to 54320 but it is going to 54310?

This obviously the problem

In the core.exe shortcut I set it to dedicated and port 54320 so not sure why it is using 310?

DD

EDIT: Thanks Dibu you really helped. The problem was when I first made the core.exe shortcut and edited it to 310 and then copied a shortcut to my taskbar, when I found I needed to use 320 and edited the shourcut in the folder, I forgot to make a NEW shourcut on the taskbar, was using the old shortcut that still had 310 in it. Edited the taskbar shortcut and hey presto it works. Thanks bro.
Now I just have to figure how to do mod tracks and bike right for the server lol
Title: Re: Server stuck on?
Post by: dibu on October 28, 2017, 12:43:53 PM
Strange, here it works without problems but I'm running all my servers in the 28000 range. I guess, that you are still using the proper command line?

core.exe -dedicated 54320 -set params dedicated.ini

Maybe try another port range for the servers or double check your shortcut.
Title: Re: Server stuck on?
Post by: doubledragoncc on October 28, 2017, 01:53:21 PM
As I said in last post I found it was a shortcut I had not updated from 310 to 320 on my taskbar

Thanks for the help Dibu

Server up for testing

DD