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 at 9:39 AM.

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

    sensaze Member

    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

    external_variables could solve this issues
     
  3. Haidyn

    Haidyn PeakRP.com

    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

    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 while (strIn != "banana")

    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. Haidyn

    Haidyn PeakRP.com

    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. JMG

    JMG wut wut Staff Member

    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=
     
    sensaze likes this.
  8. sensaze

    sensaze Member

    Is that in your externals?
     
  9. JMG

    JMG wut wut Staff Member

    Yes, external_variables.txt
     
    sensaze likes this.
  10. sensaze

    sensaze Member

    Perfect, found it, thanks a lot.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...