Client loading untill 76% then redirecting to SWF folder

daanvanderuit

Member
Jan 23, 2014
100
10
Hi all,

So I recently started messing around with retro's again, but I can't get it to work, even though I had some copies of my old (working) server laying around.

So here's the problem, hopefully described detailed enough:
  • I'm using RevCMS, an edit made by a for me unknown user. I'll post the config.php file below, same goes for the client.php
  • I'm using the PlusEmu provided by *****, as well as their database and swf's. I'll link the external vars and config.ini
I've (if I'm right), checked my External Variables, so the links in there are probably fine. Also I double checked my config.php and all the links are indeed pointing in the right direction. Same goes for my client.php.
Now the problem is, that my client load until 76% and then directs me to the base SWF folder. I'll provide a screenshot down here. Also, my Emulator is not receiving any connections.
<?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'] = ''; //MySQL password

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

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

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

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

$_CONFIG['hotel']['url'] = ' //Does not end with a "/"

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

$_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //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 player.'; //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/1580'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //URL to your external

$_CONFIG['hotel']['external_texts'] = ' //URL to your external texts

$_CONFIG['hotel']['product_data'] = ' //URL to your productdata

$_CONFIG['hotel']['furni_data'] = ' //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = ' //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'] = ''; //Hotel's Twitter account

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


?>
## PlusEMU System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=
db.name=beta

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

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

