Thread: [742] Clientscript maps key/value types

Results 1 to 7 of 7
  1. #1 [742] Clientscript maps key/value types 
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Anybody managed to decrypt all the cs maps key/value types? I know Walied had refactored these:

    Code:
    case 'A':
        return "Animation ID";
    case 'c':
        return "Worldtile Hash";
    case 'g':
        return "Clientscript Map ID";
    case 'i':
        return "Integer";
    case 'I':
        return "Interface Hash";
    case 'l':
        return "Long";
    case 'm':
        return "Model ID";
    case 'n':
        return "NPC ID";
    case 'o':
        return "Item ID";
    case 's':
        return "String";
    case 'S':
        return "Skill ID";
    case 't':
        return "Graphics ID";
    case 'v':
        return "Container update key ID";
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6':
    case '7':
    case '8':
    case '9':
        return type + "";
    And I managed to refactor:

    Code:
    case 'd':
    case 'x':
    case '@':
    case '«':
    case 'j':
    case 'M':
    But I need to find what these ones mean:

    Code:
    case 'K':
    case 'J':
    case 'k':
    case '`':
    Project thread
    Reply With Quote  
     

  2. #2  
    Respected Member


    Polar's Avatar
    Join Date
    Sep 2015
    Age
    28
    Posts
    420
    Thanks given
    0
    Thanks received
    418
    Rep Power
    3098
    The ones I have.

    Code:
    		scriptVarTypes.put((int) 'A', "SEQ");
    		scriptVarTypes.put((int) 'i', "INT");
    		scriptVarTypes.put((int) '1', "BOOLEAN");
    		scriptVarTypes.put((int) 's', "STRING");
    		scriptVarTypes.put((int) 'v', "INV");
    		scriptVarTypes.put((int) 'z', "CHAR");
    		scriptVarTypes.put((int) 'O', "OBJECT");
    		scriptVarTypes.put((int) 'M', "MIDI");
    		scriptVarTypes.put((int) 'K', "IDKIT");
    		scriptVarTypes.put((int) 'o', "OBJ");
    		scriptVarTypes.put((int) 'n', "NPC");
    		scriptVarTypes.put((int) 'c', "COORDGRID");
    		scriptVarTypes.put((int) 'S', "STAT");
    		scriptVarTypes.put((int) 'm', "MODEL");
    		scriptVarTypes.put((int) 'd', "GRAPHIC");
    		scriptVarTypes.put((int) 'f', "FONTMETRICS");
    		scriptVarTypes.put((int) 'I', "COMPONENT");
    		scriptVarTypes.put((int) 'k', "CHATCAT");
    		scriptVarTypes.put((int) 'g', "ENUM");
    		scriptVarTypes.put((int) 'J', "STRUCT");
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Renown Programmer


    Join Date
    Jul 2009
    Posts
    1,846
    Thanks given
    69
    Thanks received
    1,113
    Rep Power
    3170
    https://raw.githubusercontent.com/So...2/CS2Type.java

    See
    Code:
    CS2Type forJagexChar(int _char)
    Reply With Quote  
     

  5. Thankful users:


  6. #4  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by mgi125 View Post
    https://raw.githubusercontent.com/So...2/CS2Type.java

    See
    Code:
    CS2Type forJagexChar(int _char)
    Quote Originally Posted by Polar View Post
    The ones I have.

    Code:
    		scriptVarTypes.put((int) 'A', "SEQ");
    		scriptVarTypes.put((int) 'i', "INT");
    		scriptVarTypes.put((int) '1', "BOOLEAN");
    		scriptVarTypes.put((int) 's', "STRING");
    		scriptVarTypes.put((int) 'v', "INV");
    		scriptVarTypes.put((int) 'z', "CHAR");
    		scriptVarTypes.put((int) 'O', "OBJECT");
    		scriptVarTypes.put((int) 'M', "MIDI");
    		scriptVarTypes.put((int) 'K', "IDKIT");
    		scriptVarTypes.put((int) 'o', "OBJ");
    		scriptVarTypes.put((int) 'n', "NPC");
    		scriptVarTypes.put((int) 'c', "COORDGRID");
    		scriptVarTypes.put((int) 'S', "STAT");
    		scriptVarTypes.put((int) 'm', "MODEL");
    		scriptVarTypes.put((int) 'd', "GRAPHIC");
    		scriptVarTypes.put((int) 'f', "FONTMETRICS");
    		scriptVarTypes.put((int) 'I', "COMPONENT");
    		scriptVarTypes.put((int) 'k', "CHATCAT");
    		scriptVarTypes.put((int) 'g', "ENUM");
    		scriptVarTypes.put((int) 'J', "STRUCT");
    Thanks a lot.

    Quote Originally Posted by Polar View Post
    The ones I have.

    Code:
    		scriptVarTypes.put((int) 'A', "SEQ");
    		scriptVarTypes.put((int) 'i', "INT");
    		scriptVarTypes.put((int) '1', "BOOLEAN");
    		scriptVarTypes.put((int) 's', "STRING");
    		scriptVarTypes.put((int) 'v', "INV");
    		scriptVarTypes.put((int) 'z', "CHAR");
    		scriptVarTypes.put((int) 'O', "OBJECT");
    		scriptVarTypes.put((int) 'M', "MIDI");
    		scriptVarTypes.put((int) 'K', "IDKIT");
    		scriptVarTypes.put((int) 'o', "OBJ");
    		scriptVarTypes.put((int) 'n', "NPC");
    		scriptVarTypes.put((int) 'c', "COORDGRID");
    		scriptVarTypes.put((int) 'S', "STAT");
    		scriptVarTypes.put((int) 'm', "MODEL");
    		scriptVarTypes.put((int) 'd', "GRAPHIC");
    		scriptVarTypes.put((int) 'f', "FONTMETRICS");
    		scriptVarTypes.put((int) 'I', "COMPONENT");
    		scriptVarTypes.put((int) 'k', "CHATCAT");
    		scriptVarTypes.put((int) 'g', "ENUM");
    		scriptVarTypes.put((int) 'J', "STRUCT");
    Huh would you mind (if you know) giving a quick description of each of the 3 types (k, K, J)? Since Jagex's naming is rarely used in casual rune-server threads, it's hard to find documentation on these terms here. I know what a struct is but I'm confused as to what it refers to in this context. Guessing it's a reference id to a struct in a different index. As for the other 2 terms (chatcat, idkit) I have no idea.

    Edit: I'm guessing Struct are just Jagex's name for "general maps": https://www.rune-server.ee/runescape...eral-maps.html
    Project thread
    Reply With Quote  
     

  7. #5  
    Renown Programmer


    Join Date
    Jul 2009
    Posts
    1,846
    Thanks given
    69
    Thanks received
    1,113
    Rep Power
    3170
    Quote Originally Posted by clem585 View Post
    Thanks a lot.



    Huh would you mind (if you know) giving a quick description of each of the 3 types (k, K, J)? Since Jagex's naming is rarely used in casual rune-server threads, it's hard to find documentation on these terms here. I know what a struct is but I'm confused as to what it refers to in this context. Guessing it's a reference id to a struct in a different index. As for the other 2 terms (chatcat, idkit) I have no idea.

    Edit: I'm guessing Struct are just Jagex's name for "general maps": https://www.rune-server.ee/runescape...eral-maps.html
    chatcat - Quick chat category
    idkit - Identitykit (So ids for clothes, hairstyles, etc)
    Reply With Quote  
     

  8. Thankful user:


  9. #6  
    Respected Member


    Polar's Avatar
    Join Date
    Sep 2015
    Age
    28
    Posts
    420
    Thanks given
    0
    Thanks received
    418
    Rep Power
    3098
    Quote Originally Posted by clem585 View Post
    Thanks a lot.



    Huh would you mind (if you know) giving a quick description of each of the 3 types (k, K, J)? Since Jagex's naming is rarely used in casual rune-server threads, it's hard to find documentation on these terms here. I know what a struct is but I'm confused as to what it refers to in this context. Guessing it's a reference id to a struct in a different index. As for the other 2 terms (chatcat, idkit) I have no idea.

    Edit: I'm guessing Struct are just Jagex's name for "general maps": https://www.rune-server.ee/runescape...eral-maps.html
    I believe your edit is correct, people here call them "general maps," but I think they also have their own index in later revision. As for the other two, mgi covered what they are already.
    Reply With Quote  
     

  10. Thankful user:


  11. #7  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Polar View Post
    I believe your edit is correct, people here call them "general maps," but I think they also have their own index in later revision. As for the other two, mgi covered what they are already.
    Thanks. As stated in the thread, general maps are stored in index2 archive26 & index22 on lower revisions, while they're only stored in the latter for higher revisions.
    Project thread
    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. [742] World Map Crashing
    By bobismyname in forum Help
    Replies: 18
    Last Post: 02-27-2015, 06:42 PM
  2. 718 loading 742 all maps fixed
    By lol ftw lol in forum Show-off
    Replies: 17
    Last Post: 08-21-2013, 10:57 AM
  3. Replies: 1
    Last Post: 05-03-2012, 02:03 AM
  4. Secondary map packet values
    By peterbjornx in forum Snippets
    Replies: 3
    Last Post: 03-15-2009, 10:33 PM
  5. [JAVA]Character types/values
    By Dei Esercito in forum Application Development
    Replies: 5
    Last Post: 02-26-2009, 03:06 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
  •