• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[ZnoteACC] Start server from AAC (Linux only)

The code looks OK for Znote AAC 1.5

Would like to implement something like this into the official repo, how does the console monitoring work?

I've just made a soft link from the server dir to the WWW folder and everytime the server starts it creates a new .log file with the current output.

There is probably a better way to do it but i wrote this kinda quick :p
 
I added it to the Znote 1.5 and tfs 1.2 but does not work shows how the server is running, but no functions do not work can anyone help ? I would be very grateful
 
I found on the web script and incident basis to use ssh2_exec is safer

PHP:
$sciezka = "/home/lanceq";

$polecenie = "cd ".$sciezka."; screen -A -m -d -S TFS ./theforgottenserver";
$polaczenie = ssh2_connect("IP", 22);
ssh2_auth_password($polaczenie, "Nazwa Usera (np.: ROOT)", "Hasło");
$stream = ssh2_exec($polaczenie, $polecenie); 
if($stream) {echo "Działa";}


if someone could help me convert this code to the code with a script that is in this topic so that worked and server to run ?
 
Just want to confirm this does infact work with tfs 1.2 znote 1.5...


Would be nice to make it mirror the console too ;) No idea what would be required for that though..
 
Back
Top