Jump to content
Existing user? Sign In

Sign In



Sign Up

[508]Finding interface child ids for text writing!


Mrcastiel

Recommended Posts

Purpose: To show you how to write to interfaces.
Classes Modified: I used Command.java to use a command to show me.
Step 1: Open Command.java
Add a new command:

 else if(cmd[0].equals("ti") && p.rights >= 2) {
String string = "line";
int inter = Integer.parseInt(cmd[1]);
int child = Integer.parseInt(cmd[2]);
p.frames.showInterface(p, inter);
for(int i = 0; i < child; i++) {
p.frames.setString(p, string+i, inter, i);
}
}


^^ That will show you the interface with the text "line" for each childId.
NOW: If you client crashes... Look on it:
You should see something like this:

Error: Class68_Sub20_Sub15:64 PacketParser:1051 Class14:33 Class90:143 client:78
4 Applet_Sub1:485 Applet_Sub1:156 java.lang.Thread.run | java.lang.ArrayIndexOut
OfBoundsException: 107 | T2 - 179,179,179 - 12,3163,3484 - 108,105,110,101,49,48
,55,0,0,107,0,-100,


Where it says java.lang.ArrayIndexOutOfBoundsException: 107 thats where you gotta look for the total lines to write to.
The number 107 is the number of lines writable.
Try it:

::ti 156 107

Credits: 60
 
Link to comment
Share on other sites

  • 1 month later...
  • 5 years 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

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