[PLUS EMU] Loads and then disconnects.

Obey

You just played yourself.
Nov 23, 2013
250
29

I'm having this problem with PlusEMU. It disconnects too fast to let me read the console logs..
Config
Code:
<?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'] = 'root'; //MySQL password

$_CONFIG['mysql']['database'] = 'habtast'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = 'localhost'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'Habtast'; // Hotel's name

$_CONFIG['hotel']['desc'] = 'Be unique, like us!'; //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 am a new Habtell User!.'; //Default motto users will register with.

$_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with.

$_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with.

$_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://localhost/gamedata/external_variables.txt'; //URL to your external

$_CONFIG['hotel']['external_texts'] = 'http://localhost/gamedata/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://localhost/gamedata/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://localhost/gamedata/furnidata_xml.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://localhost/gordon/PRODUCTION-201601012205-226667486'; //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'] = 'Custom-Habbo1';

/*
*
*    Other topsites.. thing
*
*/

$_CONFIG['thehabbos']['username'] = 'obeylulz';
$_CONFIG['retro_top']['user'] = 'obeylulz';

/*
*
*    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'] = 'paddziuk'; //Hotel's Twitter account

$_CONFIG['social']['facebook'] = 'paddziuk'; //Hotel's Facebook account

error_reporting(0)
?>

Client
Code:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Client</title>
      
        <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
      
        <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "http://localhost/gordon/PRODUCTION-201601012205-226667486";
            var flashvars =
            {
                "client.starting" : "Please wait, {hotelname} loading",
                "hotelview.banner.url" : "http://localhost/game/rs4.php",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "localhost",
                "connection.info.port" : "30000",
                "site.url" : "http://localhost",
                "url.prefix" : "http://localhost",
                "client.reload.url" : "http://localhost/client",
                "client.fatal.error.url" : "http://localhost/me",
                "client.connection.failed.url" : "http://localhost/me",
                "external.variables.txt" : "http://localhost/gamedata/external_variables.txt",
                "external.texts.txt" : "http://localhost/gamedata/external_flash_texts.txt",
                "productdata.load.url" : "http://localhost/gamedata/productdata.txt",
                "furnidata.load.url" : "http://localhost/gamedata/furnidata_xml.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "processlog.enabled" : "0",
                "flash.client.url" : BaseUrl,
                "flash.client.origin" : "popup"
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"               
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
  
    <body>
  
        <div id="client"></div>
  
    </body>
</html>

Also, the emu doesn't make any connections if that helps.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,903
Click preserve log upon navigator in the console window.

But if you bothered, you could simply print screen it and read it.. You've linked a majority of the gamedata files up wrong. I.e override variables, figuredata, effectmap and so on.
 

Obey

You just played yourself.
Nov 23, 2013
250
29
Click preserve log upon navigator in the console window.

But if you bothered, you could simply print screen it and read it.. You've linked a majority of the gamedata files up wrong. I.e override variables, figuredata, effectmap and so on.
Thanks for the quick reply. I had a feeling it wasn't linked correctly, I'm really bad at this kind of stuff. Could you tell me/show me an example of how to link it up by any chance?
 

Yadz

Active Member
Feb 20, 2015
174
25
Thanks for the quick reply. I had a feeling it wasn't linked correctly, I'm really bad at this kind of stuff. Could you tell me/show me an example of how to link it up by any chance?
Make sure to edit your vars AND override vars. Also here, this should help;
Code:
<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" : "{$connection_info_host}",
        "connection.info.port" : "{$connection_info_port}",
        "site.url" : "http://localhost",
        "url.prefix" : "http://localhost",
        "client.reload.url" : "http://localhost/client",
        "client.fatal.error.url" : "http://localhost/client_error",
        "client.connection.failed.url" : "http://localhost/client_error",
        "logout.url" : "http://localhost/client_error",
        "logout.disconnect.url" : "http://localhost/client_error",
        "external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",
        "external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts.txt",
        "external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata.xml",
        "external.override.texts.txt" : "http://localhost/game/gamedata/override/external_flash_override_texts.txt",
        "external.override.variables.txt" : "http://localhost/game/gamedata/override/external_override_variables.txt",
        "productdata.load.url" : "http://localhost/game/gamedata/productdata.txt",
        "furnidata.load.url" : "http://localhost/game/gamedata/furnidata.xml",
        "sso.ticket" : "{$sso}",
        "processlog.enabled" : "1",
        "account_id" : "293407",
        "client.starting" : "Please wait! a is starting up.",
        "flash.client.url" : "\//localhost/game/gordon/PRODUCTION-201601012205-226667486/",
        "client.starting.revolving" : "For science, you monster/Loading funny message... please wait./Would you like fries with that?/Follow the yellow duck./Time is just an illusion./Are we there yet?!/I like your t-shirt./Look left. Look right. Blink twice. Ta da!/It\'s not you, it\'s me./Shhh! I\'m trying to think here./Loading pixel universe.",
        "user.hash" : "57255796e259f7e7865a5c90e24acc986d295c4f",
        "has.identity" : "1",
        "flash.client.origin" : "popup",
        "nux.lobbies.enabled" : "true",
        "country_code" : "GB"
        };

    var params = {
        "base" : "http://localhost/game/gordon/PRODUCTION-201601012205-226667486/",
        "allowScriptAccess" : "always",
        "menu" : "false"              
    };
  
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
    var clientUrl = "http://localhost/game/gordon/PRODUCTION-201601012205-226667486/Habbo.swf";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "{$www}/images/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>
Note that if you copy and paste it, don't forget to change {$sso} to {sso} (if ur using revcms)
 
Last edited:

drunkendiggen

New Member
Jun 28, 2015
22
4
Make sure to edit your vars AND override vars. Also here, this should help;

Note that if you copy and paste it, don't forget to change {$sso} to {sso} (if ur using revcms)
Sup Yadz, just a quick question. Do you help people via skype or some? I just got a dumb problem with this emulator.
 

Users who are viewing this thread

Top