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
v26 RP Client Problem
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="HonkyWam" data-source="post: 243336" data-attributes="member: 9988"><p>Well I'm using HabboRP's DCRS, Emulator, DB and CMS but the client seems to be having some problems , it shows up when I load up the client saying "This shockwave has playback problems". I changed the variables and changed the things in the client.php I don't know whats wrong. Here's my client.php just in case you guys need to check it and the screen shot!</p><p>[PHP]<?php</p><p>if (mysql_num_rows(mysql_query("SELECT * FROM `users_stats` WHERE `id` = '".$_SESSION['user']['id']."'")) == 0)</p><p>{</p><p> header("Location: step2");</p><p> exit;</p><p>}</p><p>else if (mysql_num_rows(mysql_query("SELECT * FROM `users_flagged` WHERE `username` = '".$_SESSION['user']['name']."'")) == 1)</p><p>{</p><p> header("Location: flagged");</p><p> exit;</p><p>}</p><p></p><p>define('IN_CLIENT', 1);</p><p>global $CONFIG;</p><p>require_once 'misc/thehabbos_api/force.client.php';</p><p></p><p>?></p><p><!DOCTYPE html></p><p><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></p><p><head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p> <title>{hotelName} ~ Client</title></p><p> <script src="{url}/app/tpl/skins/Habbo/template/js/habboclient.js?<?php echo $Rand; ?>" type="text/javascript"></script></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/template/styles/common.css?<?php echo $Rand; ?>" type="text/css" /></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/template/styles/habboclient.css?<?php echo $Rand; ?>" type="text/css" /></p><p> </p><p></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/js/jquery-1.6.2.min.js"></script></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/js/jquery-ui-1.8.16.custom.min.js"></script></p><p> <script type="text/javascript"></p><p> var HealthLow = false;</p><p> function LowHealth(Check)</p><p> {</p><p> if(HealthLow && Check)</p><p> return;</p><p></p><p></p><p> if(document.getElementById('MainProgHeart').style.width.slice(0,-1) < 15){</p><p> HealthLow = true;</p><p> $('#MainProgHeart')</p><p> .animate({backgroundColor:'#AC2525',borderColor:'#AC2525'}, 300)</p><p> .animate({backgroundColor:'#E63232',borderColor:'#E63232'}, 300, LowHealth);</p><p> }else{</p><p> HealthLow = false;</p><p> }</p><p> }</p><p> </p><p> var EnergyLow = false;</p><p> function LowEnergy(Check)</p><p> {</p><p> if(EnergyLow && Check)</p><p> return;</p><p></p><p></p><p> if(document.getElementById('MainProgGball').style.width.slice(0,-1) < 15){</p><p> EnergyLow = true;</p><p> $('#MainProgGball')</p><p> .animate({backgroundColor:'#719f12',borderColor:'#719f12'}, 300)</p><p> .animate({backgroundColor:'#97D418',borderColor:'#97D418'}, 300, LowEnergy);</p><p> }else{</p><p> EnergyLow = false;</p><p> }</p><p> }</p><p> </p><p> var HungerLow = false;</p><p> function LowHunger(Check)</p><p> {</p><p> if(HungerLow && Check)</p><p> return;</p><p></p><p></p><p> if(document.getElementById('MainProgBurger').style.width.slice(0,-1) < 15){</p><p> HungerLow = true;</p><p> $('#MainProgBurger')</p><p> .animate({backgroundColor:'#816400',borderColor:'#816400'}, 300)</p><p> .animate({backgroundColor:'#AD8600',borderColor:'#AD8600'}, 300, LowHunger);</p><p> }else{</p><p> HungerLow = false;</p><p> }</p><p> }</p><p></p><p> function UpdateStats()</p><p> {</p><p> $.getJSON('stats', function(stats) {</p><p> $('#MainProgHeart').animate({width: ((stats.curhealth/stats.health)*100)+'%'}, 200);</p><p> $('#MainProgBurger').animate({width: (100-stats.hunger)+'%'}, 200);</p><p> $('#MainProgGball').animate({width: (stats.energy)+'%'}, 200);</p><p> $('#habboCountUpdateTarget').text('{online} Online');</p><p> </p><p> $('#HealthValue').text(stats.curhealth);</p><p> $('#HealthMaxValue').text(stats.health);</p><p> $('#HungerValue').text(stats.hunger);</p><p> $('#EnergyValue').text(stats.energy);</p><p> </p><p> LowHealth(true);</p><p> LowEnergy(true);</p><p> LowHunger(true);</p><p></p><p> setTimeout(UpdateStats, 500);</p><p> });</p><p> }</p><p> UpdateStats();</p><p> </script></p><p></head></p><p></p><p><body id="client" class="wide"></p><p> <div id="client-topbar"></p><p> <div class="logo"></div></p><p></p><p> </p><p> </p><p> <div class="space1"></p><p></div></p><p><div class="heart"></p><p></div></p><p><div class="space1"></p><p></div></p><p><div class="MainBar"></p><p><span id="MainProgHeart" style="width:100%"></span></p><p><span id="StatLabelHealth"></p><p>Health: <span id="HealthValue">?</span>/<span id="HealthMaxValue">?</span></p><p></span></p><p></p><p></p><p></div></p><p></p><p><div class="space1"></p><p></div></p><p><div class="gball"></p><p></div></p><p><div class="space1"></p><p></div></p><p><div class="MainBar"></p><p><span id="MainProgGball" style="width:100%"></span></p><p><span id="StatLabelEnergy"></p><p>Energy: <span id="EnergyValue">?</span>/100</span></p><p></span></p><p></div></p><p></p><p><div class="space1"></p><p></div></p><p><div class="burger"></p><p></div></p><p><div class="space1"></p><p></div></p><p><div class="MainBar"></p><p><span id="MainProgBurger" style="width:100%"></span></p><p><span id="StatLabelHunger"></p><p>Hunger: <span id="HungerValue">?</span>/100</span></p><p></span></p><p></div></p><p></p><p><div class="space1"></div><div class="space1"></div><div class="space1"></div><div class="space1"></div></p><p><div class="space1"></div><div class="space1"></div></p><p></p><p></p><p> <div class="habbocount"></p><p><div id="habboCountUpdateTarget"></p><p>Loading...</p><p></div></p><p></div></p><p></p><p><div class="space1"></div><div class="space1"></div><div class="space1"></div><div class="space1"></div></p><p><div class="space1"></div></p><p></p><p> <div class="exit"></p><p><a href="{url}/logout" onclick="self.close();"></p><p><img src="{url}/web-gallery/v2/images/popup/exit.png"/></p><p></a></p><p></div></p><p> </p><p> </p><p> </p><p> </div></p><p></p><p> <div id="clientembed-container"></p><p> <center></p><p></p><p> <embed src="<?php if ($_SESSION['user']['rank'] >= 6) { ?>{habbo_dcr_admin}<?php } else { ?>{habbo_dcr}<?php } ?>" bgColor="000000" width="960" height="540" swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='HabboRP' swContextMenu='true'" swStretchStyle="stage" swText="" type="application/x-director" pluginspage="Adobe Shockwave Download Center"</p><p> sw11="connection.info.host=ICHANGEDTHISTOIP;connection.mus.host=ICHANGEDTHISTOIP"</p><p> sw2="connection.info.port=3132;connection.mus.port=30001"</p><p> sw3="client.reload.url=http://ICHANGEDTHISTOIP/index.php?url=disconnected;client.fatal.error.url=http://ICHANGEDTHISTOIP/index.php?url=disconnected"</p><p> sw1="site.url=http://ICHANGEDTHISTOIP;url.prefix=http://ICHANGEDTHISTOIP"</p><p> sw5="client.connection.failed.url=http://ICHANGEDTHISTOIP/disconnected;external.variables.txt=http://ICHANGEDTHISTOIP/misc/DCRS/gamedata/external_vars.php;external.texts.txt=http://ICHANGEDTHISTOIP/misc/DCRS/gamedata/external_texts.txt"</p><p> sw6="use.sso.ticket=1;sso.ticket={sso};"</p><p> sw8="client.allow.cross.domain=1;client.notify.cross.domain=0" /><br><br></p><p> </center></p><p></p><p></body></p><p></html></p><p>[/PHP]</p><p><img src="http://img716.imageshack.us/img716/8721/agd2.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="HonkyWam, post: 243336, member: 9988"] Well I'm using HabboRP's DCRS, Emulator, DB and CMS but the client seems to be having some problems , it shows up when I load up the client saying "This shockwave has playback problems". I changed the variables and changed the things in the client.php I don't know whats wrong. Here's my client.php just in case you guys need to check it and the screen shot! [PHP]<?php if (mysql_num_rows(mysql_query("SELECT * FROM `users_stats` WHERE `id` = '".$_SESSION['user']['id']."'")) == 0) { header("Location: step2"); exit; } else if (mysql_num_rows(mysql_query("SELECT * FROM `users_flagged` WHERE `username` = '".$_SESSION['user']['name']."'")) == 1) { header("Location: flagged"); exit; } define('IN_CLIENT', 1); global $CONFIG; require_once 'misc/thehabbos_api/force.client.php'; ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>{hotelName} ~ Client</title> <script src="{url}/app/tpl/skins/Habbo/template/js/habboclient.js?<?php echo $Rand; ?>" type="text/javascript"></script> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/template/styles/common.css?<?php echo $Rand; ?>" type="text/css" /> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/template/styles/habboclient.css?<?php echo $Rand; ?>" type="text/css" /> <script src="{url}/app/tpl/skins/Habbo/web-gallery/js/jquery-1.6.2.min.js"></script> <script src="{url}/app/tpl/skins/Habbo/web-gallery/js/jquery-ui-1.8.16.custom.min.js"></script> <script type="text/javascript"> var HealthLow = false; function LowHealth(Check) { if(HealthLow && Check) return; if(document.getElementById('MainProgHeart').style.width.slice(0,-1) < 15){ HealthLow = true; $('#MainProgHeart') .animate({backgroundColor:'#AC2525',borderColor:'#AC2525'}, 300) .animate({backgroundColor:'#E63232',borderColor:'#E63232'}, 300, LowHealth); }else{ HealthLow = false; } } var EnergyLow = false; function LowEnergy(Check) { if(EnergyLow && Check) return; if(document.getElementById('MainProgGball').style.width.slice(0,-1) < 15){ EnergyLow = true; $('#MainProgGball') .animate({backgroundColor:'#719f12',borderColor:'#719f12'}, 300) .animate({backgroundColor:'#97D418',borderColor:'#97D418'}, 300, LowEnergy); }else{ EnergyLow = false; } } var HungerLow = false; function LowHunger(Check) { if(HungerLow && Check) return; if(document.getElementById('MainProgBurger').style.width.slice(0,-1) < 15){ HungerLow = true; $('#MainProgBurger') .animate({backgroundColor:'#816400',borderColor:'#816400'}, 300) .animate({backgroundColor:'#AD8600',borderColor:'#AD8600'}, 300, LowHunger); }else{ HungerLow = false; } } function UpdateStats() { $.getJSON('stats', function(stats) { $('#MainProgHeart').animate({width: ((stats.curhealth/stats.health)*100)+'%'}, 200); $('#MainProgBurger').animate({width: (100-stats.hunger)+'%'}, 200); $('#MainProgGball').animate({width: (stats.energy)+'%'}, 200); $('#habboCountUpdateTarget').text('{online} Online'); $('#HealthValue').text(stats.curhealth); $('#HealthMaxValue').text(stats.health); $('#HungerValue').text(stats.hunger); $('#EnergyValue').text(stats.energy); LowHealth(true); LowEnergy(true); LowHunger(true); setTimeout(UpdateStats, 500); }); } UpdateStats(); </script> </head> <body id="client" class="wide"> <div id="client-topbar"> <div class="logo"></div> <div class="space1"> </div> <div class="heart"> </div> <div class="space1"> </div> <div class="MainBar"> <span id="MainProgHeart" style="width:100%"></span> <span id="StatLabelHealth"> Health: <span id="HealthValue">?</span>/<span id="HealthMaxValue">?</span> </span> </div> <div class="space1"> </div> <div class="gball"> </div> <div class="space1"> </div> <div class="MainBar"> <span id="MainProgGball" style="width:100%"></span> <span id="StatLabelEnergy"> Energy: <span id="EnergyValue">?</span>/100</span> </span> </div> <div class="space1"> </div> <div class="burger"> </div> <div class="space1"> </div> <div class="MainBar"> <span id="MainProgBurger" style="width:100%"></span> <span id="StatLabelHunger"> Hunger: <span id="HungerValue">?</span>/100</span> </span> </div> <div class="space1"></div><div class="space1"></div><div class="space1"></div><div class="space1"></div> <div class="space1"></div><div class="space1"></div> <div class="habbocount"> <div id="habboCountUpdateTarget"> Loading... </div> </div> <div class="space1"></div><div class="space1"></div><div class="space1"></div><div class="space1"></div> <div class="space1"></div> <div class="exit"> <a href="{url}/logout" onclick="self.close();"> <img src="{url}/web-gallery/v2/images/popup/exit.png"/> </a> </div> </div> <div id="clientembed-container"> <center> <embed src="<?php if ($_SESSION['user']['rank'] >= 6) { ?>{habbo_dcr_admin}<?php } else { ?>{habbo_dcr}<?php } ?>" bgColor="000000" width="960" height="540" swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='HabboRP' swContextMenu='true'" swStretchStyle="stage" swText="" type="application/x-director" pluginspage="Adobe Shockwave Download Center" sw11="connection.info.host=ICHANGEDTHISTOIP;connection.mus.host=ICHANGEDTHISTOIP" sw2="connection.info.port=3132;connection.mus.port=30001" sw3="client.reload.url=http://ICHANGEDTHISTOIP/index.php?url=disconnected;client.fatal.error.url=http://ICHANGEDTHISTOIP/index.php?url=disconnected" sw1="site.url=http://ICHANGEDTHISTOIP;url.prefix=http://ICHANGEDTHISTOIP" sw5="client.connection.failed.url=http://ICHANGEDTHISTOIP/disconnected;external.variables.txt=http://ICHANGEDTHISTOIP/misc/DCRS/gamedata/external_vars.php;external.texts.txt=http://ICHANGEDTHISTOIP/misc/DCRS/gamedata/external_texts.txt" sw6="use.sso.ticket=1;sso.ticket={sso};" sw8="client.allow.cross.domain=1;client.notify.cross.domain=0" /><br><br> </center> </body> </html> [/PHP] [IMG]http://img716.imageshack.us/img716/8721/agd2.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
v26 RP Client Problem
Top