## RCON TCP/IP Configuration
rcon.tcp.bindip=localhost
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
External Variables:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta Http-Equiv="Cache-Control" Content="no-cache">
<meta Http-Equiv="Pragma" Content="no-cache">
<meta Http-Equiv="Expires" Content="0">
<meta Http-Equiv="Pragma-directive: no-cache">
<meta Http-Equiv="Cache-directive: no-cache">
<title>{hotelName} - Client</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 = "{swf_folder}";
var flashvars =
{
"client.starting" : "Please wait, {hotelName} is starting up!",
"client.allow.cross.domain" : "1",
"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}/me",
"client.connection.failed.url" : "{url}/me",
"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",
"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", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>

<body>

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

</body>
</html>



I have noidea what I did wrong. Someone care to help me?

Thanks in advance,

Daniel
 

daanvanderuit

Member
Jan 23, 2014
100
10
Try to disable your firewall and look if you've correctly configured the external_variables as well as the overrides.
I'm doing all this on localhost. Though I disabled my firewall and it did not help. As I said, I believe my external variables are allright and my overrides came as an empty file, is that right?

-Daniel
 

Mrmoseby

Active Member
Jul 1, 2016
142
51
I'm doing all this on localhost. Though I disabled my firewall and it did not help. As I said, I believe my external variables are allright and my overrides came as an empty file, is that right?

-Daniel
Put this in your override, change the links to yours.
PHP:
seasonalcurrencyindicator.currency=103
seasonalcurrencyindicator.enabled=true
seasonalcurrencyindicator.page=diamonds

ads.domain=
roomenterad.habblet.enabled=false

diamonds.enabled=false
camera.enabled=false
builders.club.enabled=false
toolbar.stories.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://game.habglobe.pw/gamedata/habblet/xml/promo_habbos.xml

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

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

multi.item.trading.enabled=true

disabled.custom.chat.styles=1,2,8,18,23,28,30,31,32,33,34,35

flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.url=http://game.habglobe.pw/dcr/hof_furni/
flash.dynamic.icon.download.name.template=icons/%typeid%%param%_icon.png
group.badge.url=http://game.habglobe.pw/habbo-imaging/badge/%imagerdata%.gif

habbopages.url=http://game.habglobe.pw/gamedata/habbopages/

flash.client.url=http://game.habglobe.pw/gordon/PRODUCTION-201701242205-837386173/
external.texts.txt=http://game.habglobe.pw/gamedata/external_flash_texts/b7eb1d2844054a29476048a94e72a842be2d7822
external.override.texts.txt=http://game.habglobe.pw/gamedata/override/external_flash_override_texts/ccc12168e0117bbe34725223b194b0258beb10b2
external.override.variables.txt=http://game.habglobe.pw/gamedata/override/external_override_variables/da39a3ee5e6b4b0d3255bfef95601890afd80709
productdata.load.url=http://game.habglobe.pw/gamedata/productdata/29b96ba4eb25409c91c0ab725608a1add02e27fd
furnidata.load.url=http://game.habglobe.pw/gamedata/furnidata_xml/1af7ee31d9bfd314459f765ed457d7150e9724d1
 

daanvanderuit

Member
Jan 23, 2014
100
10
Put this in your override, change the links to yours.
PHP:
seasonalcurrencyindicator.currency=103
seasonalcurrencyindicator.enabled=true
seasonalcurrencyindicator.page=diamonds

ads.domain=
roomenterad.habblet.enabled=false

diamonds.enabled=false
camera.enabled=false
builders.club.enabled=false
toolbar.stories.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://game.habglobe.pw/gamedata/habblet/xml/promo_habbos.xml

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

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

multi.item.trading.enabled=true

disabled.custom.chat.styles=1,2,8,18,23,28,30,31,32,33,34,35

flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.url=http://game.habglobe.pw/dcr/hof_furni/
flash.dynamic.icon.download.name.template=icons/%typeid%%param%_icon.png
group.badge.url=http://game.habglobe.pw/habbo-imaging/badge/%imagerdata%.gif

habbopages.url=http://game.habglobe.pw/gamedata/habbopages/

flash.client.url=http://game.habglobe.pw/gordon/PRODUCTION-201701242205-837386173/
external.texts.txt=http://game.habglobe.pw/gamedata/external_flash_texts/b7eb1d2844054a29476048a94e72a842be2d7822
external.override.texts.txt=http://game.habglobe.pw/gamedata/override/external_flash_override_texts/ccc12168e0117bbe34725223b194b0258beb10b2
external.override.variables.txt=http://game.habglobe.pw/gamedata/override/external_override_variables/da39a3ee5e6b4b0d3255bfef95601890afd80709
productdata.load.url=http://game.habglobe.pw/gamedata/productdata/29b96ba4eb25409c91c0ab725608a1add02e27fd
furnidata.load.url=http://game.habglobe.pw/gamedata/furnidata_xml/1af7ee31d9bfd314459f765ed457d7150e9724d1
Sadly, the same fault occurs.
 

daanvanderuit

Member
Jan 23, 2014
100
10
I like to manually put the SWF links in the client.php, try to do that as well as your IP so in your case 127.0.0.1. Could lead you somewhere.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta Http-Equiv="Cache-Control" Content="no-cache">
<meta Http-Equiv="Pragma" Content="no-cache">
<meta Http-Equiv="Expires" Content="0">
<meta Http-Equiv="Pragma-directive: no-cache">
<meta Http-Equiv="Cache-directive: no-cache">
<title>{hotelName} - Client</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 = " ";
var flashvars =
{
"client.starting" : "Please wait, {hotelName} is starting up!",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "1",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : " ",
"url.prefix" : " ",
"client.reload.url" : " ",
"client.fatal.error.url" : " ",
"client.connection.failed.url" : " ",
"external.variables.txt" : " ",
"external.texts.txt" : " ",
"productdata.load.url" : " ",
"furnidata.load.url" : " ",
"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", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>

<body>

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

</body>
</html>
Sadly, it persists.
 

Mrmoseby

Active Member
Jul 1, 2016
142
51
Try adding this into the client.php below
"external.texts.txt" : " ",
PHP:
"external.override.texts.txt" : "https://game.habglobe.pw/gamedata/override/external_flash_override_texts",
                "external.override.variables.txt" : "https://game.habglobe.pw/gamedata/override/external_override_variables",
 

daanvanderuit

Member
Jan 23, 2014
100
10
Try adding this into the client.php below
PHP:
"external.override.texts.txt" : "https://game.habglobe.pw/gamedata/override/external_flash_override_texts",
                "external.override.variables.txt" : "https://game.habglobe.pw/gamedata/override/external_override_variables",
Same error, and I'm still not getting any response in the Emulator, isn't that the problem?
 

daanvanderuit

Member
Jan 23, 2014
100
10
Are you sure you're using the correct database for the emulator?
I thought I used a clean one provided with the emulator. I'll try again with a fresh database and I'll come back to you.
 
Okay so small update. I was paying closer attention to my emulator, and when the client is loaded 76%, the emulator tells me that there is 1 player online, and when it redirects me to the swf folder the player is offline again. So it does seem like the emulator is receiving input...
 

Mrmoseby

Active Member
Jul 1, 2016
142
51
I thought I used a clean one provided with the emulator. I'll try again with a fresh database and I'll come back to you.
 
Okay so small update. I was paying closer attention to my emulator, and when the client is loaded 76%, the emulator tells me that there is 1 player online, and when it redirects me to the swf folder the player is offline again. So it does seem like the emulator is receiving input...
yo bro whats ur skype ill help you through TV or something.
 

daanvanderuit

Member
Jan 23, 2014
100
10
If this isn't resolved I recommend using
Trying the SWFS and Emulator (with its original DB) from this site. I'll report back when I've got more info.
 
mine was doing the exact same ive now used these and just stays at 76% loading, ive checked everything back to front and still dont know why
I seem to have the exact same problem as Mason has here, the Emulator says that there is 1 player online, but the client keeps loading at 76%. The console, again, does not show errors.
 

aqilws

Member
Sep 8, 2011
67
7
Trying the SWFS and Emulator (with its original DB) from this site. I'll report back when I've got more info.
 

I seem to have the exact same problem as Mason has here, the Emulator says that there is 1 player online, but the client keeps loading at 76%. The console, again, does not show errors.
Repeat the same process as above make sure Ur using the swfs provided from the site and gamedata provided from the site
 

Users who are viewing this thread

Top