Jump to content
ZLOFENIX Games

thetruestarr

BANNED
  • Content Count

    424
  • Joined

  • Last visited

Posts posted by thetruestarr

  1.  

    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

     

     

  2. zloplay ? :D:D:D:D:D

    nope its developed by bshtornado :) zloplay use this too ( it was for lan bf3 )

    I found a russian group named 1G Team. They use the bshtornado Version you can see on the gif

  3. Забавно...

    Ставить на linux сервер гуй и вайн в придачу,

    чтоб запустить игровой сервер заточенный под win, имхо, - идеалистический онанизм ...

    Linux Servers are much cheaper.. most server hosters you must pay a fee of 10-30€ for the Windows License.. and most of the times the servers are expensive as fuck

  4. My account is not DRM authenticated as it says when I try to add a server. I am not trying to host a server, but to get past the EA activation popup when I try to join a server or play Single player.

    Do I have to wait for it to be authenticated? Or do I have to do some sort of verification?

    I have bought bf3, so do I have to somehow link my Origin to Zloemu?

    I am really confused and I do want to play on your servers.

    Also, please fix your FAQ because it is really useless right now.

    FAQ is not useless..

    Just play 1 round and wait till round end and try again..

  5. Same as was:
    all functions [DllImport("Launcher.dll", CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl)]
    all delegates [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    
    //OBSOLETE, REMOVE THEM
    	bool ZLO_ListenGOS();
    	int ZLO_RunClient(int mode);
    	bool ZLO_ConnectMClient(string addr);
    	bool ZLO_ConnectMServer(string addr);
    //
    	public static extern void ZLO_Init();
    	public static extern void ZLO_Close();
    //
    	private delegate void tEventListener(int event);
    	private delegate void tClientListener(string type, string value);
    	private delegate void tServerListener(int id, bool added);
    	private delegate void tServerListenerName(int id, string value);
    	private delegate void tServerListenerAttr(int id, string name, string value);
    	private delegate void tServerListenerCap(int id, int cap0, int cap1);
    	private delegate void tServerListenerState(int id, int value);
    	private delegate void tServerListenerPlayers(int id, int value);
    	private delegate void tServerListenerAddr(int id, string ip, int port);
    	private delegate void tZMessageListener(string msg);
    	private delegate void tVersionListener(int version);
    	private delegate void tStatListener(string name, float value);
    	private delegate void tDogTagsListener(int dta, int dtb);
    	private delegate void tClanTagListener(string name);
    //
    	public static extern void ZLO_SetEventListener(tEventListener l);
    	public static extern void ZLO_SetClientListener(tClientListener l);
    	public static extern void ZLO_SetServerListener(tServerListener l);
    	public static extern void ZLO_SetServerListenerName(tServerListenerName l);
    	public static extern void ZLO_SetServerListenerAttr(tServerListenerAttr l);
    	public static extern void ZLO_SetServerListenerCap(tServerListenerCap l);
    	public static extern void ZLO_SetServerListenerState(tServerListenerState l);
    	public static extern void ZLO_SetServerListenerPlayers(tServerListenerPlayers l);
    	public static extern void ZLO_SetServerListenerAddr(tServerListenerAddr l);
    	public static extern void ZLO_SetZMessageListener(tZMessageListener l);
    	public static extern void ZLO_SetVersionListener(tVersionListener l);
    	public static extern void ZLO_SetStatListener(tStatListener l);
    	public static extern void ZLO_SetDogTagsListener(tDogTagsListener l);
    	public static extern void ZLO_SetClanTagListener(tClanTagListener l);
    //
    	public static extern bool ZLO_ConnectMClient();
    	public static extern void ZLO_AuthClient(string login, string pass);
    	public static extern void ZLO_GetServerList();
    	public static extern void ZLO_SelectServer(int id);
    	public static extern int ZLO_RunCoop(int mission, int difficulty);
    	public static extern int ZLO_RunMulti();
    	public static extern int ZLO_RunSingle();
    	public static extern void ZLO_GetVersion(int launcher);
    	public static extern void ZLO_GetStats();
    	public static extern void ZLO_GetDogTags();
    	public static extern void ZLO_SetDogTags(int dta, int dtb);
    	public static extern void ZLO_GetClanTag();
    	public static extern void ZLO_SetClanTag(string name);
    	public static extern int ZLO_GetID();
    	public static extern string ZLO_GetName();
    //
    	public static extern bool ZLO_ListenServer();
    	public static extern bool ZLO_ConnectMServer();

    Questions?

    Question from bigworld12 ( he cant reply here )

    Did you update the pastebin file for api ? & also is zlo_close used in the closing event? & also what are dtb and dta parameters in set dogtag

×
×
  • Create New...