Jump to content
Existing user? Sign In

Sign In



Sign Up
Search In
  • More options...
Find results that contain...
Find results in...

Teleport names and adding descriptions


Tropix
 Share

Recommended Posts

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

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

public void handleLoginText() {

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

c.getPA().sendFrame126("Monster Teleport", 1300);

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:

c.getPA().sendFrame126("Your text here", #sendFrame ID#);

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:

//modern
		c.getPA().sendFrame126("Teleport name", 1300); //varrock
		c.getPA().sendFrame126("Description", 1301); //varrock description
		c.getPA().sendFrame126("Teleport name", 1325); //lumbridge
		c.getPA().sendFrame126("Description", 1326); //lumbridge description
		c.getPA().sendFrame126("Teleport name", 1350); //falador
		c.getPA().sendFrame126("Description", 1351); //falador description
		c.getPA().sendFrame126("Teleport name", 1382); //camelot
		c.getPA().sendFrame126("Description", 1383); //camelot description
		c.getPA().sendFrame126("Teleport name", 1415);	//ardougne
		c.getPA().sendFrame126("Description", 1416); //ardougne description
		c.getPA().sendFrame126("Teleport name", 1454); //watchtower
		c.getPA().sendFrame126("Description", 1455); //watchtower description
		c.getPA().sendFrame126("Teleport name", 7457); //trollheim
		c.getPA().sendFrame126("Description", 7458); //trollheim description
		c.getPA().sendFrame126("Teleport name", 18472);	//ape atoll
		c.getPA().sendFrame126("Description", 18473); //ape atoll description

		//ancients
		c.getPA().sendFrame126("Teleport name", 13037); //paddewwa
		c.getPA().sendFrame126("Monster Teleport", 13038); //paddewwa description
		c.getPA().sendFrame126("Teleport name", 13047); //senntisten
		c.getPA().sendFrame126("Description", 13048); //senntisten description
		c.getPA().sendFrame126("Teleport name", 13055); //kharyll
		c.getPA().sendFrame126("Description", 13056); //kharyll description
		c.getPA().sendFrame126("Teleport name", 13063); //lassar
		c.getPA().sendFrame126("Description", 13064); //lassar description
		c.getPA().sendFrame126("Teleport name", 13071); //dareeyak
		c.getPA().sendFrame126("Description", 13072); //dareeyak description
		c.getPA().sendFrame126("Teleport name", 13081); //carrallanger
		c.getPA().sendFrame126("Description", 13082); //carralanger description
		c.getPA().sendFrame126("Teleport name", 13089); //annakarl
		c.getPA().sendFrame126("Description", 13090); //annakarl description
		c.getPA().sendFrame126("Teleport name", 13097); //ghorrock
		c.getPA().sendFrame126("Description", 13098); //ghorrock description

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

Link to comment
Share on other sites

  • 1 year later...
  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...

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
 Share


Contact

ltlimes

RSPS Partners

RedemptionRSPS

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

oldschoolrsps Runewild RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex, rune-server and runelocus in any way & exists solely for educational purposes.

×
×
  • Create New...