Thread: One button on main screen client!

Results 1 to 8 of 8
  1. #1 One button on main screen client! 
    Blair'
    Guest
    Instead of having "New user" and "Existing User" on the main client screen when you load your client I'm going to teach you how to remove that 2nd interface so no matter where you click you can only go to the user name screen.


    First open Client.Java
    And search this
    Code:
    if(super.anInt26 == 1 && super.anInt27 >= i - 75 && super.anInt27 <= i + 75 && super.anInt28 >= l - 20 && super.anInt28 <= l + 20)
    You should see something like this
    Code:
                if(super.anInt26 == 1 && super.anInt27 >= i - 75 && super.anInt27 <= i + 75 && super.anInt28 >= l - 20 && super.anInt28 <= l + 20)
                {
                    anInt833 = 3;
                    anInt1216 = 0;
                }
    Replace that with this
    Code:
                /*if(super.anInt26 == 1 && super.anInt27 >= i - 75 && super.anInt27 <= i + 75 && super.anInt28 >= l - 20 && super.anInt28 <= l + 20)
                {
                    anInt833 = 3;
                    anInt1216 = 0;
                }*/
    Now search for
    Code:
    if(anInt833 == 0) {
    You should see some code like this
    Code:
            if(anInt833 == 0) {
                int i = c1 / 2 + 80;
                aClass30_Sub2_Sub1_Sub4_1270.method382(0x75a9a9, c / 2, anInt939, aClass42_Sub1_1068.aString1333, i, true);
                i = c1 / 2 - 20;
                aClass30_Sub2_Sub1_Sub4_1272.method382(0xffff00, c / 2, anInt939, "Project 72", i, true);
                i += 30;
                int l = c / 2 - 80;
                int k1 = c1 / 2 + 20;
                aClass30_Sub2_Sub1_Sub2_967.method361(l - 73, 16083, k1 - 20);
                aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, l, anInt939, "New User", k1 + 5, true);
                l = c / 2 + 80;
                aClass30_Sub2_Sub1_Sub2_967.method361(l - 73, 16083, k1 - 20);
                aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, l, anInt939, "Existing User", k1 + 5, true);
            }
    Replace all of that with this
    Code:
            if(anInt833 == 0) {
                int i = c1 / 2 + 80;
                aClass30_Sub2_Sub1_Sub4_1270.method382(0x75a9a9, c / 2, anInt939, aClass42_Sub1_1068.aString1333, i, true);
                i = c1 / 2 - 20;
                aClass30_Sub2_Sub1_Sub4_1272.method382(0xffff00, c / 2, anInt939, "Project 72", i, true);
                i += 30;
                int l = c / 2 - 80;
                int k1 = c1 / 2 + 20;
                //aClass30_Sub2_Sub1_Sub2_967.method361(l - 73, 16083, k1 - 20);
                //aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, l, anInt939, "New User", k1 + 5, true);
                l = c / 2 + 0;
                aClass30_Sub2_Sub1_Sub2_967.method361(l - 73, 16083, k1 - 20);
                aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, l, anInt939, "Existing User", k1 + 5, true);
            }

    Save & compile!
    Now you have a middle button that leads to the username & password screen no matter where you click!
    Reply With Quote  
     

  2. #2  
    35518
    Guest
    Why don't you just make it go to log in screen straight away..
    Reply With Quote  
     

  3. #3  
    Blair'
    Guest
    That's possible, but I made this for what I need.
    I just decided to release.
    Reply With Quote  
     

  4. #4  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    29
    Posts
    7,987
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Simple but useful. Thanks


    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    Already been posted countless times, use the search button before making a post of something that's been posted already.
    Reply With Quote  
     

  6. #6  
    Blair'
    Guest
    @simon,

    Thanks for the positive feed-back. Check my post count and join date.

    I'm fairly new & I don't spend my life searching for a tutorial I'm about to post.
    I figured I would share this with the community.

    Go back to the cave you crawled out of. Wanna-be mods fail.
    Reply With Quote  
     

  7. #7  
    Registered Member
    The Myth's Avatar
    Join Date
    Oct 2008
    Posts
    751
    Thanks given
    5
    Thanks received
    9
    Rep Power
    105
    *cough* leecher *cough*

    Blair you had another account before this new one, and you were pming me "cool tutorials" you had found on r-s 24/7, quit with the lieing bullshit.
    Funny how when one person talks to an invisible man and commits acts in their name it's called schizophrenia, but when 1.166 billion people do it simultaneously it's called religion.

    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    Quote Originally Posted by Blair' View Post
    @simon,

    Thanks for the positive feed-back. Check my post count and join date.

    I'm fairly new & I don't spend my life searching for a tutorial I'm about to post.
    I figured I would share this with the community.

    Go back to the cave you crawled out of. Wanna-be mods fail.
    Someone didn't get reputation +?
    Awwww
    Reply With Quote  
     


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
  •