HoldUp
dont even
- Aug 31, 2017
- 242
- 32
This thread isn't anything special to the more experienced people in the community but this is for the less experienced that will come across the bugged accounts.
I know @Meap has done a tutorial on how to fix it and I've used that and put it into the emulator.. so thanks for that lol.
(note to the ones that probs don't know what the problem is)- After a certain amount of times a user has logged out the account glitches only letting them load to 76%, in the database it says they're online and also the user count but they're actually not online and you can't summon them etc in game.
Link for the emu -
The auth_ticket sql is in the Original Database SQL so no need to worry about that.
One thing you need to do to your CMS (RevCMS) -
go to class.users.php and search for the Create SSO auth_ticket section and replace it all with:
Then go to your class.core.php and look for the case "client";
and replace it with:
Once again thanks to @Meap for the fix
I know @Meap has done a tutorial on how to fix it and I've used that and put it into the emulator.. so thanks for that lol.
(note to the ones that probs don't know what the problem is)- After a certain amount of times a user has logged out the account glitches only letting them load to 76%, in the database it says they're online and also the user count but they're actually not online and you can't summon them etc in game.
Link for the emu -
You must be registered for see links
The auth_ticket sql is in the Original Database SQL so no need to worry about that.
One thing you need to do to your CMS (RevCMS) -
go to class.users.php and search for the Create SSO auth_ticket section and replace it all with:
PHP:
final public function createSSO($k)
{
global $engine;
$sessionKey = 'RevCMS-' . rand(9, 9999999).'/'.substr(sha1(time()).'/'.rand(9,9999999).'/'.rand(9,9999999).'/'.rand(9,9999999),0,33);
if($engine->num_rows("SELECT * FROM user_auth_ticket WHERE user_id = '" . $k . "' LIMIT 1") > 0) {
$engine->query("UPDATE user_auth_ticket SET auth_ticket = '" . $sessionKey . "' WHERE user_id = '" . $k . "'");
} else {
$engine->query("INSERT INTO user_auth_ticket (user_id, auth_ticket) VALUES ('" . $k . "', '" . $sessionKey ."')");
}
return $sessionKey;
unset($sessionKey);
}
and replace it with:
PHP:
$users->updateUser($_SESSION['user']['id'], 'ip_last', $_SERVER['REMOTE_ADDR']);
$template->setParams('sso', $users->createSSO($_SESSION['user']['id']));
Once again thanks to @Meap for the fix