1. Tired of not being able to see links? Want to chat with other members? Need help?

Habbo Client Redirect on Shutdown

Discussion in 'Habbo Help & Support' started by sensaze, Feb 17, 2017.

Thread Status:
Not open for further replies.
  1. sensaze

    sensaze Member

    Joined:
    Jan 29, 2017
    Messages:
    73
    Likes Received:
    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?

     
  2. MasterJiq

    MasterJiq Member

    Joined:
    Jul 8, 2016
    Messages:
    370
    Likes Received:
    21
    external_variables could solve this issues
     
  3. HDN

    HDN PeakRP.com

    Joined:
    Dec 20, 2011
    Messages:
    227
    Likes Received:
    222
    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
     
  4. sensaze

    sensaze Member

    Joined:
    Jan 29, 2017
    Messages:
    73
    Likes Received:
    7
    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
     
  5. Central

    Central Imagination is more important than knowledge.

    Joined:
    Feb 22, 2015
    Messages:
    702
    Likes Received:
    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.
     
  6. HDN

    HDN PeakRP.com

    Joined:
    Dec 20, 2011
    Messages:
    227
    Likes Received:
    222
    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.
     
  7. tOaStMaYn

    tOaStMaYn wut wut

    Joined:
    Jun 10, 2012
    Messages:
    1,417
    Likes Received:
    643
    Best Answer
    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=
     
    xXSicilyXx and sensaze like this.
  8. sensaze

    sensaze Member

    Joined:
    Jan 29, 2017
    Messages:
    73
    Likes Received:
    7
    Is that in your externals?
     
  9. tOaStMaYn

    tOaStMaYn wut wut

    Joined:
    Jun 10, 2012
    Messages:
    1,417
    Likes Received:
    643
    Yes, external_variables.txt
     
    sensaze likes this.
  10. sensaze

    sensaze Member

    Joined:
    Jan 29, 2017
    Messages:
    73
    Likes Received:
    7
    Perfect, found it, thanks a lot.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...