login

Author Topic: SWBF server and Linux--has anyone tried it?  (Read 4785 times)

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
SWBF server and Linux--has anyone tried it?
« on: March 14, 2015, 04:53:35 AM »
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).






« Last Edit: March 14, 2015, 05:09:54 AM by Led »
Don't believe everything you read on the internet

Anyder

  • SWBFSpy Manager
  • Community Ambassador
  • Lavish Poster
  • ****
  • Posts: 3749
  • Awards DET1-admin To recognize Modders that make a most excellent contribution within the Month SWBF LeaderBoards 2-first ICW4 Winner A member of the winning team of ICW6 Recognizes someone who most generously donated funds to the site or the site Special Award for players of the EA's SWBF (2015)
    • View Profile
    • Awards
  • Steam ID:
  • Origin ID: AnyderMotionless
Re: SWBF server and Linux--has anyone tried it?
« Reply #1 on: March 14, 2015, 05:41:28 AM »
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*
| SWBFSpy Manager | Community Ambassador | communityambassador@swbfgamers.com

 | WhatsApp: +34 602 67 61 20

SWBFSpy Info Website: http://info.swbfspy.com

SleepKiller

  • Co-Admin
  • Internet Addict
  • ****
  • Posts: 2097
  • Awards To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: SWBF server and Linux--has anyone tried it?
« Reply #2 on: March 14, 2015, 07:27:33 AM »
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.

{TCE}Call-of-Duty

  • Blue Team Tank Specialist
  • Advanced Member
  • *****
  • Posts: 829
  • Don't worry, we'll break his legs
  • Awards Participated in the ICW5 ICW4 Participant
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: TCECall-of-Duty
  • Xbox: TCECall of Duty
Re: SWBF server and Linux--has anyone tried it?
« Reply #3 on: March 14, 2015, 07:55:55 AM »
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."


Anyder

  • SWBFSpy Manager
  • Community Ambassador
  • Lavish Poster
  • ****
  • Posts: 3749
  • Awards DET1-admin To recognize Modders that make a most excellent contribution within the Month SWBF LeaderBoards 2-first ICW4 Winner A member of the winning team of ICW6 Recognizes someone who most generously donated funds to the site or the site Special Award for players of the EA's SWBF (2015)
    • View Profile
    • Awards
  • Steam ID:
  • Origin ID: AnyderMotionless
Re: SWBF server and Linux--has anyone tried it?
« Reply #4 on: March 14, 2015, 08:03:31 AM »
What about installing the Swbf2 RM/SM, Sleepkiller ?
| SWBFSpy Manager | Community Ambassador | communityambassador@swbfgamers.com

 | WhatsApp: +34 602 67 61 20

SWBFSpy Info Website: http://info.swbfspy.com

Phobos

  • Poodoo
  • Just Registered
  • *
  • Posts: 0
  • Awards Shotgun Tournament 1st Place Award for extensive modding contributions and/or donations to TWD Battlefront Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month LeaderBoard 1 organized by GDH92 and ComSharpshot T.1 1v1 Tournament 1st Place organized by SleepKiller Releasing Multiple Mods on SWBFgamers.com Recognizes someone who most generously donated funds to the site or the site Special Award for those that play SWBF2
    • View Profile
    • Awards
Re: SWBF server and Linux--has anyone tried it?
« Reply #5 on: March 14, 2015, 08:40:09 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.

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: SWBF server and Linux--has anyone tried it?
« Reply #6 on: March 14, 2015, 09:05:53 AM »
What about installing the Swbf2 RM/SM, Sleepkiller ?

I think we have a shot at it working.
Don't believe everything you read on the internet

Anyder

  • SWBFSpy Manager
  • Community Ambassador
  • Lavish Poster
  • ****
  • Posts: 3749
  • Awards DET1-admin To recognize Modders that make a most excellent contribution within the Month SWBF LeaderBoards 2-first ICW4 Winner A member of the winning team of ICW6 Recognizes someone who most generously donated funds to the site or the site Special Award for players of the EA's SWBF (2015)
    • View Profile
    • Awards
  • Steam ID:
  • Origin ID: AnyderMotionless
Re: SWBF server and Linux--has anyone tried it?
« Reply #7 on: March 14, 2015, 03:25:03 PM »
I think we have a shot at it working.
But, is it shown in the list as pinged or 9999 ?
| SWBFSpy Manager | Community Ambassador | communityambassador@swbfgamers.com

 | WhatsApp: +34 602 67 61 20

SWBFSpy Info Website: http://info.swbfspy.com

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: SWBF server and Linux--has anyone tried it?
« Reply #8 on: March 14, 2015, 06:33:08 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).
Don't believe everything you read on the internet

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: SWBF server and Linux--has anyone tried it?
« Reply #9 on: March 14, 2015, 08:39:20 PM »
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:
Don't believe everything you read on the internet

SleepKiller

  • Co-Admin
  • Internet Addict
  • ****
  • Posts: 2097
  • Awards To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: SWBF server and Linux--has anyone tried it?
« Reply #10 on: March 15, 2015, 07:46:55 AM »
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.

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: SWBF server and Linux--has anyone tried it?
« Reply #11 on: March 15, 2015, 05:47:21 PM »
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.
Don't believe everything you read on the internet

SleepKiller

  • Co-Admin
  • Internet Addict
  • ****
  • Posts: 2097
  • Awards To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: SWBF server and Linux--has anyone tried it?
« Reply #12 on: March 15, 2015, 06:19:13 PM »
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.

oldsnake

  • Frequent Poster
  • ****
  • Posts: 109
    • View Profile
    • Awards
Re: SWBF server and Linux--has anyone tried it?
« Reply #13 on: March 15, 2015, 08:43:45 PM »
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:

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 6493
  • The 82nd Element
  • Awards Special Award for players of the EA's SWBF (2015) Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: SWBF server and Linux--has anyone tried it?
« Reply #14 on: March 16, 2015, 09:42:31 PM »
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  ;)
Don't believe everything you read on the internet