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

Solved Problem with server online/offline pedestal

bury

Active Member
Joined
Jul 27, 2008
Messages
421
Solutions
7
Reaction score
25
Hey! I was testing the last thing before opening my server and realized about the online/offline system doesnt work properly.

Im with 2 active players moving them in the map, and...:

problema1.jpg


Sometimes, I see 2 players online, and if I click, I see:

Currently 2 players are online - 2 are active and 0 is AFK on Oraclum.

But it If refresh the website it says offline again and:

Currently 2 players are online - 0 is active and 2 are AFK on Oraclum.

What is wrong?

On layout.php:

PHP:
<div id="RightArtwork">
            <img id="Monster" src="<?PHP echo $layout_name; ?>/images/Apocalypse.gif" alt="Monster of the Week" />
            <img id="PedestalAndOnline" src="<?PHP echo $layout_name; ?>/images/header/pedestal-and-online.gif" alt="Monster Pedestal and Players Online Box"/>
          <?PHP
          if(count($config['site']['worlds']) > 1)
              $whoisonlineworld = '?subtopic=whoisonline';
          else
              $whoisonlineworld = '?subtopic=whoisonline&world=0';
          ?>
             <div id="PlayersOnline" onClick="window.location='<?PHP echo $whoisonlineworld; ?>'">

          <?PHP
            if($config['status']['serverStatus_online'] == 1)
                echo $config['status']['serverStatus_players'].'<br />Players Online';
            else
                echo '<font color="red"><b>Server<br />OFFLINE</b></font>';
          ?></div>
        </div>

bump :c
 
Last edited by a moderator:

I waited for a day for doing the bring up my post... Or I haven't configured properly the horary zone in the web o.o

Before doing the thread I use to search info in otland but I didn't find these :/ btw do you know something about paygol? Made a thread in discussion.

------------------------- EDIT ---------------------------------

I've tried that solutions and the problem is not the same than mine because I can see in the pedestal the number of people online, but when I click on it (to see how many players are online) it gets "server offline" in red, and displays about 0 active as I pasted on the OP.

Anyway tried their solution and didn't work for me. Obiously when it says server offline it keeps online without any problem.

btw I'm using gesior Acc for tfs 0.4
 
Last edited:
I waited for a day for doing the bring up my post... Or I haven't configured properly the horary zone in the web o.o

Before doing the thread I use to search info in otland but I didn't find these :/ btw do you know something about paygol? Made a thread in discussion.

------------------------- EDIT ---------------------------------

I've tried that solutions and the problem is not the same than mine because I can see in the pedestal the number of people online, but when I click on it (to see how many players are online) it gets "server offline" in red, and displays about 0 active as I pasted on the OP.

Anyway tried their solution and didn't work for me. Obiously when it says server offline it keeps online without any problem.

btw I'm using gesior Acc for tfs 0.4

I didn't talk about rule 2, but rule 5, what Gesior version are you using.
We normally merge bumps to make threads shorter, insted of having 3 pages to read we can in some cases make them 1 or 2 pages.

I just googled otland gesior offline I think and no I don't know anything about paygol, you can try to write to the customer support and ask insted.

One of the main problems has been that it's looking for wrong ports and IPs AFAIK.
And since only a few ppl have this issue my guess is that it's a computer / dedi server related issue.

Is it Gesior 2012 or one of the older versions?
 
I didn't talk about rule 2, but rule 5, what Gesior version are you using.
We normally merge bumps to make threads shorter, insted of having 3 pages to read we can in some cases make them 1 or 2 pages.

I just googled otland gesior offline I think and no I don't know anything about paygol, you can try to write to the customer support and ask insted.

One of the main problems has been that it's looking for wrong ports and IPs AFAIK.
And since only a few ppl have this issue my guess is that it's a computer / dedi server related issue.

Is it Gesior 2012 or one of the older versions?

Its gesior last version yes, I downloaded it from his github some months ago.

Btw, I opened a ticket on paygol and got not answer, then I opened another (because first was closed lol) and my account was removed, I can't log in and If I try to change my password I dont receive any email. My service also is disabled so micropayments are not working.... I'm really dissapointed with them.

Look, I'm online with the admin, server has like 30h uptime:

problema2.jpg


When there is 1 player online:

Server Status

