sure i find and btw heres a pic of my custom interface
and btw the tut on rune-server contains anti-leeches that are hard to fix so heres tut the right way
FIND THIS:
aClass9Array210 = new Class9[j];
REPLACE WITH:
aClass9Array210 = new Class9[20001];
FIND:
aClass12_238 = null;
ABOVE ADD:
aClass44 = class44;
MyInterface();
DECLARE THIS: (just add above of the page between all statics and publics)
static Class44 aClass44;
ADD THIS TO YOUR VOIDS:
public static void addSpellClick(int id, int spriteOnId, int spriteOffId, String castText)
{
Class9 spell = aClass9Array210[id] = new Class9();
spell.anInt220 = id;//250
spell.anInt236 = id;//236
spell.anInt262 = 5;//262
spell.anInt217 = 1;//217
spell.anInt214 = 0;
spell.anInt220 = 20;//220
spell.anInt267 = 20;//anint267
spell.aByte254 = (byte)0;
spell.anInt230 = 52;
//Sprite
spell.aClass30_Sub2_Sub1_Sub1_207 = method207(spriteOnId, false, aClass44, "magicon2");
spell.aClass30_Sub2_Sub1_Sub1_260 = method207(spriteOffId, false, aClass44, "magicon2");
spell.aString221 = castText;
}
public static Class9 addTab(int id)
{
Class9 Tab = aClass9Array210[id] = new Class9();
Tab.anInt250 = id;//250
Tab.anInt236 = id;//236
Tab.anInt262 = 0;//262
Tab.anInt217 = 0;//217
Tab.anInt214 = 0;
Tab.anInt220 = 512;//220
Tab.anInt267 = 334;//anint267
Tab.aByte254 = (byte)0;
Tab.anInt230 = 0;
return Tab;
}
AND
public static void MyInterface()
{
Class9 Tab = addTab(19000);
addSpellClick(19001, 25, 25, "My Custom Spell");
Tab.anInt261 = 0;
Tab.aBoolean266 = false;
Tab.anIntArray240 = new int[1]; //Interface id
Tab.anIntArray241 = new int[1]; //X pos
Tab.anIntArray272 = new int[1]; //Y pos
Tab.anIntArray240[0] = 19001; //Interface id
Tab.anIntArray241[0] = 5; //X pos
Tab.anIntArray272[0] = 5; //Y pos
}
Then ur done
Credits 50% Meanz
50% Me for edditing and taking out anti-leech
EDIT: i Found a working following tut u need to add so it follows when u attk npcs (players is already in it)
http://www.rune-server.org/showthread.php?t=53916