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 Q&A
[Help] Client Not Working [Help]
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="dukestar" data-source="post: 108371" data-attributes="member: 9571"><p>Where abouts?</p><p> </p><p>this is my Client.PHP</p><p> </p><p>[CODE]<?php</p><p>$index = true;</p><p>include('core/global.php');</p><p> </p><p>if(!isset($_SESSION['username'])){</p><p> $trytohack = true;</p><p> require_once 'index.php';</p><p> exit;</p><p>}</p><p> </p><p>$ticket = $core->SSO();</p><p>if(user(account_id) !== '-'){</p><p> mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."', account_id = '".user(id)."' WHERE id = '".user(id)."'");</p><p>} else {</p><p> mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."' WHERE id = '".user(id)."'");</p><p>}</p><p>?></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"</p><p> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"></p><p><head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p> <title><?php echo $sitename." Hotel: Client"; ?></title></p><p> </p><p><script type="text/javascript"></p><p>var andSoItBegins = (new Date()).getTime();</p><p></script></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/common.css" type="text/css" /></p><p><link rel="stylesheet" href="<?php echo $site; ?>/Public/client/Style/habboflashclient.css" type="text/css" /></p><p> </p><p><script src="<?php echo $site; ?>/Public/client/JS/habbo.js" type="text/javascript"></script></p><p> </p><p> <script type="text/javascript"></p><p> document.habboLoggedIn = true;</p><p> var habboName = "<?php echo X($_SESSION['username']); ?>";</p><p> var habboReqPath = "<?php echo $site; ?>";</p><p> var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "http://5.224.254.14/client";</p><p> window.name = "ClientWndw";</p><p> if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }</p><p> </script></p><p> </p><p> </p><p><script src="<?php echo $site; ?>/Public/client/JS/habboflashclient.js" type="text/javascript"></script></p><p> </p><p><script src="<?php echo $site; ?>/Public/client/JS/identity.js" type="text/javascript"></script></p><p> </p><p><script type="text/javascript"></p><p>var jjLoader = {</p><p> 'maxStep': 0,</p><p> 'currentStep': 1,</p><p> 'isInit': false,</p><p> 'interval': null,</p><p> 'init': function(_wrapperId, _maxStep, _imageUrl, _backgroundUrl){</p><p> jjLoader.maxStep = _maxStep;</p><p> </p><p> var wrapper = document.getElementById(_wrapperId);</p><p> </p><p> wrapper.innerHTML += '<div id="wrapperLoader" style="background: #000000 url('+_backgroundUrl+') center no-repeat; position: absolute; z-index: 9999999; width: 100%; height: 100%;">'+</p><p> '<div style="width: 240px; height: 125px; padding: 5px; border-radius: 10px; background: rgba(0, 0, 0, 0.7) url('+_imageUrl+') center 15px no-repeat; position: absolute; left: 50%; top: 50%; margin-top: -65px; margin-left: -125px;">'+</p><p> '<div id="wrapperLoaderText" style="margin-top: 60px; margin-bottom: 10px; text-align: center; font-family: Arial; color: #FFFFFF; font-size: 10px;">Bussy with booting up your hotel! 0%</div>'+</p><p> '<div style="border-radius: 1px; border: 1px solid #FFFFFF; background-color: rgba(0, 0, 0, 0.6); padding: 1px; margin-left: 20px; width: 200px; height: 17px">'+</p><p> '<div id="wrapperLoaderProgress" style="background-color: #8CA1AD; height: 17px; width: 0;">'+</p><p> '<div style="background-color: #BACAD3; height: 9px; width: 100%;">'+</p><p> '</div></div></div></div>';</p><p> </p><p> jjLoader.interval = window.setInterval(jjLoader.IntervalUpdate, 10);</p><p> </p><p> jjLoader.isInit = true;</p><p> return true;</p><p> },</p><p> 'progressNow': 0,</p><p> 'progress': 0,</p><p> 'IntervalUpdate': function(){</p><p> if (jjLoader.progressNow >= jjLoader.progress || jjLoader.progressNow >= 100)</p><p> {</p><p> return;</p><p> }</p><p> </p><p> jjLoader.progressNow += 2;</p><p> </p><p> var wrapperLoaderProgress = document.getElementById('wrapperLoaderProgress');</p><p> wrapperLoaderProgress.style.width = jjLoader.progressNow +'%';</p><p> },</p><p> 'doUpdate': function(_text){</p><p> if (!jjLoader.isInit)</p><p> {</p><p> return false;</p><p> }</p><p> </p><p> jjLoader.currentStep++;</p><p> jjLoader.progress = Math.round((100 / jjLoader.maxStep) *jjLoader.currentStep);</p><p> </p><p> if (jjLoader.progress > 100)</p><p> {</p><p> jjLoader.progress = 100;</p><p> }</p><p> </p><p> jjLoader.updateText(_text);</p><p> </p><p> return true;</p><p> },</p><p> 'updateText': function(_text){</p><p> if (!jjLoader.isInit)</p><p> {</p><p> return false;</p><p> }</p><p> </p><p> var text = '';</p><p> if (jjLoader.progress > 0 && jjLoader.progress < 100)</p><p> {</p><p> text = "<?php echo $sitename; ?> is loading..";</p><p> }</p><p> </p><p> else if (jjLoader.progress > 99 && jjLoader.progress < 101)</p><p> {</p><p> text = "Welcome to <?php echo $sitename; ?>!";</p><p> }</p><p> </p><p> var wrapperLoaderText = document.getElementById('wrapperLoaderText');</p><p> wrapperLoaderText.innerHTML = text+' '+jjLoader.progress+'%';</p><p> </p><p> return true;</p><p> },</p><p> 'finish': function(){</p><p> if (!jjLoader.isInit)</p><p> {</p><p> return false;</p><p> }</p><p> </p><p> var wrapperLoader = document.getElementById('wrapperLoader');</p><p> wrapperLoader.parentNode.removeChild(wrapperLoader);</p><p> </p><p> window.clearInterval(jjLoader.interval);</p><p> </p><p> return true;</p><p> }</p><p>};</p><p></script></p><p> </p><p><script type="text/javascript"></p><p> FlashExternalInterface.loginLogEnabled = false;</p><p> FlashExternalInterface.logLoginStep("web.view.start");</p><p> </p><p> if (top == self) {</p><p> FlashHabboClient.cacheCheck();</p><p> }</p><p> var flashvars = {</p><p> "client.allow.cross.domain" : "1",</p><p> "client.notify.cross.domain" : "0",</p><p> "connection.info.host" : "5.224.254.14",</p><p> "connection.info.port" : "30000",</p><p> "site.url" : "http://5.224.254.14",</p><p> "url.prefix" : "http://5.224.254.14",</p><p> "client.reload.url" : "http://5.224.254.14/reload",</p><p> "client.fatal.error.url" : "http://5.224.254.14/fatal_error",</p><p> "client.connection.failed.url" : "5.224.254.14/failed_connection",</p><p> "external.variables.txt" : "http://64.31.26.206/r63/external_variables.txt",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "ST-134194-9250159312-FlagCMS-1828093446-2",</p><p> "account_id" : "<?php echo user(id); ?>",</p><p> "processlog.enabled" : "1",</p><p> "client.starting" : "<?php echo $sitename; ?> is starting up..",</p><p> "flash.client.url" : "http://64.31.26.206/r63/",</p><p> "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",</p><p> "has.identity" : "1",</p><p> "flash.client.origin" : "popup",</p><p> "token" : "ST-134194-9250159312-FlagCMS-1828093446-2",</p><p> "logout.disconnect.url" : "http://5.224.254.14/disconnect",</p><p> "logout.url" : "http://5.224.254.14/logout",</p><p> };</p><p> var params = {</p><p> "base" : "http://64.31.26.206/r63/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false",</p><p> "bgcolor" : "#000",</p><p> "wmode" : "transparent"</p><p> };</p><p> </p><p> if (!(HabbletLoader.needsFlashKbWorkaround())) {</p><p> params["wmode"] = "opaque";</p><p> }</p><p> </p><p> FlashExternalInterface.signoutUrl = "http://5.224.254.14/logout";</p><p> </p><p> var clientUrl = "http://64.31.26.206/r63/habbo.swf";</p><p> </p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);</p><p> </p><p> window.onbeforeunload = unloading;</p><p> function unloading() {</p><p> var clientObject;</p><p> if (navigator.appName.indexOf("Microsoft") != -1) {</p><p> clientObject = window["flash-container"];</p><p> } else {</p><p> clientObject = document["flash-container"];</p><p> }</p><p> try {</p><p> clientObject.unloading();</p><p> } catch (e) {}</p><p> }</p><p></script></p><p> </p><p><!--[if IE 8]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie8.css" type="text/css" /></p><p><![endif]--></p><p> </p><p><!--[if lt IE 8]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie.css" type="text/css" /></p><p><![endif]--></p><p><!--[if lt IE 7]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie6.css" type="text/css" /></p><p><script src="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script></p><p><script type="text/javascript"></p><p>try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</p><p></script></p><p> </p><p><style type="text/css"></p><p>body { behavior: url(/js/csshover.htc); }</p><p></style></p><p><![endif]--></p><p> </p><p></head></p><p> </p><p><body id="client" class="flashclient" style="background-color: #000;"></p><p> </p><p><script type="text/javascript"></p><p>jjLoader.init('client', 6, '<?php echo $site; ?>/Public/client/Images/logo.gif', '<?php echo $site; ?>/Public/client/Images/background.png');</p><p></script></p><p> </p><p><div id="overlay"></div> </p><p><div id="overlay"></div></p><p><div id="client-ui" ></p><p> <div id="flash-wrapper"></p><p> <div id="flash-container"></p><p> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p> <div class="cbb clearfix"></p><p> <h2 class="title">Please install Adobe Flash Player.</h2></p><p> <div class="box-content"></p><p> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"></p><p> Install flash player</a>. More instructions for installation can be</p><p> found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/"></p><p> More information</a></p></p><p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></p><p> </div></p><p> </div></p><p> </div></p><p> <script type="text/javascript"></p><p> $('content').show();</p><p> </script></p><p> <noscript></p><p> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"></p><p> <p>If you are not automatically redirected, please <a href="<?php echo $site; ?>/client">click here</a></p></p><p> </div></p><p> </noscript></p><p> </div></p><p> </p><p> </div></p><p> <div id="content" class="client-content"></div></p><p></div></p><p> </p><p></body></p><p></html>[/CODE]</p></blockquote><p></p>
[QUOTE="dukestar, post: 108371, member: 9571"] Where abouts? this is my Client.PHP [CODE]<?php $index = true; include('core/global.php'); if(!isset($_SESSION['username'])){ $trytohack = true; require_once 'index.php'; exit; } $ticket = $core->SSO(); if(user(account_id) !== '-'){ mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."', account_id = '".user(id)."' WHERE id = '".user(id)."'"); } else { mysql_query("UPDATE users SET auth_ticket = '".$ticket."', ip_last = '".$remoteip."' WHERE id = '".user(id)."'"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?php echo $sitename." Hotel: Client"; ?></title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/common.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $site; ?>/Public/client/Style/habboflashclient.css" type="text/css" /> <script src="<?php echo $site; ?>/Public/client/JS/habbo.js" type="text/javascript"></script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "<?php echo X($_SESSION['username']); ?>"; var habboReqPath = "<?php echo $site; ?>"; var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://5.224.254.14/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <script src="<?php echo $site; ?>/Public/client/JS/habboflashclient.js" type="text/javascript"></script> <script src="<?php echo $site; ?>/Public/client/JS/identity.js" type="text/javascript"></script> <script type="text/javascript"> var jjLoader = { 'maxStep': 0, 'currentStep': 1, 'isInit': false, 'interval': null, 'init': function(_wrapperId, _maxStep, _imageUrl, _backgroundUrl){ jjLoader.maxStep = _maxStep; var wrapper = document.getElementById(_wrapperId); wrapper.innerHTML += '<div id="wrapperLoader" style="background: #000000 url('+_backgroundUrl+') center no-repeat; position: absolute; z-index: 9999999; width: 100%; height: 100%;">'+ '<div style="width: 240px; height: 125px; padding: 5px; border-radius: 10px; background: rgba(0, 0, 0, 0.7) url('+_imageUrl+') center 15px no-repeat; position: absolute; left: 50%; top: 50%; margin-top: -65px; margin-left: -125px;">'+ '<div id="wrapperLoaderText" style="margin-top: 60px; margin-bottom: 10px; text-align: center; font-family: Arial; color: #FFFFFF; font-size: 10px;">Bussy with booting up your hotel! 0%</div>'+ '<div style="border-radius: 1px; border: 1px solid #FFFFFF; background-color: rgba(0, 0, 0, 0.6); padding: 1px; margin-left: 20px; width: 200px; height: 17px">'+ '<div id="wrapperLoaderProgress" style="background-color: #8CA1AD; height: 17px; width: 0;">'+ '<div style="background-color: #BACAD3; height: 9px; width: 100%;">'+ '</div></div></div></div>'; jjLoader.interval = window.setInterval(jjLoader.IntervalUpdate, 10); jjLoader.isInit = true; return true; }, 'progressNow': 0, 'progress': 0, 'IntervalUpdate': function(){ if (jjLoader.progressNow >= jjLoader.progress || jjLoader.progressNow >= 100) { return; } jjLoader.progressNow += 2; var wrapperLoaderProgress = document.getElementById('wrapperLoaderProgress'); wrapperLoaderProgress.style.width = jjLoader.progressNow +'%'; }, 'doUpdate': function(_text){ if (!jjLoader.isInit) { return false; } jjLoader.currentStep++; jjLoader.progress = Math.round((100 / jjLoader.maxStep) *jjLoader.currentStep); if (jjLoader.progress > 100) { jjLoader.progress = 100; } jjLoader.updateText(_text); return true; }, 'updateText': function(_text){ if (!jjLoader.isInit) { return false; } var text = ''; if (jjLoader.progress > 0 && jjLoader.progress < 100) { text = "<?php echo $sitename; ?> is loading.."; } else if (jjLoader.progress > 99 && jjLoader.progress < 101) { text = "Welcome to <?php echo $sitename; ?>!"; } var wrapperLoaderText = document.getElementById('wrapperLoaderText'); wrapperLoaderText.innerHTML = text+' '+jjLoader.progress+'%'; return true; }, 'finish': function(){ if (!jjLoader.isInit) { return false; } var wrapperLoader = document.getElementById('wrapperLoader'); wrapperLoader.parentNode.removeChild(wrapperLoader); window.clearInterval(jjLoader.interval); return true; } }; </script> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = false; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "5.224.254.14", "connection.info.port" : "30000", "site.url" : "http://5.224.254.14", "url.prefix" : "http://5.224.254.14", "client.reload.url" : "http://5.224.254.14/reload", "client.fatal.error.url" : "http://5.224.254.14/fatal_error", "client.connection.failed.url" : "5.224.254.14/failed_connection", "external.variables.txt" : "http://64.31.26.206/r63/external_variables.txt", "use.sso.ticket" : "1", "sso.ticket" : "ST-134194-9250159312-FlagCMS-1828093446-2", "account_id" : "<?php echo user(id); ?>", "processlog.enabled" : "1", "client.starting" : "<?php echo $sitename; ?> is starting up..", "flash.client.url" : "http://64.31.26.206/r63/", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "1", "flash.client.origin" : "popup", "token" : "ST-134194-9250159312-FlagCMS-1828093446-2", "logout.disconnect.url" : "http://5.224.254.14/disconnect", "logout.url" : "http://5.224.254.14/logout", }; var params = { "base" : "http://64.31.26.206/r63/", "allowScriptAccess" : "always", "menu" : "false", "bgcolor" : "#000", "wmode" : "transparent" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } FlashExternalInterface.signoutUrl = "http://5.224.254.14/logout"; var clientUrl = "http://64.31.26.206/r63/habbo.swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/flash/expressInstall.swf", flashvars, params); window.onbeforeunload = unloading; function unloading() { var clientObject; if (navigator.appName.indexOf("Microsoft") != -1) { clientObject = window["flash-container"]; } else { clientObject = document["flash-container"]; } try { clientObject.unloading(); } catch (e) {} } </script> <!--[if IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <style type="text/css"> body { behavior: url(/js/csshover.htc); } </style> <![endif]--> </head> <body id="client" class="flashclient" style="background-color: #000;"> <script type="text/javascript"> jjLoader.init('client', 6, '<?php echo $site; ?>/Public/client/Images/logo.gif', '<?php echo $site; ?>/Public/client/Images/background.png'); </script> <div id="overlay"></div> <div id="overlay"></div> <div id="client-ui" > <div id="flash-wrapper"> <div id="flash-container"> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"> <div class="cbb clearfix"> <h2 class="title">Please install Adobe Flash Player.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"> Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/"> More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/<?php echo $WebBuild; ?>/web-gallery/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> </div> </div> <script type="text/javascript"> $('content').show(); </script> <noscript> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"> <p>If you are not automatically redirected, please <a href="<?php echo $site; ?>/client">click here</a></p> </div> </noscript> </div> </div> <div id="content" class="client-content"></div> </div> </body> </html>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help] Client Not Working [Help]
Top