Hard Light Productions Forums

General FreeSpace => Multiplayer => Topic started by: PIe on March 18, 2018, 07:58:51 pm

Title: How to set up PXO multiplayer
Post by: PIe on March 18, 2018, 07:58:51 pm
As you may or may not know, Taylor has ported PXO back to retail FS2 (https://www.hard-light.net/forums/index.php?topic=93473.0).  If you want to get started playing and testing, here's instructions.
Note that it is retail-only, so don't expect the MediaVPs or any mods.  The good news is that you can play on pretty much any computer.
Have fun!
Title: Re: How to set up PXO multiplayer
Post by: AdmiralRalwood on March 19, 2018, 06:45:30 pm
If you plan on playing often, ask MageKing17 to add you to the multi group so that you too can be notified when someone wants to play.
And if I'm not awake, any moderator can grant people roles.
Title: Re: How to set up PXO multiplayer
Post by: DrakonAlpha on February 17, 2019, 06:26:26 am
Which launcher do I need to enter the credentials into? Is it the wxLauncher 0.12.0-rc3 or the FS2 Open Launcher 5.5d? Or something else?
Title: Re: How to set up PXO multiplayer
Post by: Novachen on February 17, 2019, 08:23:08 am
Which launcher do I need to enter the credentials into? Is it the wxLauncher 0.12.0-rc3 or the FS2 Open Launcher 5.5d? Or something else?

The retail launcher, because this here is only based upon retail FS2.
Title: Re: How to set up PXO multiplayer
Post by: PIe on February 17, 2019, 09:13:40 am
Just use the included launcher (I forget if it's fs2.exe or freespace.exe).
Title: Re: How to set up PXO multiplayer
Post by: Colonol Dekker on February 17, 2019, 02:29:57 pm
Which launcher do I need to enter the credentials into? Is it the wxLauncher 0.12.0-rc3 or the FS2 Open Launcher 5.5d? Or something else?


Yeah it's literally all in the 1st post buddy.
Title: Re: How to set up PXO multiplayer
Post by: DrakonAlpha on February 20, 2019, 06:55:19 am
That I have to use the included launcher is what had to be mentioned. Thanks.
Title: Re: How to set up PXO multiplayer
Post by: DrakonAlpha on July 03, 2019, 01:41:33 pm
Getting multiplayer mode work for FreeSpace 2 ist far to difficult.
Title: Re: How to set up PXO multiplayer
Post by: Ghost on August 08, 2020, 08:47:59 am
Hey, me and a buddy are trying to get some MP going between ourselves. We both have a fresh install, we're only playing retail so we keep things as simple as possible in hopes of it getting to work, we both have validated PXO accounts, we both input our PXO logins in both the retail FS2 launcher as well as in-game. We can see each other and text chat in the Eleh channel, and the lobby will 'see' a game that one of us starts, but as soon as we go to the server list, no games are visible. Can I get a little advice/things I should doublecheck/things I did wrong questioning?
Title: Re: How to set up PXO multiplayer
Post by: Cyborg17 on August 08, 2020, 10:18:40 am
Being a host on the game requires port forwarding even if it's started through PXO.  Current builds support automated port forwarding, but that doesn't have a perfect success rate.  If the host forwards their ports properly, then there shouldn't be any issues.  If you have forwarded your ports and you still can't see each other on PXO, then that is a bug.

Here is a guide for port forwarding on netgear:
https://www.noip.com/support/knowledgebase/setting-port-forwarding-netgear-router-genie-firmware/

And linksys:
https://www.noip.com/support/knowledgebase/setting-port-forwarding-linksys-router/
Title: Re: How to set up PXO multiplayer
Post by: Ghost on August 08, 2020, 01:50:55 pm
Okay, copy that. I have a TP-Link that I'll start digging into when I'm off work, I seem to recall seeing port forwarding options when I was setting up the router earlier this year. Do you have a reference for which ports need forwarding for PXO?

edit:

https://wiki.hard-light.net/index.php/Multiplayer_Getting_Started_Guide#Global_Settings

This is saying to forward port 7808, is that still correct for PXO now that FS2netD is defunct?
Title: Re: How to set up PXO multiplayer
Post by: Cyborg17 on August 08, 2020, 07:39:07 pm
Yes, sorry, I forgot to mention.  That is still the correct port.  It's the default port of the FSO codebase.
Title: Re: How to set up PXO multiplayer
Post by: taylor on August 09, 2020, 12:53:05 am
Port 7808 is still the default. You should only forward UDP though, not TCP & UDP (the wiki is wrong there).

Also you only need to setup port forwarding if you want to create a game or run a standalone server. Port forwarding is not required to just be a client.

But if auto port forwarding works then just let it do it's thing instead of setting it up manually, since it's more secure that way. That way port forwarding is enabled only if it's actually needed and only for as long as it's required. For auto port forwarding to work your router needs to have NAT-PMP / PCP enabled. Enabling UPnP may be all that you need, but some routers have NAT-PMP listed as a separate or extra option and that's what you'll need to enable.
Title: Re: How to set up PXO multiplayer
Post by: Ghost on August 09, 2020, 09:56:44 am
Okay, thanks you two. I'll try and corral him for another game this week and I'll post back about my results.
Title: Re: How to set up PXO multiplayer
Post by: Ghost on August 10, 2020, 04:05:54 pm
Bumping so the thread sees a new reply instead of editing, I just have a quick note and question. Haven't had a chance to try and play yet, I just texted him to see if he was busy. Anyway - I pulled up my router's admin page, and I checked UPNP first - that was enabled. Fired up Retail FS2 through Knossos, started a server lobby, went to check the client list and bam there's port 7808 open with NAT-PMP protocol listed. So the auto-port forwarding works, according to my router.

Two questions: should I bother forcing the port open if auto forwarding says that it's working? Also, when we were trying to play, he was over here at my house on my internet connection(we weren't trying LAN as I couldn't remember how that was supposed to function and it was late). Would that have had an effect on trying to see my server through PXO?
Title: Re: How to set up PXO multiplayer
Post by: taylor on August 11, 2020, 01:13:04 am
Glad it worked!

To your questions...

1) Nope, just let auto port forwarding do it's thing. There are circumstances where using UPnP isn't wanted: buggy router, security concerns, etc. In that case you would want to disable UPnP and do it manually. But in general you would want it automatic so that you don't have to figure out what to forward to where, such as the case of having multiple computers on your network trying to play on PXO.

2) Yes, that can have an affect on seeing your server. I've had mixed results in such a situation. It can work, but it may not. Might depend a lot on your router as to your success. Your router will know that both computers are on your local network and try to redirect their traffic accordingly. Sometimes that causes things to break.