Client 100% then disconnects HabboEMU

sim0n

Member
Feb 16, 2013
227
15
I used tutorial to setup a localhost/xampp/plus EMU retro. Worked flawless.

Found EMU. Fell in love with what I saw.

Switched out the SWFs(+Habbo.swf), DB and EMU but kept the CMS from 1st tutorial. Client stuck at 76%

PHP:
<!DOCTYPE html>
<html lang="en">
    <head>
        <link rel="shortcut icon" href="{url}/app/tpl/skins/{skin}/images/favicon.ico" type="image/vnd.microsoft.icon"/>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} Hotel</title>
 
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
 
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "{url}/swf/gordon/PRODUCTION-201709052204-426856518/";
            var flashvars =
            {
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "localhost",
                "connection.info.port" : "30000",
                "site.url" : "{url}",
                "url.prefix" : "{url}",
                "client.reload.url" : "{url}/disconnected",
                "client.fatal.error.url" : "{url}/disconnected",
                "client.connection.failed.url" : "{url}/disconnected",
                "external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
                "external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
                "external.override.texts.txt" : "{url}/swf/gamedata/override/external_flash_override_texts.txt",
                "external.override.variables.txt" : "{url}/swf/gamedata/override/external_override_variables.txt",
                "external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml",
                "productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
                "furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "client.starting" : "Please wait! {hotelName} is starting up.",
                "processlog.enabled" : "0",
                "flash.client.url" : BaseUrl,
                "client.starting.revolving" : "Whololo/Tijd is maar een illusie./Gotta go fast!/Your computer might blow up./Don't panic!/You might die./Get yourself a drink while waiting./Whats that noise?/",
                "flash.client.origin" : "popup"
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/swf/gordon/PRODUCTION-201709052204-426856518/expressInstall.swf", flashvars, params, null);
        </script>
    </head>

    <body>

        <div id="client"></div>

    </body>
</html>

PHP:
<?php

if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
$_CONFIG['mysql']['connection_type'] = 'pconnect';
$_CONFIG['mysql']['hostname'] = '127.0.0.1';
$_CONFIG['mysql']['username'] = 'root';
$_CONFIG['mysql']['password'] = 'REMOVED_FOR_SAKE_OF_HELP';
$_CONFIG['mysql']['database'] = 'db';
$_CONFIG['mysql']['port'] = '3306';
$_CONFIG['hotel']['url'] = 'http://localhost';
$_CONFIG['hotel']['name'] = 'Habbo';
$_CONFIG['hotel']['desc'] = 'Virtual World, Avatar Chat and Pixel Art!';
$_CONFIG['hotel']['in_maint'] = false;
$_CONFIG['hotel']['motto'] = 'I am new to Habbo!';
$_CONFIG['hotel']['credits'] = 100000;
$_CONFIG['hotel']['pixels'] = 100000;
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100';
$_CONFIG['template']['style'] = 'Habbo';
$_CONFIG['hotel']['online_text'] = 'Members Online!';
$_CONFIG['hotel']['owner1'] = 'Lewis ';
$_CONFIG['hotel']['owner2'] = '& Abc';
$_CONFIG['hotel']['fact_1'] = 'Buying VIP helps keep Habbo alive!';

$_CONFIG['hotel']['fact_2'] = 'Habbo peaked at 0 users online!';

$_CONFIG['hotel']['fact_3'] = 'You can get credits by winning rotw\'s, etc!';

$_CONFIG['hotel']['fact_4'] = 'Habbo is owned by ' . $_CONFIG['hotel']['owner1'] . $_CONFIG['hotel']['owner2'];

$_CONFIG['hotel']['fact_5'] = 'This RevCMS theme was edited by Lewis/Data';
error_reporting(0)
?>
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=REMOVED_FOR_SAKE_OF_HELP
db.name=db

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=3
game.tcp.enablenagles=true

## rcon TCP/IP Configuration
rcon.tcp.bindip=127.0.0.1
rcon.tcp.port=30001
rcon.tcp.allowedaddr=localhost;127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Camera configuration
camera.path.preview=preview/{1}-{0}.png
camera.path.purchased=purchased/{1}-{0}.png
camera.preview.maxcache=1000

Code:
seasonalcurrencyindicator.currency=103
seasonalcurrencyindicator.enabled=false
seasonalcurrencyindicator.page=diamonds
diamonds.enabled=true


ads.domain=hebba.pro
roomenterad.habblet.enabled=false

builders.club.enabled=false
toolbar.stories.enabled=false
navigator.newstyle.enabled=true
hc.enabled=true
talent.track.citizenship.enabled=true
tablet.bc.enabled=false
camera.enabled=false

supersaverads.video.promo.development.mode=false
supersaverads.video.promo.enabled=false

offers.enabled=false
offers.sponsorpay.appid=0
offers.supersonic.enabled=false

avatareditor.promohabbos=http://localhost/swf/gamedata/habblet/xml/promo_habbos.xml

game.center.default_game=basejump
game.center.enabled=true
game.center.promoted_game=basejump

group.blocking.enabled=true

embed.showInRoomInfo=true
sms.identity.verification.button.enabled=false
sms.identity.verification.enabled=false

camera.photo.publishing.enabled=true
stories.image_url_base=http://localhost/
stories.upload_image.url=http://localhost/upload
camera.uploadlink=http://localhost/swf/camera/upload.php
camera.photocost=FREE

multi.item.trading.enabled=true

show.sanction.info.on.login=false
call.for.help.improvements.enabled=true
zendesk.url=http://localhost/

disabled.custom.chat.styles=1,2,8,9,10,18,21,22,23,24,25,26,27,28,30,31,32,33,34,35

flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.url=http://localhost/swf/dcr/hof_furni/
flash.dynamic.avatar.download.configuration=http://localhost/swf/gamedata/clothing/figuremap.xml
flash.dynamic.icon.download.name.template=%typeid%%param%_icon.png
group.badge.url=http://localhost/swf/habbo-imaging/badge/%imagerdata%.gif

habbopages.url=http://localhost/swf/gamedata/habbopages/

flash.client.url=http://localhost/swf/gordon/PRODUCTION-201709052204-426856518
external.texts.txt=http://localhost/swf/gamedata/external_flash_texts.txt
external.override.texts.txt=http://localhost/swf/gamedata/override/external_flash_override_texts.txt
external.override.variables.txt=http://localhost/swf/gamedata/override/external_override_variables.txt
productdata.load.url=http://localhost/swf/gamedata/productdata.txt
furnidata.load.url=http://localhost/swf/gamedata/furnidata.xml

I have portforwarded both inbound and outbound.
I have tried other CMS without success. (twist+illumini)
No important errors in EMU and no Errors in chrome console at all
 
@Pinkman managed to get me to 100% but now it disconnects upon connection (0 errors in console). Any ideas?
 

Ralph

Well-Known Member
Dec 7, 2014
206
74
This is a known issue. Therefor you need to make sure that your swfs are correctly set up and that your ports are open via your Firewall.

I recommend you use these files if my answer doesn't help. -
 

sim0n

Member
Feb 16, 2013
227
15
Resolved it. By default the swfs point to swf/gamedata/furnidata.xml however this is the wrong file. the correct file is in swf/furnidata.xml
 

Users who are viewing this thread

Top