v26 RP Client Problem

HonkyWam

Tickle me Elmo!
Dec 8, 2011
289
4
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>
agd2.png
 

HonkyWam

Tickle me Elmo!
Dec 8, 2011
289
4
I don't think so, unless the persons computer is running on a older un-updated version...

Correct me if I'm wrong, but I don't think v26 will work. I'd try updating to r63.
That's the thing though r63 is hard to find stuff like databases and stuff that work with the cms I can't find that I tried If you can provide me with some links or maybe even help that would be good man, thanks.
 

Stevee

Posting Freak
Mar 29, 2011
580
35
That's the thing though r63 is hard to find stuff like databases and stuff that work with the cms I can't find that I tried If you can provide me with some links or maybe even help that would be good man, thanks.

I'll see what I can do for you, most r63 rp's arent too good.. But, I'll see what I can provide you.
 

Users who are viewing this thread

Top