Hello I need help with adding costum items on my rsps (317).
I have tried adding "Admin godsword" to the server but it is showing as different item:
[Hidden Content]
The costum pack:
if(i == ####){ //Replace #### with desired item id
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wear";
class8.anIntArray156 = new int[1];
class8.anIntArray160 = new int[1];
class8.anInt174 = 5000; //item look
class8.anInt181 = 1957;
class8.anInt190 = 498;
class8.anInt198 = 484;
class8.anInt204 = 0;
class8.anInt169 = -1;
class8.anInt194 = -1;
class8.anInt165 = 5001;
class8.anInt200 = 5001;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Admin Godsword";
class8.aByteArray178 = "A Godsword used for the punishment of bad influences on the server.".getBytes();
}
And this is how I put it in eclipse under itemdef.java:
case 11111:
itemDef.actions = new String[5];
itemDef.actions[1] = "Wear";
itemDef.originalModelColors = new int[1];
itemDef.modifiedModelColors = new int[1];
itemDef.modelID = 5000;
itemDef.modelZoom = 1957;
itemDef.modelRotation1 = 498;
itemDef.modelRotation2 = 484;
itemDef.anInt204 = 0;
itemDef.modelOffset1 = -1;
itemDef.modelOffset2 = -1;
itemDef.maleEquip1 = 5001;
itemDef.femaleEquip1 = 5001;
itemDef.anInt175 = -1;
itemDef.anInt197 = -1;
itemDef.name = "Admin Godsword";
itemDef.description = "A Godsword used for the punishment of bad influences on the server.".getBytes();
break;
also I tried adding model ID ingame and it give me this:
[Hidden Content]
Thank you for help!
Hello my name is Tilen and I used to live in Slovenia and moved to Poland just a year ago. I am 21 years old and I have been playing Runescape since I was 7. I also loved to play rsps's such as Near reality, Dreamscape and Ikov. I am looking forward to be in this community!
[[Template core/front/global/footer is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]