RevCMS Avatar and Client error.

patryk2001m

New Member
Jan 8, 2012
27
2
To Begin with, I Have lately set up a RevCMS Hotel ( )
When you login to the /Me page your avatar is no visible... you can see the round shade on the ground but not the avatar him self! Second problem is my client loads, goes black and eventually I Get disconnected to this:
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\app\tpl\class.html.php on line 17
I Followed Kyle's/Crazy's r63b Guide and used his swfs so i know they work.

My Config file:


PHP:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.
 
#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
 
/*
*
*    MySQL management
*
*/
 
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
 
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
 
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
 
$_CONFIG['mysql']['password'] = 'n*****1'; //MySQL password
 
$_CONFIG['mysql']['database'] = 'r63b'; //MySQL database
 
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
 
/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/
 
$_CONFIG['hotel']['server_ip'] = '82.**.***.195'; //IP of VPS/DEDI/etc
 
$_CONFIG['hotel']['url'] = 'http://dubhotel.tk'; //Does not end with a "/"
 
$_CONFIG['hotel']['name'] = 'Dub Hotel'; // Hotel's name
 
$_CONFIG['hotel']['desc'] = 'Best on the Net!'; //Hotel's description
 
$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin
 
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
 
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
 
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
 
$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with.
 
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.
 
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build
 
$_CONFIG['hotel']['external_vars'] = 'http://localhost/swfs/external_variables.txt'; //URL to your external vars
 
$_CONFIG['hotel']['external_texts'] = 'http://localhost/swfs/external_flash_texts.txt'; //URL to your external texts
 
$_CONFIG['hotel']['product_data'] = 'http://localhost/swfs/productdata.txt'; //URL to your productdata
 
$_CONFIG['hotel']['furni_data'] = 'http://localhost/swfs/furnidata.txt'; //URL to your furnidata
 
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swfs'; //URL to your SWF folder(does not end with a '/')
 
/*
*
*    Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
 
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
 
$_CONFIG['template']['style'] = 'Habbo';
 
/*
*
*    Other topsites.. thing
*
*/
 
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
 
/*
*
*    Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/
 
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
 
 
/*
*
*    Social Networking stuff
*
*/
 
$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account
 
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
 
?>



My Config File for my Emu (BCSTORM)

Code:
## uberEmulator System Configuration File
## Must be edited for the server to work
 
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=n******1
db.name=r63b
 
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=50
 
## Game TCP/IP Configuration
game.tcp.bindip=82.**.***.192
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False
 
## MUS TCP/IP Configuration
mus.tcp.bindip=82.**.***.192
mus.tcp.port=30001
mus.tcp.allowedaddr=82.**.***.192;127.0.0.1
 
## Stream Message; Si lo dejas sin texto no aparecerá
hotel.stream.message=Welcome on Habtime
 
## License
internal.license=
 
## Hotel Link; To StreamImages
guilds.link=http://localhost/habbo-imaging/badge/
stream.link=http://localhost/habbo-imaging/head?look=
 
## Client configuration
client.ping.enabled=1
client.ping.interval=200000
client.maxrequests=500
client.maxpossiblefriends=700
client.maxitemsininventary=3400
 
#IRC
irc.enabled=false
irc.server=127.0.0.1
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=#
 
#Groep instellingen
group.enabled=true
auth.ssodisabled=false
 
#pixel instellingen
game.pixel.enabled=true
game.pixel.amount=100
game.pixel.time=600
 
#credits instellingen
game.credits.enabled=true
game.credits.amount=1000
game.credits.time=600
 
game.login.credits.receiveamount=100
game.login.pixel.receiveamount=100
 
#Threading Main Loops.
SeparatedTasksInMainLoops.enabled=true
 
 
SeparatedTasksInGameClientManager.enabled=true
 
# Ban flood protection
spambans.enabled=false
spambans.limit=5


Help would be greatly aprecciated !



 

Leader

