Jump to content
VRocker

Linux server

Recommended Posts

Hello,

I have recently set up a DayZ server on a windows box and applied for an instance ID (which i am still waiting for, 4 days later) but I was wondering what the chances of having a linux server is?

Many people would prefer to have a linux capable version and i was wondering why DayZ can't have one at the moment? I heard mentioned somewhere that it is due to the HiveEXT.dll, is it just due to that? If so, why not spend a few minutes porting it :)

Of course porting the dll would depend on whether or not the arma2 linux server can load .so files but i'm assuming it can. I would be happy to assist in porting it if the DayZ team has no linux programmers as i have ported quite a few things to linux previously.

It would be very good to have a linux capable server as there would be more resources available to the DayZ server itself, as well as being cheaper to host.

Edited by VRocker
  • Like 2

Share this post


Link to post
Share on other sites

Currently it runs fine with WINE though I'm hoping there'll be something proper come the standalone release.

Share this post


Link to post
Share on other sites

There is no technical limitations, it is working well with WINE (for example)

You can PM me your e-mail and I will give you the Howto.

Share this post


Link to post
Share on other sites

I was thinking more without using WINE since its not an ideal solution. I'm currently working on something to see if dayz servers will run on linux with a .so that mimics the hiveext.dll to see if it will work.

I will let you know my findings :)

Share this post


Link to post
Share on other sites

So it seems that the linux arma2 server doesn't load .so files :(

After some investigation i found the callExtension function in the script files does nothing. I'm assuming the module load stuff is wrapped in #ifdef _WIN32 tags but with no alternative for linux. If it wasnt for the dll and lack of loading for .so DayZ would work fine on linux it seems, as it does everything it should until it needs data from the hive.

I think its time for the DayZ team to slap the ARMA2 dev team to add extensions to linux! The calls required are already half there such as dlopen, dlsym etc as its used in battleye so it shouldn't be too hard to plonk in the script stuff :)

  • Like 1

Share this post


Link to post
Share on other sites

it _does_ load/use .so files~~

guess what is inside of my ArmA2 Linux Beta folder /installs/arma2/expansion/battleye ?

yep, a beserver.so :)

Share this post


Link to post
Share on other sites

Yes it loads battleye .so files but not custom ones. In the executable there are only 2 calls to dlopen which are both for Battleye. Under the callExtension function handler it is pretty much empty, it looks like it parses the arguments then returns where the windows one starts opening the DLL.

It would be relatively simple for the Arma2 devs to add linux module loading for scripts but when/if they do is the big question

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×