RP Client

Ryan090

Member
Apr 9, 2013
70
5
Hi Devbest,

I have started a RP; I have the swfs files, rage rp emu and a custom (I believe) cms that I know works. However when I try everything there is no connection on emu, and the client is stuck at 76%. I think the emu and cms work in a similar way as Plus Emulator. So I think you need a specific client.php - Could anyone check the code/screenies to find out what's up?

PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>{hotelname} - Client</title>
<script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"70e676058bfac17c85067f030eafcc22",petok:"1821e5d45d04fb78692fe0c8b32781120b3000f3-1466026513-1800",zone:"myurll",rocket:"a",apps:{},sha2test:0}];document.write('<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=e982913d31/cloudflare.min.js"><'+'\/script>');}}catch(e){};
//]]>
</script>
<script type="text/rocketscript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="http://myurll/rageweb/v2/images/favicon.ico" type="image/vnd.microsoft.icon"/>
<meta name="csrf-token" content="a68e16da32"/>
<link rel="stylesheet" href="http://myurll/rageweb/static/styles/common.css" type="text/css"/>
<script data-rocketsrc="http://myurll/rageweb/static/js/libs2.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://myurll/rageweb/static/js/visual.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://myurll/rageweb/static/js/libs.js" type="text/rocketscript"></script>
<script data-rocketsrc="http://myurll/rageweb/static/js/common.js" type="text/rocketscript"></script>
<link rel="stylesheet" type="text/css" href="https://t4t5.github.io/sweetalert/dist/sweetalert.css">
<script data-rocketsrc="https://t4t5.github.io/sweetalert/dist/sweetalert.min.js" type="text/rocketscript"></script>
<link href='//fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic|Ubuntu+Medium' rel='stylesheet' type='text/css'>
<script type="text/rocketscript">
document.habboLoggedIn = true;
var habboName = "Nath";
var habboId = 2;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "http://myurll/web-gallery";
var habboImagerUrl = "http://myurll/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://myurll/me";
window.name = "13574bb849eaa68aba57af6b14a5477d5cbffc9c";
if (typeof HabboClient != "undefined") {
    HabboClient.windowName = "13574bb849eaa68aba57af6b14a5477d5cbffc9c";
    HabboClient.maximizeWindow = true;
}


</script>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
<noscript>
<meta http-equiv="refresh" content="0;url=/me/nojs"/>
</noscript>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="Cache-Control" content="no-cache, no-store"/>
<meta name="google" content="notranslate"/>
<link rel="stylesheet" href="http://myurll/rageweb/static/styles/habboflashclient.css" type="text/css"/>
<script data-rocketsrc="http://myurll/rageweb/static/js/habboflashclient.js" type="text/rocketscript"></script>
<script type="text/rocketscript">


    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" : 'myip',
            "connection.info.port" : '30001',
            "site.url" : "http://myurll",
            "url.prefix" : "http://myurll",
            "client.reload.url" : "http://myurll/client",
            "client.fatal.error.url" : "http://myurll/client",
            "client.connection.failed.url" : "http://myurll/client",
            "logout.url" : "http://myurll/client",
            "logout.disconnect.url" : "http://myurll/client",
            "external.variables.txt" : "http://myurll/swfs/gamedata/external_variables.txt",
            "external.texts.txt" : "http://myurll/swfs/gamedata/external_flash_texts.txt",
            "external.figurepartlist.txt" : "http://myurll/swfs/gamedata/figuredata.xml",
            "productdata.load.url" : "http://myurll/swfs/gamedata/productdata.txt",
            "furnidata.load.url" : "http://myurll/swfs/gamedata/furnidata.xml",
            "sso.ticket" : "RAGERSA-436/17b6035215ff0a2a2225ceefcf8ae77f3",
            "processlog.enabled" : "1",
            "account_id" : "31",
            "client.starting" : "Waking up HPRP!",
            "flash.client.url" : "http://myurll/swfs/gordon/PRODUCTION-201510261212-858675875/",
            "user.hash" : "3a58e6b9b7bc2554917d2c33e0a290389c448457",
            "has.identity" : "1",
            "flash.client.origin" : "popup",
            "nux.lobbies.enabled" : "false",
            "country_code" : "US"
    };
    var params = {
         "base" : "http://myurll/swfs/gordon/PRODUCTION-201510261212-858675875/",
        "allowScriptAccess" : "always",
        "menu" : "false"
    };
        if (!(HabbletLoader.needsFlashKbWorkaround())) {
            params["wmode"] = "opaque";
        }

    FlashExternalInterface.signoutUrl = "http://myurll/logout";

     var clientUrl = "http://myurll/swfs/gordon/PRODUCTION-201510261212-858675875/Habbo_new.swf";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://myurll/swfs/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);

    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) {}
    }
    window.onresize = function() {
        HabboClient.storeWindowSize();
    }.debounce(0.5);
</script>
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="https://habboo-a.akamaihd.net/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/3196/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 red">
<h2 class="newtitle">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>
If you're on an iPad, iPhone or an Android device, you can get <a href="#">SkyRP for iOS</a> on the App Store or <a href="#" target="_blank">AnxRP for Android</a> on Google Play.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://myurll/rageweb/v2/images/get_flash_player.gif" alt="Get Adobe Flash player"/></a></p>
</div>
</div>
</div>
</script>
<div id="ragebar"></div>
</body>
</html>

Please note: I have changed the url and ip for security purposes.
I can't seem to find the web-gallery anyone if anyone has suggestions.





Sorry if it's abit messy.
 

Users who are viewing this thread

Top