Jump to content
Existing user? Sign In

Sign In



Sign Up

Please help with adding costum items


Bananasplit

Recommended Posts

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: 

 

This is the hidden content, please

 

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:

 

This is the hidden content, please

 

 

Thank you for help!

 

Edited by Bananasplit
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Contact

[email protected]

astra.security

What is a RSPS?

A RSPS, also known as RuneScape private server, is an online game based on RuneScape, and controlled by independent individuals.

Popular RSPS Servers

Runewild Ikov RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex in any way & exists solely for educational purposes.

×
×
  • Create New...