Page 13 of 15 FirstFirst ... 39101112131415 LastLast
Results 121 to 130 of 149

  Click here to go to the first Developer post in this thread.  

Thread: Arma II Linux Server 1.04 Public Alpha

  1. #121
    Quote Originally Posted by PuG View Post
    Update:

    Right ignore the above, its now loading however when I attempt to join is crashes the server. No error message.
    You'll need the beta mod folder from your Windows ArmA II installation aswell. The Linux server executable is of a later build than the stock 1.04 data files you have in the normal Addons and Dta folders. You can use this modified start script to launch the Linux server with the beta mod folder: arma2server-beta. So, in short:

    1. In Windows, install the latest beta
    2. Transfer the contents of the "beta" mod folder to your Linux server.
    3. On the Linux server, download the modified start script:
      Code:
      wget http://www.zeus-community.net/tmp/arma2server-beta
    4. Make sure the script is set as executable:
      Code:
      chmod +x arma2server-beta
    5. Make sure all file names are in lower-case letters:
      Code:
      ./tolower
    6. Launch the Linux server using the modified start script.
      Code:
      ./arma2server-beta
    This will start the Linux server with "-mod=beta" and things should now work.
    The confidence of ignorance will always overcome indecision of knowledge.

  2. #122
    Thanks for the quick reply.

    Assume once using the beta mod on the server, only players updated themselves can join?

    Right ive managed to get it loading a standard mission (without beta content) problem is now its not reading the mpmissions directory, its looking for "MPMissions". If I rename to match the case doesn't take effect.

    Cannot open file 'MPMissions\Krasnostav_Armoured.Chernarus.pbo'
    Criticalestroying running thread!
    Will carry on trying, and if not go to the beta.

    Thanks

    ---------- Post added at 01:24 PM ---------- Previous post was at 01:04 PM ----------

    Also I don't have ./tolower as script in the arma2 linux server package.
    Last edited by PuG; Nov 14 2009 at 12:09.

  3. #123
    Master Sergeant HitmanFF's Avatar
    Join Date
    Oct 9 2002
    Location
    Breda (Netherlands)
    Posts
    631
    Quote Originally Posted by PuG View Post
    Also I don't have ./tolower as script in the arma2 linux server package.
    Do you have tolower.c in your arma2 folder? Try
    Code:
    make tolower
    or
    Code:
    gcc -O -o tolower tolower.c
    Bellum pacis pater

  4. #124
    ive got tolower.c, im getting allot of errors when running the gcc -O -o tolower tolower.c command or make.

    Code:
    tolower.c:11:19: error: stdio.h: No such file or directory
    tolower.c:12:20: error: stdlib.h: No such file or directory
    tolower.c:13:23: error: sys/types.h: No such file or directory
    tolower.c:14:22: error: sys/stat.h: No such file or directory
    tolower.c:15:20: error: dirent.h: No such file or directory
    tolower.c:16:20: error: unistd.h: No such file or directory
    tolower.c:17:20: error: string.h: No such file or directory
    tolower.c:18:19: error: ctype.h: No such file or directory
    tolower.c: In function 'convertDirectory':
    tolower.c:25: error: 'DIR' undeclared (first use in this function)
    tolower.c:25: error: (Each undeclared identifier is reported only once
    tolower.c:25: error: for each function it appears in.)
    tolower.c:25: error: 'dir' undeclared (first use in this function)
    tolower.c:29: error: storage size of 'st' isn't known
    tolower.c:34: warning: incompatible implicit declaration of built-in function 'strcpy'
    tolower.c:35: warning: incompatible implicit declaration of built-in function 'strlen'
    tolower.c:39: warning: assignment makes pointer from integer without a cast
    tolower.c:40: error: dereferencing pointer to incomplete type
    tolower.c:41: error: dereferencing pointer to incomplete type
    tolower.c:42: error: dereferencing pointer to incomplete type
    tolower.c:43: error: dereferencing pointer to incomplete type
    tolower.c:46: error: dereferencing pointer to incomplete type
    tolower.c:58: error: 'S_IWUSR' undeclared (first use in this function)
    tolower.c:68: warning: incompatible implicit declaration of built-in function 'printf'
    tolower.c:79: warning: incompatible implicit declaration of built-in function 'printf'
    tolower.c: In function 'main':
    tolower.c:93: warning: incompatible implicit declaration of built-in function 'printf'
    I converted to lowercase using a script.

    Must be missing alot of libs, not too keen on installing them either.
    Last edited by PuG; Nov 14 2009 at 12:32.

  5. #125
    Sounds like youre missing some neccesary packages.

    try "sudo apt-get install build-essential"

    or equivalent for whatever distro you run.

  6. #126
    Quote Originally Posted by PuG View Post
    ive got tolower.c, im getting allot of errors when running the gcc -O -o tolower tolower.c command or make.
    Hmm... what Linux distribution are you running? You are missing important parts of the GCC compiler suite.

  7. #127
    Ubuntu 8.04 LTS. I might compile it locally and transfer it over. Getting their slowly! thanks for the help.

    ---------- Post added at 01:39 PM ---------- Previous post was at 01:38 PM ----------

    All sorted, corrected characters in the mission name and directory. So no need of running tolower

  8. #128
    Master Sergeant HitmanFF's Avatar
    Join Date
    Oct 9 2002
    Location
    Breda (Netherlands)
    Posts
    631
    Quote Originally Posted by PuG View Post
    So no need of running tolower
    I'd advise you to get tolower running nonetheless, in case you upload new maps to your server

  9. #129
    Quote Originally Posted by Joe_Cool View Post
    Ok, now the server is able to run on two cores, as we observed it on windows. But it seems like the server code still can't split the AI-computing part into two or more threads, which is the most important one.

    I run the test-mission without cpucount and with cpucount 3 and 4. There was no difference between those runs. After at least 30 min the server dropped to 16-17 FPS, but the server process never produced load over 150% (100% = 1 core at full load). Mostly it was at around 120% CPU load.
    Is this still the case with the latest version, and is it going to remain so? Is this also the case with the Windows standalone server?

    We're upgrading our server hardware in a matter of weeks and I'm wondering if we should get a quad-core or possibly just a dual-core with clocks as high as you can go to get best performance for the money.

    I guess this question is mostly directed at Bohemia: Is there any benefit at all from more than two CPU cores for the Linux standalone server?

    ---------- Post added at 04:23 AM ---------- Previous post was at 03:35 AM ----------

    Quote Originally Posted by HitmanFF View Post
    I'd advise you to get tolower running nonetheless, in case you upload new maps to your server
    In addition to the tolower program, the following command should also convert all file names (subdirectories included) to lower case under the directory where you run it:

    find -depth -execdir rename 'y/A-Z/a-z/' {} \;

    It should work with any reasonably modern Linux distribution.
    Last edited by Antti Salonen; Nov 16 2009 at 00:26. Reason: typo

  10. #130
    Staff Sergeant Dr.Pulp's Avatar
    Join Date
    Feb 3 2006
    Location
    Hannover - Germany
    Posts
    209
    is it possible to build a command for an admin (no voted admins...only admins who authentice themselfs with the admin PW) to switch on/off the password of a server?

    Sometimes i wanna lock a mission while playing...or open a passworded mission up, so everybody can join...but i always got to restart the server
    Greetings Dr.Pulp

Page 13 of 15 FirstFirst ... 39101112131415 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •