Jump to content

Welcome To RuneSuite

We hope you enjoy your stay & our resources :)
News Ticker
  • RUNESUITE NEWS!
  • Toplist & Leakathon out now!
Sign in to follow this  
Solnes

[PI] Adding Custom Points

TUTORIAL/SNIPPET  

2 members have voted

  1. 1. Did this tutorial/snippet help?

    • YES
      0
    • KINDA
      1
    • NO
      1


Recommended Posts

NOTE: This has been released on several other sites, but I decided to post my own version.

This is also my first snippet / tutorial, I hope I helped you in any way :)

Source: PI

Files: Playersave.java, Player.java, npcHandler.java

Difficulity: 1/10

CHANGE WHERE I PUT ASDF TO YOUR CUSTOM POINT.

Step 1: open Playersave.java (src/server/model/players)

Search for this -

Please login or register to see this code.

Then you will see this - 

Please login or register to see this code.

Under that somewhere add this - 

Please login or register to see this code.

In the same file search for this - 

Please login or register to see this code.

Then you will see this - 

Please login or register to see this code.

Under that somewhere add this - 

Please login or register to see this code.

SAVE AND CLOSE

Step 2: open Player.save (src/server/model/players)

Search for - 

Please login or register to see this code.

Keep searching until you see something like this - 

Please login or register to see this code.

Then add this - 

Please login or register to see this code.

SAVE AND CLOSE

That is it for that part of adding points to your character files.

STEP 3: open npcHandler.java (src/server/model/npcs)

Search for this - 

Please login or register to see this code.

Under that put this - 

Please login or register to see this code.

SAVE AND COMPILE AND YOUR DONE.

Edited by Solnes
  • Like 1

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
Sign in to follow this  

×
×
  • Create New...