Adding More Title Screens!
Purpose: Add More Title Screens
Difficulty: 1/10
Assumed Knowledge: Copy and Paste, and how to use Find
Classes Modified: Client.java
Procedure
Step 1: First off Open up client.java and search for
(NON RENAMED CLIENTS!)
Code:
if(anInt833 == 3)
{
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffff00, c / 2, anInt939, "Create a free account", c1 / 2 - 60, true);
int k = c1 / 2 - 35;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "To create a new account you need to", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "go back to the main RuneScape webpage", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "and choose the red 'create account'", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "button at the top right of that page.", k, true);
k += 15;
int j1 = c / 2;
int i2 = c1 / 2 + 50;
aClass30_Sub2_Sub1_Sub2_967.method361(j1 - 73, 16083, i2 - 20);
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, j1, anInt939, "Cancel", i2 + 5, true);
}
(RENAMED CLIENTS)
Code:
if(loginScreenState == 4)
{
chatTextDrawingArea.method382(0xffff00, c / 2, "Text Here (Title)", c1 / 2 - 60, true);
int k = c1 / 2 - 35;
chatTextDrawingArea.method382(0xffffff, c / 2, "Create a free account", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "To create a new account you need to", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "go back to the main RuneScape webpage", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "and choose the red 'create account'", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "button at the top right of that page.", k, true);
k += 15;
int j1 = c / 2;
int i2 = c1 / 2 + 50;
aBackground_967.method361(j1 - 73, i2 - 20);
chatTextDrawingArea.method382(0xffffff, j1, "Cancel", i2 + 5, true);
}
After that add
(NON RENAMED CLIENTS)
Code:
if(anInt833 == 4)
{
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffff00, c / 2, anInt939, "Text Here!(Title)", c1 / 2 - 60, true);
int k = c1 / 2 - 35;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "Text Here!(Line 1)", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "Text Here!(Line 2)", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "Text Here!(Line 3)", k, true);
k += 15;
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, c / 2, anInt939, "Text Here!(Line 4)", k, true);
k += 15;
int j1 = c / 2;
int i2 = c1 / 2 + 50;
aClass30_Sub2_Sub1_Sub2_967.method361(j1 - 73, 16083, i2 - 20);
aClass30_Sub2_Sub1_Sub4_1272.method382(0xffffff, j1, anInt939, "Cancel", i2 + 5, true);
}
(RENAMED CLIENTS)
Code:
if(loginScreenState == 4)
{
chatTextDrawingArea.method382(0xffff00, c / 2, "Text Here (Title)", c1 / 2 - 60, true);
int k = c1 / 2 - 35;
chatTextDrawingArea.method382(0xffffff, c / 2, "Text Here (Line 1)", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "Text Here (Line 2)", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "Text Here (Line 3)", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "Text Here (Line 4)", k, true);
k += 15;
chatTextDrawingArea.method382(0xffffff, c / 2, "Text Here (Line 5)", k, true);
k += 15;
int j1 = c / 2;
int i2 = c1 / 2 + 50;
aBackground_967.method361(j1 - 73, i2 - 20);
chatTextDrawingArea.method382(0xffffff, j1, "Cancel", i2 + 5, true);
}
Step 2: Search in client.java for
Code:
if(anInt833 == 3){
int k = super.anInt10 / 2;
int j1 = super.anInt11 / 2 + 50;
j1 += 20;
if(super.anInt26 == 1 && super.anInt27 >= k - 75 && super.anInt27 <= k + 75 && super.anInt28 >= j1 - 20 &&
super.anInt28 <= j1 + 20)
anInt833 = 0;
}
After that add
(NON RENAMED CLIENTS)
Code:
}else{
if(anInt833 == 4){
int k = super.anInt10 / 2;
int j1 = super.anInt11 / 2 + 50;
j1 += 20;
if(super.anInt26 == 1 && super.anInt27 >= k - 75 && super.anInt27 <= k + 75 && super.anInt28 >= j1 - 20 &&
super.anInt28 <= j1 + 20)
anInt833 = 0;
}
(RENAMED CLIENTS)
Code:
}else{
if(loginScreenState == 4)
{
int k = super.myWidth / 2;
int j1 = super.myHeight / 2 + 50;
j1 += 20;
if(super.clickMode3 == 1 && super.saveClickX >= k - 75 && super.saveClickX <= k + 75 && super.saveClickY >= j1 - 20 && super.saveClickY <= j1 + 20)
loginScreenState = 0;
}
(You may need to add another at the end of that code)
Credits: Jagex Ltd. and Me (Mime/Jon)
Lol 62 Views no posts....Wow