Skybird or emu issue

Nebulaa

Member
May 6, 2013
53
4
Skybird Emulator doesn't show User online count in the CMS
So.. My CMS won't show how many users are online and It has to be either the Emulator itself or the database, also {online} doesn't work and it has been declared of course. It's Skybird Emulator.Or maybe I've missed something in class.tpl? Someone have a fix for this?
Also {lastsignedin} doesn't work either.
Online Count:
7wZaXyN.png

Last Signed In:
jcuXZrt.png

Emulator:
mpyk.png
 

Data

Posting Freak
May 19, 2013
593
97
Run this to fix users online, then reboot emu.
DROP TABLE IF EXISTS `server_status`;
CREATE TABLE `server_status` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`status` enum('0','1','2') NOT NULL DEFAULT '0',
`users_online` int(11) NOT NULL DEFAULT '0',
`rooms_loaded` int(11) NOT NULL DEFAULT '0',
`server_ver` text NOT NULL,
`stamp` double NOT NULL,
`minutesuptime` int(11) NOT NULL,
`userpeak` int(11) NOT NULL DEFAULT '0',
`bannerdata` varchar(1000) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

INSERT INTO `server_status` VALUES ('1', '0', '1', '0', 'Silverwave Emulator', '1391648885', '0', '3', '114670925920269957593299136150366957983142588366300079186349531:1589935137502239924254699078669119674538324391752663931735947');

Go to Class.Template.php search for if($users->isLogged())
and add;
$this->setParams('lastSignedIn', date('M j, Y H:i:s A', $users->getInfo($_SESSION['user']['id'], 'last_online')));
 

Users who are viewing this thread

Top