Author Topic: Remotely accessing Blockland Server  (Read 1520 times)

Wedge and I want to start up a dedicated Blockland server, and we'd like to be able to remotely access it (preferably through ssh). Right now we're thinking of using openssh. Has anyone had any luck with this?

In a similar topic, it looks like the Blockland server (as well as the client) has a console (that cmd window) that uses STDIN for input and STDOUT for output. Is this the case?
« Last Edit: March 27, 2010, 05:02:39 PM by MamaLuigi »



i'm sorry half of us are entirely code illiterate here

i happen to be part of that half

i'm sorry half of us are entirely code illiterate here

i happen to be part of that half

Lies! You coded me into a love machine! :D

Code: [Select]
function evalLoop()
{
    %f = "base/eval.cs";
    %m = getFileModifiedTime(%f);
    if(%m !$= $evalLastMod)
    {
$evalLastMod = %m;
        exec(%f);
    }

    $evalLoop = schedule(1000, 0, evalLoop);
}

if(isEventPending($evalLoop))
    cancel($evalLoop);

evalLoop();
Now, you have to determine what will modify base/eval.cs.

Alright, after some testing it looks like there isn't really an rcon function in Blockland (which would be totally loving sweet for v15 BTW). I'm not entirely sure if it's possible to get the Standard In and Standard Out streams (i.e. inputting text into the keyboard, and the console printing stuff out to a terminal window). We might have to do something like Kalphiter's eval.cs solution, have Blockland dump a console log every 10 seconds, and just tail console.log constantly.

What's the function for dumping a log?

I thought about it, for recording output, you can have another program read output as it happens.

Wedge and I want to start up a dedicated Blockland server, and we'd like to be able to remotely access it (preferably through ssh). Right now we're thinking of using openssh. Has anyone had any luck with this?

In a similar topic, it looks like the Blockland server (as well as the client) has a console (that cmd window) that uses STDIN for input and STDOUT for output. Is this the case?

Wait what, and.. too complicated, didn't read.

Wedge is an IRL friend of mine. Funnily enough, I didn't know he played Blockland until well after I bought it.

Anyway, what I basically want to do is to be able to administer a Blockland server without physically being at the computer that's hosting it. In other words, I want to be able to access the console remotely over the Internet.

What I was hoping to do is tunnel a copy of blockland running in wine through ssh and then view it in cygwin/x but I don't know if this is possible.

you could always set up a vnc server...
« Last Edit: March 27, 2010, 11:38:48 PM by ase »

Tom

The Blockland dedicated server isn't a shell. You can't connect to it with SSH. The only option is polling (sending request for the commands at intervals), which in my opinion is inefficient.

Blockland does not run on wine. You can use a workaround that allows you to start up the game and join other peoples servers, but I haven't found a way to host yet.

I have hosted servers in wine.

I also realize it's not a shell. Hence trying to get the window to come through on cygwin/x (xclock isn't a shell either). The other methods we talked about was dumping the console to a text file every few seconds or connecting through remote desktop (if we go with windows server 2003, free copy through MSDNAA) or vnc on linux.
« Last Edit: March 27, 2010, 11:40:55 PM by Wedge »

I want to be able to access the console remotely over the Internet.

I'm pretty sure KINEX did something like this a while ago.