[Rev + Shock + PlusEMU] White Client!

Status
Not open for further replies.

Miicro

New Member
Feb 20, 2019
5
0
Dear all,

Me and a couple of friends got together and decided to make a retro for our group of friends and to play with PHP and CSS a little. However.. we can't get our client to load. We thought it had something to do with the SWF's but we can't find where we linked it wrongly. We have no clue. See the screenshots provided.

Also, it doubles our url for some reason;


We also provided screenshots from our client.php and config.php :)

Config:


Client:


Thank you for your time in advance.
 

Joe

Well-Known Member
Jun 10, 2012
4,172
1,955
client.php looks like an old R63A client, there's no overrides linked?
Post automatically merged:

In the URL in your config change it to " " does that work?
 

Miicro

New Member
Feb 20, 2019
5
0
client.php looks like an old R63A client, there's no overrides linked?
Post automatically merged:

In the URL in your config change it to " " does that work?

That could very well be the case now that you mention it..

We fixed double URL by doing that, so stupid from us. It's the details man, thank you!

Now for the white client thing, what do you suggest regarding the old client?
 

SentimentalX

Society is deteriorating.
Feb 9, 2019
35
51
Seems like it can't find your Habbo.swf if the client is white. I had a similar problem previously. From your linking it seems like it's searching for it on the wwwroot folder. Make a copy of Habbo.swf and move it over to the main directory and see if that works.
 

Miicro

New Member
Feb 20, 2019
5
0
Seems like it can't find your Habbo.swf if the client is white. I had a similar problem previously. From your linking it seems like it's searching for it on the wwwroot folder. Make a copy of Habbo.swf and move it over to the main directory and see if that works.

Thank you for your response. Main directory meaning? Could be multiple so we just want to make sure.
 

SentimentalX

Society is deteriorating.
Feb 9, 2019
35
51
If your using XAMPP it would be your htdocs folder and if your using IIS it would be the wwwroot folder. Essentially where you pasted in the CMS
 

Miicro

New Member
Feb 20, 2019
5
0
I can almost guarantee it's your client.php post your client.php code and I'll change it for you
Here you go.

Code:
<?php
    if(!isset($_SESSION['user']['username'])){
        header('Location: index');
        exit();
    }
?>
<meta name="description" content="Pepper Hotel is een virtuele wereld waar jij vrienden kunt maken en mooie kamers kunt bouwen, met onze volle shop kan jij de mooiste kamer maken van heel Pepper Hotel. Pepper Hotel maak vrienden en beleef het plezier!" />
<meta name="keywords" content="Pepper, Pepperhotel, Pepper hotel, pepper, pepper hotel, pepperhotel, retro, staff, credits, virtueel, wereld, gratis, retronet, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer, vrienden, online spel, spel, meubels, hotel, vrienden, bouwen" />
<script language="JavaScript">
    document.onkeypress = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
           //alert('No F-12');
            return false;
        }
    }
    document.onmousedown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
    document.onkeydown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
</script>
<?php

$ua = $_SERVER["HTTP_USER_AGENT"];

$msie = strpos($ua, 'MSIE') ? true : false;
// All Internet Explorer

// Wijzig hier alle links, alles word automatisch decoded.
    $variables = $_CONFIG['hotel']['external_vars'];
    $base = $_CONFIG['hotel']['swf_folder'];
    $texts = $_CONFIG['hotel']['external_texts'];
    $product = $_CONFIG['hotel']['product_data'];
    $furni = $_CONFIG['hotel']['furni_data'];
    $connection = $_CONFIG['hotel']['server_ip'];

function clean($txt){ return stripslashes(trim($txt)); }
function X($txt){ return mysql_real_escape_string(clean($txt)); }

if(isset($_SERVER['HTTP_CF_CONNECTING_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CF_CONNECTING_IP']);

if(isset($_SERVER['HTTP_CLIENT_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CLIENT_IP']);

if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_X_FORWARDED_FOR']);
    
    $query = mysql_query("UPDATE users SET home_room = '37' ");

?>
  <script type="text/javascript">

  <!--

  var keyStr = "ABCDEFGHIJKLMNOP" +
               "QRSTUVWXYZabcdef" +
               "ghijklmnopqrstuv" +
               "wxyz0123456789+/" +
               "=";

 

  function Prive(input) {
     var output = "";
     var chr1, chr2, chr3 = "";
     var enc1, enc2, enc3, enc4 = "";
     var i = 0;

     input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
 
     do {
        enc1 = keyStr.indexOf(input.charAt(i++));
        enc2 = keyStr.indexOf(input.charAt(i++));
        enc3 = keyStr.indexOf(input.charAt(i++));
        enc4 = keyStr.indexOf(input.charAt(i++));
        chr1 = (enc1 << 2) | (enc2 >> 4);
        chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
        chr3 = ((enc3 & 3) << 6) | enc4;

        output = output + String.fromCharCode(chr1);

        if (enc3 != 64) {
           output = output + String.fromCharCode(chr2);
        }

        if (enc4 != 64) {
           output = output + String.fromCharCode(chr3);
        }

        chr1 = chr2 = chr3 = "";
        enc1 = enc2 = enc3 = enc4 = "";

     } while (i < input.length);

     return unescape(output);
  }

 

  //--></script>
<!--<script type="text/javascript">
function toggle(element) {
    document.getElementById(element).style.display = (document.getElementById(element).style.display == "none") ? "" : "none";
}
</script>
<div id="secret" style="display: yes;">
<button><a href="javascript:toggle('secret')" style="text-decoration: none">Sluit mededeling</a></button>
<marquee>Het is weer mogelijk om jouw mooiste outfits (kleding) op te slaan!</marquee></div>-->
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "{url}/web-gallery";
        var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "{url}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>
    <title>{hotelName} - Client</title>

<script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script>
 
<link rel="stylesheet" href="{url}/web-gallery/static/styles/common.css" type="text/css" />
 
<link rel="stylesheet" href="{url}/web-gallery/static/styles/habboflashclient.css" type="text/css" />
 
 
<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
 
<link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" />
<script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : Prive("<?php echo base64_encode($connection); ?>"),
            //"connection.info.port" : "2642",
            "connection.info.port" : "30000",
            "site.url" : "{url}/",
            "url.prefix" : "{url}/",
            "client.reload.url" : "{url}/client",
            "client.fatal.error.url" : "{url}/disconnected",
            "client.connection.failed.url" : "{url}/disconnected",
            "external.variables.txt" : Prive("<?php echo base64_encode($variables); ?>"),
            "external.texts.txt" : Prive("<?php echo base64_encode($texts); ?>"),
            "productdata.load.url" : Prive("<?php echo base64_encode($product); ?>"),
            "furnidata.load.url" : Prive("<?php echo base64_encode($furni); ?>"),
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Momentje! {hotelName} is aan het laden!",
            "flash.client.url" : Prive("<?php echo base64_encode($base); ?>"),
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"
    };
    var params = {
        "base" : "{swf_folder}/",
        "allowScriptAccess" : "always",
        "menu" : "false"               
    };
    
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
    
    var clientUrl = "{swf_folder}/habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/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>



<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="{url}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<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">Update of installeer Adobe Flash Player op je computer</h2>
    <div class="box-content">
            <p>Je kan Adobe Flash Player hier downloaden: <a href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>. Meer instructies kunnen hier worden gevonden: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Meer informatie</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="{url}/web-gallery/v2/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="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
        
</div>
    <div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
    <script language="JavaScript" type="text/javascript">
        setTimeout(function() {
            HabboCounter.init(600);
        }, 20000);
    </script>
    </div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
           HabboClient.startPingListener();
    </script>

<script type="text/javascript">
    HabboView.run();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15697942-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php include('checktheban.php'); ?>
 

Joe

Well-Known Member
Jun 10, 2012
4,172
1,955
Here you go.

Code:
<?php
    if(!isset($_SESSION['user']['username'])){
        header('Location: index');
        exit();
    }
?>
<meta name="description" content="Pepper Hotel is een virtuele wereld waar jij vrienden kunt maken en mooie kamers kunt bouwen, met onze volle shop kan jij de mooiste kamer maken van heel Pepper Hotel. Pepper Hotel maak vrienden en beleef het plezier!" />
<meta name="keywords" content="Pepper, Pepperhotel, Pepper hotel, pepper, pepper hotel, pepperhotel, retro, staff, credits, virtueel, wereld, gratis, retronet, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer, vrienden, online spel, spel, meubels, hotel, vrienden, bouwen" />
<script language="JavaScript">
    document.onkeypress = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
           //alert('No F-12');
            return false;
        }
    }
    document.onmousedown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
    document.onkeydown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
</script>
<?php

$ua = $_SERVER["HTTP_USER_AGENT"];

$msie = strpos($ua, 'MSIE') ? true : false;
// All Internet Explorer

// Wijzig hier alle links, alles word automatisch decoded.
    $variables = $_CONFIG['hotel']['external_vars'];
    $base = $_CONFIG['hotel']['swf_folder'];
    $texts = $_CONFIG['hotel']['external_texts'];
    $product = $_CONFIG['hotel']['product_data'];
    $furni = $_CONFIG['hotel']['furni_data'];
    $connection = $_CONFIG['hotel']['server_ip'];

function clean($txt){ return stripslashes(trim($txt)); }
function X($txt){ return mysql_real_escape_string(clean($txt)); }

if(isset($_SERVER['HTTP_CF_CONNECTING_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CF_CONNECTING_IP']);

if(isset($_SERVER['HTTP_CLIENT_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CLIENT_IP']);

if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_X_FORWARDED_FOR']);
   
    $query = mysql_query("UPDATE users SET home_room = '37' ");

?>
  <script type="text/javascript">

  <!--

  var keyStr = "ABCDEFGHIJKLMNOP" +
               "QRSTUVWXYZabcdef" +
               "ghijklmnopqrstuv" +
               "wxyz0123456789+/" +
               "=";



  function Prive(input) {
     var output = "";
     var chr1, chr2, chr3 = "";
     var enc1, enc2, enc3, enc4 = "";
     var i = 0;

     input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");

     do {
        enc1 = keyStr.indexOf(input.charAt(i++));
        enc2 = keyStr.indexOf(input.charAt(i++));
        enc3 = keyStr.indexOf(input.charAt(i++));
        enc4 = keyStr.indexOf(input.charAt(i++));
        chr1 = (enc1 << 2) | (enc2 >> 4);
        chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
        chr3 = ((enc3 & 3) << 6) | enc4;

        output = output + String.fromCharCode(chr1);

        if (enc3 != 64) {
           output = output + String.fromCharCode(chr2);
        }

        if (enc4 != 64) {
           output = output + String.fromCharCode(chr3);
        }

        chr1 = chr2 = chr3 = "";
        enc1 = enc2 = enc3 = enc4 = "";

     } while (i < input.length);

     return unescape(output);
  }



  //--></script>
<!--<script type="text/javascript">
function toggle(element) {
    document.getElementById(element).style.display = (document.getElementById(element).style.display == "none") ? "" : "none";
}
</script>
<div id="secret" style="display: yes;">
<button><a href="javascript:toggle('secret')" style="text-decoration: none">Sluit mededeling</a></button>
<marquee>Het is weer mogelijk om jouw mooiste outfits (kleding) op te slaan!</marquee></div>-->
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "{url}/web-gallery";
        var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "{url}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>
    <title>{hotelName} - Client</title>

<script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script>

<link rel="stylesheet" href="{url}/web-gallery/static/styles/common.css" type="text/css" />

<link rel="stylesheet" href="{url}/web-gallery/static/styles/habboflashclient.css" type="text/css" />


<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>

<link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" />
<script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
   
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : Prive("<?php echo base64_encode($connection); ?>"),
            //"connection.info.port" : "2642",
            "connection.info.port" : "30000",
            "site.url" : "{url}/",
            "url.prefix" : "{url}/",
            "client.reload.url" : "{url}/client",
            "client.fatal.error.url" : "{url}/disconnected",
            "client.connection.failed.url" : "{url}/disconnected",
            "external.variables.txt" : Prive("<?php echo base64_encode($variables); ?>"),
            "external.texts.txt" : Prive("<?php echo base64_encode($texts); ?>"),
            "productdata.load.url" : Prive("<?php echo base64_encode($product); ?>"),
            "furnidata.load.url" : Prive("<?php echo base64_encode($furni); ?>"),
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Momentje! {hotelName} is aan het laden!",
            "flash.client.url" : Prive("<?php echo base64_encode($base); ?>"),
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"
    };
    var params = {
        "base" : "{swf_folder}/",
        "allowScriptAccess" : "always",
        "menu" : "false"              
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
   
    var clientUrl = "{swf_folder}/habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/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>



<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="{url}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<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">Update of installeer Adobe Flash Player op je computer</h2>
    <div class="box-content">
            <p>Je kan Adobe Flash Player hier downloaden: <a href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>. Meer instructies kunnen hier worden gevonden: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Meer informatie</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="{url}/web-gallery/v2/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="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
       
</div>
    <div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
    <script language="JavaScript" type="text/javascript">
        setTimeout(function() {
            HabboCounter.init(600);
        }, 20000);
    </script>
    </div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
           HabboClient.startPingListener();
    </script>

<script type="text/javascript">
    HabboView.run();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15697942-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php include('checktheban.php'); ?>
What CMS is this? (I’m on my phone can’t help until the morning)
 

Hypothesis

Programmer
Jan 6, 2019
524
361
Here you go.

Code:
<?php
    if(!isset($_SESSION['user']['username'])){
        header('Location: index');
        exit();
    }
?>
<meta name="description" content="Pepper Hotel is een virtuele wereld waar jij vrienden kunt maken en mooie kamers kunt bouwen, met onze volle shop kan jij de mooiste kamer maken van heel Pepper Hotel. Pepper Hotel maak vrienden en beleef het plezier!" />
<meta name="keywords" content="Pepper, Pepperhotel, Pepper hotel, pepper, pepper hotel, pepperhotel, retro, staff, credits, virtueel, wereld, gratis, retronet, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer, vrienden, online spel, spel, meubels, hotel, vrienden, bouwen" />
<script language="JavaScript">
    document.onkeypress = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
           //alert('No F-12');
            return false;
        }
    }
    document.onmousedown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
    document.onkeydown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
