2 registered members (AndrewAMD, VoroneTZ),
831
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: How to start an internet server
[Re: D3D]
#131687
06/04/07 19:00
06/04/07 19:00
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Quote:
Observer Mode: -sv -cl -ip 192.168.1.56 -port 2332 -pl TheObserver Server Mode: sv -ip 192.168.1.56 -port 2332
Setting -ip on a server has no effect. Hence writing out the IP is irrelevant; The IP will be the lowest addy it finds on the machine. Hence if you have a 192 addy, it will always be that one.
Put another way, suppose you had a 168 addy on the same box as the 192. Even if you wrote the 192 addy explicitly (as you have above), 3DGS will still AFAIK assign the server the 168 addy.
So to answer your question, the above and the below...
Quote:
Observer Mode: -sv -cl -port 2332 -pl TheObserver Server Mode: sv -ip -port 2332
...do exactly the same.
|
|
|
Re: How to start an internet server
[Re: TSG_Torsten]
#131690
06/06/07 18:50
06/06/07 18:50
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Quote:
You've to start the client with -port 2300 or else,
So it was a port error. Yeah I noticed bad connection behaiviour too a while back and traced it back to their port assignement. I posted it as a bug and it was confirmed but I'm not sure what the "fix" status is. I guess I should go back and check.
|
|
|
Re: How to start an internet server
[Re: D3D]
#131694
06/07/07 18:57
06/07/07 18:57
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Quote:
The manual says clients don't need port assigned they obtain them automatically. The server can be run with port ranging from 2300 to 2400. What I don't understand is why I would want to run the server on any port? If the client doesn't have to know it because the engine will connect to the correct port!
Still buggy in 6.6... thanks!
The client will scan automatically from 2300 to 2400 until if finds a 3DGS server. Therefore using -port on the client is unnecessary and that is another bug, that we actually have to manually input the -port on the client. What it should work like is that the client doesn't need to -port but the server does and the server doesn't need to -ip but the client does (unless session_connecting).
Do me a favor and put another bug report up. I fear mine may have been lost in the shuffle. I will then go and post my bug as an addendum to your post and a reminder to conitec to get it fixed soon!
Quote:
What I would like to know, is how the client application finds the server port if the server is behind a router. Does the server penetrate the router or vice versa? Or does the client-side application just try port 2300, 2301 etc etc until it matches!?
Exactlly, it will scan until found. If you are behind a router, your best bet is to use port-forwarding so the correct message automatically goes to the correct server.
|
|
|
|