Thread: New Way to logout

Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54
  1. #1 New Way to logout 
    Banned

    Join Date
    Apr 2013
    Posts
    1,456
    Thanks given
    341
    Thanks received
    148
    Rep Power
    0
    so today i will show you how to add the new logout by pressing "esc"

    so in
    Code:
    RSApplet.java
    look for something like
    Code:
    int j = keyevent.getKeyChar();
    and under the code add this
    Code:
    if(j == 27)
                client.openInterfaceID = 29110;
    now time for the interface
    so in RsInterface.java add this

    Code:
    public static void Logout(RSFont[] tda){                      RSInterface tab = addTabInterface(29110);
        addSprite(29111, 1, "Interfaces/Logout/MAIN");
        addHoverButton(29112, "Interfaces/Logout/LOG", 3, 124, 26, "Logout", -1, 29113, 1);
        addHoveredButton(29113, "Interfaces/Logout/LOG", 4, 124, 26, 29151);
        addHoverButton(29114, "Interfaces/Logout/OPTIONS", 1, 124, 26, "Options", -1, 29115, 1);
        addHoveredButton(29115, "Interfaces/Logout/OPTIONS", 2, 124, 26, 29152);
        addHoverButton(29116, "Interfaces/Logout/CONTROLS", 5, 124, 26, "Controls", -1, 29117, 1);
        addHoveredButton(29117, "Interfaces/Logout/CONTROLS", 6, 124, 26, 29153);
        addHoverButton(29118, "Interfaces/Logout/FACE", 1, 43, 33, "Facebook", -1, 29119, 1);
        addHoveredButton(29119, "Interfaces/Logout/FACE", 2, 43, 33, 29154);
        addHoverButton(29120, "Interfaces/Logout/TWITTER", 1, 43, 33, "Twitter", -1, 29121, 1);
        addHoveredButton(29121, "Interfaces/Logout/TWITTER", 2, 43, 33, 29155);
        addHoverButton(29122, "Interfaces/Logout/YOUTUBE", 1, 43, 33, "Youtube", -1, 29123, 1);
        addHoveredButton(29123, "Interfaces/Logout/YOUTUBE", 2, 43, 33, 29156);
        addHoverButton(29124, "Interfaces/Logout/RRS", 1, 43, 33, "RRS Feed", -1, 29125, 1);
        addHoveredButton(29125, "Interfaces/Logout/RRS", 2, 43, 33, 29157);
        tab.totalChildren(15);
        tab.child(0, 29111, 180, 40);
        tab.child(1, 29112, 220, 185);
        tab.child(2, 29113, 220, 185);
        tab.child(3, 29114, 220, 87);
        tab.child(4, 29115, 220, 87);
        tab.child(5, 29116, 220, 130);
        tab.child(6, 29117, 220, 130);
        tab.child(7, 29118, 196, 238);
        tab.child(8, 29119, 196, 238);
        tab.child(9, 29120, 237, 238);
        tab.child(10, 29121, 237, 238);
        tab.child(11, 29122, 280, 238);
        tab.child(12, 29123, 280, 238);
        tab.child(13, 29124, 322, 238);
        tab.child(14, 29125, 322, 238);
    }
    now add these sprites UPLOAD.EE - Download Logout.rar

    so now when you press esc in game it will come up whith the interface which you can log out form now all you have to do is remove the logout button in the minimap and code it in server side

    If you have any idea what i could add to the inerface plz comment below

    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Extreme Donator

    Jilic-Matt's Avatar
    Join Date
    May 2011
    Age
    29
    Posts
    1,612
    Thanks given
    799
    Thanks received
    494
    Rep Power
    540
    Pics?
    Reply With Quote  
     

  4. #3  
    Krator || Indie Dev

    Jordan Belfort's Avatar
    Join Date
    Dec 2012
    Posts
    1,051
    Thanks given
    535
    Thanks received
    485
    Rep Power
    1172
    A picture of the interface would be nice.
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Apr 2013
    Posts
    1,456
    Thanks given
    341
    Thanks received
    148
    Rep Power
    0
    sorry yes i will add now
    Reply With Quote  
     

  6. #5  
    Extreme Donator

    Jilic-Matt's Avatar
    Join Date
    May 2011
    Age
    29
    Posts
    1,612
    Thanks given
    799
    Thanks received
    494
    Rep Power
    540
    looks decent good job nice idea
    Reply With Quote  
     

  7. #6  
    Banned

    Join Date
    Apr 2013
    Posts
    1,456
    Thanks given
    341
    Thanks received
    148
    Rep Power
    0
    Thanks
    Reply With Quote  
     

  8. #7  
    Banned

    Join Date
    Apr 2013
    Posts
    1,456
    Thanks given
    341
    Thanks received
    148
    Rep Power
    0
    Quote Originally Posted by Jilic-Matt View Post
    looks decent good job nice idea
    have any idea on how to improve it ?
    Reply With Quote  
     

  9. #8  
    ???

    funkE's Avatar
    Join Date
    Feb 2008
    Posts
    2,612
    Thanks given
    255
    Thanks received
    989
    Rep Power
    1366
    make the text not look more runescape-y instead of making it look like it was quickly photoshopped together. i can tell it is because of unequal margins on the left and right sides of the text (imperfectly centered text = looks kind of not good)

    good idea though, runescape might start using the escape key soon with their new interface system.
    .
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    May 2012
    Age
    28
    Posts
    1,548
    Thanks given
    415
    Thanks received
    231
    Rep Power
    81
    Decent, I would make the Logout button larger.
    Inactive.


    Spoiler for FirstDesign:
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Apr 2013
    Posts
    1,456
    Thanks given
    341
    Thanks received
    148
    Rep Power
    0
    Thank you for the goo comments and ok ill do it later after ive been asleep
    Reply With Quote  
     

Page 1 of 6 123 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. BattleField RuneScape - A New Way to PK
    By Pilldom in forum Projects
    Replies: 417
    Last Post: 08-29-2017, 03:54 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •