Hello fellow members.
My problem is simple yet annoying;
Server status is always showing my server as "offline".
I managed to get it working a bit, by changing load.compact.php
from this:
to this:
BUT when I say a bit, i mean it will show server as "online" for a second, as soon as you refresh the page it will say "offline" again.
after a minute it will say "online" and then "offline" again...
My second problem is that "who is online" never shows anyone.
I have noticed that my "online" column in the "players" table in my database always shows "0" even when players are online.
I can manually change it to "1" - then i can see this player on the website, under "who is online" page.
How come this table is not updating by itself?
Worth to mention I am using Avesta 0.6.5
AAC I am using Gesior 0.3.6
(old-school project)
My problem is simple yet annoying;
Server status is always showing my server as "offline".
I managed to get it working a bit, by changing load.compact.php
from this:
Lua:
$statusInfo = new ServerStatus($config['server']['ip'], 7171, 1);
PHP:
$statusInfo = new ServerStatus('127.0.0.1', 7171, 1);
BUT when I say a bit, i mean it will show server as "online" for a second, as soon as you refresh the page it will say "offline" again.
after a minute it will say "online" and then "offline" again...
My second problem is that "who is online" never shows anyone.
I have noticed that my "online" column in the "players" table in my database always shows "0" even when players are online.
I can manually change it to "1" - then i can see this player on the website, under "who is online" page.
How come this table is not updating by itself?
Worth to mention I am using Avesta 0.6.5
AAC I am using Gesior 0.3.6
(old-school project)