Jump to content

Teleport names and adding descriptions

Recommended Posts

Difficulty: 1/10
Tested on: Project Insanity
Classes modified: PlayerAssistant.java

Start off by opening your PlayerAssistant.java class. Then search for:

Please login or register to see this code.

You will notice a bunch of codes. So let me explain.

Please login or register to see this code.

What this code does is that it goes to the Client class, then get's the sendFrame method from the PlayerAssistant class, then sends a frame to the server to the assigned ID and changes it's text.

If you played the PI base, you'll notice that in the modern spellbook, they have a teleport called "Monster Teleport", right? The ID used here (1300) is the name of the Varrock teleport, so this code changes the normal "Level 20: Varrock Teleport" to the text you wish it to be, in this case "Monster Teleport".

So it's like this:

Please login or register to see this code.

It's not only limited to spells and teleports though. You could change the text of any interfaces using this code, as long as you know the correct ID.

Here is the full list of modern and ancients teleports, simply replace the old ones with these and edit edit them to the names and decription you want it to be:

Please login or register to see this code.

So now you know how to edit the texts on existing and new interfaces! Enjoy!

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...