White Screen > Plus Emu, BrainCMS

Dec 7, 2016
65
5
I'm using the Habboon Edit PlusEMU and the BrainCMS
Obtained from:



Everything is working perfectly on the CMS but the Client. I've used this Emulator before and it's run fine but when I click "Enter" it just appears white, I've edited the swfs and everything else correctly(hopefully).. Here is Snippets.

brain-config.php
PHP:
    $hotel['external_Variables'] = "http://localhost/swf/gamedata/external_variables.txt";
    $hotel['external_Variables_Override'] = "http://localhost/swf/gamedata/override/external_override_variables.txt";
    $hotel['external_Texts'] = "http://localhost/swf/gamedata/external_flash_texts.txt";
    $hotel['external_Texts_Override'] = "http://localhost/swf/gamedata/override/external_flash_override_texts.txt";
    $hotel['productdata'] = "http://localhost/swf/gamedata/productdata.txt";
    $hotel['furnidata'] = "http://localhost/swf/gamedata/furnidata.xml";
    $hotel['figuremap'] = "http://localhost/swf/gamedata/figuremap.xml";
    $hotel['figuredata'] = "http://localhost/swf/gamedata/figuredata.xml";
    $hotel['swfFolder'] = "http://localhost/swf/gordon/PRODUCTION-201601012205-226667486";
    $hotel['swfFolderSwf'] = "http://localhost/swf/gordon/PRODUCTION-201601012205-226667486/Habbo.swf";

external_override_variables
PHP:
flash.client.url=http://localhost/swfs/gordon/PRODUCTION-201512170847-152005991/
external.texts.txt=http://localhost/swfs/gamedata/external_flash_texts/b7eb1d2844054a29476048a94e72a842be2d7822
external.override.texts.txt=http://localhost/swfs/gamedata/override/external_flash_override_texts/ccc12168e0117bbe34725223b194b0258beb10b2
external.override.variables.txt=http://localhost/swfs/gamedata/override/external_override_variables/da39a3ee5e6b4b0d3255bfef95601890afd80709
productdata.load.url=http://localhost/swfs/gamedata/productdata/29b96ba4eb25409c91c0ab725608a1add02e27fd
furnidata.load.url=http://localhost/swfs/gamedata/furnidata_xml/1af7ee31d9bfd314459f765ed457d7150e9724d1

external_variables
Code:
productdata.load.url=http://localhost/swfs/gamedata/productdata/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae

external.texts.txt=http://localhost/swfs/gamedata/external_flash_texts/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae
external.override.variables.txt=http://localhost/swfs/gamedata/override/external_override_variables/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae
flash.client.url=//localhost/swfs/gordon/PRODUCTION-201601012205-226667486/
furnidata.load.url=http://localhost/swfs/gamedata/furnidata_xml/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae
external.variables.txt=http://localhost/swfs/gamedata/external_variables/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae
external.override.texts.txt=http://localhost/swfs/gamedata/override/external_flash_override_texts/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae
external.figurepartlist.txt=http://localhost/swfs/gamedata/figuredata/28ca6de1e4f08aa44dc986cc89ac61ab794e48ae

emulator config
Code:
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=hidden
db.name=hidden

## 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=2
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=localhost
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;localhost

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

screenshot1.png
 

Xuxu

Member
Nov 21, 2016
295
59
change your production in the external_override_variables
PHP:
flash.client.url=http://localhost/swfs/gordon/PRODUCTION-201512170847-152005991/
to
PHP:
flash.client.url=http://localhost/swfs/gordon/PRODUCTION-201601012205-226667486/
then restart emu and see if client works
 
Dec 7, 2016
65
5
change your production in the external_override_variables
PHP:
flash.client.url=http://localhost/swfs/gordon/PRODUCTION-201512170847-152005991/
to
PHP:
flash.client.url=http://localhost/swfs/gordon/PRODUCTION-201601012205-226667486/
then restart emu and see if client works

It's still just a pure white screen, I'm so confused. I've also changed these up -

Code:
flash.client.url=http://localhost/game/gordon/PRODUCTION-201601012205-226667486/
external.texts.txt=http://localhost/game/gamedata/external_flash_texts.txt/
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/

