Welcome to the RaGEZONE - MMORPG development forums.

How to fix the Last IP (connection dropped) error in Phoenix Emulator

This is a discussion on How to fix the Last IP (connection dropped) error in Phoenix Emulator within the Habbo Tutorials forums, part of the Habbo Hotel category; Hello there! I've seen alot of people having this problem, where when they connect to there client, it gives them ...

LyncusMU
Page 1 of 4 1234 LastLast
Results 1 to 15 of 55
  1. #1
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,704
    Liked
    255

    How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Tabo Hotel
    Hello there! I've seen alot of people having this problem, where when they connect to there client, it gives them a error in there emulator, witch is known as - Connection dropped or Last IP error, I'm pretty sure there the same.. Well here's a fix!

    If you're using UberCMS, you have to execute a SQL update witch updates the users Last IP, then loads the client, and ensures that the client loads successfully and secure.

    In your client.php file, look for:
    PHP Code:
    if (!LOGGED_IN)
    {
        
    header("Location: " WWW"/login_popup");
        exit;

    After that, add the line of code:
    PHP Code:
    // Last IP update
    dbquery("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '".USER_NAME."'"); 
    Like so:


    This should fix the error(s) you have when it comes to the Last IP error!

    If you find any more problems, please PM me, I will help all I can

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Alpha
    Rank
    Member
    Join Date
    Jul 2011
    Posts
    133
    Liked
    7

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    What client.php file i cant find it help?

  4. #3
    Platinum Subscription
    Rank
    Subscriber
    Join Date
    Oct 2008
    Location
    England
    Posts
    492
    Liked
    74

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Awesome tutorial, think it's been posted before though. Nonetheless, thanks for sharing it!

  5. #4
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,704
    Liked
    255

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    What client.php file i cant find it help?
    I don't want noobs posting here, it's not that hard to find the client.php file...

    @RobTheLobster, thanks mate.

  6. #5
    Developer
    Rank
    Member +
    Join Date
    May 2008
    Posts
    477
    Liked
    199

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by ѕуѕтєм View Post
    I don't want noobs posting here, it's not that hard to find the client.php file...

    @RobTheLobster, thanks mate.
    I dont think ubercms has a client.php, i believe its a tpl file isnt it?

  7. #6
    Platinum Subscription
    Rank
    Subscriber
    Join Date
    Oct 2008
    Location
    England
    Posts
    492
    Liked
    74

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by leenster View Post
    I dont think ubercms has a client.php, i believe its a tpl file isnt it?
    It has;
    client.php

    And it also has a tpl file for it too, which contains the ip etc.

  8. #7
    Alpha
    Rank
    Member
    Join Date
    Jul 2011
    Posts
    133
    Liked
    7

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Dude im no noob ok i can find the client.php file but this isnt in it:
    if (!LOGGED_IN)
    {
    header("Location: " . WWW. "/login_popup");
    exit;
    }

    So what do i do?

  9. #8
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,704
    Liked
    255

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    If you're not a noob, you'll see in UberCMS where to add it into;

  10. #9
    Alpha
    Rank
    Member
    Join Date
    Jul 2011
    Posts
    133
    Liked
    7

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    :O But its not there :( But its in tpl stuff so i did it now it works some how and my firend needs help for phoenix his doesnt work it says :
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    Exception has been saved
    >> Connection Dropped [0] from [x.x.x.x.x]

    How can he fix that? it always happens to every user and him
    Last edited by iZoom; 29-01-12 at 11:44 AM.

  11. #10
    Average Member
    Rank
    Newbie
    Join Date
    Dec 2009
    Posts
    66
    Liked
    5

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    :O But its not there :( But its in tpl stuff so i did it now it works some how and my firend needs help for phoenix his doesnt work it says :
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    Exception has been saved
    >> Connection Dropped [0] from [x.x.x.x.x]

    How can he fix that? it always happens to every user and him
    Look in the Exception file. Like it says an exception has been saved. It means that the error that encountered has been saved.

  12. #11
    Platinum Subscription
    Rank
    Subscriber
    Join Date
    Oct 2008
    Location
    England
    Posts
    492
    Liked
    74

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    Dude im no noob ok i can find the client.php file but this isnt in it:
    if (!LOGGED_IN)
    {
    header("Location: " . WWW. "/login_popup");
    exit;
    }

    So what do i do?
    Alternatively, you could place it on "me.php" so as soon as a user logs in it updates their ip.

  13. #12
    Average Member
    Rank
    Newbie
    Join Date
    Dec 2009
    Posts
    66
    Liked
    5

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by Xudos View Post
    Alternatively, you could place it on "me.php" so as soon as a user logs in it updates their ip.
    Some users go directly to client.php.

  14. #13
    Platinum Subscription
    Rank
    Subscriber
    Join Date
    Oct 2008
    Location
    England
    Posts
    492
    Liked
    74

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by Lolisloltje View Post
    Some users go directly to client.php.
    Place it inside the login code then, simple.

  15. #14
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jan 2012
    Location
    C:\inetpub\
    Posts
    212
    Liked
    26

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Thanks for this =)

  16. #15
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,704
    Liked
    255

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by CyberVibe View Post
    Thanks for this =)
    No problem mate. I hope I helped some people :>

 

 
Page 1 of 4 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •