Jump to content

Welcome To RuneSuite

We hope you enjoy your stay & our resources :)
News Ticker
  • RUNESUITE NEWS!
  • Toplist & Leakathon out now!
Mathy

How to add customs to a custom rsps/non-packed cache

Recommended Posts

Hey guys,

 

So I saw some people that needed help adding customs to their RSPS so here I am.

 

1) You should have an int (the item's info) and 2 .dat files (those are the models for your item, the drop model and the wear model)

2) Add these two models in your "Raw" folder in your cache:

 

c17d384a04d0417db7251f5d59b9144f.png

Now go to your Client folder.

3) Add the int in your itemdef.java or itemdef_2.java or anything like that. That file is located in you Client folder. Add the int somewhere in the middle of other ints, not at the beginning

96f7fb68f1cb4415b6d1f8abca324385.png

THIS IS AN INT EXAMPLE:

Please login or register to see this code.

Here:

# = The item id when you want to spawn it (eg. ::item 995 1)

## = The item's name

### = The item's description when you right click it

#### = THE DROP MODEL ID

##### = THE WEAR MODEL ID

Those are the only things you will need to change for now unless you know what you're doing.

 

4) Now some owners are smart and they change what the int looks like, for example Dreamscape's ints. You will need to convert them so they fit your client. Once again, if you don't know what you're doing, look for help, it shouldn't take long to convert.

 

5) Compile your client if you're not using Eclipse, which you should ;) 

 

6) Run your client and spawn the item you added using what you put in as # in your int.

 

 

If that doesn't work, comment what's not working.

 

Thanks for reading :)

 

Mathy, your everyday forums' police

  • Like 3

Share this post


Link to post
Share on other sites

nice little tut for those wishing to have custom items on their server/clients.

Share this post


Link to post
Share on other sites
4 hours ago, leclerc said:

nice little tut for those wishing to have custom items on their server/clients.

Thanks Leclerc :)

Share this post


Link to post
Share on other sites

Great tut :P

Share this post


Link to post
Share on other sites

Did that exactly using eclipse, tried running but deathly pvpz doesnt have a run server for eclipse so i have to compile and run using .bats, and i get a bunch of these compiling Javafiles\ItemDef_2.java:2495: error: class, interface, or enum expected
        itemdef.maleModel = 80489;
        ^
Javafiles\ItemDef_2.java:2496: error: class, interface, or enum expected
        itemdef.femaleModel = 80534;
        ^
100 errors

Share this post


Link to post
Share on other sites

Thanks for sharing!

Share this post


Link to post
Share on other sites

Is there a better server i should be using rather then deathlypvpz? 

Share this post


Link to post
Share on other sites

or am i just doing something wrong :P

Share this post


Link to post
Share on other sites
2 hours ago, 0117be said:

Did that exactly using eclipse, tried running but deathly pvpz doesnt have a run server for eclipse so i have to compile and run using .bats, and i get a bunch of these compiling Javafiles\ItemDef_2.java:2495: error: class, interface, or enum expected
        itemdef.maleModel = 80489;
        ^
Javafiles\ItemDef_2.java:2496: error: class, interface, or enum expected
        itemdef.femaleModel = 80534;
        ^
100 errors

Use Eclipse!

Share this post


Link to post
Share on other sites
6 minutes ago, Mathy said:

Did that exactly using eclipse

 

Share this post


Link to post
Share on other sites
1 minute ago, 0117be said:

 

Then click on the Problems' tab and see what's the problem is and do what it tells you to do :P

 

 

Share this post


Link to post
Share on other sites

 but deathly pvpz doesnt have a run server for eclipse so i have to compile and run using .bats

what i am saying is i did everything through eclipse and had no error but the server im usign cant be ran through eclipse therefore i have to use .bats

Share this post


Link to post
Share on other sites

there are no problems / errors in eclipse only when i compile using the .bat

Share this post


Link to post
Share on other sites

Can i ask what server/client i should use?

Share this post


Link to post
Share on other sites
Just now, Mathy said:

Then click on the Problems' tab and see what's the problem is and do what it tells you to do :P

 

 

Deathlypvpz can be ran on Eclipse, did it before ;)

Share this post


Link to post
Share on other sites

Yeah well i cant? you got skype ill show you.

Share this post


Link to post
Share on other sites

When i try running the client on eclipse it says "Selection does not contain a main type" :P

Share this post


Link to post
Share on other sites
6 hours ago, 0117be said:

When i try running the client on eclipse it says "Selection does not contain a main type" :P

Make sure you choose run as applet and client as main class

Share this post


Link to post
Share on other sites

theres no main classes lol, can someone answer my question when i ask, what source and client should i use to import these kind of customs?

Share this post


Link to post
Share on other sites
2 minutes ago, 0117be said:

theres no main classes lol, can someone answer my question when i ask, what source and client should i use to import these kind of customs?

Would you like me to check it over? Btw you don't need a specific client to add customs

Share this post


Link to post
Share on other sites

see if you can import them to deathlypvpz and get it working because i tried doing it multiple times but i cant get it :P

Share this post


Link to post
Share on other sites

Awesome turtoil

thanks for sharing

  • Like 1
  • Downvote 2

Share this post


Link to post
Share on other sites
1 hour ago, 0117be said:

theres no main classes lol, can someone answer my question when i ask, what source and client should i use to import these kind of customs?

Are you sure you have your build path set correctly? I assure you, you can run the server on eclipse.  

Share this post


Link to post
Share on other sites
5 minutes ago, 0117be said:

Can someone add these customs to a rsps and release it, id really appreciate it :D

 

4 minutes ago, 0117be said:

 

27 minutes ago, 0117be said:

honestly i give up ive been trying for 4 days straight trying to add these customs, i cant get it to work, thanks anyways guys.

PLEASE EDIT YOUR PREVIOUS MESSAGE, DON'T MULTI POST TO BASICALLY SAY THE SAME THING

Edited by Mathy

Share this post


Link to post
Share on other sites

sure some people will find this useful. thanks for your contribution :)

Share this post


Link to post
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

×
×
  • Create New...