Junior Spellweaver
- Joined
- Aug 12, 2006
- Messages
- 115
- Reaction score
- 2
Resizing the Client:
Classes modified: client.java
Declare this in client.java:
Step 1: Search for this in client.java:
Make it this:
Step 2: Search for this:
Replace with this:
Step 3: Search for this:
Replace it with this:
That will resize your client to whatever you specify.
Note: To just resize it, change the value of the 'gframeW' and 'gframeH' integers.
Walking Fix:
Classes modified: client.java
You know how you can't walk anywhere past your sprites when you resize your client? Well this is the fix for that.
Search for this:
Add this:
Above the last '}' in that method.
So it will look like this when done:
Note: It's not perfect because you can't right click in the area to the exterior of the sprites and the game frame.
Credits: Guthan for accomplishing, Snoop for the size of the gamescreen in pixels. Both are from Rune-Server.
Classes modified: client.java
Declare this in client.java:
Code:
public int gframeW = 512;
public int gframeH = 334;
Step 1: Search for this in client.java:
Code:
Class30_Sub2_Sub1_Sub3.method365(-950, 512, 334);
Make it this:
Code:
Class30_Sub2_Sub1_Sub3.method365(-950, gframeW, gframeH);
Step 2: Search for this:
Code:
Class25.method310(500, 800, 512, 334, ai, aBoolean1231);
Replace with this:
Code:
Class25.method310(500, 800, gframeW, gframeH, ai, aBoolean1231);
Step 3: Search for this:
Code:
aClass15_1165 = new Class15(512, 334, method11(0), 0);
Replace it with this:
Code:
aClass15_1165 = new Class15(gframeW, gframeH, method11(0), 0);
That will resize your client to whatever you specify.
Note: To just resize it, change the value of the 'gframeW' and 'gframeH' integers.
Walking Fix:
Classes modified: client.java
You know how you can't walk anywhere past your sprites when you resize your client? Well this is the fix for that.
Search for this:
Code:
public final void method82(int i)
{
if(anInt1086 != 0)
return;
aStringArray1199[0] = "Cancel";
anIntArray1093[0] = 1107;
anInt1133 = 1;
method129(false);
anInt886 = 0;
if(super.anInt20 > 4 && super.anInt21 > 4 && super.anInt20 < 516 && super.anInt21 < 338)
if(anInt857 != -1)
method29(4, 13037, Class9.aClass9Array210[anInt857], super.anInt20, 4, super.anInt21, 0);
else
method71(33660);
if(anInt886 != anInt1026)
anInt1026 = anInt886;
anInt886 = 0;
if(super.anInt20 > 553 && super.anInt21 > 205 && super.anInt20 < 743 && super.anInt21 < 466)
if(anInt1189 != -1)
method29(553, 13037, Class9.aClass9Array210[anInt1189], super.anInt20, 205, super.anInt21, 0);
else
if(anIntArray1130[anInt1221] != -1)
method29(553, 13037, Class9.aClass9Array210[anIntArray1130[anInt1221]], super.anInt20, 205, super.anInt21, 0);
if(anInt886 != anInt1048)
{
aBoolean1153 = true;
anInt1048 = anInt886;
}
anInt886 = 0;
if(super.anInt20 > 17 && super.anInt21 > 357 && super.anInt20 < 496 && super.anInt21 < 453)
if(anInt1276 != -1)
method29(17, 13037, Class9.aClass9Array210[anInt1276], super.anInt20, 357, super.anInt21, 0);
else
if(super.anInt21 < 600 && super.anInt20 < 300) method71(33660);
if(anInt1276 != -1 && anInt886 != anInt1039)
{
method71(33660);
}
boolean flag = false;
anInt1007 += i;
while(!flag)
{
flag = true;
for(int j = 0; j < anInt1133 - 1; j++)
if(anIntArray1093[j] < 1000 && anIntArray1093[j + 1] > 1000)
{
String s = aStringArray1199[j];
aStringArray1199[j] = aStringArray1199[j + 1];
aStringArray1199[j + 1] = s;
int k = anIntArray1093[j];
anIntArray1093[j] = anIntArray1093[j + 1];
anIntArray1093[j + 1] = k;
k = anIntArray1091[j];
anIntArray1091[j] = anIntArray1091[j + 1];
anIntArray1091[j + 1] = k;
k = anIntArray1092[j];
anIntArray1092[j] = anIntArray1092[j + 1];
anIntArray1092[j + 1] = k;
k = anIntArray1094[j];
anIntArray1094[j] = anIntArray1094[j + 1];
anIntArray1094[j + 1] = k;
flag = false;
}
}
}
Add this:
Code:
method71(33660);
Above the last '}' in that method.
So it will look like this when done:
Code:
public final void method82(int i)
{
if(anInt1086 != 0)
return;
aStringArray1199[0] = "Cancel";
anIntArray1093[0] = 1107;
anInt1133 = 1;
method129(false);
anInt886 = 0;
if(super.anInt20 > 4 && super.anInt21 > 4 && super.anInt20 < 516 && super.anInt21 < 338)
if(anInt857 != -1)
method29(4, 13037, Class9.aClass9Array210[anInt857], super.anInt20, 4, super.anInt21, 0);
else
method71(33660);
if(anInt886 != anInt1026)
anInt1026 = anInt886;
anInt886 = 0;
if(super.anInt20 > 553 && super.anInt21 > 205 && super.anInt20 < 743 && super.anInt21 < 466)
if(anInt1189 != -1)
method29(553, 13037, Class9.aClass9Array210[anInt1189], super.anInt20, 205, super.anInt21, 0);
else
if(anIntArray1130[anInt1221] != -1)
method29(553, 13037, Class9.aClass9Array210[anIntArray1130[anInt1221]], super.anInt20, 205, super.anInt21, 0);
if(anInt886 != anInt1048)
{
aBoolean1153 = true;
anInt1048 = anInt886;
}
anInt886 = 0;
if(super.anInt20 > 17 && super.anInt21 > 357 && super.anInt20 < 496 && super.anInt21 < 453)
if(anInt1276 != -1)
method29(17, 13037, Class9.aClass9Array210[anInt1276], super.anInt20, 357, super.anInt21, 0);
else
if(super.anInt21 < 600 && super.anInt20 < 300) method71(33660);
if(anInt1276 != -1 && anInt886 != anInt1039)
{
method71(33660);
}
boolean flag = false;
anInt1007 += i;
while(!flag)
{
flag = true;
for(int j = 0; j < anInt1133 - 1; j++)
if(anIntArray1093[j] < 1000 && anIntArray1093[j + 1] > 1000)
{
String s = aStringArray1199[j];
aStringArray1199[j] = aStringArray1199[j + 1];
aStringArray1199[j + 1] = s;
int k = anIntArray1093[j];
anIntArray1093[j] = anIntArray1093[j + 1];
anIntArray1093[j + 1] = k;
k = anIntArray1091[j];
anIntArray1091[j] = anIntArray1091[j + 1];
anIntArray1091[j + 1] = k;
k = anIntArray1092[j];
anIntArray1092[j] = anIntArray1092[j + 1];
anIntArray1092[j + 1] = k;
k = anIntArray1094[j];
anIntArray1094[j] = anIntArray1094[j + 1];
anIntArray1094[j + 1] = k;
flag = false;
}
}
method71(33660);
}
Note: It's not perfect because you can't right click in the area to the exterior of the sprites and the game frame.
Credits: Guthan for accomplishing, Snoop for the size of the gamescreen in pixels. Both are from Rune-Server.