Thread: Custom items in GE

Results 1 to 8 of 8
  1. #1 Custom items in GE 
    Registered Member
    Join Date
    Apr 2014
    Posts
    89
    Thanks given
    26
    Thanks received
    6
    Rep Power
    11
    How would I add my own custom items into the Grand Exchange?

    Items such as; Ava's accumulator, Magic capes
    Reply With Quote  
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Fxded View Post
    How would I add my own custom items into the Grand Exchange?

    Items such as; Ava's accumulator, Magic capes
    https://www.rune-server.org/runescap...-items-ge.html

    Remove ids to actually add them to the list. So if ava's id is 1126, if you remove 1126 from the list, it'll show in the list.
    Project thread
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    May 2008
    Posts
    446
    Thanks given
    136
    Thanks received
    52
    Rep Power
    355
    Opcode 65

    Attached image

    (Click on the logo above to view our server!)
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2014
    Posts
    89
    Thanks given
    26
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by Extea View Post
    Opcode 65
    Sorry, I'm still trying to learn.

    Could you explain more what "Opcode 65" is and where I can find it?

    Quote Originally Posted by clem585 View Post
    https://www.rune-server.org/runescap...-items-ge.html

    Remove ids to actually add them to the list. So if ava's id is 1126, if you remove 1126 from the list, it'll show in the list.
    I've seen this thread, and I've played with it for a while I couldn't get it to work.

    btw 10499 is the ID and it's not on the list.
    Reply With Quote  
     

  5. #5  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Fxded View Post
    Sorry, I'm still trying to learn.

    Could you explain more what "Opcode 65" is and where I can find it?



    I've seen this thread, and I've played with it for a while I couldn't get it to work.

    btw 10499 is the ID and it's not on the list.
    If you use a tool like Frosty editor, you can modify what each "opcode" does for any item. An opcode is a block of data that holds information on a thing, in this case, an item. There's, for example, an opcode for name, modelId, invModelOffsetX/Y/Z, etc... He told you that you need to edit opcode 65, which according to him holds a boolean that tells weither or not the item is banned on the ge. On my source it says it's for noted/unnoted though so I don't think he's right if he's talking about 718+.

    Tbh, I'm pretty sure the the thread I linked is the correct way. Depending on the revision, your list might be in a different map (#1525-1575 instead of 1547).
    Project thread
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    May 2008
    Posts
    446
    Thanks given
    136
    Thanks received
    52
    Rep Power
    355
    Code:
    if(opcode == 65)
                grandExchangeItem = true;
    Same from 742. Same from OSRS. Same from 668. Same from 550.
    Look where the value is read in the client. It's very obvious.

    Usage from 742 client:
    Code:
        public static void method2825(String search, boolean bool, int i, int i_0_, String string_1_, boolean bool_2_, int dummy) {
                search = search.toLowerCase();
                short[] is = new short[16];
                int i_4_ = -1;
                String string_5_ = null;
                if(i != -1) {
                    Class537 class537 = Class301.aClass543_3059.method6339(i, -433138073);
                    if(null == class537 || class537.method6321((byte) -25) != bool_2_)
                        return;
                    if(class537.method6321((byte) 5))
                        string_5_ = class537.aString6236;
                    else
                        i_4_ = -735399997 * class537.anInt6235;
                }
                int i_6_ = 0;
                for(int i_7_ = 0; i_7_ < Class556.aItemLoader_6392.anInt6777 * 1665394075; i_7_++) {
                    ItemDefinitions itemDefinitions = Class556.aItemLoader_6392.getItemDefinitions(i_7_, (byte) -4);
                    if(bool && !itemDefinitions.grandExchangeItem) {
                        if(dummy == 510874262)
                            return;
                    } else if(itemDefinitions.templateId * 1693216917 == -1 && 556764869 * itemDefinitions.anInt6720 == -1 && itemDefinitions.anInt6728 * 381773869 == -1) {
                        if(itemDefinitions.anInt6744 * 308271419 != 0) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else if(itemDefinitions.name.toLowerCase().indexOf(search) == -1) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else {
                            if(-1 != i) {
                                if(bool_2_) {
                                    if(!string_1_.equals(itemDefinitions.method6288(i, string_5_, (byte) 0))) {
                                        if(dummy != 510874262)
                                            continue;
                                        return;
                                    }
                                } else if(i_0_ != itemDefinitions.method6287(i, i_4_, 1943601657)) {
                                    if(dummy == 510874262) {
    				    /* empty */
                                    }
                                    continue;
                                }
                            }
                            if(i_6_ >= 250) {
                                Animation.anInt4482 = -1950675111;
                                Class282_Sub1.aShortArray7443 = null;
                                return;
                            }
                            if(i_6_ >= is.length) {
                                short[] is_8_ = new short[2 * is.length];
                                for(int i_9_ = 0; i_9_ < i_6_; i_9_++)
                                    is_8_[i_9_] = is[i_9_];
                                is = is_8_;
                            }
                            is[i_6_++] = (short) i_7_;
                        }
                    }
                }
                Class282_Sub1.aShortArray7443 = is;
                Class432_Sub1_Sub4_Sub2.anInt10001 = 0;
                Animation.anInt4482 = i_6_ * 1950675111;
                String[] strings = new String[Animation.anInt4482 * -2048805097];
                for(int i_10_ = 0; i_10_ < -2048805097 * Animation.anInt4482; i_10_++)
                    strings[i_10_] = (Class556.aItemLoader_6392.getItemDefinitions(is[i_10_], (byte) -107).name);
                Class389.method4592(strings, Class282_Sub1.aShortArray7443, -579037688);
        }
    To change if an item is shown on the Grand Exchange search interface, change the boolean that is set inside of opcode 65. (Client sided for a cheap hack, or edit the cache if you have a tool to do so)
    true = show
    false = hide

    Quote Originally Posted by clem585 View Post
    If you use a tool like Frosty editor, you can modify what each "opcode" does for any item. An opcode is a block of data that holds information on a thing, in this case, an item. There's, for example, an opcode for name, modelId, invModelOffsetX/Y/Z, etc... He told you that you need to edit opcode 65, which according to him holds a boolean that tells weither or not the item is banned on the ge. On my source it says it's for noted/unnoted though so I don't think he's right if he's talking about 718+.

    Tbh, I'm pretty sure the the thread I linked is the correct way. Depending on the revision, your list might be in a different map (#1525-1575 instead of 1547).
    Smh... Did you even look how the value is actually used, or even name it yourself?

    Attached image

    (Click on the logo above to view our server!)
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member
    Join Date
    Apr 2014
    Posts
    89
    Thanks given
    26
    Thanks received
    6
    Rep Power
    11
    Quote Originally Posted by Extea View Post
    Code:
    if(opcode == 65)
                grandExchangeItem = true;
    Same from 742. Same from OSRS. Same from 668. Same from 550.
    Look where the value is read in the client. It's very obvious.

    Usage from 742 client:
    Code:
        public static void method2825(String search, boolean bool, int i, int i_0_, String string_1_, boolean bool_2_, int dummy) {
                search = search.toLowerCase();
                short[] is = new short[16];
                int i_4_ = -1;
                String string_5_ = null;
                if(i != -1) {
                    Class537 class537 = Class301.aClass543_3059.method6339(i, -433138073);
                    if(null == class537 || class537.method6321((byte) -25) != bool_2_)
                        return;
                    if(class537.method6321((byte) 5))
                        string_5_ = class537.aString6236;
                    else
                        i_4_ = -735399997 * class537.anInt6235;
                }
                int i_6_ = 0;
                for(int i_7_ = 0; i_7_ < Class556.aItemLoader_6392.anInt6777 * 1665394075; i_7_++) {
                    ItemDefinitions itemDefinitions = Class556.aItemLoader_6392.getItemDefinitions(i_7_, (byte) -4);
                    if(bool && !itemDefinitions.grandExchangeItem) {
                        if(dummy == 510874262)
                            return;
                    } else if(itemDefinitions.templateId * 1693216917 == -1 && 556764869 * itemDefinitions.anInt6720 == -1 && itemDefinitions.anInt6728 * 381773869 == -1) {
                        if(itemDefinitions.anInt6744 * 308271419 != 0) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else if(itemDefinitions.name.toLowerCase().indexOf(search) == -1) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else {
                            if(-1 != i) {
                                if(bool_2_) {
                                    if(!string_1_.equals(itemDefinitions.method6288(i, string_5_, (byte) 0))) {
                                        if(dummy != 510874262)
                                            continue;
                                        return;
                                    }
                                } else if(i_0_ != itemDefinitions.method6287(i, i_4_, 1943601657)) {
                                    if(dummy == 510874262) {
    				    /* empty */
                                    }
                                    continue;
                                }
                            }
                            if(i_6_ >= 250) {
                                Animation.anInt4482 = -1950675111;
                                Class282_Sub1.aShortArray7443 = null;
                                return;
                            }
                            if(i_6_ >= is.length) {
                                short[] is_8_ = new short[2 * is.length];
                                for(int i_9_ = 0; i_9_ < i_6_; i_9_++)
                                    is_8_[i_9_] = is[i_9_];
                                is = is_8_;
                            }
                            is[i_6_++] = (short) i_7_;
                        }
                    }
                }
                Class282_Sub1.aShortArray7443 = is;
                Class432_Sub1_Sub4_Sub2.anInt10001 = 0;
                Animation.anInt4482 = i_6_ * 1950675111;
                String[] strings = new String[Animation.anInt4482 * -2048805097];
                for(int i_10_ = 0; i_10_ < -2048805097 * Animation.anInt4482; i_10_++)
                    strings[i_10_] = (Class556.aItemLoader_6392.getItemDefinitions(is[i_10_], (byte) -107).name);
                Class389.method4592(strings, Class282_Sub1.aShortArray7443, -579037688);
        }
    To change if an item is shown on the Grand Exchange search interface, change the boolean that is set inside of opcode 65. (Client sided for a cheap hack, or edit the cache if you have a tool to do so)
    true = show
    false = hide



    Smh... Did you even look how the value is actually used, or even name it yourself?
    Figured it out, thanks.
    Reply With Quote  
     

  9. #8  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Extea View Post
    Code:
    if(opcode == 65)
                grandExchangeItem = true;
    Same from 742. Same from OSRS. Same from 668. Same from 550.
    Look where the value is read in the client. It's very obvious.

    Usage from 742 client:
    Code:
        public static void method2825(String search, boolean bool, int i, int i_0_, String string_1_, boolean bool_2_, int dummy) {
                search = search.toLowerCase();
                short[] is = new short[16];
                int i_4_ = -1;
                String string_5_ = null;
                if(i != -1) {
                    Class537 class537 = Class301.aClass543_3059.method6339(i, -433138073);
                    if(null == class537 || class537.method6321((byte) -25) != bool_2_)
                        return;
                    if(class537.method6321((byte) 5))
                        string_5_ = class537.aString6236;
                    else
                        i_4_ = -735399997 * class537.anInt6235;
                }
                int i_6_ = 0;
                for(int i_7_ = 0; i_7_ < Class556.aItemLoader_6392.anInt6777 * 1665394075; i_7_++) {
                    ItemDefinitions itemDefinitions = Class556.aItemLoader_6392.getItemDefinitions(i_7_, (byte) -4);
                    if(bool && !itemDefinitions.grandExchangeItem) {
                        if(dummy == 510874262)
                            return;
                    } else if(itemDefinitions.templateId * 1693216917 == -1 && 556764869 * itemDefinitions.anInt6720 == -1 && itemDefinitions.anInt6728 * 381773869 == -1) {
                        if(itemDefinitions.anInt6744 * 308271419 != 0) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else if(itemDefinitions.name.toLowerCase().indexOf(search) == -1) {
                            if(dummy == 510874262) {
                    /* empty */
                            }
                        } else {
                            if(-1 != i) {
                                if(bool_2_) {
                                    if(!string_1_.equals(itemDefinitions.method6288(i, string_5_, (byte) 0))) {
                                        if(dummy != 510874262)
                                            continue;
                                        return;
                                    }
                                } else if(i_0_ != itemDefinitions.method6287(i, i_4_, 1943601657)) {
                                    if(dummy == 510874262) {
    				    /* empty */
                                    }
                                    continue;
                                }
                            }
                            if(i_6_ >= 250) {
                                Animation.anInt4482 = -1950675111;
                                Class282_Sub1.aShortArray7443 = null;
                                return;
                            }
                            if(i_6_ >= is.length) {
                                short[] is_8_ = new short[2 * is.length];
                                for(int i_9_ = 0; i_9_ < i_6_; i_9_++)
                                    is_8_[i_9_] = is[i_9_];
                                is = is_8_;
                            }
                            is[i_6_++] = (short) i_7_;
                        }
                    }
                }
                Class282_Sub1.aShortArray7443 = is;
                Class432_Sub1_Sub4_Sub2.anInt10001 = 0;
                Animation.anInt4482 = i_6_ * 1950675111;
                String[] strings = new String[Animation.anInt4482 * -2048805097];
                for(int i_10_ = 0; i_10_ < -2048805097 * Animation.anInt4482; i_10_++)
                    strings[i_10_] = (Class556.aItemLoader_6392.getItemDefinitions(is[i_10_], (byte) -107).name);
                Class389.method4592(strings, Class282_Sub1.aShortArray7443, -579037688);
        }
    To change if an item is shown on the Grand Exchange search interface, change the boolean that is set inside of opcode 65. (Client sided for a cheap hack, or edit the cache if you have a tool to do so)
    true = show
    false = hide



    Smh... Did you even look how the value is actually used, or even name it yourself?
    Came with the source (matrix) but there's rarely errors when it comes to them. Mb.
    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. Replies: 9
    Last Post: 06-20-2010, 06:58 AM
  2. Do you hate custom items in 317s?
    By Koston in forum Voting
    Replies: 19
    Last Post: 08-21-2009, 09:21 PM
  3. Adding customs items in client.
    By K Suave in forum Help
    Replies: 2
    Last Post: 07-25-2009, 03:48 PM
  4. is there a tut for custom items in hd yet
    By travisman26 in forum Help
    Replies: 1
    Last Post: 07-25-2009, 03:42 PM
  5. custom items in 525
    By Dragonking in forum Show-off
    Replies: 37
    Last Post: 05-19-2009, 10:55 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
  •