PDA

View Full Version : [317] Clicking Slayer Tab Tells You Your Current Assignment



kalo93
August 1st, 2010, 17:34
Difficulty: 0/10


Firstly, open up clicking.java or ClickingMost.java, whichever one you have.

Search for:


switch(c.actionButtonId) {
And underneath that, put this:


case 47130:
if(c.taskAmount <= 0) {
c.plrText = "I need another task, I should go speak to a slayer master.";
c.plrTextUpdateRequired = true;
}
else if(c.taskAmount == 1) {
String taskName = c.GetNpcName(c.taskID);
c.plrText = "I have to kill " +c.taskAmount+ " more " +taskName.replaceAll("_", " ");
c.plrTextUpdateRequired = true;
}
else {
c.plrText = "I have to kill " +c.taskAmount+ " more " +c.GetNpcName(c.taskID)+ "s";
c.plrTextUpdateRequired = true;
}
break;

Credits: Me (100%)

Yaoi
August 1st, 2010, 18:21
Good Job,its actually a really nice feature.

Niator
August 1st, 2010, 18:26
Nice man! I dont code 317 but this is nice for those hwo does!

kalo93
August 1st, 2010, 18:34
Thanks, I may release more things that I added to my server.

kalo93
August 3rd, 2010, 03:07
Comment please? =]

Skiller onmo
August 11th, 2010, 15:26
Nice, I just added real easy to put in making i teasyer for newwer coders. And its conventinal then having to guess or use a enchanted gem.

J i m b o
October 23rd, 2010, 08:51
didnt work for me lol

Shadowz au
October 23rd, 2010, 08:59
based is delta

cloudyscape
October 24th, 2010, 08:10
can someone tell me how to get the clicking most.java file in a source like umm blankscape or alstarscape?

WC REECE
October 24th, 2010, 11:00
hmmm nice :)....

Wombat
October 24th, 2010, 11:02
really good job dude.