Thread: Creating custom items

Results 1 to 9 of 9
  1. #1 Creating custom items 
    Registered Member
    Join Date
    Jun 2018
    Posts
    54
    Thanks given
    5
    Thanks received
    2
    Rep Power
    11
    So I want to create a custom item, like a different coloured whip for an example. I'm using OSRS cache.

    Items are all handled throughout the cache so if I wanted to create a custom one i'd have to create one through the cache right?
    How would I go about doing this?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    17
    Thanks received
    2
    Rep Power
    58
    Recoloring an already existing item is different from adding a completely custom item. If you’re looking to recolor an item that already exists, you’ll need to define it within your item definitions, as well as add its configuration to the server. Adding a custom item will require little cache work, as you will need to pack the model through index repacking or a cache editing tool. You’d then proceed to do everything listed for an item that already exists.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2018
    Posts
    54
    Thanks given
    5
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by 1047881l View Post
    Recoloring an already existing item is different from adding a completely custom item. If you’re looking to recolor an item that already exists, you’ll need to define it within your item definitions, as well as add its configuration to the server. Adding a custom item will require little cache work, as you will need to pack the model through index repacking or a cache editing tool. You’d then proceed to do everything listed for an item that already exists.
    It was just an example, all items are handled within an Item index within the cache, so I was wondering how I can add new items to this index.
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    17
    Thanks received
    2
    Rep Power
    58
    Quote Originally Posted by DivinityGang View Post
    It was just an example, all items are handled within an Item index within the cache, so I was wondering how I can add new items to this index.
    Mind uploading a screenshot of just exactly what it is you’re referring to? Will better help me to to help you.
    Reply With Quote  
     

  6. #5  
    Extreme Member

    Wells Fargo's Avatar
    Join Date
    May 2016
    Age
    51
    Posts
    1,056
    Thanks given
    519
    Thanks received
    514
    Rep Power
    5000
    Quote Originally Posted by DivinityGang View Post
    It was just an example, all items are handled within an Item index within the cache, so I was wondering how I can add new items to this index.
    extend the index and then pack new items after 65535 to avoid overwriting any existing, recolors are more simple as someone mentioned just edit the definitions using code in the client and create a new case for the item if you want to keep the old color as well.
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member
    Join Date
    Jun 2018
    Posts
    54
    Thanks given
    5
    Thanks received
    2
    Rep Power
    11
    I'm using a runelite client and it only contains an ItemDefinition interface file which doesn't contain a function that loads items in that sense
    Reply With Quote  
     

  9. #7  
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    17
    Thanks received
    2
    Rep Power
    58
    Quote Originally Posted by Wells Fargo View Post
    extend the index and then pack new items after 65535 to avoid overwriting any existing, recolors are more simple as someone mentioned just edit the definitions using code in the client and create a new case for the item if you want to keep the old color as well.
    Sorry but won’t this (Index extension) slow the client’s performance? Also seems unnecessary as OSRS items don’t exceed 30,000...

    OP: Packing seems your best route.
    Reply With Quote  
     

  10. #8  
    Registered Member
    Join Date
    Jun 2018
    Posts
    54
    Thanks given
    5
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by 1047881l View Post
    Mind uploading a screenshot of just exactly what it is you’re referring to? Will better help me to to help you.


    Items are generated in this index of the cache
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    17
    Thanks received
    2
    Rep Power
    58
    Quote Originally Posted by DivinityGang View Post


    Items are generated in this index of the cache
    Check your client for:
    Code:
    repackCacheIndex
    If you don’t have this repacking method, either implement it from [Only registered and activated users can see links. ] or use a cache editing tool like [Only registered and activated users can see links. ] to repack the custom item into your cache.
    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: 7
    Last Post: 06-02-2011, 02:17 PM
  2. Replies: 3
    Last Post: 07-10-2010, 11:11 AM
  3. How to create a item with a custom model
    By zachverbeek in forum Help
    Replies: 2
    Last Post: 07-17-2009, 11:27 PM
  4. Creating Custom TitleBox's and Button's.
    By 007 Snoop in forum Graphics
    Replies: 13
    Last Post: 09-28-2007, 07:46 PM
  5. Project Scape v3.5 Client with custom items/377
    By blackfirexx in forum RS2 Client
    Replies: 11
    Last Post: 09-07-2007, 12:48 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
  •