github.com/habbo-hotel
Aug 24, 2012
1,031
307
Edit Your Variables.
----------------------
Me Page Look For habbo.com and replace with habbo.co.uk or another hotel
-------------
if Variables already setup edit client.php change your port to 300
 

Leader

github.com/habbo-hotel
Aug 24, 2012
1,031
307
facepalm.jpgX10000
Go to your theme and edit every page with the erros
/app/tpl/skins/THEME/PAGE.php
For Client go to
a/pp/tpl/skins/THEME/CLIENT.php
Find game.port=1212 or 30000 and change to "300"
 

Noman

lol
Jul 17, 2011
225
166
Edit Your Variables.
----------------------
Me Page Look For habbo.com and replace with habbo.co.uk or another hotel
-------------
if Variables already setup edit client.php change your port to 300

Replace with Habbo.nl, It's better. And his emu configuration has port 30000, therefore it'll need to be changed to 30000 not 300 unless he changes game tcp port on his emulator configuration to 300.
 

patryk2001m

New Member
Jan 8, 2012
27
2
So what exactly do i change here?
Code:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Home</title>
       
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script>
       
        <script type="text/javascript">
            document.habboLoggedIn = true;
            var habboName = "{username}";
            var habboId = {userid};
            var habboReqPath = "";
            var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
            var habboImagerUrl = "http://www.habbo.co.uk/habbo-imaging/";
            var habboPartner = "";
            var habboDefaultClientPopupUrl = "{url}/client";
            window.name = "habboMain";
            if (typeof HabboClient != "undefined") {
                HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";
                HabboClient.maximizeWindow = true;
            }
        </script>
       
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/personal.css" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/habboclub.js"></script>
       
        <!--[if IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
        <![endif]-->
        <!--[if lt IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
        <![endif]-->
        <!--[if lt IE 7]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
            <script type="text/javascript">
                try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
            </script>
            <style type="text/css">
                body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
            </style>
        <![endif]-->
    </head>
   
    <body id="home">
   
        <div id="overlay"></div>
        <div id="header-container">
            <div id="header" class="clearfix">
                <h1><a href="{url}/"></a></h1>
                <div id="subnavi">
                    <div id="subnavi-user">
                        <div style="margin-top:7px"><li class="small" id="feed-lastlogin">Your last sign in: {lastSignedIn}</li></div>
                    </div>
                    <div id="subnavi-search">
                        <div id="subnavi-search-upper">
                            <ul id="subnavi-search-links">
                                <li><a href="{url}/logout" style="color:#000">Sign Out</a></li>
                            </ul>
                        </div>
                    </div>
                    <div id="to-hotel">
                        <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName} Hotel</b><i></i></a>
                    </div>
                </div>
                <ul id="navi">
                    <li class="metab selected"><strong>{username}</strong><span></span></li>
                    <li><a href="{url}/community">Community</a><span></span></li>
                </ul>
                <div id="habbos-online"><div class="rounded"><span>{online} members online</span></div></div>
            </div>
        </div>
        <div id="content-container">
            <div id="navi2-container" class="pngbg">
                <div id="navi2" class="pngbg clearfix">
                    <ul>
                        <li class="selected">Home</li>
                        <li class=" last"><a href="{url}/account">Account Settings</a></li>
                    </ul>
                </div>
            </div>
            <div id="container">
                <div id="content" style="position: relative" class="clearfix">
                    <div id="column1" class="column">
                        <div class="habblet-container ">       
                            <div id="new-personal-info" style="background-image:url({url}/app/tpl/skins/Habbo/images/personal_info/hotel_views/htlview_us.png)">
                                <div class="enter-hotel-btn">
                                    <div class="open enter-btn">
                                     
                                     
                                    </div>
                                </div>
                                <div id="habbo-plate"><img src="http://www.habbo.com/habbo-imaging/avatarimage?figure={figure}.gif" alt="{username}"></div>
                                <div id="habbo-info">
                                    <div id="motto-container" class="clearfix">           
                                        <strong>{username}:</strong>
                                        <div>
                                            <span title="What's on your mind today?">{motto}</span>
                                        </div>
                                    </div>
                                    <div id="motto-links" style="display: none"><a href="#" id="motto-cancel">Cancel</a></div>
                                </div>
                                <ul id="link-bar" class="clearfix">       
                                    <li class="credits"><a href="{url}/credits">{coins}</a> Credits</li>
                                    <li class="activitypoints"><a href="{url}/pixels">{activitypoints}</a> Pixels</li>
                                   
                                </ul>
                                <div id="habbo-feed">
                                    <ul id="feed-items">
                                        <li class="small" id="feed-lastlogin">Last signed in: {lastSignedIn}</li>
                                    </ul>
                                </div>
                                <p class="last"></p>
                            </div>
                            <div class="habblet-container ">
 
<div class="cbb clearfix settings ">
 
<h2 class="title"><font size=2>{hotelname} FM</h2> </font>
 
<div id="notfound-content" class="box-content"> <center>
          <embed src='http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283896&play_status=1' quality='high' bgcolor='#ffffff' width='399' height='105' name='popupPlayer_V19' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' ></embed>
</div></div></div>
                            <script type="text/javascript">
                                HabboView.add(function() {
                                    L10N.put("personal_info.motto_editor.spamming", "Don\'t spam me, bro!");
                                    PersonalInfo.init("");
                                });
                            </script>
                        </div>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    </div>
                    <div id="column2" class="column">
                        <div class="habblet-container "></div>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                        <div class="habblet-container news-promo">       
                            <div class="cbb clearfix notitle ">
                                <div id="newspromo">
                                    <div id="topstories">
                                        <div class="topstory" style="background-image: url({url}/swfs/c_images/Top_Story_Images/{newsIMG-1})">
                                            <h4>Latest news</h4>
                                            <h3><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1}</a></h3>
                                            <p class="summary">
                                                {newsCaption-1}
                                            </p>
                                            <p>
                                                <a href="{url}/index.php?url=news&id={newsID-1}">Read more &raquo;</a>
                                            </p>
                                        </div>
                                        <div class="topstory" style="background-image: url({url}/swfs/c_images/Top_Story_Images/{newsIMG-2}); display: none">
                                            <h4>Latest news</h4>
                                            <h3><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2}</a></h3>
                                            <p class="summary">
                                                {newsCaption-2}
                                            </p>
                                            <p>
                                                <a href="{url}/index.php?url=news&id={newsID-2}">Read more &raquo;</a>
                                            </p>
                                        </div>
                                        <div class="topstory" style="background-image: url({url}/swfs/c_images/Top_Story_Images/{newsIMG-3}); display: none">
                                            <h4>Latest news</h4>
                                            <h3><a href="{url}/index.php?url=news&id={newsID-3}">{newsTitle-3}</a></h3>
                                            <p class="summary">
                                                {newsCaption-3}
                                            </p>
                                            <p>
                                                <a href="{url}/index.php?url=news&id={newsID-3}">Read more &raquo;</a>
                                            </p>
                                        </div>
                                        <div class="topstory" style="background-image: url({url}/swfs/c_images/Top_Story_Images/{newsIMG-4}); display: none">
                                            <h4>Latest news</h4>
                                            <h3><a href="{url}/index.php?url=news&id={newsID-4}">{newsTitle-4}</a></h3>
                                            <p class="summary">
                                                {newsCaption-4}
                                            </p>
                                            <p>
                                                <a href="{url}/index.php?url=news&id={newsID-4}">Read more &raquo;</a>
                                            </p>
                                        </div>
                                        <div class="topstory" style="background-image: url({url}/swfs/c_images/Top_Story_Images/{newsIMG-5}); display: none">
                                            <h4>Latest news</h4>
                                            <h3><a href="{url}/index.php?url=news&id={newsID-5}">{newsTitle-5}</a></h3>
                                            <p class="summary">
                                                {newsCaption-5}
                                            </p>
                                            <p>
                                                <a href="{url}/index.php?url=news&id={newsID-5}">Read more &raquo;</a>
                                            </p>
                                        </div>
                                        <div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Previous</a><span>1</span> / 5<a href="#" class="next">Next &raquo;</a></div>
                                    </div>
                                    <ul class="widelist">
                                        <li class="even"><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a><div class="newsitem-date">{newsDate-1}</div></li>           
                                        <li class="odd"><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a><div class="newsitem-date">{newsDate-2}</div></li>           
                                        <li class="last"><a href="/news">More news &raquo;</a></li>           
                                    </ul>
                                </div>
                                <script type="text/javascript">
                                    document.observe("dom:loaded", function() { NewsPromo.init(); });
                                </script>
                            </div>
                        </div>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
                document.observe('dom:loaded', function() {
                    CurrentRoomEvents.init();
                });
            </script>
        </div>
        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
        <script type="text/javascript">
            HabboView.run();
        </script>
 
        <!--[if lt IE 7]>
            <script type="text/javascript">
                Pngfix.doPngImageFix();
            </script>
        <![endif]-->
       
        <div id="footer" >
            <script type="text/javascript">
                var _adynamo_client = "11456ec8-221d-40a4-b01a-cf21b452ced3";
                var _adynamo_width = 728;
                var _adynamo_height = 90;
            </script>
           
        </div>
   
    </body>
</html>
 

patryk2001m

New Member
Jan 8, 2012
27
2
And in Client.php its already changed to 30000 Look

Code:
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "http://images.habbo.nl/habboweb/{web_build}/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>
 
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" />
<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="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" />
 
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/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" : "1",
            "connection.info.host" : "{server_ip}",
            "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" : "{external_vars}",
            "external.texts.txt" : "{external_texts}",
            "productdata.load.url" : "{product_data}",
            "furnidata.load.url" : "{furni_data}",
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "{swf_folder}/",
            "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="http://images.habbo.com/habboweb/{web_build}/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">Please update your Flash Player to the latest version.</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/{web_build}/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>



BTW Im using my ip im Port-Forwarding i opened port 3306 and 80?
 

Leader

github.com/habbo-hotel
Aug 24, 2012
1,031
307
And in Client.php its already changed to 30000 Look

Code:
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "http://images.habbo.nl/habboweb/{web_build}/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>
 
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" />
<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="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" />
 
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/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" : "1",
            "connection.info.host" : "{server_ip}",
            "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" : "{external_vars}",
            "external.texts.txt" : "{external_texts}",
            "productdata.load.url" : "{product_data}",
            "furnidata.load.url" : "{furni_data}",
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "{swf_folder}/",
            "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="http://images.habbo.com/habboweb/{web_build}/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">Please update your Flash Player to the latest version.</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/{web_build}/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>



BTW Im using my ip im Port-Forwarding i opened port 3306 and 80?
BcStorm doesnt work with 30000
It only uses port 300
I tried before SO CHANGE IT BACK!!!
 

Noman

lol
Jul 17, 2011
225
166
BcStorm doesnt work with 30000
It only uses port 300
I tried before SO CHANGE IT BACK!!!

It does work with port 30000... You can customize the port to whatever you desire it to be, all you have to do is change it in the emulator config and the client.php file, On my hotel my port is 30010. And i use BCStorm so how could it work for me and not work for you? lol..
 

Damon

Member
Aug 13, 2012
364
114
To fix avatar:
In me.php, staff.php, community.php

Look for:
...
and remove ' .' out of it.
So it should become:

For second issue, not quite sure.
 

Noman

lol
Jul 17, 2011
225
166
I've fixed his client issue, his IP in client and emulator configuration was his Internet IP instead of localhost IP, to create a hotel via localhost you'll need your IP to be static i think but i'm not sure how, so his hotel only works on localhost or he'll need to purchase a VPS.
 

Users who are viewing this thread

Top