• 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 Server status / who is online Gesior problem

Reyal

Reyal Bolt ;* ;D
Joined
Jul 2, 2013
Messages
39
Reaction score
2
Location
UK
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:
Lua:
$statusInfo = new ServerStatus($config['server']['ip'], 7171, 1);
to this:
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)
 
OP
OP
Reyal

Reyal

Reyal Bolt ;* ;D
Joined
Jul 2, 2013
Messages
39
Reaction score
2
Location
UK
Update;
Looks like I might be missing login and logout scripts under "creature scripts"
I tried to play around with a couple codes but mysqlquery or db.query doesnt work.
Anybody could help with this please?
 

subyth

New Member
Joined
May 1, 2009
Messages
52
Reaction score
3
Publique o link onde você baixou seu gesior aac.

Em seguida, verificarei o que pode ser feito.
 
Top