• 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!

AAC Myaac error, Server Offline.

supermortaliz

Member
Joined
Jan 26, 2014
Messages
76
Solutions
6
Reaction score
12
Server status in myaac show offline but when i change this from OTS_inforespond.php
PHP:
return (int) $this->documentElement->getElementsByTagName('players')->item(0)->getAttribute('online');
to this
PHP:
return (int) 0;
is working but. i use tfs 0.4 maybe not send correctly buffers?
 
Try add this in config.local.php

Code:
$config['status_ip'] = '127.0.0.1';

Did it worked?
Screenshot_1.png
i think error is this line:
PHP:
return (int) $this->documentElement->getElementsByTagName('players')->item(0)->getAttribute('online');
1694254103115.png
i commented this lines and now i can see status server!
1694254164046.png
 
Weird, you must have something broken with status.

Try adding in system/libs/pot/OTS_ServerInfo.php

Before:
Code:
return $info;

Add:
Code:
var_dump($info);

Does it display something like this?
1694255123688.png
 
Lua:
object(OTS_InfoRespond)#39 (35) { ["doctype"]=> NULL ["implementation"]=> string(22) "(object value omitted)" ["documentElement"]=> string(22) "(object value omitted)" ["actualEncoding"]=> NULL ["encoding"]=> NULL ["xmlEncoding"]=> NULL ["standalone"]=> bool(true) ["xmlStandalone"]=> bool(true) ["version"]=> string(3) "1.0" ["xmlVersion"]=> string(3) "1.0" ["strictErrorChecking"]=> bool(true) ["documentURI"]=> string(21) "/var/www/html/wodbo2/" ["config"]=> NULL ["formatOutput"]=> bool(false) ["validateOnParse"]=> bool(false) ["resolveExternals"]=> bool(false) ["preserveWhiteSpace"]=> bool(true) ["recover"]=> bool(false) ["substituteEntities"]=> bool(false) ["nodeName"]=> string(9) "#document" ["nodeValue"]=> NULL ["nodeType"]=> int(9) ["parentNode"]=> NULL ["childNodes"]=> string(22) "(object value omitted)" ["firstChild"]=> string(22) "(object value omitted)" ["lastChild"]=> string(22) "(object value omitted)" ["previousSibling"]=> NULL ["nextSibling"]=> NULL ["attributes"]=> NULL ["ownerDocument"]=> NULL ["namespaceURI"]=> NULL ["prefix"]=> string(0) "" ["localName"]=> NULL ["baseURI"]=> string(21) "/var/www/html/wodbo2/" ["textContent"]=> string(21) "Welcome to the Wodbo!" }
 
Lua:
object(OTS_InfoRespond)#39 (35) { ["doctype"]=> NULL ["implementation"]=> string(22) "(object value omitted)" ["documentElement"]=> string(22) "(object value omitted)" ["actualEncoding"]=> NULL ["encoding"]=> NULL ["xmlEncoding"]=> NULL ["standalone"]=> bool(true) ["xmlStandalone"]=> bool(true) ["version"]=> string(3) "1.0" ["xmlVersion"]=> string(3) "1.0" ["strictErrorChecking"]=> bool(true) ["documentURI"]=> string(21) "/var/www/html/wodbo2/" ["config"]=> NULL ["formatOutput"]=> bool(false) ["validateOnParse"]=> bool(false) ["resolveExternals"]=> bool(false) ["preserveWhiteSpace"]=> bool(true) ["recover"]=> bool(false) ["substituteEntities"]=> bool(false) ["nodeName"]=> string(9) "#document" ["nodeValue"]=> NULL ["nodeType"]=> int(9) ["parentNode"]=> NULL ["childNodes"]=> string(22) "(object value omitted)" ["firstChild"]=> string(22) "(object value omitted)" ["lastChild"]=> string(22) "(object value omitted)" ["previousSibling"]=> NULL ["nextSibling"]=> NULL ["attributes"]=> NULL ["ownerDocument"]=> NULL ["namespaceURI"]=> NULL ["prefix"]=> string(0) "" ["localName"]=> NULL ["baseURI"]=> string(21) "/var/www/html/wodbo2/" ["textContent"]=> string(21) "Welcome to the Wodbo!" }

It seems ok. Are you sure you didn't modify any other files?
 
Back
Top