Jump to content
ZLOFENIX Games

How to create a Server on Linux (Ubuntu Distro)


Recommended Posts

 

HOW TO CREATE A BATTLEFIELD 3 SERVER UNDER LINUX

 

Requirements:

  • Ubuntu based Distro (Tested on Ubuntu Server 14.04 and Linux Mint Cinnamon), otherwise my commands wont work!
  • Basic knowledge about the Linux System
  • Atleast a Dual Core Cpu (2 Cores!)
  • 1GB RAM Minimum
  • Root Access
  • VNCSERVER with GUI (if you work on a remote Linux Server)
  • 20GB HDD Space

 

I GIVE NO WARRANTY ABOUT YOUR SERVER! YOU ARE THE ADMIN OF YOUR SERVER AND IT IS YOUR JOB TO SECURE YOUR DAMN SERVER!

 

What should i do ?

First be sure you updated your Linux to the last Version you can get. Just in case ;) I used Linux Mint 17.2 Cinnamon 64 Bit in my Tutorial. Commands and downloads are the same as Ubuntu Server/Client.

First of all, open a Terminal Window, duh!

Add Wine as PPA Repo (confirm the command with your root password & press enter!)

sudo add-apt-repository ppa:ubuntu-wine/ppa

After you added the new PPA Repo, you must update your Filelist. You can do this with:

sudo apt-get update

After the Update ( should not take so long ;) ), you can install Wine 1.7:

sudo apt-get install wine1.7

Now set the Winearch to 32 Bit and setup it:

WINEARCH=win32 winecfg

If you get a popup saying you need Wine Mono, install it just in case! Same goes for Wine Gecko!

Now you should see a "Wine configuration" Window. Go to the Dropmenu at the Bottem where it says "Windows Version" and set it from Windows XP to Windows Server 2008 r2.

Apply the Settings and close the Window. Now we need a little handy tool named winetricks, install it as following:

sudo apt-get install winetricks

Now start winetricks, just type winetricks and hit enter. Now you should see a popup window of Winetricks. Select the default wineprefix and click ok. 

After this click on "Install a Windows DLL or component" and hit ok. Now you should see a big list of Packages. You need to tick the following:

cmd
d3dx10
d3dx11_42
d3dx11_43
d3dx9
d3dx9_26
d3dx9_28
d3dx9_31
d3dx9_35
d3dx9_36
d3dx9_39
d3dx9_42
d3dx9_43
d3dxof
devenum
dinput
dinput8
directx9
dotnet20
dotnet30
dxdiag
dxdiagn
quartz
vcrun2008
vcrun2010

If you get some error messages during install, retry it. At the installation of Dotnet30 you get asked to download it. Place the downloaded file into the opened folder.

Ok the wine part is mostly done!

Now copy the BF3 Server folder to:

/home/YOUR USER/.wine/drive_c/

Now you can start the LauncherServer.exe with rightclick -> Open with Wine Windows Program Loader. Now you should see the oldschool serverlauncher :)

To be sure, that every .exe is opened by wine, do right click -> properties -> open with -> Wine Windows Program Loader -> Set as default.

Now right click your StartServer.bat and open it with Wine Windows Program Loader. Now you should see a CMD Window quickly flashing. After some seconds your Server should start and connect to master :)

Now you are done ;)

If you need help in Basis Battlefield 3 Server, you should read the How to by Despo :P

The Server supports Punkbuster too without any problems. You can connect to the server via rcon with Procon, but just for your Mind: Procon is not supported for Linux or Wine either! So be careful!

You can use www.bfrcon.com its free and easy to use :P

 

 

Edited by thetruestarr
Link to post
Share on other sites
  • 3 weeks later...

yeh i know but as i think thetruestarr own the files so im asking him ^_^  if he tested it too 

what do you mean "as I think"?

Currently nobody except zlofenix himself has the bf4 server files.

