Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
aum78 Multiplayer sample portforwarding #439090
03/26/14 17:32
03/26/14 17:32
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
Hi me again,

know with a noob question about multiplayer.

I tried the Multiplayer11 sample from Aum78 and now i want to test it with a friend of mine.

The Client and Server are startet with a batch file and this line of code

Code:
multiplayer11.exe -sv -cl -pl Server
multiplayer11.exe -cl -ip localhost -pl Client



I startet the serverfile and i gave him my current global IP. But i dont know what settings i need for my router for portforwarding. I tried Port 2300 and TCP, but its not working. His Acknex window closes after a few seconds.
I think its because it cant find my server. Firewall is deactivated on both systems for testing.

Any ideas what im doing wrong here?

Thanks

PS: If posted in the wrong Forum feel free to move

Re: aum78 Multiplayer sample portforwarding [Re: Abarudra] #439091
03/26/14 17:42
03/26/14 17:42
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
You have to forward the port either with Upnp or directly on your router laugh

Last edited by Ch40zzC0d3r; 03/26/14 17:43.
Re: aum78 Multiplayer sample portforwarding [Re: Ch40zzC0d3r] #439092
03/26/14 17:46
03/26/14 17:46
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I don't know about that example but three years ago I worked on a multiplayer shooter (/ template) for fun and I'm positive that this build here used to work: http://www.superku.de/sk_mp_test.zip
If it does not work the problem indeed should be the port forwarding.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: aum78 Multiplayer sample portforwarding [Re: Superku] #439093
03/26/14 18:02
03/26/14 18:02
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
Ok third try post my reply ^^

@Superku
Thank you for your sample i will give it a try. I used the one from the aum cause it is compiled (my freind has no Gamestudio installed) and it worked local just fine

@Ch40zzC0d3r
What do you mean with "directly on your router". I configured it on the webinterface of my fritzbox just as i did for my TS3 Server

Re: aum78 Multiplayer sample portforwarding [Re: Abarudra] #439096
03/26/14 18:45
03/26/14 18:45
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Yeah enter fritz.box and add the port/s you need.
Dont forget that you need TCP and UDP!!
This works fine for me, if it doesnt work then delete the ports in the list and add them again so you update the computername (if you formatted your pc your name mostly changes and portforwarding doesnt work!)

Re: aum78 Multiplayer sample portforwarding [Re: Ch40zzC0d3r] #439097
03/26/14 18:51
03/26/14 18:51
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
So i need two entries both with port 2300? One for udp and one for tcp?
Is Port 2300 the right one?

Last edited by Abarudra; 03/26/14 19:37.
Re: aum78 Multiplayer sample portforwarding [Re: Abarudra] #439098
03/26/14 20:34
03/26/14 20:34
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Depends grin
Quote:
dplay_port
Setzt eine Port-Nummer für die Funktion session_connect.
Wertebereich:
0..9999 (default: 2300 oder die anhand der Kommandozeilenoption -port gegebenen Nummer).


If you dont modify it it should be 2300
And yes, you need 2 entries laugh

Re: aum78 Multiplayer sample portforwarding [Re: Ch40zzC0d3r] #439099
03/26/14 20:46
03/26/14 20:46
Joined: Mar 2012
Posts: 44
A
Abarudra Offline OP
Newbie
Abarudra  Offline OP
Newbie
A

Joined: Mar 2012
Posts: 44
Thank you very much. I only had one entry and tried both protokolls but not at the same time.

Re: aum78 Multiplayer sample portforwarding [Re: Abarudra] #439137
03/27/14 14:52
03/27/14 14:52
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
Superku@ your exemple is good , thank you


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