Thread: lag while logging out

Results 1 to 6 of 6
  1. #1 lag while logging out 
    Registered Member
    Join Date
    Oct 2008
    Posts
    39
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    base: project czar
    problem: when someone logs out it spams the chat with "so and so has logged out", i have deleted the text so it wont spam that anymore, but it still lags, most of you will know what im talkin about when u read this. any help? im looking through client.java right now but i dont really see anything. =/
     

  2. #2  
    Registered Member Poptart's Avatar
    Join Date
    Dec 2007
    Posts
    333
    Thanks given
    0
    Thanks received
    0
    Rep Power
    26
    You mixed it up, it should be:

    Problem: Project Czar

    Anyways, go find your logout void and mess around with that.
     

  3. #3  
    Banned

    Join Date
    Jul 2008
    Age
    28
    Posts
    5,827
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    post the code.
     

  4. #4  
    Registered Member
    Join Date
    Oct 2008
    Posts
    39
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    lmfao that was funny tbh... and i know czar isnt the most reliable source but i like it alot, so i would like to stick with it, and this is what my logout void looks like right here.
    Code:
        public void logout() {
    list.remove(connectedFrom);
            outStream.createFrame(109);
    
        }
     

  5. #5  
    Member

    Join Date
    May 2008
    Posts
    1,288
    Thanks given
    50
    Thanks received
    92
    Rep Power
    0
    That part doesn't really look like it would cause much lag.. you should check the actual logout button, which is case 9154.
     

  6. #6  
    Registered Member
    Join Date
    Oct 2008
    Posts
    39
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    i know what case it is, but it dosent look like ot me it would also.

    Code:
                case 9154: // Log out
                    {
                        if (LogoutDelay >= 1) {
                            sendMessage(
                                    "Please wait 10 seconds to log out.");
                        } else if (LogoutDelay == 0) {
                            logout();
                            savefile = true;
                        }
                    }
                    break;
    thats it right there.
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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