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
CMS Releases
[HELP] PhoenixPHP to r63B client
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="TheJason2012" data-source="post: 233278" data-attributes="member: 17124"><p>I have an problem with my emulator config on PhoenixPHP</p><p>swift and bcstorm works great but i will trylion emulator run on my hotel</p><p>but sso tickets is user_tickets in the emulator</p><p></p><p>and how change i this</p><p>[code]<?php$rand1 = rand(100000, 999999);</p><p>$rand2 = rand(10000, 99999);</p><p>$rand3 = rand(10000, 99999);</p><p>$rand4 = rand(10000, 99999);</p><p>$rand5 = rand(10000, 99999);</p><p>$rand6 = rand(1, 9);</p><p>$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;</p><p>$username = $_SESSION['username'];</p><p>if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))</p><p>{</p><p> $username = $_GET['username'];</p><p> $ticket = $_GET['ticket'];</p><p>}</p><p>$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");</p><p>$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");</p><p>?>[/code]</p><p><img src="http://images.holoday.nl/help.PNG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>the ticket system is</p><p>[code] if (ButterflyEnvironment.useSSO) {</p><p> queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso AND ipaddress = @ipaddress ");</p><p> }</p><p> else</p><p> {</p><p> queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso ");</p><p> }</p><p> queryreactor.addParameter("sso", sessionTicket);</p><p> queryreactor.addParameter("ipaddress", ip);[/code]</p></blockquote><p></p>
[QUOTE="TheJason2012, post: 233278, member: 17124"] I have an problem with my emulator config on PhoenixPHP swift and bcstorm works great but i will trylion emulator run on my hotel but sso tickets is user_tickets in the emulator and how change i this [code]<?php$rand1 = rand(100000, 999999); $rand2 = rand(10000, 99999); $rand3 = rand(10000, 99999); $rand4 = rand(10000, 99999); $rand5 = rand(10000, 99999); $rand6 = rand(1, 9); $ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6; $username = $_SESSION['username']; if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username'])) { $username = $_GET['username']; $ticket = $_GET['ticket']; } $query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'"); $query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'"); ?>[/code] [IMG]http://images.holoday.nl/help.PNG[/IMG] the ticket system is [code] if (ButterflyEnvironment.useSSO) { queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso AND ipaddress = @ipaddress "); } else { queryreactor.setQuery("SELECT users.* FROM users RIGHT JOIN user_tickets ON user_tickets.userid = users.id WHERE user_tickets.sessionticket = @sso "); } queryreactor.addParameter("sso", sessionTicket); queryreactor.addParameter("ipaddress", ip);[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[HELP] PhoenixPHP to r63B client
Top