Jump to content
  • 0
Sign in to follow this  
Awkward

Adding objects

Question

How do you add objects? I'm using 2006remade, based off 2006scape.

I've already tried using fedexers tutorial, which didn't help a bit.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
[quote name='Awkward']How do you add objects? I'm using 2006remade, based off 2006scape.

I've already tried using fedexers tutorial, which didn't help a bit.[/QUOTE]

I'm very inexperienced in RSPS, but seeing as no one else commented, I'll try my best to help.

On the server I've been working on (PI), there's a file called ObjectManager.java - open it.
you should see something like this:
[CODE] c.getPA().checkObjectSpawn(ItemID, PosX, PosY, 1, 10);[/CODE]
it's probably at least a little bit different on your source, but if you find something similar just fill in the code for the object you want to add.

This may not help at all, and if it doesn't, you might also try ObjectHandler.java


EDIT:
This might also help:
Type Ctrl + F and search for these:

[CODE]public void addObject {[/CODE]
or
[CODE]public void loadCustomSpawns(Client c)[/CODE] Edited by FailCard

Share this post


Link to post
Share on other sites
  • 0
[quote name='Awkward']How do you add objects? I'm using 2006remade, based off 2006scape.

I've already tried using fedexers tutorial, which didn't help a bit.[/QUOTE]

Go to objectmanager.java
Search for:
[CODE]c.getPA().checkObjectSpawn[/CODE]

Share this post


Link to post
Share on other sites
  • 0
The only file I have relating to objects is objecthandler.java, within that file there isn't a single c.getPA

Share this post


Link to post
Share on other sites
  • 0
ObjectHandler.java should work. If not then create an new class and add those methods!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×