Code:
productdata.load.url=http://localhost/game/gamedata/productdata.txt/
external.texts.txt=http://localhost/game/gamedata/external_flash_texts.txt/
external.override.variables.txt=http://localhost/game/gamedata/override/external_override_variables.txt/
flash.client.url=http://localhost/game/gordon/PRODUCTION-201601012205-226667486/
furnidata.load.url=http://localhost/game/gamedata/furnidata.xml/
external.variables.txt=http://localhost/game/gamedata/external_variables.txt/
external.override.texts.txt=http://localhost/game/gamedata/override/external_flash_override_texts.txt/
external.figurepartlist.txt=http://localhost/game/gamedata/figuredata.xml/

I actually went and took the swfs from my previous one, which used this exact emulator(and worked), and put them in but it's still not working, usually when it's something wrong with my swfs it will show a loading screen, reach a percentage and stop, it's just a pure white screen.
 

Xuxu

Member
Nov 21, 2016
295
59
It's still just a pure white screen, I'm so confused. I've also changed these up -

Code:
flash.client.url=http://localhost/game/gordon/PRODUCTION-201601012205-226667486/
external.texts.txt=http://localhost/game/gamedata/external_flash_texts.txt/
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/

Code:
productdata.load.url=http://localhost/game/gamedata/productdata.txt/
external.texts.txt=http://localhost/game/gamedata/external_flash_texts.txt/
external.override.variables.txt=http://localhost/game/gamedata/override/external_override_variables.txt/
flash.client.url=http://localhost/game/gordon/PRODUCTION-201601012205-226667486/
furnidata.load.url=http://localhost/game/gamedata/furnidata.xml/
external.variables.txt=http://localhost/game/gamedata/external_variables.txt/
external.override.texts.txt=http://localhost/game/gamedata/override/external_flash_override_texts.txt/
external.figurepartlist.txt=http://localhost/game/gamedata/figuredata.xml/

I actually went and took the swfs from my previous one, which used this exact emulator(and worked), and put them in but it's still not working, usually when it's something wrong with my swfs it will show a loading screen, reach a percentage and stop, it's just a pure white screen.
so what is the name of the swfs youre using now? "game" or "swfs"?

u got tv?
 
Dec 7, 2016
65
5
That's why, you shouldn't have a line break there xD.
I think that's just because of the error.
PHP:
    var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");
            Client.addVariable("client.allow.cross.domain", "0");
            Client.addVariable("client.notify.cross.domain", "1");
            Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>");
            Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>");
            Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>");
            Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>");
            Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>");
            Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>");     
            Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>");
            Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>");
            Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>");
            Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>");
            Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>");
            Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>");
            Client.addVariable("use.sso.ticket", "1");
            Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");
            Client.addVariable("processlog.enabled", "0");
            Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading...");
            Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/");
            Client.addVariable("flash.client.origin", "popup");
            Client.addVariable("nux.lobbies.enabled", "true");
            Client.addVariable("country_code", "NL");
            Client.addParam('base', '<?= $hotel['swfFolder'] ?>/');
            Client.addParam('allowScriptAccess', 'always');
            Client.addParam('menu', false);
            Client.addParam('wmode', "opaque");
            Client.write('client');
 

Core

Member
Nov 10, 2016
356
138
I think that's just because of the error.
PHP:
    var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");
            Client.addVariable("client.allow.cross.domain", "0");
            Client.addVariable("client.notify.cross.domain", "1");
            Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>");
            Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>");
            Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>");
            Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>");
            Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>");
            Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>");    
            Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>");
            Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>");
            Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>");
            Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>");
            Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>");
            Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>");
            Client.addVariable("use.sso.ticket", "1");
            Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");
            Client.addVariable("processlog.enabled", "0");
            Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading...");
            Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/");
            Client.addVariable("flash.client.origin", "popup");
            Client.addVariable("nux.lobbies.enabled", "true");
            Client.addVariable("country_code", "NL");
            Client.addParam('base', '<?= $hotel['swfFolder'] ?>/');
            Client.addParam('allowScriptAccess', 'always');
            Client.addParam('menu', false);
            Client.addParam('wmode', "opaque");
            Client.write('client');


$hotel['swfFolderSwf'] is wrong in your config :p
 

Users who are viewing this thread

Top