Have you also packed the item definitions?
|
Hey guys another noob question but, i've managed to figure out the index1-4 part with the packing.. BUT
How do i set a modelID from the cache to an item ID within the game with no hardcoding.
Please can somebody come help me or even show me one time over teamviewer or something just so i know what i'm doing
Thanks in advance
Go take a look at your ItemDefinition.java
Because unless you have the ItemDefinitions dumped for the item, you're going to have to Hardcode it to show.
And I'm not sure if Ruse uses this, but most 317's used ItemCFG.java for their stats.
Also I am unaware of a 317 ItemDefinitions editor for the cache. Not saying it doesn't exist.
ItemDefinitions are stored in a file in the config index. You can use the client's ItemDefinition.java to read them, then you have to write a ItemDefinition writer. Then you can have a script where you read the item definitions from the cache, add or modify the items and their modelIds, then write those changes back to the file and pack it back into the cache.
The first step is to refactor the item definitions so you have an understand of how item definitions works. Then it's a matter of copying the readvalues and instead of 1. reading opcode 2. setting value. A writer would instead 1. read value 2. if value isn't default 3. write opcode and value
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |