Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)

Started by Led, December 24, 2009, 12:44:47 PM

Previous topic - Next topic
Quote from: flstewieg on May 11, 2020, 01:26:24 PM
Is there a guide to putting up a dedicated server for Steam on a virtual host site? I'm looking to do this.
AFAIK you can just add a batch file and it loads it, but you need to have in the virtual machine the game purchased.
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

I replied on the steam forum too, but here is a good guide by The Pusher: https://steamcommunity.com/sharedfiles/filedetails/?id=2086127943
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.

So, from what I understand, you'd have to load a windows machine, and run the game in dedicated server mode from steam in order to allow steam players to play?

Quote from: flstewieg on May 12, 2020, 04:52:15 PM
So, from what I understand, you'd have to load a windows machine, and run the game in dedicated server mode from steam in order to allow steam players to play?

If you wish to host a dedicated server and be able to play on it you're gonna need a machine (You can even create a Virtual Machine with VirtualBox) which can be purchased here https://www.nfoservers.com/order-virtual-dedicated-server.php

After that you need GOG/Steam with the game you wanna play purchased. This account can't be the same one you're gonna play with.

Run the batch files for hosting in the game folder -- and there you have it!
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

I've got a virtual machine for two days for free and another copy of the game on steam. I downloaded the server software and set it up, but I think it's not showing up on my steam list because it's version 1.2 and not 1.3.5 like steam seems to show at top right when I load in.

I think I need help setting up through batch file, probably one on one chat.

Looking to set up something with:
1-3+ mb hosting
60fps (is that allowed or is it max 30),
noaim,
cloud city cis,
kashyyk docks gcw,
rhen var citadel cis,
yavin arena cis,
tatooine city gcw,
yavin arena cis,   
jabba gcw
24 player max
8 bots (less when full on players) - elite

Sorry for all the posts, trying to figure stuff out =D

Quote from: flstewieg on May 13, 2020, 12:44:52 PM
I've got a virtual machine for two days for free and another copy of the game on steam. I downloaded the server software and set it up, but I think it's not showing up on my steam list because it's version 1.2 and not 1.3.5 like steam seems to show at top right when I load in.

I think I need help setting up through batch file, probably one on one chat.

Looking to set up something with:
1-3+ mb hosting
60fps (is that allowed or is it max 30),
noaim,
cloud city cis,
kashyyk docks gcw,
rhen var citadel cis,
yavin arena cis,
tatooine city gcw,
yavin arena cis,   
jabba gcw
24 player max
8 bots (less when full on players) - elite

Sorry for all the posts, trying to figure stuff out =D

Please make sure you have the 2 things I specified:

=> An account with GOG/Steam with the game purchased which is not your own game -- or you won't be able to join.
=> Windows files updated -- might get some .net or c++ errors if you eventually decide to host swbf2 as well.

After that, you just need a batch file to run the game as a server.
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

I got it up!

I just got to figure out a few more things.

Using the .bat, how do you make it automatically cycle through maps again, or does it do that automatically? I had it running earlier but I think it might have just stopped at end of map list.

Quote from: flstewieg on May 13, 2020, 06:03:38 PM
I got it up!

I just got to figure out a few more things.

Using the .bat, how do you make it automatically cycle through maps again, or does it do that automatically? I had it running earlier but I think it might have just stopped at end of map list.
It'll load that map rotation in a loop
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

Thank you for your help!

The batch file sometimes randomly closes completely with no intervention. I would like it to constantly be running. Any tips for that?

That's called "Steam dedicated servers suck" reboots or setting a loop in the bat file works with it.
:swbf
Server settings here
:goto swbf
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.


also need to disable windows hang app notification in registry
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Thank you.

Doing

:swbf
Server settings here
:goto swbf

didn't stop the crash.

Trying to turn off notifications now, but I was monitoring the situation first hand (in server playing and watching server on second screen) and no errors popped up, no notifications were going on, nothing.

It's very strange. Stuff just turned off completely.

:swbf
echo(%time%) SWBF server started.
battlefront.exe /win /norender /noteamdamage /autonet dedicated /resolution 320 240 /nosound /noaim /tps 57 /gamename ServerName /playerlimit 32 /playercount 1 /bots 0 /difficulty 2 /throttle 3072 /sideselect /spawn 5 rhn2a 100 100 kam1c 100 100 bes2a 100 100 tat2i 100 100
echo(%DATE%) at (%time%) - Server crashed
goto swbf


Sorry i had a syntax error because I didn't look... try copying this into your batch file and adjust the settings accordingly.
This will not stop the crashing, but at least the server will come back up when it does crash.
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.

It wont stop any crashing, it will just allow it to restart.

The crashing appears to be a bug that GoG introduced.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet