Thread: I need some general information.

Results 1 to 6 of 6
  1. #1 I need some general information. 
    Registered Member

    Join Date
    Mar 2009
    Posts
    125
    Thanks given
    4
    Thanks received
    2
    Rep Power
    110
    Can someone explain the following terms for me (What is it? What does it do? How can it be obtained?) in relation to RS2Emulators:


    • Mapdata
    • XTea (I saw it somewhere :\)
    • Ukeys



    Also, I know that to upgrade the revision of your RS2 Server, you need to change some things (as with any other game emulator) such as the packet structures and opCodes. My question is, what other things must you change or add/remove in order to upgrade your revision support.

    Thanks,
    Becool
    New private server network comming out! [03.10.2011]
    Need freelance webdesigners!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Polaroid's Avatar
    Join Date
    Jul 2009
    Posts
    936
    Thanks given
    1,088
    Thanks received
    63
    Rep Power
    94
    Mapdata is the information files that load the objects
    XTea and Ukeys are what stop us from loading different revisions. They are the locks and you have to have the keys. That's why we have such limited 474 stuff
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Mar 2009
    Posts
    125
    Thanks given
    4
    Thanks received
    2
    Rep Power
    110
    Okay, so, How do you obtain these keys. And once obtained, how do you grant yourself access ? I know thats a tough question to ask, but since rs2 emulation has been going on for a while, I think i can ask without flame.
    New private server network comming out! [03.10.2011]
    Need freelance webdesigners!
    Reply With Quote  
     

  4. #4  
    Respected Member


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    12,551
    Thanks given
    173
    Thanks received
    5,618
    Rep Power
    5000
    mapdata is the gay name given for XTEA keys, it's the same thing.

    mapdata topics
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    ukey topics
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Programmer, Veteran and Respected Member



    Join Date
    Mar 2007
    Posts
    5,052
    Thanks given
    2,615
    Thanks received
    3,506
    Rep Power
    5000
    Quote Originally Posted by becool007 View Post
    Okay, so, How do you obtain these keys. And once obtained, how do you grant yourself access ? I know thats a tough question to ask, but since rs2 emulation has been going on for a while, I think i can ask without flame.
    You have to dump the 'mapdata' from the server.

    The 'update keys' can be calculated from a copy of the cache or dumped from the server.
    .
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,201
    Thanks given
    281
    Thanks received
    1,093
    Rep Power
    1366
    Quote Originally Posted by becool007 View Post
    Can someone explain the following terms for me (What is it? What does it do? How can it be obtained?) in relation to RS2Emulators:


    • Mapdata
    • XTea (I saw it somewhere :\)
    • Ukeys



    Also, I know that to upgrade the revision of your RS2 Server, you need to change some things (as with any other game emulator) such as the packet structures and opCodes. My question is, what other things must you change or add/remove in order to upgrade your revision support.

    Thanks,
    Becool
    Mapdata:

    Mapdata was the name given to the XTEA keys used in encrypting en decrypting the landscape files in the cache. For example the IDX5 file in the cache folder contains all data related to the maps loaded onto the client. There are several kinds of data blocks in this file, one of them being the data for the floor (i.e. tile types as lava, stone etc) and on of them being the data for the objects loaded on top of the map.
    These blocks with object data are encrypted with XTEA encryption and the client needs the keys to be included in the packet that loads maps in the client. The client uses these to decrypt the object data blocks so the correct objects can be loaded. We dump these keys as it's impossible to bruteforce them, the encryption is 128 bits leaving +- 2^128 possible key combinations.

    Ukeys:

    Ukeys was the name given to a block of data calculated of the reference tables of the cache. There is a file in the cache that contains sizes, pointers etc on how to read all the different cache files. The ukeys exist out of a version number of each of these reference tables and their CRC key. Basically the 'ukeys' are a table of the reference tables crc's and version numbers. The client compares this table to the table on the local machine. If something is outdated it can then request the changed files/containers etc from the servers update server.

    Revision updating:

    In general you will have to update your packets to match the new clients structures and most of the time you need to dump (unless you know how to calculate or retrieve positions) basic interface information as in child id locations for subinterfaces.
    Reply With Quote  
     

  9. Thankful users:



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. General X 317
    By Vindicus in forum Advertise
    Replies: 10
    Last Post: 02-22-2012, 08:45 PM
  2. [INFORMATION] Noclip information
    By Zee Best in forum Snippets
    Replies: 17
    Last Post: 12-03-2009, 12:01 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
  •