[user_tickets] HabboPHP Butterfly Emulator R105

CrestHawk

Member
Dec 4, 2010
37
5
[HELP] I'm using HabboPHP CMS, when I try to load the client I get this error "Please try again, your login session ticket has expired". How in the world do I make the User SSO tickets get inserted in the (user_tickets) table, when HabboPHP inserts them in the User table?

You must be registered for see images attach


My client.php Session section;

<?php
@session_start();
define('CORE','CORE');
require "includes/core.php";

if(!$Auth->isConnected()) redirection($config->url_site.'/logout.php');
if(EMULATOR == 'butterfly') $ticket = TicketRefresh($user->id);
elseif(EMULATOR == 'butterfly') $ticket = UpdateSSO($user->id);
$roomask = false ;
if(isset($_GET['roomID'])){

$roomid = intval($_GET['roomID']);
//Get type of room
$req = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");
if(mysql_num_rows($req) > 1){ //Room exist
$roomdata = mysql_fetch_assoc($req);
if($roomdata['roomtype'] == 'public')
$forward_type = 1;
else
$forward_type = 2;
$roomask = true ;
}

}

?>
 

Users who are viewing this thread

Top