Thread: 876 Disable Lobby

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11  
    Donator
    The Stoned's Avatar
    Join Date
    Jan 2013
    Posts
    619
    Thanks given
    56
    Thanks received
    76
    Rep Power
    58
    Quote Originally Posted by clem585 View Post
    Try looking for;

    Code:
    (false, false,
    or

    Code:
    -1L);
    Also the 2 classes should be defined in the static block of your client in a class array (I think):

    Code:
    static {
    ...
    aClass25Array8679 = new Class25[] { aClass25_8711, aClass25_8693 };
    ...
    }
    I have found "-1L" in client.java, and here is a snippet from a nested if statement that involves a comparison with -1L.
    Code:
    if(Class171.aGarbageCollectorMXBean2017 != null) {
                         long var6 = Class171.aGarbageCollectorMXBean2017.getCollectionTime();
                         if(-3336266375298172389L * aLong11269 != -1L) {
                            long var8 = var6 - -3336266375298172389L * aLong11269;
                            long var10 = var3 - -4162482883498417561L * aLong11289;
                            if(var10 != 0L) {
                               var5 = (int)(100L * var8 / var10);
                            }
                         }
    
                         aLong11269 = var6 * -5929936462019784685L;
                         aLong11289 = -1765527360838100649L * var3;
                      }
    If you are interested in the entire if statement.
    Spoiler for Client.java:
    Code:
    if(null != Class593.aClass657_7820) {
                   if(Class593.aClass657_7820.anInt8491 * -1432920957 != -1) {
                      var17 = Class115.method1414(OutFrame.aClass405_4238, aClass111_11060.aClass14_1342, 236467552);
                      if(null == Class171.aGarbageCollectorMXBean2017 || !Class171.aGarbageCollectorMXBean2017.isValid()) {
                         try {
                            Iterator var19 = ManagementFactory.getGarbageCollectorMXBeans().iterator();
    
                            while(var19.hasNext()) {
                               GarbageCollectorMXBean var2 = (GarbageCollectorMXBean)var19.next();
                               if(var2.isValid()) {
                                  Class171.aGarbageCollectorMXBean2017 = var2;
                                  aLong11289 = 1765527360838100649L;
                                  aLong11269 = 5929936462019784685L;
                               }
                            }
                         } catch (Throwable var16) {
                            ;
                         }
                      }
    
                      long var3 = Class255.time((byte)24);
                      var5 = -1;
                      if(Class171.aGarbageCollectorMXBean2017 != null) {
                         long var6 = Class171.aGarbageCollectorMXBean2017.getCollectionTime();
                         if(-3336266375298172389L * aLong11269 != -1L) {
                            long var8 = var6 - -3336266375298172389L * aLong11269;
                            long var10 = var3 - -4162482883498417561L * aLong11289;
                            if(var10 != 0L) {
                               var5 = (int)(100L * var8 / var10);
                            }
                         }
    
                         aLong11269 = var6 * -5929936462019784685L;
                         aLong11289 = -1765527360838100649L * var3;
                      }
    
                      var17.out.write128Byte(anInt5627 * -421428705, (byte)-11);
                      var17.out.writeLEShort128(Class593.aClass657_7820.anInt8491 * -1432920957, -1874109936);
                      var17.out.writeByte(var5, -1189423228);
                      aClass111_11060.write(var17, (byte)29);
                      Class593.aClass657_7820 = null;
                      Class417.aLong4507 = -9073787023541698449L * (var3 + 30000L);
                   }
                }
    Reply With Quote  
     

  2. #12  
    Donator
    The Stoned's Avatar
    Join Date
    Jan 2013
    Posts
    619
    Thanks given
    56
    Thanks received
    76
    Rep Power
    58
    Unfortunately, I still have not found out how to disable the lobby.

    I have tried numerous server manipulations on the login methods, but can't quite remove the lobby. I have tried to simulate the lobby loading and executing world login methods automatically, but that didn't work either.

    Does anyone know how to disable the Lobby on a RS3 server/client?
    Reply With Quote  
     

  3. #13  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,556
    Thanks given
    654
    Thanks received
    640
    Rep Power
    358
    Nothing you do server-sided will fix it. Simulating lobby->world login will be near impossible since the client itself is the one doing the login request, so there's no way to do it the other way around. I already told you how though, have you found matching classes in the static block?
    Project thread
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #14  
    Donator
    The Stoned's Avatar
    Join Date
    Jan 2013
    Posts
    619
    Thanks given
    56
    Thanks received
    76
    Rep Power
    58
    Quote Originally Posted by clem585 View Post
    Nothing you do server-sided will fix it. Simulating lobby->world login will be near impossible since the client itself is the one doing the login request, so there's no way to do it the other way around. I already told you how though, have you found matching classes in the static block?
    No I have not. I have been looking for any matching classes, methods, booleans, and ints, but can not find it. Client work is mind numbing with how everything is named. Would it help if I linked my client code with you?
    Reply With Quote  
     

  5. #15  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,556
    Thanks given
    654
    Thanks received
    640
    Rep Power
    358
    Quote Originally Posted by The Stoned View Post
    No I have not. I have been looking for any matching classes, methods, booleans, and ints, but can not find it. Client work is mind numbing with how everything is named. Would it help if I linked my client code with you?
    yeaa

    Code:
    aClass111Array11061 = new Class111[]{aClass111_11060, aClass111_11059};
    First line of the client static block is a match lol
    Project thread
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. Thankful user:


  7. #16  
    Donator
    The Stoned's Avatar
    Join Date
    Jan 2013
    Posts
    619
    Thanks given
    56
    Thanks received
    76
    Rep Power
    58
    Quote Originally Posted by clem585 View Post
    yeaa

    Code:
    aClass111Array11061 = new Class111[]{aClass111_11060, aClass111_11059};
    First line of the client static block is a match lol
    sorry... Is this the line that connects to the lobby instead of the world?
    Reply With Quote  
     

  8. #17  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,556
    Thanks given
    654
    Thanks received
    640
    Rep Power
    358
    Quote Originally Posted by The Stoned View Post
    sorry... Is this the line that connects to the lobby instead of the world?
    Kinda, these classes are used to switch between world and lobby logins. Just fiddle with it and replace all occurences of 1 by the other when you find them in this context. You'll also have to replace the number "-1058684408" by 471358088 or vice versa (the numbers will be different for you). You can find both numbers by searching for both classes in the client and you should find them when the classes are referenced in the context shown below. Oh and by context, I mean a bit of code that's similar to the block of code I posted under. I found like 4-5 when searching for references to "aClass111_11060"

    Quote Originally Posted by clem585 View Post
    It doesn't have to be Loader, you can put your constants in any class. You're right, there is more changes to make in the client for it to work, but you have everything you need to implement the first part with the socket. The 2nd part you need to change, is some random class/int that is defined somewhere in your client:

    Code:
     // modified version
    static void method6208(String string, String string_2_, int i) {
    		try {
    			Class360.anInt3868 = Loader.LOBBY_ENABLED ? -1058684408 : 471358088;
    			Class360.aClass25_3905 = Loader.LOBBY_ENABLED ? client.aClass25_8693 : client.aClass25_8711;
    			Class460.method5981(false, false, string, string_2_, -1L);
    		} catch (RuntimeException runtimeexception) {
    			throw Class346.method4175(runtimeexception, new StringBuilder()
    					.append("um.z(").append(')').toString());
    		}
    	}
    
    //what it probably looks like right now
    
    static void method6208(String string, String string_2_, int i) {
    		try {
    			Class360.anInt3868 = 471358088;
    			Class360.aClass25_3905 = client.aClass25_8711;
    			Class460.method5981(false, false, string, string_2_, -1L);
    		} catch (RuntimeException runtimeexception) {
    			throw Class346.method4175(runtimeexception, new StringBuilder()
    					.append("um.z(").append(')').toString());
    		}
    	}
    Once you found this part, you can try looking for references to whatever "client.aClass25_8711" is in your client, and you should find the other class/obs. int pretty easily.
    Project thread
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. Thankful user:


  10. #18  
    Mug Club


    Join Date
    Jul 2011
    Age
    26
    Posts
    1,875
    Thanks given
    510
    Thanks received
    890
    Discord
    View profile
    Rep Power
    332
    Quote Originally Posted by The Stoned View Post
    Unfortunately, RS3 Client work is very unfamiliar to me. Do you know how I can pull this off?

    How does the "Play Now" button inside the lobby know to load into the world?
    RS3 lobby logic works exactly the same to 718's lobby. The only thing that is different is the format of the data that gets sent but that's irrelevant to disabling or enabling it.


    My Open Source Projects
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  11. #19  
    Registered Member

    Join Date
    Nov 2015
    Age
    21
    Posts
    1,999
    Thanks given
    333
    Thanks received
    1,049
    Rep Power
    5000
    just find the part where it sends the lobby interfaces and make your changes there, no need to mess with the login protocol itself
    Reply With Quote  
     

  12. #20  
    Donator
    The Stoned's Avatar
    Join Date
    Jan 2013
    Posts
    619
    Thanks given
    56
    Thanks received
    76
    Rep Power
    58
    Thanks to the help of clem585, I have discovered how to disable the lobby. Thank you to everyone who was willing to help
    Reply With Quote  
     

Page 2 of 3 FirstFirst 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. Replies: 5
    Last Post: 11-21-2016, 01:44 AM
  2. Disabling Lobby
    By Shaigem in forum Help
    Replies: 0
    Last Post: 08-16-2013, 01:39 AM
  3. How to disable lobby in 718 server?
    By rockarocka in forum Help
    Replies: 5
    Last Post: 05-24-2013, 08:08 PM
  4. 645 how to disable lobby
    By brain090 in forum Snippets
    Replies: 4
    Last Post: 05-16-2011, 05:40 AM
  5. Disabling the "Ancient" SideBar
    By Ninja Cat in forum Tutorials
    Replies: 10
    Last Post: 08-25-2007, 12:46 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •