aum78 Multiplayer sample portforwarding

Posted By: Abarudra

aum78 Multiplayer sample portforwarding - 03/26/14 17:32

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
Posted By: Ch40zzC0d3r

Re: aum78 Multiplayer sample portforwarding - 03/26/14 17:42

You have to forward the port either with Upnp or directly on your router laugh
Posted By: Superku

Re: aum78 Multiplayer sample portforwarding - 03/26/14 17:46

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.
Posted By: Abarudra

Re: aum78 Multiplayer sample portforwarding - 03/26/14 18:02

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
Posted By: Ch40zzC0d3r

Re: aum78 Multiplayer sample portforwarding - 03/26/14 18:45

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!)
Posted By: Abarudra

Re: aum78 Multiplayer sample portforwarding - 03/26/14 18:51

So i need two entries both with port 2300? One for udp and one for tcp?
Is Port 2300 the right one?
Posted By: Ch40zzC0d3r

Re: aum78 Multiplayer sample portforwarding - 03/26/14 20:34

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
Posted By: Abarudra

Re: aum78 Multiplayer sample portforwarding - 03/26/14 20:46

Thank you very much. I only had one entry and tried both protokolls but not at the same time.
Posted By: Dico

Re: aum78 Multiplayer sample portforwarding - 03/27/14 14:52

Superku@ your exemple is good , thank you
© 2024 lite-C Forums