Hey, Rune-server
I've been doing the basic like moving things around and what not, but there's this thing that has been bugging me.
When I first make an acc it does do it, but my second login. heres a pic. It's one of those welcome messages I think.
But i dont know how to remove it..please help, BTW Delta Based
And my second problem is thieving ever time I gain a level My client crashes. Ill give you what I have that if for thieving.
Code:
}
if(objectID == 2562){
TheifStall("gem stall", "and recieve some coins.", 80, 102*playerLevel[17], 995, 51*playerLevel[17], 0x340);
setAnimation(881);
}
if(objectID == 2560){
TheifStall("silk stall", "and recieve some coins.", 1, 10*playerLevel[17], 995, 5*playerLevel[17], 0x340);
}
if(objectID == 2565){
TheifStall("silver stall", "and recieve some coins.", 50, 37*playerLevel[17], 995, 19*playerLevel[17], 0x340);
}
Code:
public void TheifStall(String stallName, String message, int lvlReq, int XPamount, int item, int itemAmount, int emote) {
if(System.currentTimeMillis() - lastAction < actionInterval) return;
if(playerLevel[17] >= lvlReq) {
actionInterval = 4000;
lastAction = System.currentTimeMillis();
setAnimation(emote);
sM("You take from the stall..");
sM(message);
addItem(item, itemAmount);
addSkillXP(XPamount, 17);
}
else if(playerLevel[17] < lvlReq) {
sM("You need a theiving level of "+lvlReq+" to theif from this stall.");
}
}
Thanks for reading and please help!