Thread: Cs2 and configs and appearance masks

Results 1 to 4 of 4
  1. #1 Cs2 and configs and appearance masks 
    Registered Member
    Join Date
    Jan 2013
    Posts
    610
    Thanks given
    292
    Thanks received
    120
    Rep Power
    39
    I was just wondering, how do people even figure out masks for appearance and get configs? Also, how do people get client script Ids and parameters from? I know there is a way to dump them, but I wouldn't know where to start. It would be swell if someone could help me with this one thing.
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    the script id's for interfaces can usually be found by looking at the interface data

    it can have a script for all possible events (load, mouse hover, mouse click, right click etc)

    the parameters can also be found here

    alternatively you can dump it from rs
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,565
    Thanks given
    625
    Thanks received
    1,303
    Rep Power
    66
    Scripts data can be found in interface definitions.

    Configs can be dumped from the live RS client by getting a decompiled client and printing out the outgoing/incoming packet payload. And the can be dumped typically in node "definitions".

    Appearance masks just like any other masks or client related data can be identified in said client.

    Code:
    gender = (byte) (flag & 0x1);
    			boolean isNpc = isAsNPC;
    			isAsNPC = 0 != (flag & 0x2);
    			boolean zeroXFour = (flag & 0x4) != 0;
    			int tileSize = super.getSize();
    			method4421((flag >> 3 & 0x7) + 1, -2030022890);
    			boolean titleBeforeName = 0 != (flag & 0x40);
    			boolean titleAfterName = 0 != (flag & 0x80);
    			Class217 class217 = Class217.method2005(method4337().aClass217_2599);
    			class217.chunkSpaceY += (float) (getSize() - tileSize << 8);
    			class217.chunkSpaceX += (float) (getSize() - tileSize << 8);
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member
    Join Date
    Jan 2013
    Posts
    610
    Thanks given
    292
    Thanks received
    120
    Rep Power
    39
    Quote Originally Posted by Harlan View Post
    the script id's for interfaces can usually be found by looking at the interface data

    it can have a script for all possible events (load, mouse hover, mouse click, right click etc)

    the parameters can also be found here

    alternatively you can dump it from rs
    Ah, I gotcha.

    Quote Originally Posted by Taylor.M View Post
    Scripts data can be found in interface definitions.

    Configs can be dumped from the live RS client by getting a decompiled client and printing out the outgoing/incoming packet payload. And the can be dumped typically in node "definitions".

    Appearance masks just like any other masks or client related data can be identified in said client.

    Code:
    gender = (byte) (flag & 0x1);
    			boolean isNpc = isAsNPC;
    			isAsNPC = 0 != (flag & 0x2);
    			boolean zeroXFour = (flag & 0x4) != 0;
    			int tileSize = super.getSize();
    			method4421((flag >> 3 & 0x7) + 1, -2030022890);
    			boolean titleBeforeName = 0 != (flag & 0x40);
    			boolean titleAfterName = 0 != (flag & 0x80);
    			Class217 class217 = Class217.method2005(method4337().aClass217_2599);
    			class217.chunkSpaceY += (float) (getSize() - tileSize << 8);
    			class217.chunkSpaceX += (float) (getSize() - tileSize << 8);
    Thanks, that helped.
    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

Similar Threads

  1. Compile and .config [URGENT]
    By TehWorstCoder in forum Help
    Replies: 0
    Last Post: 11-19-2010, 04:37 AM
  2. Replies: 5
    Last Post: 09-16-2010, 02:00 AM
  3. Replies: 23
    Last Post: 08-21-2010, 08:13 PM
  4. Object Configs and their use
    By dragonkk in forum Configuration
    Replies: 64
    Last Post: 06-24-2010, 08:51 PM
  5. Client config and example
    By Danno in forum Tutorials
    Replies: 36
    Last Post: 08-14-2008, 01:50 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
  •