Link to post
Share on other sites

hi i install wine1.7 with winetricks and i was abel to install everything except dotnet30 i did everything like in tutorial but i recieve error

"Note: command 'wine netframework3.exe' returned status 67. Aborting."

any sugestion how to bypass this and install dotnet ?

Im running dedi serv with ubuntu 14.04 and im usin lxde desktop for xrdp

Link to post
Share on other sites
  • 4 months later...
Just now, Saltypepper said:

can somone pls post a link for all bf3 server files needed to make a detected server pls and thanks

ok...well look in first post.....this is for LINUX

here is guide to server and  d/l links... all you needed to do was..look further down in the page you found this topic

 

Link to post
Share on other sites
  • 2 months later...
On 16.11.2015 at 9:47 PM, (APT)ibrahemoof said:

Did you test BF4 Server files on linux ?

 

On 16.11.2015 at 9:52 PM, Despo said:

dude...

the bf4 server files hasn't been released yet

Yes they Work on Linux.. but its abit hard to manage.. BF4 Server is 64bit only.. so you need do make your own wine with both archs

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Similar Content

    • By hashes02
      Install Ubuntu Desktop Environment (Xfce):
          sudo apt update
          sudo apt install ubuntu-desktop
      Install XRDP(used to connect via Remote Desktop Connection):
          sudo apt install xrdp
      Install Slim:
          sudo apt install slim
      Configure XRDP to use Xfce (Ubuntu Desktop Environment):
       - Edit the XRDP configuration file:
          sudo nano /etc/xrdp/xrdp.ini
       - Find the section [Xrdp1] and add the following line below it:
          . /etc/X11/Xsession
      Restart XRDP:
          sudo systemctl restart xrdp
      Configure Slim to start Xfce:
      Edit Slim configuration file:
          sudo nano /etc/slim.conf
      Find the line sessions and make sure it looks like this:
          sessions            startxfce4
      Restart Slim:
          sudo systemctl restart slim
      Install WINE to run the Windows files:
          sudo apt update
          sudo apt install wine
      Run this if u want to change settings:
          winecfg
      How to install the server:
      ---------------------------------------------------------------------
      1. Download Server Files Try R63 first, if not work for you - try R60 and then R58
      2. Download Server Launcher
      3. Register your server here
      4. Run ZServer.exe
          wine ZServer.exe
      5. In ZServer add server exe and set params to this
          -zlogin changeMe -zpass changeMe -GamePort 25200 -RemoteAdminPort 0.0.0.0:48000 -Country EU -Region EU -serverInstancePath "ZEXEPATHZ/Instance" -PingSite ams -DisplayAsserts false
      zlogin and zpass - from step 3.

       
    • By Umpower
      Hi all i hope all are good,New Server Battlefield 3
      I hope we all play there. Welcome Everyone 
      Server Name: .-'*[NEW] SERVER DZ-HARDCORE-|-BF3 GAMEPLAY JOIN [NEW]*'-.  
    • By CNote
      I opened Lennie thread regarding the server hosting I wanted to download the server files but it shows 404 error
    • By SharaSh
      I created Battlefield 4 server and start the server.
      i can join the server but my friends cannot join,they stuck in <joining server..> loop.
      how can i fix?
    • By Asghar
      Are there any servers on zlo for assignment unlocking of BF3?
      If there are none, then can anyone help me setup a server for assignment unlocking. I know how to start a server but I don't know how to setup a server for assignment unlocking (server commands). 
    • By Sporling
      Всем доброго времени суток, я столкнулся со следующей проблемой: Когда я попытался в очередной раз внести правки в файлы Startup, StartServer (В первом я изменил количество игроков с 20 на 64. Во втором (в первом файле также изменил) решил поменять название сервера добавив приписку [2XP] (double experience points) к названию сервера, после внесения изменения и сохранения  файлов я закрыл сам Battlefield 3 Server и ZServer, далее заново запустил ZServer и запустил файл StartServer.
      По привычке полез в 34H Launcher и пошёл искать свой сервер в списке, но вот незадача! В списке его не было, потом пообщавшись со более менее понимающим в плане серверов человеком выяснилось, сервер offline, а как сделать назад что бы online ни я ни он не поняли.
      После произошедшего я решил скачать ещё один сервер для проверки работоспособности, после загрузки и настройки  меня поджидала новая ошибка, показав её тому самому человеку он кратко высказался на её счёт: "не знаю".
      Я тоже ни чего не понял, если у кого нибудь из читающих это есть какие либо рекомендации или готовые решения по поводу возвращения сервера в статус "online", или же про вторую ошибку то, пожалуйста помогите мне!
      Ниже я прикрепил пару скриншотов с теми самыми ошибками.
      Если у вас возникли вопросы по моей теме пишите, я постараюсь ответить, скинуть больше интересующей информации.
      Спасибо.


    • By Noah000
      [RU/EU] Amstel-LAN
      Настройки сервера:
      Коэффициент тикетов: 200-400% ; Месторасположение сервера: Нидерланды ; Кол-во слотов: 64 ; Предустановка: Custom ; Режимы: большой захват, захват в нападении ; Античит : отсутствует(PB выключен) ; Плагины прокона:
      Voteban and Votekick:  Команды для игроков:  
      1)Voteban - открыть голосование для бана игрока; 2)Votekick - открыть голосование для исключение игрока из сервера; xVotemap: Служить для выбора следующей карты в конце раунда;
      Правила сервера:
      Не использовать читы; Не базрейпить; Пилот/водитель главный в технике (В случае требование водителя/пилота покинуть место ганера вы обязаны уступить) Не оскорблять других игроков; Не рамить Последнее слово за администратором сервера; Всех администраторов сервера можно найти в дискорд группе от серверов [Pycckuu CEPBEP] : Discord
      [ Примечание: сервера Amstel-LAN и Русские сервера имеют общих администраторов. Большинство банов полученных на русских серверах переносятся на Amstel-LAN сервера, обжалование банов возможно тут или в дискорд группе ]
      Администраторы сервера:
      Noah
      Masson
      Mosh-qosh
      SQ-37
      Archer
       
       
       
       
    • By FapLxrd
      Server Settings:
      Ticket factor : 250% ;  Server Location: Algeria ; Number of slots: 64 ; Limitations in the game: maximum ping 250-350 ; Preset: Custom ;  Game Modes: TDM, Conquest, Rush, Assault   Anti-cheat: ADKats Moderation ; Admins: Fap_Lxrd, MaddGirl VIP: ARCHXR ProCon Plugins:
      AdKats: Anti-cheat monitoring, auto-nuke.
      ProconStats: For player(s) stats:
      !stats !serverstats !session !top10 !dogtags Voteban and Votekick:  Teams for players:  
      1) Voteban - open voting for a player’s ban; 2) Votekick - open voting to exclude a player from the server;  xVotemap: To select the next card at the end of the round;
      Server Rules:
      Do not use cheats; Do not baserape; Do not camp; Do not insult other players; Have fun everyone!
    • By FapLxrd
      Hello people, so i have created my own server (local) everything works fine except the ping and stats, for the stats they work only if i set vars.ranked true, on false it won't work; and for the ping i tried everything (disabling firewall, creating a rule for ping echo, tried different ports as well) can someone tell me what i'am missing ? i mean i'am clearly doing something wrong,
    • By MattyBoi3
      I have recently installed BF3 from ZLO and i followed the instructions to a T, installed everything required etc. and singleplayer works perfectly, but when i try launch the multiplayer, the "ZLO Launcher" window pops up, i put my ZLO account details in, and when I click "connect to master" it takes a little while then it says cant connect to master. how do i fix this ? am i doing anything wrong ?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...