Currently 1 players are online - 1 is active and 0 is AFK on Oraclum.

When it says offline:

Server Status

Currently 1 players are online - 0 is active and 1 is AFK on Oraclum.

Could it be because I changed the demon for the apocalypse? LOL
 
Last edited:
Its gesior last version yes, I downloaded it from his github some months ago.

Btw, I opened a ticket on paygol and got not answer, then I opened another (because first was closed lol) and my account was removed, I can't log in and If I try to change my password I dont receive any email. My service also is disabled so micropayments are not working.... I'm really dissapointed with them.

Look, I'm online with the admin, server has like 30h uptime:

problema2.jpg


When there is 1 player online:

Server Status

Currently 1 players are online - 1 is active and 0 is AFK on Oraclum.

When it says offline:

Server Status

Currently 1 players are online - 0 is active and 1 is AFK on Oraclum.

Could it be because I changed the demon for the apocalypse? LOL

Well I have no ide about paygol, didn't even know that it was still open, have you tried zaypay?

Did it work in the past? I highly doubt you chaning the image would brake this unless you changed something else at the same time.
If you have changed something use WinMerge and see what the changes are.
 
Well I have no ide about paygol, didn't even know that it was still open, have you tried zaypay?

Did it work in the past? I highly doubt you chaning the image would brake this unless you changed something else at the same time.
If you have changed something use WinMerge and see what the changes are.

Well I changed lot of things in the layout.php but I've just set the default original layout and still doesnt work.

btw if u want to check... www.oraclum.net
 
Last edited:
If it worked before then take a look at the classes and config.php.

No,no. I had the doubt but tried with the default layout.php and initialize.js, the original ones in the gesior github and still doesnt work.

I would prefer it to show everytime offline because that solution would work, but this is very strange. If you let the web 1 min and refresh it shows you the online players, but if you click the pedestal or refresh the website it shows offline. WTF.
 
No,no. I had the doubt but tried with the default layout.php and initialize.js, the original ones in the gesior github and still doesnt work.

I would prefer it to show everytime offline because that solution would work, but this is very strange. If you let the web 1 min and refresh it shows you the online players, but if you click the pedestal or refresh the website it shows offline. WTF.

It's only showing offline for me, maybe you have a cache issue?
But check all the files you modified, if it worked before im 100% sure it's related to that, we can't help since we don't know what you changed.
 
It's only showing offline for me, maybe you have a cache issue?
But check all the files you modified, if it worked before im 100% sure it's related to that, we can't help since we don't know what you changed.

Nope, I think I was blind and never worked fine, but as I saw sometimes the players online maybe didnt worry to me... You've just seen it offline because I was restarting it. Now I saw 2 online (I was with the god and with a normal char, moving them...) refreshed and saw the 2 players online, click on it... and server offline. Thanks you for ur help, I think the forum is kinda stopped in August? :)
 
Nope, I think I was blind and never worked fine, but as I saw sometimes the players online maybe didnt worry to me... You've just seen it offline because I was restarting it. Now I saw 2 online (I was with the god and with a normal char, moving them...) refreshed and saw the 2 players online, click on it... and server offline. Thanks you for ur help, I think the forum is kinda stopped in August? :)

Try to just run a fresh Gesior and see if that fixes it, don't change anything, just follow the installation.
If that works then start adding your custom things till you find the problem.

Tested again and it shows 2 online but when I enterd another page it shows offline, so my guess is cache.
Not really, but ppl don't always wanna help with things like this :p
 
Try to just run a fresh Gesior and see if that fixes it, don't change anything, just follow the installation.
If that works then start adding your custom things till you find the problem.

Tested again and it shows 2 online but when I enterd another page it shows offline, so my guess is cache.
Not really, but ppl don't always wanna help with things like this :p

I think they are these two files, isnt it?

DONT_EDIT_serverstatus.txt
DONT_EDIT_usercounter.txt

Coincidence or not, I had a problem with the page views too. The web doesnt count them:

Account Maker made by Gesior. Layout by CipSoft GmbH.
Page has been viewed times. Load time: 0.0051 seconds, queries: 1

And if you open DONT_EDIT_usercounter.txt you can see the views: 12680 (I think they are too much lol)

I need to give it permission in everything? See, read and execute?
 
Back
Top