Code-x

Code-x Private Server
 
HomeHome  PortalPortal  SearchSearch  RegisterRegister  Log inLog in  

 

 how to fix client from rune-server

Go down 
AuthorMessage
Evil Mage
Admin
Admin
Evil Mage

Number of posts : 432
Age : 28
Registration date : 2008-05-08

how to fix client from rune-server Empty
PostSubject: how to fix client from rune-server   how to fix client from rune-server Icon_minitimeWed Sep 17, 2008 11:00 am

[QUOTE=dustrip;802547]how to do that :

http://www.rune-server.org/showthread.php?t=91653

NOTES!! This is not the good way to do that but its doing the job so we can see the hp.

non renamed only.

client.java

search for:
Code:
aClass30_Sub2_Sub1_Sub1Array1095[i2].method348(anInt963 - 12, 16083, anInt964 - l);

then under it you will see:
Code:
l -= 25;
remplace it with:
Code:
l += 25;

So now all your headicon will be on your head, if you have 10 headicon they will go up not down.

if you want like rs and like in the pics of the thread at the top, all you need to do is:

in class30_sub2_sub1_sub1:
Code:

if your skull is messed up and you dont want to use it do that :

else if (s.equalsIgnoreCase("headicons_prayer") && i == 0)
{ try {
Image image = Toolkit.getDefaultToolkit().createImage("./Sprites/skulls.png");   
anIntArray1439 = new int[anInt1440 * anInt1441];
PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
pixelgrabber.grabPixels();
} catch (Exception exception) {
System.out.println(((Object) (exception)));
}
}


add that so you will replace your skull with your melee prayer.
search:
Code:
aClass30_Sub2_Sub1_Sub1Array1095[j4] = new Class30_Sub2_Sub1_Sub1(class44_2, "headicons_prayer", j4);
}

under it add:

Code:
catch(Exception _ex) { }
try
{
                for(int j4 = 0; j4 < 1; j4++)
                    aClass30_Sub2_Sub1_Sub1Array1095[j4] = new Class30_Sub2_Sub1_Sub1(class44_2, "headicons_pk", j4);


          }

so you will have a very nice white skull and its already replacing protect melee.


and now replace your skull by your melee prayer:

Code:

else if (s.equalsIgnoreCase("headicons_prayer") && i == 6)
{ try {
Image image = Toolkit.getDefaultToolkit().createImage("./Sprites/melee prayer.png");   
anIntArray1439 = new int[anInt1440 * anInt1441];
PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
pixelgrabber.grabPixels();
} catch (Exception exception) {
System.out.println(((Object) (exception)));
}
}


now your skull will always be the first headicon. you will also need to change server side.

skull = 1
melee = 64

for the arrow in duel arena:

Code:

else if (s.equalsIgnoreCase("headicons_prayer") && i == 7)
{ try {
Image image = Toolkit.getDefaultToolkit().createImage("./Sprites/arrow.png");   
anIntArray1439 = new int[anInt1440 * anInt1441];
PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
pixelgrabber.grabPixels();
} catch (Exception exception) {
System.out.println(((Object) (exception)));
}
}


with that if you know how to add the arrow in the mini map it will auto appear on the head.

there a tuts for it but i dont know link.


credits : me

dont forget its not the good way but it do the job.
because no one released it :S[/QUOTE]
Back to top Go down
 
how to fix client from rune-server
Back to top 
Page 1 of 1
 Similar topics
-
» No server response
» New online chess server, www.easychess.com
» Chess-Tournament-Results-Server
» FICS - Free Internet Chess Server
» No server response

Permissions in this forum:You cannot reply to topics in this forum
Code-x :: General Chat :: runescape private [TUT] section-
Jump to: