SWBFGamers

Gaming for the Original SWBF1 and SWBF2/other games => Star Wars Battlefront (2004 Original) => Topic started by: Led on December 24, 2009, 12:44:47 PM

Title: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on December 24, 2009, 12:44:47 PM
This is a copy of a post about hosting SWBF from my Clan Page.  Some may find it useful.
The Invincibility switch is discussed in this post.


New Guide:  Using Linux/Wine to host SWBF
http://www.swbfgamers.com/index.php?topic=8927.msg94961#msg94961



In November 2012, Gamespy was shut down.  In May 2014, GameMaster was released and has allowed us to host internet servers again.  As of 6/1/2016 SWBFgamers now hosts GameMaster and the service is named SWBFspy.  Be sure to get game and server patches from this site, as there is a community troll that claims to have a service (but it is non-functioning) edit:  maybe his works now (I will never be able to verify it), but he is an even bigger troll.

To host, you will still need to portforward.


You can also use the LAN option using either GameRanger or Tunngle or other LAN service.  Tunngle and Gameranger supports the use of the dedicated server software as described in this post.

Here is a link to a post to learn about hosting with tunngle:
http://www.swbfgamers.com/index.php?topic=5531.0


------------------------------------------------------------
Hosting SWBF

There are two ways to host SWBF. One way is with your game disk. Another, more stable way is to use the SWBF dedicated server software.

This guide will describe how to use the dedicated server software.


Getting the Software
--------------------

The first step is to get the software. It can be downloaded from SWBFgamers.com:
http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=441
Be sure to also get the SWBFspy server patch located at this link
http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1386
(replace the original file with the one at the link above).



You can only host a game with this software.

I am often asked the question, "How do you play SWBF and host it too?"
The answer for me is that I have two computers. One for playing swbf and one for hosting.

However, it is possible to host and play on only one computer. I will describe how to do that at the end of this guide.

Download and install the dedicated server software (version 1.2). Go ahead and run the server software once, so that it creates a file called
"Battlefront Server.ini". I will describe this file later, and modifications that can be made to this file.


Dealing with your Router
------------------------

If you have a firewall/router you must enable portforwarding so that other people can connect to your computer. I know how to configure my router, but I don't know anything about yours though, so please consult your router manual.

If you know all about your router and how to portforward, then portforward ports 3658, 3659, 6500, and 27900, 29910, 29920 (both TCP and UDP) to your host computer. 

If you have a software firewall, like one built into windows, then you will need to deal with that, too, by allowing access for battlefront.  If are having troubles, try temporarily disabling your firewall and see if it works--then, if it does work, at least now you know what the issue is.

You can also spend money and rent a server.  PLA rents a server from www.NFOservers.com and it costs about $17/month and can run 5-8 server instances at a time.  Contact me if you want more details.  You can also use Wine on Linux for about $8/month.   Wine works with the SWBF1 dedicated server, but I've not seen it work for SWBF2.

Adding Commands to your Server
------------------------------

The basic BattleFront Server.ini file contains a line that can and
should be edited. Look for this line in the file:

APP_COMMAND_LINE_BASIC=/win /norender /autonet dedicated /resolution 320 240 /nosound

To turn off gamepad aim assist and to set a better framerate for players, add commands to this line as follows:

APP_COMMAND_LINE_BASIC=/win /norender /autonet dedicated /resolution 320 240 /nosound /noaim /tps 30


A list of commands that I know that work here are as follows:

/noaim is to turn off gamepad aim assist
/tps 30 sets the frame rate to 30 frame per second, which is much smoother than the default of 20
/unlimitedammo gives unlimited ammo
/invincible makes you invincible to enemy fire


other commands are available through the interface window.


Starting and Running the Server
-------------------------------

Follow the directions included with the software to learn how to adjust maps and tickets, etc., and how to boot or ban players using the GUI.  IMPORTANT:  be sure to set your hosting bandwidth in the GUI to 1M+   .


Hosting and Playing on the Same Computer
----------------------------------------

-Set up the dedicated server software as previously described
-Start SWBF using your game disk
-Alt tab out of the game
-Start the SWBF dedi server software
-re-enter the game
-Alt tab out to boot/ban players, etc.


Hosting without using the GUI
-----------------------------

If run the same basic server setting over and over, you can create a DOS batch file to run the server. Below is the contents of the batch file I use to run the CloudCity Only server:


----------
battlefront.exe /win /norender /noteamdamage /autonet dedicated /resolution 320 240 /nosound /noaim /tps 30 /gamename Led-CloudCity-TKoff-antiGlitch /playerlimit 16 /playercount 1 /bots 2 /difficulty 2 /throttle 2048 /spawn 5 bes2r 400 400 bes2a 400 400
----------

Copy that text between the lines into a file called CloudCity.bat

When you are familiar with the dedicated server software, it is easy to edit this kind of batch file.

Note:  Windows Server 2008 has a limitation on the length of a batch file.  I have not determined how to overcome this limitation.  Be aware that long batch files may not execute properly if you use Windows Server 2008.

update 7/1/2016  Longer batch file names can be used in Server 2012 R2 when using PowerShell.



Hosting Mod Maps with the Dedicated Server Software
-----------------------------------------------------------------------
You need two things to host a mod map:
1) the mod map, and
2) a file called mapinfo.txt for each map (if you use the GUI).


If you want to host a mod-map using the dedicated server software,
you will need to place the map folder in the Addon Folder of the
*server* software.  If you are using the 1.2 deicated server software,
there will already be a folder located in the Addon Folder call Tat3.

Tat3 is Jabba's Palace, which is a map that was released with upgrade
1.2 of the software.

The mapinfo.txt must reside inside of the mod map folder, or else the
GUI will not be able to recognize that the map is to be loaded into
the GUI.


Here is the file from Tat3:
CW,TATOOINE: JABBA CW,tat3c,CIS,republic,200,200
GCW,TATOOINE: JABBA GCW,tat3a,alliance,imperial,200,200

The format of the file is:
ERA, TEXT NAME what ever you want, mapname-with-faction-extension, faction1, faction2, tickets1, tickets2

The mapname is very important to get correct.  The folder is called tat3,
and the extension "c" is usually for CW era and the "a" is usually for the GCW era. However, some maps don't use this designation, and there is no way to know for sure if the mod map maker followed these conventions.  (Although you may try looking in the addme.script file to get some clues.)

Therefore, some maps can not be hosted using the dedicated server software, and instead must be hosting using the game disk method, which does not require the mapinfo.txt file.




Here are some updates based on new discoveries:
--------------------------------------

If you specify a map name with out a ticket count in a batch file, like this:

bes2r bes2a

then the default tickets specified in the mission lua will be used.



If you copy Battlefront.exe to something else, say BattlefrontGameNight.exe and execute it,
it will create a new ini file called BattlefrontGameNight.ini. 

You can edit this for your settings for you maps, like invinciblility, etc.  This way, you can use the same map install for some various server settings without having to make a copy of your entire server folder.

If you want to host a Historical map, you can do so by using a batch file.  Here is a link to a tutorial:
http://www.swbfgamers.com/index.php?topic=7870.msg84624


All the best,
Led







Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: aeria. on December 24, 2009, 02:08:39 PM
/nominates this to sticky :D
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Xfire Keenmike aka cull on December 24, 2009, 05:56:03 PM
Quote from: Buckler on December 24, 2009, 12:44:47 PM
Hosting and Playing on the Same Computer
----------------------------------------
-Set up the dedicated server software as previously described
-Start SWBF using your game disk
-Alt tab out of the game
-Start the SWBF dedi server software
-re-enter the game
-Alt tab out to boot/ban players, etc.

the best,
Led

"Every second is of infinite value"
Johann Wolfgang von Goethe quotes (German Playwright, Poet, Novelist and Dramatist. 1749-1832)

I second this to a sticky.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Jedikiller on December 24, 2009, 06:18:49 PM
It already has been stickied.

Nice post, Buck!
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Xfire Keenmike aka cull on December 24, 2009, 09:29:22 PM
"There are three classes of people: those who see. Those who see when they are shown. Those who do not see."
Leonardo da Vinci quotes (Italian draftsman, Painter, Sculptor, Architect and Engineer whose genius epitomized the Renaissance humanist ideal. 1452-1519)

And a fourth class of people, those who post and then later notice that the post is stuck. Thank you Jedikiller.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: {TcF}Dr.Penguin on January 20, 2011, 08:39:28 AM
This was a very helpful post for me
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Phobos on May 02, 2011, 05:25:38 AM
A big problem with invincibility server is that you can't respawn. You have to leave the server or find a death region to respawn.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on May 02, 2011, 08:58:38 AM
Quote from: ModTester on May 02, 2011, 05:25:38 AM
A big problem with invincibility server is that you can't respawn. You have to leave the server or find a death region to respawn.

Yes, this is true.  You can get killed in turrets though.   Note that invincibility is not a mod or a hack, just an undocumented PC dedi server software command.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Phobos on November 27, 2011, 01:34:45 PM
I forget what code must I add to turn on player select (disable auto assign) in the batch?
/sideselect 1 crashes
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: tirpider on November 27, 2011, 01:45:19 PM
pretty sure it's just /sideselect without anything after.
Thats how the ps2 server is.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Phobos on November 27, 2011, 05:21:15 PM
yes that is working now thanks.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 08, 2012, 09:09:53 PM
What is the command for using a password in the batch?
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on September 09, 2012, 07:48:01 AM
/password whateverpassgoeshere

Look at the command line that shows up when you execute the GUI (at the bottom of the GUI) to learn about the other commands that can be used.

Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 09, 2012, 03:09:49 PM
Thank You My Friend!  :tu:
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 09, 2012, 03:37:27 PM
now, the invincible command is not wanting to work. And i made sure to run it with no other commands that alter the server after it.(ex: unlimitedammo , sideselect , etc.)
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 11, 2012, 07:58:40 AM
Quote from: Buckler on December 24, 2009, 12:44:47 PM
The mapname is very important to get correct.  The folder is called tat3,
and the extension "c" is usually for CW era and the "a" is usually for the GCW era. However, some maps don't use this designation, and there is no way to know for sure if the mod map maker followed these conventions.  (Although you may try looking in the addme.script file to get some clues.)

Does this have anything to do with regular maps in the ticketing for the batches? Becuase I cannot figure out how to change it from CW to GCW.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on September 11, 2012, 08:52:49 AM
Yes.  For stock maps, use the GUI and see what appears at the bottom when you press start.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 11, 2012, 12:37:21 PM
i feel bad for asking as many questions as i do here, but when i run the batch and the map ends, the server crashes, crashing my game too. Fix?
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on September 11, 2012, 03:41:43 PM
make sure there are no extra spaces after the last maps reinforcement count:

bes2a 200 200<-------------nothing else after this, no spaces or enter button presses or anything
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ultimo on September 11, 2012, 04:10:43 PM
gotcha... thanks. All this hard work is coming together. thank you so much. :D
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: {212}FrenchFryZ on September 27, 2012, 05:04:07 AM
I have a quistion,my dedicated pc server stoped working again I re-downloaded it about 4 days ago and within two days it had stopped working again...idk why i can press start and see that the sever is loading and then it comes up with the name and the sides and units and stuff but when i enter back into the game it isnt there!

Edit: Thank you for the answers on my other thread :) i think that i know exactly what to do now :)
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: RepComm on November 12, 2012, 07:45:38 PM
Another funny thing about invinciblity, if you go out of battlefield in a tank, and switch to the turret (the secondary slot that you can not drive the tank in)  you die.  Weird...
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Gold Man on November 12, 2012, 07:51:19 PM
Well, it does say "enemy fire", and generally that assumes if you are in command of vehicle, or on foot. Secondary position in a vehicle and being in a turret, or end of map with no vehicle, are generally your dead-zones. :P
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Ltin on November 18, 2012, 09:46:59 AM
.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on November 18, 2012, 09:59:48 AM
Quote from: Ltin on November 18, 2012, 09:46:59 AM
Is it possible to do the dedicated server thing with gameranger/tunngle?

Tunngle yes, GameRanger no (at least as far was we have been able to figure out).

Update 8/2015:  Scott from GameRanger has fixed it so we can use the dedicated server software for SWBF on GameRanger.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: RepComm on September 22, 2013, 12:20:32 PM
Do we know what the maximum throttle is for the app command line?
Also, is there a minimum? I need to set the range for a GUI slider test.
- I think what I just asked is irrelevant.. Because if I am thinking correctly, you do not want a slider for determining a bandwidth throttle amount..?
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: Led on September 22, 2013, 01:30:03 PM
Quote from: -RepublicCommando- on September 22, 2013, 12:20:32 PM
Do we know what the maximum throttle is for the app command line?
Also, is there a minimum? I need to set the range for a GUI slider test.
- I think what I just asked is irrelevant.. Because if I am thinking correctly, you do not want a slider for determining a bandwidth throttle amount..?

In the GUI there is a discrete amount, maybe 6 values or so.  I do not know if it can be uncapped, or what would happen if you left off the value, or if you can set any value you want.

If you wanted to test this, then I would suggest that you set up a high TPS server and see what happens at various cap levels.



Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility)
Post by: RepComm on September 22, 2013, 01:45:28 PM
Quote from: Buckler on September 22, 2013, 01:30:03 PM
In the GUI there is a discrete amount, maybe 6 values or so.  I do not know if it can be uncapped, or what would happen if you left off the value, or if you can set any value you want.

If you wanted to test this, then I would suggest that you set up a high TPS server and see what happens at various cap levels.
Alrighty, thanks for the advice!
I might try to incorporate an advanced mode (Like a Menu-SubMenu option switch), so that more learned users would be able to use it as well..
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Ultimo on August 22, 2015, 07:41:45 PM
Just thought I would point out that Portforwarding.com has removed their listings for portforwarding Star Wars Battlefront 1 and 2, most likely due to the Gamespy shutdown. I wouldn't be surprised that Portforwarding.com is unaware of Gamemaster.

I know how to portforward without that site's help, but I would recommend the thread be updated for the sake of others.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on August 23, 2015, 03:24:12 PM
Quote from: chameleon on August 22, 2015, 07:41:45 PM
Just thought I would point out that Portforwarding.com has removed their listings for portforwarding Star Wars Battlefront 1 and 2, most likely due to the Gamespy shutdown. I wouldn't be surprised that Portforwarding.com is unaware of Gamemaster.

I know how to portforward without that site's help, but I would recommend the thread be updated for the sake of others.

initial post has been updated
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Sonic on September 06, 2015, 04:46:13 AM
Alternatively, for better managing the server and automatic map distribution, look here (http://www.swbfgamers.com/index.php?topic=9731.0).
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: aidenator on January 24, 2016, 07:41:17 PM
I had the hardest time getting my server to show up in the server browser. So, here's what I had to do. I HAD to edit my hosts file in order for it to work. And I'm using the modified battlefront.exe file for GameMaster, but I don't think that part is necessary. So just follow the instructions for editing your host file here: http://www.swbfgamers.com/index.php?topic=7840.0 and then start up your server and it should show up in the server browser. You have to start your game first before the server or else it won't let you start your game. I guess you can only have 1 instance of battlefront.exe running, no idea why. For me, I have to run the server as an administrator in order for it to see my .ini file, if I don't, it just runs default settings and doesn't read the .ini file. Instead of "/tps 30" I set mine to "/tps 60" for true PC gaming 60FPS quality. Hope this can help someone.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on January 24, 2016, 07:48:57 PM
Quote from: aidenator on January 24, 2016, 07:41:17 PM
I had the hardest time getting my server to show up in the server browser. So, here's what I had to do. I HAD to edit my hosts file in order for it to work. And I'm using the modified battlefront.exe file for GameMaster, but I don't think that part is necessary.

There were some IP address changes to the Gamemaster master browser that are reflected in the hosts file edit, but are probably not updated in the exe file for the dedicater server.  Note also that you still need to do proper portforwarding if your server is behind a firewall/router.

I will try to update the dedicated server exe when I get the chance--thanks for bringing it to our attention.   :cheers:


Edit:  Phobos has updated the exe file for the server.  It is available here:
http://www.swbfgamers.com/index.php?topic=10210.0
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: GFink on May 22, 2017, 10:57:22 PM
Quote from: Led on December 24, 2009, 12:44:47 PM
Hosting Mod Maps with the Dedicated Server Software
-----------------------------------------------------------------------
You need two things to host a mod map:
1) the mod map, and
2) a file called mapinfo.txt for each map (if you use the GUI).


If you want to host a mod-map using the dedicated server software,
you will need to place the map folder in the Addon Folder of the
*server* software.  If you are using the 1.2 deicated server software,
there will already be a folder located in the Addon Folder call Tat3.

Tat3 is Jabba's Palace, which is a map that was released with upgrade
1.2 of the software.

The mapinfo.txt must reside inside of the mod map folder, or else the
GUI will not be able to recognize that the map is to be loaded into
the GUI.


Here is the file from Tat3:
CW,TATOOINE: JABBA CW,tat3c,CIS,republic,200,200
GCW,TATOOINE: JABBA GCW,tat3a,alliance,imperial,200,200

The format of the file is:
ERA, TEXT NAME what ever you want, mapname-with-faction-extension, faction1, faction2, tickets1, tickets2

The mapname is very important to get correct.  The folder is called tat3,
and the extension "c" is usually for CW era and the "a" is usually for the GCW era. However, some maps don't use this designation, and there is no way to know for sure if the mod map maker followed these conventions.  (Although you may try looking in the addme.script file to get some clues.)

Therefore, some maps can not be hosted using the dedicated server software, and instead must be hosting using the game disk method, which does not require the mapinfo.txt file.


Alright so I installed a map that used all the normal SWBF assets and it worked fine on my dedicated server. FYI it's Bespin Platforms 2. Then I tried a map (Coruscant: City) with different assets and textures than vanilla SWBF and it crashed the server. I know it's possible to host a modmap server with different assets than normal SWBF because I tried it w/o a dedicated server a few years back and it worked fine. Or is this even the problem at all? It seems all maps deviating from vanilla swbf assets crash the dedicated server platform.

I'm insistent on using the dedicated server platform so I dont get that choppy 20 or 30 fps while playing with friends.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on May 23, 2017, 06:29:18 AM
City has never worked for me with the dedicated software.  I don't know why.  Most other mod maps will work though.

If the FPS is an issue, you can also use the player command /noframelock.  Use the search function option for the site (or use Google) on that term to learn how to apply it.    It will uncap the player FPS.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Aradam☑ on May 23, 2017, 11:05:04 AM
Quote from: Led on May 23, 2017, 06:29:18 AM
City has never worked for me with the dedicated software.  I don't know why.  Most other mod maps will work though.

If the FPS is an issue, you can also use the player command /noframelock.  Use the search function option for the site (or use Google) on that term to learn how to apply it.    It will uncap the player FPS.

All maps by Seraja's crashes in multiplayer too.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on May 23, 2017, 11:08:02 AM
Quote from: Aradam☑ on May 23, 2017, 11:05:04 AM
All maps by Seraja's crashes in multiplayer too.

But Curscant: City works with disk.

Sereja's maps don't work with disk or dedicated server software, unless you use the reduced graphics sides.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Samistheone on September 24, 2017, 02:20:43 PM
Okay so Quick question can someone make a video tutorial on this for some reason I don't understand somethings well with out video

I tried setting up a dedi server and I think it was running but could not find it online.

how do you figure out how you should go about getting the information to make the mapinfo text for a modmap that doesn't have one? for example if you come across a map called RLcT: Beachhead (Which can be found on www.swbfgamers.com least it could last I checked.)

((This is for Led: Would I be able to add some random maps and mods I came across long time ago to this website? (I can no longer find them online, and it would be sad if my hard drive dies again and for all of them to be permanently lost, of course I can show you any files before uploaded if you wanted.) I don't believe they are on the website and some of them I couldn't find any reference to contact anyone or who made the map in the Read Me file.))

Oh I just thought of this the guide above says there are updates: where exactly can I  find that on the site that might be part of my problem

And last of all on my computer the command section as like stated above that you can edit for like no aim assist and stuff how would I go about editing that as it is basically off my screen and I couldn't resize the window and not only that but it seemed that I couldn't edit it or type anything either as in when I clicked on it I didn't see a typing curser appear

Can anyone help with this? Id much appreciate it thanks!
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on September 24, 2017, 03:01:35 PM
Quote from: Samistheone on September 24, 2017, 02:20:43 PM
Okay so Quick question can someone make a video tutorial on this for some reason I don't understand somethings well with out video

I tried setting up a dedi server and I think it was running but could not find it online.

how do you figure out how you should go about getting the information to make the mapinfo text for a modmap that doesn't have one? for example if you come across a map called RLcT: Beachhead (Which can be found on www.swbfgamers.com least it could last I checked.)

Oh I just thought of this the guide above says there are updates: where exactly can I  find that on the site that might be part of my problem

And last of all on my computer the command section as like stated above that you can edit for like no aim assist and stuff how would I go about editing that as it is basically off my screen and I couldn't resize the window and not only that but it seemed that I couldn't edit it or type anything either as in when I clicked on it I didn't see a typing curser appear

Can anyone help with this? Id much appreciate it thanks!
I'm not sure what you are actually asking for, so let's see if I got this right.

1) Attached what I think that it is that u seek.

2) U can edit it on either a .bat file or the server software .ini file "APP_COMMAND_LINE_BASIC=/win /norender /autonet dedicated /resolution 320 240 /nosound "

As for just hosting a normal gameserver, ure gonna need to follow this tutorial Led wrote at the beginning of the thread. If u get stuck at any point lemme know.

Quote from: Samistheone on September 24, 2017, 02:20:43 PM
((This is for Led: Would I be able to add some random maps and mods I came across long time ago to this website? (I can no longer find them online, and it would be sad if my hard drive dies again and for all of them to be permanently lost, of course I can show you any files before uploaded if you wanted.) I don't believe they are on the website and some of them I couldn't find any reference to contact anyone or who made the map in the Read Me file.))
I think u'd need the mod-owners' respective approval to upload them first.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Samistheone on September 25, 2017, 11:55:00 AM
is there an update I need to get for the dedi server to work on swbfspy?

And yes I guess i'm stuck if you want i'll let you screen share to help me figure out what it is i'll type in blank page if theres anything else I think of at the time or message through discord or steam

also I forget is there a program I need to get to edit .bat files?

(Heck I should probably just rent a server but the thing about that is I currently don't have enough money for that kind of thing.)
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on September 25, 2017, 12:56:22 PM
Quote from: Samistheone on September 25, 2017, 11:55:00 AM
is there an update I need to get for the dedi server to work on swbfspy?

And yes I guess i'm stuck if you want i'll let you screen share to help me figure out what it is i'll type in blank page if theres anything else I think of at the time or message through discord or steam

also I forget is there a program I need to get to edit .bat files?

(Heck I should probably just rent a server but the thing about that is I currently don't have enough money for that kind of thing.)
Ah, contact me on steam whenever u're online on Steam
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on September 25, 2017, 12:58:14 PM
Just to be sure, are we talking about SWBF1 or SWBF2 ?

You will need to set up port forwarding.  That means you need to access your router at home.  Find your user name and password, and confirm that you see a section called port forwarding.

You will need to find the LAN address of your hosting computer.

Install the original dedicated server software and patch it for SWBFspy.  Or use the disk method with a patch.

re-read my first post again to make sure you understand it all.  You will not need to use batch files if using the GUI.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Samistheone on September 25, 2017, 10:35:56 PM
Yes swbf1 and the problem I am also coming in to is the router isn't mine haha its my dads and I have no clue how to work it or what any of the passwords are and he doesn't want me to change anything because hes afraid someone will come in and hack everything badly

In fact i'm not sure that we have just one router.... though I have a separate one I found for free after a garage sale and I was wondering would it work to hook a cable from the other system to that router and from there hook it up to my computer would that bypass my issues?

I should add i'm not that good of understanding things that are written since I am literally a visual learner I took a class where most of the stuff was on video and I didn't study anything but I basically got the exam 100% correct just because I remembered everything from the videos see for somethings my mind is like a steal trap haha

So things like written explained documents on how to make and work things don't always work for me and that is actually one of my disabilities
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on September 26, 2017, 06:17:30 AM
To be very direct, if you can't access your family's router to set up port forwarding, then Game Ranger is your best bet.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: 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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on May 11, 2020, 04:28:14 PM
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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Dark_Phantom on May 11, 2020, 04:53:39 PM
I replied on the steam forum too, but here is a good guide by The Pusher: https://steamcommunity.com/sharedfiles/filedetails/?id=2086127943
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: 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?
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on May 12, 2020, 05:21:42 PM
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!
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: 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
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on May 13, 2020, 02:10:28 PM
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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: 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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on May 13, 2020, 06:13:15 PM
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
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: flstewieg on May 17, 2020, 04:01:38 PM
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?
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Dark_Phantom on May 17, 2020, 06:08:25 PM
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
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: flstewieg on May 17, 2020, 06:54:56 PM
Trying that, thank you!
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on May 18, 2020, 05:40:55 AM
also need to disable windows hang app notification in registry
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: flstewieg on May 18, 2020, 11:11:16 AM
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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Dark_Phantom on May 18, 2020, 11:17:49 AM
: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.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Led on May 18, 2020, 11:18:14 AM
It wont stop any crashing, it will just allow it to restart.

The crashing appears to be a bug that GoG introduced.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: flstewieg on May 19, 2020, 11:40:56 AM
That just makes it crash as soon as it loads now. =\
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Dark_Phantom on May 19, 2020, 11:57:50 AM
I copied that straight from my server so I'm not sure what the problem could be.
Title: Re: Hosting SWBF with PC Dedicated Server Software (and Invincibility/Historical)
Post by: Anyder on May 19, 2020, 12:44:21 PM
One side note for hosts -- in order to prevent the teamchat thing and after testing for a while, just run the batch file making sure the command is /autonet PC instead of autonet dedicated.

Dedicated servers don't work for teamchat for some reason and PC are working, so just change it...

Edit: Saw the stability of the servers and find them better than dedicated so I'll go ahead and at 06:00AM I'll switch all SWBFGamers servers in that platform to PC to reduce crashes  :cheers:

Edit 2: Switched them to PC Mode!
EhPortal 1.34 © 2024, WebDev