What ur getting:
done on Ruse [Also works on most if not all other 317 clients] - Tested on vencillio/ruse only tho. [ Also works in banks, duel screens etc ]
-Ruse
-Vencillio
CODE:
Code:
ItemDef.java (ItemDefinition in some clients)
Add a new boolean called - (can be called anything else, but thats just how i named it) - Make sure to add it outside an method
find
Code:
public static Sprite getSprite(int i, int j, int k) {
below
Code:
if (itemDef.lentItemID != -1) {
int l5 = sprite.maxWidth;
int j6 = sprite.maxHeight;
sprite.maxWidth = 32;
sprite.maxHeight = 32;
sprite.drawSprite(0, 0);
sprite.maxWidth = l5;
sprite.maxHeight = j6;
}
replace ur k equals to 0 if statement with this
Code:
if (k == 0 && !itemDef.animateInventory) {
spriteCache.put(sprite2, i);
}
above add
Code:
switch(itemDef.id) {
case 6570:
itemDef.animateInventory = true;
break;
}
Keep in mind u don't have to load them like this, several other ways but thats just the easiest way.
And thats it
Credit: Wally/Wallied for showing me how to do it.
NOTE: this will affect ur performance, especially if ur going to add like 100 leeched texturized items from ds in the switch statement.