SWBF server and Linux--has anyone tried it?

Started by Led, March 14, 2015, 03:53:35 AM

Previous topic - Next topic
March 14, 2015, 03:53:35 AM Last Edit: March 14, 2015, 04:09:54 AM by Led
NFO servers has dropped their prices significantly, but has removed single core Windows based hosting as an option.

A single core option using linux costs $7/month.  I currently use a windows single core for about $15/month.

Has anyone tried to run the SWBF server in Linux using an emulator?


If anyone has emulator/linux experience and wants to try, let me know and I can get a server to try it out.


WineHQ has the 1.2 server listed:
https://appdb.winehq.org/objectManager.php?sClass=application&iId=11253



This is what you get for the Linux server
One full, dedicated HT CPU core (Nehalem or better)
1024 MB of RAM
100 GB of RAID-protected storage
4000 GB of bandwidth transfer per month



To put that bandwidth in perspective, the most I have ever used for SWBF in a month is about 700 GB.  We are currently around 60 GB/month for the PLA/SWBFgamers servers. 

For reference, I started hosting with a single core option with 500 GB/month in 2009 for $45/month.  Now we are at 4000 GB/month for $15.74/month.


(If you have a NFO server you can submit a server change to renew at the lower rates).






Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

If someone knows how this works pls explain it here, cause i'm really interested in getting one now xd
*Maybe a tut video would be better*
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

It looks like it could work and wouldn't be too tricky to setup. However there are a couple things to consider.

Linux servers don't come with a GUI like Windows servers do by default. This would make it impossible to access the interface to ban people or even get their IPs to ban manually in a firewall. However you can install a desktop environment for the server, the question would become if the remote access tools gave you access to it.

And then of course anyone who needs to access the server will need to learn a new interface. Although that shouldn't really be a problem as something so simple can usually be quickly learned.

Anyway it's quite late (or early depending on your perspective) here and these are just a couple things that sprang to mind tonight. Feel free to message me on Steam tomorrow (later today for you I am sure) if you're keen to try get something setup.

I once was able to install BF2 on Ubuntu one time, even though the computer wasn't the brightest bulb in the house. But installation and some gameplay ran smoothly.
"I would explain it to you but your head might explode."


What about installing the Swbf2 RM/SM, Sleepkiller ?
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

Quote from: Led on March 14, 2015, 03:53:35 AM
NFO servers has dropped their prices significantly, but has removed single core Windows based hosting as an option.

(If you have a NFO server you can submit a server change to renew at the lower rates).

Thanks for pointing this out, the [FC] servers will be even more affordable now.

Quote from: Anyder on March 14, 2015, 07:03:31 AM
What about installing the Swbf2 RM/SM, Sleepkiller ?

I think we have a shot at it working.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Quote from: Led on March 14, 2015, 08:05:53 AM
I think we have a shot at it working.
But, is it shown in the list as pinged or 9999 ?
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

Quote from: Anyder on March 14, 2015, 02:25:03 PM
But, is it shown in the list as pinged or 9999 ?

That question is not relevant.

If we run SWBF or SWBF2 server in WINE on a linux box, it will think it is on a PC (for the most part).
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

OK, SK has kindly agreed to give the Linux/WINE/SWBF server a shot.  I have ordered one for a month to test the system.

:cheers:
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

For anyone curious, the server software does run on Linux fine. (As the link Led posted indicated it would.) There are a couple kinks but I should be able to get those ironed out. If people want I'll try to do a write up when I'm done on how to set it all up.

I'll hopefully have everything working in the next couple days, depends on when I next have a chance to work on it though.

Nice work  :cheers:

I tried the test server--do you know if it is set at 20 TPS or 30 TPS?

If feels a bit choppy and my ping is higher that I would expect it to be for Atlanta.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

It was at whatever the default is (so 20?). I've quickly changed it over to 60 for lolz. One thing I have noticed is that loading time for the server (not the client) seem a bit slow. I'll do more testing on that later when I've got time though.

the 60 tps is super smooth play now with a 82 ping. the slow loading server was fixed with the updated .exe
eu server https://gameshare.co/forum/download/file.php?id=55
usa server https://gameshare.co/forum/download/file.php?id=54
after playing the theed map and moving on to the next map i get the connection to host lost message.
nice work to get this setup! :cheers:

Thanks oldsnake.  I am now using the American gamemaster server with the new exe.  It still flashes "waiting for players about 16 times" but it has not crashed.

I will ask around about the map load time issue.  It seems particular to the wine/linux combo that we are running.

For $7 a month versus the current $15, we may have to get used to it  ;)
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet