[BAN] Fly Butterfly Fly! ~ Butterfly r96c Original Source Code [FUN]

Status
Not open for further replies.

BatDev

Active Member
Apr 20, 2012
110
25
Hmmm I seem to be getting the connection dropped issue, its connecting to the emulator but then drops.
 

Khalil

IDK
Dec 6, 2011
1,642
786
For Everyone that asks how to run the emulator,download "Microsoft Visual Studio 2012 express" and use it :)
 

lepos

thinking about you. yes you
Dec 11, 2011
2,022
685
I saw on rz someone posted this and it helped a lot of people, you have to run most of these.

Code:
$ticket = "";
$ticket .= "nova-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999);
 
$exists = $db->query("SELECT * FROM user_tickets WHERE userid = '".$user->getVar('id')."' LIMIT 1")->fetchAll();
$num = count($exists);
if($num != 0)
{
$db->run("UPDATE user_tickets SET sessionticket = '".$ticket."' WHERE userid = '".$user->getVar('id')."'");
}
else
{
$db->run("INSERT into user_tickets VALUES(".$user->getVar('id').", '".$ticket."', '".Site::RemoteIp()."')");
}
 

Flint

http://Dusk-Hotel.com
Jul 10, 2012
464
48
I saw on rz someone posted this and it helped a lot of people, you have to run most of these.

Code:
$ticket = "";
$ticket .= "nova-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999);
 
$exists = $db->query("SELECT * FROM user_tickets WHERE userid = '".$user->getVar('id')."' LIMIT 1")->fetchAll();
$num = count($exists);
if($num != 0)
{
$db->run("UPDATE user_tickets SET sessionticket = '".$ticket."' WHERE userid = '".$user->getVar('id')."'");
}
else
{
$db->run("INSERT into user_tickets VALUES(".$user->getVar('id').", '".$ticket."', '".Site::RemoteIp()."')");
}

Okay Thanks I'll Try it out ;]
 
Jan 17, 2012
649
166
I saw on rz someone posted this and it helped a lot of people, you have to run most of these.

Code:
$ticket = "";
$ticket .= "nova-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999);
 
$exists = $db->query("SELECT * FROM user_tickets WHERE userid = '".$user->getVar('id')."' LIMIT 1")->fetchAll();
$num = count($exists);
if($num != 0)
{
$db->run("UPDATE user_tickets SET sessionticket = '".$ticket."' WHERE userid = '".$user->getVar('id')."'");
}
else
{
$db->run("INSERT into user_tickets VALUES(".$user->getVar('id').", '".$ticket."', '".Site::RemoteIp()."')");
}
Where do we put this?
 

Flint

http://Dusk-Hotel.com
Jul 10, 2012
464
48
I saw on rz someone posted this and it helped a lot of people, you have to run most of these.

Code:
$ticket = "";
$ticket .= "nova-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999);
 
$exists = $db->query("SELECT * FROM user_tickets WHERE userid = '".$user->getVar('id')."' LIMIT 1")->fetchAll();
$num = count($exists);
if($num != 0)
{
$db->run("UPDATE user_tickets SET sessionticket = '".$ticket."' WHERE userid = '".$user->getVar('id')."'");
}
else
{
$db->run("INSERT into user_tickets VALUES(".$user->getVar('id').", '".$ticket."', '".Site::RemoteIp()."')");
}

Whenever i run this i just get an error Something cause it starts with $
Im using ubercms 2 btw
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
I saw on rz someone posted this and it helped a lot of people, you have to run most of these.

Code:
$ticket = "";
$ticket .= "nova-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999) . "-";
$ticket .= rand(1000, 9999);
 
$exists = $db->query("SELECT * FROM user_tickets WHERE userid = '".$user->getVar('id')."' LIMIT 1")->fetchAll();
$num = count($exists);
if($num != 0)
{
$db->run("UPDATE user_tickets SET sessionticket = '".$ticket."' WHERE userid = '".$user->getVar('id')."'");
}
else
{
$db->run("INSERT into user_tickets VALUES(".$user->getVar('id').", '".$ticket."', '".Site::RemoteIp()."')");
}
This goes in page-client.tpl (ubercms) i guess?
 
Status
Not open for further replies.

Users who are viewing this thread

Top