My attempt to add a slot in the inventory

Lordeze

Heir
Customer
Hi, I'm trying to add one more slot to the interface for the item FakeAppearance. My question is whether I can use any existing public static final int PAPERDOLL_ for that purpose, or if I need to create number 33.

Ah, one more question: will the modification of Inventory.ext.jar be accepted?

Code:
public abstract class Inventory extends ItemContainer {
  private static final Logger cm = LoggerFactory.getLogger(Inventory.class);
 
  public static final int PAPERDOLL_UNDER = 0;
 
  public static final int PAPERDOLL_REAR = 1;
 
  public static final int PAPERDOLL_LEAR = 2;
 
  public static final int PAPERDOLL_NECK = 3;
 
  public static final int PAPERDOLL_RFINGER = 4;
 
  public static final int PAPERDOLL_LFINGER = 5;
 
  public static final int PAPERDOLL_HEAD = 6;
 
  public static final int PAPERDOLL_RHAND = 7;
 
  public static final int PAPERDOLL_LHAND = 8;
 
  public static final int PAPERDOLL_GLOVES = 9;
 
  public static final int PAPERDOLL_CHEST = 10;
 
  public static final int PAPERDOLL_LEGS = 11;
 
  public static final int PAPERDOLL_FEET = 12;
 
  public static final int PAPERDOLL_BACK = 13;
 
  public static final int PAPERDOLL_LRHAND = 14;
 
  public static final int PAPERDOLL_HAIR = 15;
 
  public static final int PAPERDOLL_DHAIR = 16;
 
  public static final int PAPERDOLL_RBRACELET = 17;
 
  public static final int PAPERDOLL_LBRACELET = 18;
 
  public static final int PAPERDOLL_DECO1 = 19;
 
  public static final int PAPERDOLL_DECO2 = 20;
 
  public static final int PAPERDOLL_DECO3 = 21;
 
  public static final int PAPERDOLL_DECO4 = 22;
 
  public static final int PAPERDOLL_DECO5 = 23;
 
  public static final int PAPERDOLL_DECO6 = 24;
 
  public static final int PAPERDOLL_BELT = 25;
 
  public static final int PAPERDOLL_BROOCH = 26;
 
  public static final int PAPERDOLL_BROOCH_JEWEL1 = 27;
 
  public static final int PAPERDOLL_BROOCH_JEWEL2 = 28;
 
  public static final int PAPERDOLL_BROOCH_JEWEL3 = 29;
 
  public static final int PAPERDOLL_BROOCH_JEWEL4 = 30;
 
  public static final int PAPERDOLL_BROOCH_JEWEL5 = 31;
 
  public static final int PAPERDOLL_BROOCH_JEWEL6 = 32;
 
Good job, but you do not need any extra slot. I made a whole ext. jar that use any id and you can place weapon or accessory on you as a dressme item. (Like the new updated dressme system from Deazer)
 
Good job, but you do not need any extra slot. I made a whole ext. jar that use any id and you can place weapon or accessory on you as a dressme item. (Like the new updated dressme system from Deazer)
“Deazer’s Dress Me system is very good. I think I’ve seen yours in a video. My idea now is that weapon skins, armor skins, and skin mods/agathions can all be tradeable items between players, and that’s why a slot is required.”
 
This is all complete nonsense. All these slots are tied to slots in the game client and their IDs, you will break the inventory.
This is all complete nonsense. All these slots are tied to slots in the game client and their IDs, you will break the inventory.
Deazer is very much right. And I hope it’s not as you say, but I’m going to try it. I’ve already seen this in Classic on Lucera… this is just for development purposes; the real test will be on a live server, but there’s still a lot, a lot of testing left before that

My idea came up after watching this video.

 
Back
Top