SWBFgamers Server is up on Steam

Started by Dark_Phantom, May 03, 2020, 06:54:51 AM

Previous topic - Next topic

{PLA}gdh92

Quote from: Dark_Phantom on May 04, 2020, 07:31:22 PM
Interesting.  So I bought the game on a second account as well so that I could play and host at the same time.  Are you logged into Steam when you do this?  I am running it off my VPS, with the batch file in the same folder as Battlefront.exe, and Steam is running and logged in to the account I bought it on.  I tried doing it multiple ways in offline mode and trying to run it on both machines, and it just didn't work.

If that doesn't help, I can take some screenshots and give insight to my setup.

I couldn't get it to work either, I'm wondering how it checks and whether you can change the folder location for one to trick it.
I play less now but I'll always be around, lets keep this site and battlefront going. :)

StoneCold

Quote from: Dark_Phantom on May 04, 2020, 07:31:22 PM
Interesting.  So I bought the game on a second account as well so that I could play and host at the same time.  Are you logged into Steam when you do this?  I am running it off my VPS, with the batch file in the same folder as Battlefront.exe, and Steam is running and logged in to the account I bought it on.  I tried doing it multiple ways in offline mode and trying to run it on both machines, and it just didn't work.

If that doesn't help, I can take some screenshots and give insight to my setup.

Yeah, Steam is running in the background. I am logged into the account I bought it on. Batch file is in the same folder as the exe. Whats interesting though is that hosting the server as LAN only works, but no dice for online.

Would appreciate screenshots if you get the time. I'll play around with it some more later today. Thanks for the insight so far.

Dark_Phantom

Ok, to start, here's almost the exact batch file I'm using:
Quote:swbf
echo(%time%) SWBF server started.
battlefront.exe /win /norender /noteamdamage /autonet dedicated /resolution 320 240 /nosound /noaim /tps 57 /gamename Mods@SWBFGamers.com /playerlimit 50 /playercount 1 /bots 25 /difficulty 1 /throttle 3072 /randomize /sideselect bes1r bes2a nab1i kas1c kas2i nab2c rhn1i rhn2c tat2r yav2r tat1i yav1i tat3a
echo(%DATE%) at (%time%) - Server Crashed
goto swbf
It runs an automatic restarter, but shouldn't be too relevant.

I've attached below some snips, the one is just showing that after I start up the server, steam is running, logged in, etc.  The second one is just showing everything - I have the default folder with no mods running Mods@SWBFgamers.com.  Double server attempt folder is just the steam folder copied onto the desktop.  This one is running the BOBserver and has some mods in there, so I know both methods work.

I tried GOG last night on Led's VPS using the same method and it didn't work right.  Galaxy seemed to be running but it didn't show up in the list.  I'm not sure if there's extra configuration in Steam or whether the DRM actually makes it work correctly. However, it isn't confined to folders.  One trick that maybe people could try is running the game normally, alt-tabbing, then using the batch file, but for a VPS with no graphics card this may not work.

I may have to see what my server is doing differently, but it's just a standard setup from NFO that was running a Minecraft server and SWBFspy servers.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

StoneCold

Quote from: Dark_Phantom on May 05, 2020, 05:14:11 AM
Ok, to start, here's almost the exact batch file I'm using:It runs an automatic restarter, but shouldn't be too relevant.

I've attached below some snips, the one is just showing that after I start up the server, steam is running, logged in, etc.  The second one is just showing everything - I have the default folder with no mods running Mods@SWBFgamers.com.  Double server attempt folder is just the steam folder copied onto the desktop.  This one is running the BOBserver and has some mods in there, so I know both methods work.

I tried GOG last night on Led's VPS using the same method and it didn't work right.  Galaxy seemed to be running but it didn't show up in the list.  I'm not sure if there's extra configuration in Steam or whether the DRM actually makes it work correctly. However, it isn't confined to folders.  One trick that maybe people could try is running the game normally, alt-tabbing, then using the batch file, but for a VPS with no graphics card this may not work.

I may have to see what my server is doing differently, but it's just a standard setup from NFO that was running a Minecraft server and SWBFspy servers.

Thanks a lot for the batch file configuration.

I've been trying again for the past hour to get this going by hosting via the batch script, but no dice. I even added the batch script string to the Steam Launch Options dialog box and launch it directly from there (that works as well, lol) but doesn't want to display the server.

I'm really baffled as to why your Mods@SWBFgamers.com server shows up in game as you've executed it via the batch file. For interests sake, I tried player hosting a server from my gaming pc and on my laptop where I have my second copy running, instantaneously saw my player hosted server.

So for me, only player hosted and in-game dedicated server hosting works 100%, all my other attempts have come up empty handed. One thing I did pick up though is that the game exe connects to gog.com through port 443. Can you perhaps check and see if that port fully reachable / accessible on your VPS? Because if it is, then I assume that is why it works for you.

I put my laptop in DMZ mode via my router, but I can't seem to open port 443 completely on my end  :confused:

Led

He is on NFO server, so all ports are open to the wild wild web.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Dark_Phantom

May 06, 2020, 05:09:33 AM #20 Last Edit: May 06, 2020, 06:20:04 AM by Dark_Phantom
Right, and port 443 is actually the HTTPS port (generally).
I have to wonder if it's trying to make a secure connection over that port and failing.
Edit: @Stonecold, SWBF1 used to run on ports like 3650 - idk  if they changed that or not, but maybe somebody should watch in wireshark to see if they still use those ports.  A VPS has all the port forwarding stuff open so there's less issues.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

StoneCold

Quote from: Dark_Phantom on May 06, 2020, 05:09:33 AM
Right, and port 443 is actually the HTTPS port (generally).
I have to wonder if it's trying to make a secure connection over that port and failing.
Edit: @Stonecold, SWBF1 used to run on ports like 3650 - idk  if they changed that or not, but maybe somebody should watch in wireshark to see if they still use those ports.  A VPS has all the port forwarding stuff open so there's less issues.

Thanks Dark_Phantom.

I'll fire up Wireshark and see if it uses the 3650 port range. Strange on my VPS where I too hosted some SWBF servers on SWBFSpy I noticed on the Windows Firewall the 3650+ range on both TCP and UDP. Even hosting via my VPS it doesn't display the server in the list, so I guess 443 is blocked on my provider that is hosting the VPS in my country. Can't really complain as I got the VPS for free back in the day, even though it's DOG slow, lol.

Anyhow, here's hoping they patch the issues the game currently has. As for server hosting, I'll investigate via Wireshark and see what I can find, but if all else fails, I'll subside and host my dedi via the in-game setting as that at least works fine via my laptop.  :D

Anyder

Quote from: StoneCold on May 06, 2020, 01:21:28 PM
Thanks Dark_Phantom.

I'll fire up Wireshark and see if it uses the 3650 port range. Strange on my VPS where I too hosted some SWBF servers on SWBFSpy I noticed on the Windows Firewall the 3650+ range on both TCP and UDP. Even hosting via my VPS it doesn't display the server in the list, so I guess 443 is blocked on my provider that is hosting the VPS in my country. Can't really complain as I got the VPS for free back in the day, even though it's DOG slow, lol.

Anyhow, here's hoping they patch the issues the game currently has. As for server hosting, I'll investigate via Wireshark and see what I can find, but if all else fails, I'll subside and host my dedi via the in-game setting as that at least works fine via my laptop.  :D

AFAIK the new patch doesn't listen to such ports anymore -- at least in SWBF2 it doesn't.

Anyder | Operations Excellence & Communication - SWBF & Player Engagement

Luna

Do we know if they'll ever fix the random crashes and server browser freezes? I hope they will, since the first match I joined in today crashed after the game finished. It says I lost connection to the host, so I don't know if it was my game crashing or if the Host crashed?
The years just fly past, don't they?

StoneCold

Quote from: Luna on May 06, 2020, 02:40:50 PM
Do we know if they'll ever fix the random crashes and server browser freezes? I hope they will, since the first match I joined in today crashed after the game finished. It says I lost connection to the host, so I don't know if it was my game crashing or if the Host crashed?

Yeah, here's hoping they patch it!

I guess we should make our voice heard on the GOG forum for the game as well because the dev on the Steam forums appear to be inactive there. At least they seem to reply on GOG, so let's pester them there and see if we can push for a patch. Worth a shot  8)

Luna

Quote from: StoneCold on May 06, 2020, 02:47:06 PM
Yeah, here's hoping they patch it!

I guess we should make our voice heard on the GOG forum for the game as well because the dev on the Steam forums appear to be inactive there. At least they seem to reply on GOG, so let's pester them there and see if we can push for a patch. Worth a shot  8)

If only we had a dev from that team here, though I'm not sure if that'd be the best idea...
The years just fly past, don't they?

Dark_Phantom

Quote from: Luna on May 06, 2020, 02:49:04 PM
If only we had a dev from that team here, though I'm not sure if that'd be the best idea...
Maybe I'm being a little bit dumb here, but what's the worst they could do to us?
There's a few of us that are actively trying to help and do what we can, through dedicated servers, mods, and trying to patch up what they broke.  Maybe the fact we have a competitor is a problem, but frankly, if they'd fix their crap, it wouldn't matter.  I would gladly use Steam's official online solution more often if I didn't sit through several crashes a session when I use it.
Maybe it's because I like playing on the dedicated servers that aren't officially even cared about (see: many crashes per day).  But the performance when it runs is way better than a lot of self-hosted servers.  :shrug:
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

wsa30h

i prefer swbf spy myself they need to fix it. its possible the new luacallbacks broke some of my maps but am not sure.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 xbox project expanded
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

Luna

Quote from: Dark_Phantom on May 06, 2020, 06:51:40 PM
Maybe I'm being a little bit dumb here, but what's the worst they could do to us?
There's a few of us that are actively trying to help and do what we can, through dedicated servers, mods, and trying to patch up what they broke.  Maybe the fact we have a competitor is a problem, but frankly, if they'd fix their crap, it wouldn't matter.  I would gladly use Steam's official online solution more often if I didn't sit through several crashes a session when I use it.
Maybe it's because I like playing on the dedicated servers that aren't officially even cared about (see: many crashes per day).  But the performance when it runs is way better than a lot of self-hosted servers.  :shrug:

That's what I meant. They could see SWBFspy as competition, but I agree. If they fixed their crap, then everything would be better. That's what I meant by it might be a bad idea.
The years just fly past, don't they?

Anyder

May 12, 2020, 12:48:21 PM #29 Last Edit: May 12, 2020, 02:54:17 PM by Anyder
Quote from: Dark_Phantom on May 05, 2020, 05:14:11 AM
I tried GOG last night on Led's VPS using the same method and it didn't work right.  Galaxy seemed to be running but it didn't show up in the list.

Update! Last 2 days I spent them investigating GOG and now we have it running through that app. Hope you all join SWBFGamers.com CC NO AI and enjoy iy  :cheers:

Edit: in fact, I got to host a server in my machine although ping seems a bit weird... Attached picture :) See you in SWBFGamers.com Europe  :tu:

Anyder | Operations Excellence & Communication - SWBF & Player Engagement