Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,089 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
internet connection #188990
03/16/08 22:49
03/16/08 22:49
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hey there,
I just started with programming MP and got stuck at 2 points:
1.[SOLVED] I want to send a string with send_string_id to a special client.
The manual says the clientID is given as 2nd parameter by a server-event and by send_string_id i see that the clientID must be a long varialbe.
edit: I used VAR instead of LONG

2.[UNSOLVED]The game works perfectly if I start the server and the client on the same pc, but if i try to play over internet with someone the client does not find a server.

I start the client with the ip of the server (We get it from http://www.whatsmyip.org )

What am I doing wrong/Where do I have to take care of?

Thanks
Scorpion

Last edited by Scorpion; 03/17/08 19:17.
Re: internet connection [Re: Scorpion] #188991
03/18/08 12:44
03/18/08 12:44
Joined: Oct 2004
Posts: 8
Thalandor Offline
Newbie
Thalandor  Offline
Newbie

Joined: Oct 2004
Posts: 8
For question 2, has the host port forwarded? made sure connections are allowed on firewall?

Re: internet connection [Re: Thalandor] #188992
03/18/08 13:15
03/18/08 13:15
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
firewalls, antiviruses(nod32 causes that).

and you may need to open your router's or modem's ports, that your clients and servers are using.


3333333333
Re: internet connection [Re: Quad] #188993
03/18/08 18:33
03/18/08 18:33
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
Yeah thank you Thalandor...
I am reading into port forwarding at the moment.
and I tried: It works good over lan.

edit: can somehow help me with port forewarding? I found the settings in my router. There are 2 ports I have to enter source and target port. I made both 2300, but that doesn't work... so what would be right?

Last edited by Scorpion; 03/18/08 19:51.
Re: internet connection [Re: Scorpion] #188994
03/18/08 23:29
03/18/08 23:29
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
The problem is that every router is different and so the router software.
This makes it very difficult for us to help you.
Maybe you find some infos on the hp of your router producer.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: internet connection [Re: Dark_samurai] #188995
03/19/08 01:06
03/19/08 01:06
Joined: Jan 2003
Posts: 517
Illinois
G
giorgi3 Offline
User
giorgi3  Offline
User
G

Joined: Jan 2003
Posts: 517
Illinois
Gamestudio uses directx for it's networking (at least it did with a6). The standard ports for directx are 2300 thru 2400, so open up the entire range for both tcp and udp protocols (most routers have a 'both' option for this).

Some routers have a 'gaming' option, which automatically opens up the correct ports for directx. If you can find this with your router, try it first.


Giorgi3

10,000 parts flying in a close formation does not constitute an airplane. Some assembly is required.
Re: internet connection [Re: giorgi3] #188996
03/19/08 01:46
03/19/08 01:46
Joined: Oct 2004
Posts: 8
Thalandor Offline
Newbie
Thalandor  Offline
Newbie

Joined: Oct 2004
Posts: 8
www.portforward.com

makes life nice and easy, basically just fin your router/modem on that site and then pick any program and substitute 3dgs ports.

I am not entirely sure what ports 3dgs uses but ive heard you basically pick a port between 2300 and 2400 by using -port XXXX in the command line, and also for some unknown reason (well it is; some microsoft port, but thats not the point) open a port thats like 6074(??) not entirely sure was reading a post someone else on the formums a few days ago about it

Re: internet connection [Re: Thalandor] #188997
03/19/08 10:03
03/19/08 10:03
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
edit:
I set up a static ip for my pc and I forwarded the port 2300, but i can just choose tcp OR udp.

Last edited by Scorpion; 03/19/08 10:11.
Re: internet connection [Re: Scorpion] #188998
03/20/08 03:27
03/20/08 03:27
Joined: Oct 2004
Posts: 8
Thalandor Offline
Newbie
Thalandor  Offline
Newbie

Joined: Oct 2004
Posts: 8
Just port forward both of them , like i said im not entirely sure of the ports-system that 3dgs uses but no harm will be done

Re: internet connection [Re: Thalandor] #188999
03/20/08 07:39
03/20/08 07:39
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
Quote:

but i can just choose tcp OR udp.



dplay is udp based


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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