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

Status bug (revision 419)

olavo

New Member
Joined
May 29, 2007
Messages
74
Reaction score
0
Status bug (revision 419, 420)

I compiled the last sources (revison 419, 420) to rum my server, but
there is bug, in my site the firt to enter in the webpage see all right,
but all others see that error:
Fatal error: Uncaught exception 'Exception' with message 'String could not
be parsed as XML' in C:\Inetpub\wwwroot\index.php:207 Stack trace: #0
C:\Inetpub\wwwroot\index.php(207): SimpleXMLElement->__construct('') #1
{main} thrown in C:\Inetpub\wwwroot\index.php on line 207

In the previus versions it doesn't occur.
Whats wrong? I compiled wrong? my site are wrong? Or it's a bug os the
sources?

My code is:
$fp = @fsockopen($serverip, $serverport, $errno, $errstr, 1);
$info = chr(6).chr(0).chr(255).chr(255).'info';
fwrite($fp, $info);
while (!feof($fp)){
$data = stream_get_contents($fp);
}
fclose($fp);
$xml = new SimpleXMLElement($data);

Ti see the POT scripts and it's like mine, so i don't think the error are in
my site script.

Thanks for your Atention and sorry for my english, Olavo.
 
Last edited:
I have got the same error.

Another Question to you: Please can you test if Dragons do Damage on Players?
 
I'm using REV 420, and all is Ok.

@Slider Yes, i tested and Dragon do Damage on Players ;)

@olavo this isn't bug. Meybe try change in config.lua:
Code:
statusTimeout = 1000
 
It's the statusTimeout to protect the server from bots to flood status requests. Setup a cronjob to request the status once every minute instead and set the statusTimeout to 60000.
 
@slawkens and Talaturen, thanks for help and sorry for my wrong meening, i didnt know what statusTimeout (in gonfig) does, so i dont modified, now i know , maybe will be better if you put the config explained like other server, or crete a file to explain all things are in config.lua, it will help people and i think you will see less Thread like that.

If you dont think like me ... nothing to do ...

Thanks other time, Olavo.
 
Back
Top