Habbo Client Redirect on Shutdown

Status
Not open for further replies.

sensaze

Member
Jan 29, 2017
73
7
Hi there,
When I shutdown my EMU using the shutdown command, it directs to this page:
Code:
https://habbro.pw/account/disconnected?reason=logout&origin=popup

However in the client.php file, this is how its configured:
PHP:
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");

Why isn't it re-directing to /me?
 

sensaze

Member
Jan 29, 2017
73
7
No idea what CMS you're using but this is usually defined in your variables.
There's two lines that should look like

client.connection.failed.url=${url.prefix}/me
client.fatal.error.url=${url.prefix}/me

I'm using brainCMS.

It would seem the two lines you're mentioning are these in my client.php?

PHP:
            Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");

But they're already set to redirect to /me
 

Central

Imagination is more important than knowledge.
Feb 22, 2015
709
107
Check your web.config it might have it in there, I'm not quite sure of this yet but I'll have a look for you when I get home as I'm currently setting up Brain CMS.
 

Haid

Member
Dec 20, 2011
363
449
I'm using brainCMS.

It would seem the two lines you're mentioning are these in my client.php?

PHP:
            Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");
            Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");

But they're already set to redirect to /me
Not sure about BrainCMS never used it, but if it's not sending you to /me it's obviously not working :p Check your vars.
 

Joe

Well-Known Member
Jun 10, 2012
4,172
1,955
Code:
logout.concurrent.url=https://habflex.net/disconnected
logout.disconnect.url=https://habflex.net/disconnected
logout.disconnect.url=https://habflex.net/disconnected
logout.url=https://habflex.net/disconnected
I changed all 4. Just find
Code:
logout.concurrent.url=
 

sensaze

Member
Jan 29, 2017
73
7
Code:
logout.concurrent.url=https://habflex.net/disconnected
logout.disconnect.url=https://habflex.net/disconnected
logout.disconnect.url=https://habflex.net/disconnected
logout.url=https://habflex.net/disconnected
I changed all 4. Just find
Code:
logout.concurrent.url=

Is that in your externals?
 
Status
Not open for further replies.

Users who are viewing this thread

Top