Mercury Need Help

LiamMac1997

New Member
Mar 12, 2014
10
0
Hey Guys Am Just Wondering What Would Be The Best CMS I Use For Mercury Emu/SWFS

Thanks, Much Appreciated
 
Last edited:

LiamMac1997

New Member
Mar 12, 2014
10
0
See is never loads ;(
3599rth.png


Client.php Code
PHP:
    <script type="text/javascript">
        var habboName = "{username}";
        var habboReqPath = "{url}";
        var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
        var habboImagerUrl = "http://www.habbo.com/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" : "127.0.0.1",
            "connection.info.port" : "30000",
            "site.url" : "http://localhost/",
            "url.prefix" : "http://localhost/",
            "client.reload.url" : "http://localhost/client",
            "client.fatal.error.url" : "http://localhost/disconnected",
            "client.connection.failed.url" : "http://localhost/disconnected",
            "external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",
            "external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts_en.txt",
            "productdata.load.url" : "http://localhost/game/gamedata/productdata_en.txt",
            "furnidata.load.url" : "http://localhost/game/gamedata/furnidata_xml_en.xml",
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "http://localhost/game/gordon/RELEASE63-201408141029-609065162/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"
    };
    var params = {
        "base" : "http://localhost/game/gordon/RELEASE63-201408141029-609065162/",
        "allowScriptAccess" : "always",
        "menu" : "false"               
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
   
    var clientUrl = "http://localhost/game/gordon/RELEASE63-201408141029-609065162/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>
 

Janzeer

Headmaster Of Hogwart's
Apr 30, 2012
522
47
Check your external variables. Anyways I see that there is an error on the top of the page, add this code in your management config to musk it.
PHP:
error_reporting(0);
 

LiamMac1997

New Member
Mar 12, 2014
10
0
Check your external variables. Anyways I see that there is an error on the top of the page, add this code in your management config to musk it.
PHP:
error_reporting(0);
Yeah i know that error :D thanks tho but heres my external variables, ive also changed my web-build too
also my my emulator is open but i dont see any connection in it like theres no error or anything
 

Attachments

  • external_variables.txt
    112.2 KB · Views: 1

Janzeer

Headmaster Of Hogwart's
Apr 30, 2012
522
47
Do you have Gordon file in your game? And also I see some 127.0.0.1, try to change them to localhost and see if it makes a difference.
 

LiamMac1997

New Member
Mar 12, 2014
10
0
Check your external variables. Anyways I see that there is an error on the top of the page, add this code in your management config to musk it.
PHP:
error_reporting(0);
Do you have Gordon file in your game? And also I see some 127.0.0.1, try to change them to localhost and see if it makes a difference.
and yeah i do but ive just read a forums and it said
When it's stuck at 87% it means that the client can't connect to the emulator. So this can be anything, really.
Make sure you're using the correct Habbo.swf, make sure you've included rs4.php in client.php and make sure your client and emulator is correctly configured.
but i just looked at the the client and i dont have rs4.php ??...
 

twentyfour

New Member
Nov 16, 2014
16
3
Do you have Gordon file in your game? And also I see some 127.0.0.1, try to change them to localhost and see if it makes a difference.
i see a lot of talk about changing 127.0.0.1 to localhost, but what is the difference? the only difference is that localhost has to processed by the DNS which will still give you 127.0.0.1

on topic: are you getting any errors in your logs? 87% can mean a few different things. any errors in external_variables, misconfiguration? could be a lot of things. all i can say is double check everything
 

sumo

The end is nigh.
Jan 18, 2014
143
102
Well, line 48 in class.engine definitely has something to do with your config.php file and/or config.ini. Make sure that in your config.php, you changed your password and database name. In the config.ini, make sure you used the same password and same database name. Make sure the database you are putting in is working. (I've never made a retro with Mercury or RevCMS, but I know that error from Silverware.)
 

Jumpy

New Member
Dec 19, 2014
3
0
As Jerry said, i think you dident opened your ports. Also check your variables if you dident miss something like the figuredata.xml, if you miss this, your hotel will stop a 87%
 

Users who are viewing this thread

Top