• 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 Trouble with players online and trainers room

Vrotz

Member
Joined
Apr 7, 2011
Messages
1,071
Reaction score
7
Location
Brazil
I had a problem with the Mysql of the server, the Tfs was not compatible with the Xampp and lost the connection with the database. When I restarted the server once again, the players online of the website in the "Whoisonline" continued it count being that was for the will be zero because the server finished opening. When it began it enter players, began it count the number of players online + what remained of the downtime. Staying 50 (present) + the number that was before, 90. Staying 140 online and in alone fact has 50! As I can tidy that?

And, regarding the trainers, Im having problems with "MC Potting main char". How it do the script of the door by level? When someone i inside the room of trainers and i going it to u enter, would like that appeared to message "Room i in uses".

Confused?
I expect answers.

Regards.
 
Last edited by a moderator:
Sometimes Gesior players_online function isn't working aswell with your version server, find this on layout.lua:

LUA:
echo $config['status']['serverStatus_players'].'<br />Players Online';

Only replace it with this:

LUA:
echo '<b>Status:</b><font color="#00CD00"><b>ONLINE</b></font> ('.$number_of_players_online.' players)';

It must be working nice.
The players error it's because I suppose you're using not count x-logged players, but I recommend add "afk" players on whoisonline.php just to don't have troubles while having your server in OTServList.

I seen a nice training system by Bogart, you should use it, it works for the same function that you want, HERE
 
Back
Top