Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
Server Releases
PlusR1 with AuthTicket Fixed
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="HoldUp" data-source="post: 424505" data-attributes="member: 77448"><p>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. </p><p>I know [USER=1553]@Meap[/USER] 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.</p><p></p><p><em>(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.</em></p><p><em></em></p><p><em>Link for the emu - </em><a href="https://mega.nz/#!Bj400AIR!a2-IAPAI1mnuFFRCTIWZYy05KKAOXAAf447IpvVEqHE" target="_blank">https://mega.nz/#!Bj400AIR!a2-IAPAI1mnuFFRCTIWZYy05KKAOXAAf447IpvVEqHE</a></p><p></p><p>The auth_ticket sql is in the Original Database SQL so no need to worry about that.</p><p></p><p>One thing you need to do to your CMS (RevCMS) - </p><p>go to class.users.php and search for the Create SSO auth_ticket section and replace it all with:</p><p></p><p>[PHP]final public function createSSO($k)</p><p>{ </p><p> global $engine;</p><p> $sessionKey = 'RevCMS-' . rand(9, 9999999).'/'.substr(sha1(time()).'/'.rand(9,9999999).'/'.rand(9,9999999).'/'.rand(9,9999999),0,33);</p><p> </p><p> if($engine->num_rows("SELECT * FROM user_auth_ticket WHERE user_id = '" . $k . "' LIMIT 1") > 0) {</p><p> $engine->query("UPDATE user_auth_ticket SET auth_ticket = '" . $sessionKey . "' WHERE user_id = '" . $k . "'");</p><p> } else {</p><p> $engine->query("INSERT INTO user_auth_ticket (user_id, auth_ticket) VALUES ('" . $k . "', '" . $sessionKey ."')");</p><p> }</p><p> return $sessionKey;</p><p> unset($sessionKey);</p><p>}[/PHP]</p><p>Then go to your class.core.php and look for the case "client";</p><p>and replace it with:</p><p></p><p>[PHP]$users->updateUser($_SESSION['user']['id'], 'ip_last', $_SERVER['REMOTE_ADDR']);</p><p>$template->setParams('sso', $users->createSSO($_SESSION['user']['id']));[/PHP]</p><p></p><p>Once again thanks to [USER=1553]@Meap[/USER] for the fix</p><p></p><p></p><p> </p><p></p><p></p></blockquote><p></p>
[QUOTE="HoldUp, post: 424505, member: 77448"] 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 [USER=1553]@Meap[/USER] 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. [I](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.[/I] [I] Link for the emu - [/I][URL]https://mega.nz/#!Bj400AIR!a2-IAPAI1mnuFFRCTIWZYy05KKAOXAAf447IpvVEqHE[/URL] 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); }[/PHP] Then go to your class.core.php and look for the case "client"; and replace it with: [PHP]$users->updateUser($_SESSION['user']['id'], 'ip_last', $_SERVER['REMOTE_ADDR']); $template->setParams('sso', $users->createSSO($_SESSION['user']['id']));[/PHP] Once again thanks to [USER=1553]@Meap[/USER] for the fix [I][/I] [I][/I] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
Server Releases
PlusR1 with AuthTicket Fixed
Top