Thread: 667 Converting

Results 1 to 6 of 6
  1. #1 667 Converting 
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Regarding this thread: https://www.rune-server.ee/runescape...efinition.html

    I'm not familiar working within the Client so I'm having a hard time converting this. Any help is appreciated, I just need to convert the code posted in that thread to 667.


    Rep + Thanks

    FIXED

    Code:
    int selfId = ihash;
    int interfaceId = (selfId >> 16); 
    int componentId = (selfId & 0xFFF);
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    24 Bump
    Reply With Quote  
     

  3. #3  
    van 't stad

    Shnek's Avatar
    Join Date
    Oct 2013
    Posts
    1,065
    Thanks given
    343
    Thanks received
    297
    Rep Power
    109
    Find the IComponentDefinition in the client, if you don't have a file backtrace where the interface archive is read. Once you have the file, look for encoding method which looks this (prob less refactored)
    Attached image
    The part you are looking for is this(still in the same method), where the options are loaded. Here you can follow the guide from the link you provided
    Attached image
    Attached image

    Do not use the vps from ovh, blocking vps without reason and no customer support
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Shnek View Post
    Find the IComponentDefinition in the client, if you don't have a file backtrace where the interface archive is read. Once you have the file, look for encoding method which looks this (prob less refactored)
    Attached image
    The part you are looking for is this(still in the same method), where the options are loaded. Here you can follow the guide from the link you provided
    Attached image
    First off, thanks for the reply. I'm aware of everything you explained already. I know it's in IComponentDefinitions, and I know it's in the decode method.

    Code:
    int selfId = -440872681 * ihash; 
    int interfaceId = (selfId >> 16); 
    int componentId = (selfId & 0xFFF);
    ^ This code is for 718. (Literally, none of that code is in my IComponentDefinition class)

    I'm having a hard time following that guide because the methods, and int's/strings are named differently so I can't figure out where to look.
    Reply With Quote  
     

  5. #5  
    van 't stad

    Shnek's Avatar
    Join Date
    Oct 2013
    Posts
    1,065
    Thanks given
    343
    Thanks received
    297
    Rep Power
    109
    Quote Originally Posted by Levels View Post
    First off, thanks for the reply. I'm aware of everything you explained already. I know it's in IComponentDefinitions, and I know it's in the decode method.

    Code:
    int selfId = -440872681 * ihash; 
    int interfaceId = (selfId >> 16); 
    int componentId = (selfId & 0xFFF);
    ^ This code is for 718. (Literally, none of that code is in my IComponentDefinition class)

    I'm having a hard time following that guide because the methods, and int's/strings are named differently so I can't figure out where to look.
    Copy that in your decode method, should work without refactoring needed
    Attached image

    Do not use the vps from ovh, blocking vps without reason and no customer support
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Quote Originally Posted by Shnek View Post
    Copy that in your decode method, should work without refactoring needed
    Figured it out.

    Code:
    int selfId = ihash;
    int interfaceId = (selfId >> 16); 
    int componentId = (selfId & 0xFFF);
    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. [667] Converting Fairy Rings from a 718
    By 13lack drag in forum Help
    Replies: 2
    Last Post: 06-22-2015, 06:36 AM
  2. [667/***] Converted RTL Voting System V2
    By NewKid in forum Snippets
    Replies: 28
    Last Post: 01-09-2013, 05:14 AM
  3. dementhium convert 667 error
    By minecraft in forum Help
    Replies: 0
    Last Post: 01-27-2012, 03:02 PM
  4. Ziotic 640 Converted to 667
    By `Lubricant in forum Buying
    Replies: 1
    Last Post: 12-30-2011, 02:43 AM
  5. How do I Convert 562 to 667 Please Help!!!!
    By DeathcoderxHD in forum Help
    Replies: 0
    Last Post: 12-21-2011, 11:02 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
  •