Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,253 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
wan client connect problem #144033
07/28/07 15:07
07/28/07 15:07
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Recently I finish my multiplayer script for a new game, so far it works great on the lan network. But when a client try's to connect over the wan netwerk, he just get's a black screen. On the forum it says that the router ports should be forwarded, so I did that but still a black screen appears for every client that try's to connect from somewhere else in the country. This is how the situation is; server to my router, than from my router to client his router and than to client.

For the server I use; -sv -cl -port 2332 -pl WL
The client uses; -cl -ip 87.208.9.255 -pl client

Can someone tell me what I'm doing wrong?

Last edited by molotov; 07/28/07 15:08.
Re: wan client connect problem [Re: molotov] #144034
07/28/07 15:46
07/28/07 15:46
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Might be firewall issue on either the server/router or clientside?


smile
Re: wan client connect problem [Re: D3D] #144035
07/29/07 16:39
07/29/07 16:39
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Thanks D3D, I will try that out, and let you know if it works or not.

Re: wan client connect problem [Re: molotov] #144036
07/30/07 15:31
07/30/07 15:31
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
I've checked the firewalls, and they should not give any problems. But still the client side gets a blackscreen. But know I also get a "error server not found" on the client side and than the blackscreen. Hope someone can tell me what I'm doing wrong.

Re: wan client connect problem [Re: molotov] #144037
08/02/07 11:25
08/02/07 11:25
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Does anyone know how I can fix this?

Re: wan client connect problem [Re: molotov] #144038
08/02/07 12:02
08/02/07 12:02
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Start a DOS shell on the computer running the server
then type:

ipconfig

The first IP tells you on what IP the server can be reached
within your network.
(when you run client and server in one closed network)


instead of an IP, try to use "localhost"
this often works too.

Re: wan client connect problem [Re: Damocles] #144039
08/02/07 14:40
08/02/07 14:40
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Thanks Damocles for your help. But my game works fine on my lan network, I only get a black screen on the client side when I try a game on the wan. Closed networks won't be any problems, but I want to play my game against some friends in other city's. So hopefully you or someone else know another solution?

Re: wan client connect problem [Re: molotov] #144040
08/02/07 15:00
08/02/07 15:00
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
This was a bug whose status I'm unaware of:

Set the client to the port that the server is on...

So if you do

-sv -port 2333

Then do

-cl -port 2333


This is NOT supposed to be the way; the client should find the port on its own. But we had similar problems and this fixed it and we reported it and I'm not sure what has been done (given that we reported it for A6 and now all work is on A7)

Re: wan client connect problem [Re: fastlane69] #144041
08/02/07 15:16
08/02/07 15:16
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Hey fastlane69, thanks for your help, but I tryed it but still the client side give the error "server not found", and then gives a black screen. So hopefully you or someone else know another solution?

Re: wan client connect problem [Re: molotov] #144042
08/02/07 20:37
08/02/07 20:37
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
To narrow down your problem, try ruling out other variables:

Ok, you can first download the chatserver I made
http://www.wasteland.at/GSTNet_chatserver.zip
(runs on port 2300)

This server-program works, and with this you can test if your problem
is connected to your firewall/router.

If it works, you can rule out, that this is merely a simple "firewall" blocking,
or wrong router setting.
Then you know this is caused by a 3dgs problem.

Page 1 of 3 1 2 3

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1