For Number two,
Search in client.java for,
Code:
public void TheifStall
It should look a little like this..
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(2292);
sM("You Thief From the Stall..");
sM(message);
addItem(item, itemAmount);
addSkillXP(XPamount, 17);
}
}
once you find this..
Code:
if(inCombat){
sM("You Cannot Theive while in Combat!");
return;
}
After this.
Code:
if(System.currentTimeMillis() - lastAction < actionInterval) return;
So in the end of this, it should end up looking like this..
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(inCombat){
sM("You Cannot Theive while in Combat!");
return;
}
if(playerLevel[17] >= lvlReq) {
actionInterval = 4000;
lastAction = System.currentTimeMillis();
setAnimation(2292);
sM("You Thief From the Stall..");
sM(message);
addItem(item, itemAmount);
addSkillXP(XPamount, 17);
}
}
This should work. but remember to backup your files, i cant promise anything.