Thread: how to add opcodes?

Results 1 to 2 of 2
  1. #1 how to add opcodes? 
    Registered Member
    Join Date
    Mar 2012
    Posts
    92
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    http://www.rune-server.org/runescape...ta-packer.html
    it says i need 2 add opcodes can any1 tell me how?
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    May 2010
    Posts
    1,344
    Thanks given
    961
    Thanks received
    132
    Rep Power
    216
    Wrong section but I'll help as you seem to be new here.

    You only need to add definition opcodes for newer revisions, let's say Jagex added a new opcode for item lighting. Now you gotta download a deob that has item lighting opcode added, because you'll need to know what's the opcode's index and what data does it read. And let's say It's something like this:
    Code:
    if (opcode == 1337)
    	item.itemLighting = stream.getShort();
    Now this example gets the opcode 1337 of the item definition once It's found. It defines the item's lighting to the buffered data, get short, or get signed short.

    There's an easier way to find opcodes is by printing out all unknown/undefined opcodes.

    Hope this helps.
    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. 639 Opcodes?
    By legend 349 in forum Help
    Replies: 4
    Last Post: 06-15-2012, 04:15 PM
  2. Opcodes
    By Holy Symbol in forum Help
    Replies: 0
    Last Post: 05-10-2012, 01:49 PM
  3. [Hyperion] Opcodes
    By Zonchord in forum Help
    Replies: 29
    Last Post: 07-03-2010, 08:09 PM
  4. Need help w/ packets/opcodes
    By Andys1481 in forum Application Development
    Replies: 13
    Last Post: 10-11-2009, 06:23 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
  •