Arcen Games
General Category => A Valley Without Wind 1 & 2 => AVWW Multiplayer Discussion => : mrhanman May 02, 2012, 10:37:40 AM
-
Is there a way to host the server on Linux without requiring X? I know Wine should work for the game, but is there a completely command line only way to run it?
I have a pretty beefy server I use for various things, including game hosting, but I have no display on it, or even X installed. I was hoping to try to get a World up continuously (this thing never goes down), and I was hoping to get the community to pound the crap out of it to see when it breaks. I think we could get 30+ people on it, easy.
-
Sorry, we've not found a way to run the unity player that doesn't require a graphics layer. They have switches for -nographics or whatever, but we've not been able to get it to work.
-
Ah, that's unfortunate. I suppose it isn't feasible to for you to build a dedicated server without Unity involved at all, right? Just with whatever is required for the server to function?
-
I ran it with "-batchmode" and I saw the process appear, but no window. It's Unity's "headless" mode. I just killed it after, but didn't test. Dang.
Does the server still work then? Or is there game logic being interrupted without graphic updates?
-
I ran it with "-batchmode" and I saw the process appear, but no window. It's Unity's "headless" mode. I just killed it after, but didn't test. Dang.
Doesn't work.
-
Ah, that's unfortunate. I suppose it isn't feasible to for you to build a dedicated server without Unity involved at all, right? Just with whatever is required for the server to function?
I wish, I dearly wish.
But no.
-
I ran it with "-batchmode" and I saw the process appear, but no window. It's Unity's "headless" mode. I just killed it after, but didn't test. Dang.
Doesn't work.
Judging by an earlier response from Chris, it uses the framerate to advance the world. No framerate = no world advancement.
-
Judging by an earlier response from Chris, it uses the framerate to advance the world. No framerate = no world advancement.
Hmm. I don't think it doesn't call Update() on the main camera object at all... but that's a possibility, I suppose. Not sure how it could be used to do anything, then :)
-
I got one up using X and wine, you could always use virtualbox or some other VM if you don't want X on the main server.