Easy farming for Dodian..
Some C&P . Should work on other bases too .
Dif level 0.1/10
1. Open Client.java and search for "Case 53".
You see there is useitem stuff..
add these into it :
Code:
if (itemUsed == 5340 && useWith == 5312) { //By System
deleteItem(5312, getItemSlot(5312), 1);
addItem(995, 5);
addSkillXP(15, 19);
}
if (itemUsed == 5340 && useWith == 5314) { //By System
if(playerLevel[19] >= 25) {
deleteItem(5314, getItemSlot(5314), 1);
addItem(995, 5);
addSkillXP(20, 19);
} else {
sendMessage("25 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5315) { //By System
if(playerLevel[19] >= 40) {
deleteItem(5315, getItemSlot(5315), 1);
addItem(995, 5);
addSkillXP(30, 19);
} else {
sendMessage("40 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5316) { //By System
if(playerLevel[19] >= 50) {
deleteItem(5316, getItemSlot(5316), 1);
addItem(995, 5);
addSkillXP(35, 19);
} else {
sendMessage("50 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5317) { // By System
if(playerLevel[19] >= 60) {
deleteItem(5317, getItemSlot(5317), 1);
addItem(995, 5);
addSkillXP(45, 19);
} else {
sendMessage("60 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5318) { //By System
if(playerLevel[19] >= 75) {
deleteItem(5318, getItemSlot(5318), 1);
addItem(995, 5);
addSkillXP(150, 19);
} else {
sendMessage("75 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5319) { // By System
if(playerLevel[19] >= 85) {
deleteItem(5319, getItemSlot(5319), 1);
addItem(995, 5);
addSkillXP(175, 19);
} else {
sendMessage("85 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5320) { // By System
if(playerLevel[19] >= 90) {
deleteItem(5320, getItemSlot(5320), 1);
addItem(995, 5);
addSkillXP(185, 19);
} else {
sendMessage("90 Farming Needed!");
}
}
if (itemUsed == 5340 && useWith == 5321) { // By System
if(playerLevel[19] >= 95) {
deleteItem(5321, getItemSlot(5321), 1);
addItem(995, 5);
addSkillXP(200, 19);
} else {
sendMessage("95 Farming Needed!");
}
}
2. Adding shop
3. Open up client.java and put this into your other Wanneshop's
Code:
else if (NPCID == ####) {
//Farmer
PutNPCCoords = true;
WanneShop = ##; // Farming shop
}