</script>
<?php

$ua = $_SERVER["HTTP_USER_AGENT"];

$msie = strpos($ua, 'MSIE') ? true : false;
// All Internet Explorer

// Wijzig hier alle links, alles word automatisch decoded.
    $variables = $_CONFIG['hotel']['external_vars'];
    $base = $_CONFIG['hotel']['swf_folder'];
    $texts = $_CONFIG['hotel']['external_texts'];
    $product = $_CONFIG['hotel']['product_data'];
    $furni = $_CONFIG['hotel']['furni_data'];
    $connection = $_CONFIG['hotel']['server_ip'];

function clean($txt){ return stripslashes(trim($txt)); }
function X($txt){ return mysql_real_escape_string(clean($txt)); }

if(isset($_SERVER['HTTP_CF_CONNECTING_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CF_CONNECTING_IP']);

if(isset($_SERVER['HTTP_CLIENT_IP']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_CLIENT_IP']);

if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
    $_SERVER['REMOTE_ADDR'] = X($_SERVER['HTTP_X_FORWARDED_FOR']);
  
    $query = mysql_query("UPDATE users SET home_room = '37' ");

?>
  <script type="text/javascript">

  <!--

  var keyStr = "ABCDEFGHIJKLMNOP" +
               "QRSTUVWXYZabcdef" +
               "ghijklmnopqrstuv" +
               "wxyz0123456789+/" +
               "=";



  function Prive(input) {
     var output = "";
     var chr1, chr2, chr3 = "";
     var enc1, enc2, enc3, enc4 = "";
     var i = 0;

     input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");

     do {
        enc1 = keyStr.indexOf(input.charAt(i++));
        enc2 = keyStr.indexOf(input.charAt(i++));
        enc3 = keyStr.indexOf(input.charAt(i++));
        enc4 = keyStr.indexOf(input.charAt(i++));
        chr1 = (enc1 << 2) | (enc2 >> 4);
        chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
        chr3 = ((enc3 & 3) << 6) | enc4;

        output = output + String.fromCharCode(chr1);

        if (enc3 != 64) {
           output = output + String.fromCharCode(chr2);
        }

        if (enc4 != 64) {
           output = output + String.fromCharCode(chr3);
        }

        chr1 = chr2 = chr3 = "";
        enc1 = enc2 = enc3 = enc4 = "";

     } while (i < input.length);

     return unescape(output);
  }



  //--></script>
<!--<script type="text/javascript">
function toggle(element) {
    document.getElementById(element).style.display = (document.getElementById(element).style.display == "none") ? "" : "none";
}
</script>
<div id="secret" style="display: yes;">
<button><a href="javascript:toggle('secret')" style="text-decoration: none">Sluit mededeling</a></button>
<marquee>Het is weer mogelijk om jouw mooiste outfits (kleding) op te slaan!</marquee></div>-->
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "{url}/web-gallery";
        var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "{url}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>
    <title>{hotelName} - Client</title>

<script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script>

<link rel="stylesheet" href="{url}/web-gallery/static/styles/common.css" type="text/css" />

<link rel="stylesheet" href="{url}/web-gallery/static/styles/habboflashclient.css" type="text/css" />


<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>

<link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" />
<script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
  
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : Prive("<?php echo base64_encode($connection); ?>"),
            //"connection.info.port" : "2642",
            "connection.info.port" : "30000",
            "site.url" : "{url}/",
            "url.prefix" : "{url}/",
            "client.reload.url" : "{url}/client",
            "client.fatal.error.url" : "{url}/disconnected",
            "client.connection.failed.url" : "{url}/disconnected",
            "external.variables.txt" : Prive("<?php echo base64_encode($variables); ?>"),
            "external.texts.txt" : Prive("<?php echo base64_encode($texts); ?>"),
            "productdata.load.url" : Prive("<?php echo base64_encode($product); ?>"),
            "furnidata.load.url" : Prive("<?php echo base64_encode($furni); ?>"),
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Momentje! {hotelName} is aan het laden!",
            "flash.client.url" : Prive("<?php echo base64_encode($base); ?>"),
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"
    };
    var params = {
        "base" : "{swf_folder}/",
        "allowScriptAccess" : "always",
        "menu" : "false"             
    };
  
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
  
    var clientUrl = "{swf_folder}/habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/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>



<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="{url}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<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">Update of installeer Adobe Flash Player op je computer</h2>
    <div class="box-content">
            <p>Je kan Adobe Flash Player hier downloaden: <a href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>. Meer instructies kunnen hier worden gevonden: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Meer informatie</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="{url}/web-gallery/v2/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="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
      
</div>
    <div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
    <script language="JavaScript" type="text/javascript">
        setTimeout(function() {
            HabboCounter.init(600);
        }, 20000);
    </script>
    </div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
           HabboClient.startPingListener();
    </script>

<script type="text/javascript">
    HabboView.run();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15697942-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php include('checktheban.php'); ?>
I have the same problem with this, my client keeps going white screen @Miicro & @JMG
White client usually means that the Habbo.swf you're using in client.php does not exist in your production folder. Try visiting, (yourswfroot)/gordon/(production)/Habbo.swf, and if that returns 404, then you don't have a swf in there.
 

Terific

New Member
Mar 8, 2019
5
0
White client usually means that the Habbo.swf you're using in client.php does not exist in your production folder. Try visiting, (yourswfroot)/gordon/(production)/Habbo.swf, and if that returns 404, then you don't have a swf in there.
I have the Habbo.swf file in (myswfroot) - (gordon) - (production/ habbo.swf) - and are still getting this white client? Im using the BrainCMS.

FIX - I found out that the 'swfFolder' had a different production file. I copied the file name of the swf i used and copy-pasted it to where it says ¨PRODUCTION-xxxxxxxx¨
You must be registered for see images attach
 
Last edited:

Indica

Member
Nov 28, 2014
53
4
I have the Habbo.swf file in (myswfroot) - (gordon) - (production/ habbo.swf) - and are still getting this white client? Im using the BrainCMS.

FIX - I found out that the 'swfFolder' had a different production file. I copied the file name of the swf i used and copy-pasted it to where it says ¨PRODUCTION-xxxxxxxx¨
You must be registered for see images attach
Is your swf folder called swf or game? you might have to change the game to swf if im not mistaken if I am my apologies.
 
Status
Not open for further replies.

Users who are viewing this thread

Top