Thread: Identifying packets.

Results 1 to 4 of 4
  1. #1 Identifying packets. 
    Registered Member
    Join Date
    Jan 2010
    Posts
    274
    Thanks given
    9
    Thanks received
    7
    Rep Power
    24
    packet id is what ? it says -110 but thats not possible? what is it and how do i identify it?

    Code:
    	    if ((Class131_Sub35.anInt4583 ^ 0xffffffff) == -110) {
    		int i_52_ = Class23_Sub3_Sub1.aClass131_Sub15_Sub2_5231
    				.readUnsignedLEShortA(-1);
    		int i_53_ = Class23_Sub3_Sub1.aClass131_Sub15_Sub2_5231
    				.readUnsignedLEInt(-16777216);
    		int i_54_ = Class23_Sub3_Sub1.aClass131_Sub15_Sub2_5231
    				.readUnsignedShortA(false);
    		int i_55_ = Class23_Sub3_Sub1.aClass131_Sub15_Sub2_5231
    				.readUnsignedLEShortA(-1);
    Reply With Quote  
     

  2. #2  
    Renown Programmer
    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,455
    Thanks given
    0
    Thanks received
    845
    Rep Power
    3019
    It's an artifact of the client's obfuscation. Notice how the left hand side of the condition has ^ 0xffffffff. If you see more statements of the form (variable ^ 0xffffffff) == value), the actual value on the right-hand side is -value - 1 (or ~value if you're familiar with bitwise operations). In this case, that's -(-110) - 1 = 110 - 1 = 109.
    :-)
    Reply With Quote  
     

  3. #3  
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,172
    Thanks given
    1,380
    Thanks received
    527
    Rep Power
    982
    Quote Originally Posted by Method View Post
    It's an artifact of the client's obfuscation. Notice how the left hand side of the condition has ^ 0xffffffff. If you see more statements of the form (variable ^ 0xffffffff) == value), the actual value on the right-hand side is -value - 1 (or ~value if you're familiar with bitwise operations). In this case, that's -(-110) - 1 = 110 - 1 = 109.
    Can you explain the things like this:
    Code:
       public void method_756(int var1, byte var2) {
          try {
             this.field_439[(this.field_446 += -1616961595) * 1789462285 - 1] = (byte)(var1 + this.field_451.method_2016(-1758232943));
          } catch (RuntimeException var3) {
             throw class_90.method_1941(var3, "dc.g(" + ')');
          }
       }
    I know it is a part of the obfuscation, how do you know what field_446 actually is or why is -1758232943 a parameter in method_2016 if it only is used for this:

    Code:
    final int method_2016(int var1) {
          try {
             if(0 == (this.field_1387 -= -1516028427) * -548682147 + 1) {
                if(var1 == 98391278) {
                   throw new IllegalStateException();
                }
    
                this.method_2019(-1002167978);
                this.field_1387 = -40192245;
             }
    
             return this.field_1384[this.field_1387 * -548682147];
          } catch (RuntimeException var2) {
             throw class_90.method_1941(var2, "dq.d(" + ')');
          }
       }
    Reply With Quote  
     

  4. #4  
    Номер 1


    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,895
    Thanks given
    1,564
    Thanks received
    2,624
    Rep Power
    5000
    Quote Originally Posted by All3n View Post
    Can you explain the things like this:
    Code:
       public void method_756(int var1, byte var2) {
          try {
             this.field_439[(this.field_446 += -1616961595) * 1789462285 - 1] = (byte)(var1 + this.field_451.method_2016(-1758232943));
          } catch (RuntimeException var3) {
             throw class_90.method_1941(var3, "dc.g(" + ')');
          }
       }
    I know it is a part of the obfuscation, how do you know what is actually being added to field_446 or why is -1758232943 a parameter in method_2016 if it only is used for this:

    Code:
    final int method_2016(int var1) {
          try {
             if(0 == (this.field_1387 -= -1516028427) * -548682147 + 1) {
                if(var1 == 98391278) {
                   throw new IllegalStateException();
                }
    
                this.method_2019(-1002167978);
                this.field_1387 = -40192245;
             }
    
             return this.field_1384[this.field_1387 * -548682147];
          } catch (RuntimeException var2) {
             throw class_90.method_1941(var2, "dq.d(" + ')');
          }
       }
    Veer aka super_ explained this already, look posts by him.
    Reply With Quote  
     

  5. Thankful user:



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. Magic on NPC packet identifying?
    By Thee Elephant in forum Help
    Replies: 3
    Last Post: 04-15-2012, 04:33 AM
  2. Identifying packets
    By Nemmyz in forum Help
    Replies: 2
    Last Post: 11-18-2011, 06:25 PM
  3. Replies: 14
    Last Post: 05-18-2010, 08:07 PM
  4. Identifying incoming packet streams?
    By Paketa in forum Help
    Replies: 5
    Last Post: 11-08-2009, 06:49 AM
  5. #533 Packet Values + Identified
    By Maxi in forum Configuration
    Replies: 2
    Last Post: 07-10-2009, 08:39 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
  •