So, I also downloaded the source that was used to create this server, and I found out, that not only goblins but also other tasks are unable to do.. So I created a command as a quick fix for this:
This will give the player that types in ::resettask a new task, NO MATTER WHAT! So if he already has a task, it doesnt matter, I think this will fix it for now, still looking for final solution, but Tom can you please put this in?
if (command.startsWith("resettask")){
if (combatLevel >= 3 && combatLevel <= 50) {
taskID = randomLowTask();
taskAmount = 10 + misc.random(40);
talk2("Your task is to kill "+taskAmount+" "+GetNpcName(taskID)+"s.", "", 1597);
}
else if (combatLevel >= 51 && combatLevel <= 100) {
taskID = randomMediumTask();
taskAmount = 10 + misc.random(40);
talk2("Your task is to kill "+taskAmount+" "+GetNpcName(taskID)+"s.", "", 1597);
}
else if (combatLevel >= 101) {
taskID = randomHighTask();
taskAmount = 10 + misc.random(40);
talk2("Your task is to kill "+taskAmount+" "+GetNpcName(taskID)+"s.", "", 1597);
}
}
This will give the player that types in ::resettask a new task, NO MATTER WHAT! So if he already has a task, it doesnt matter, I think this will fix it for now, still looking for final solution, but Tom can you please put this in?
Last edited by Alex on Wed Mar 30, 2011 12:11 pm; edited 3 times in total (Reason for editing : Created command to fix temporary)