Open ultratune opened 5 years ago
what level are the rushees?
sorry dark trying to run hell mode the rushees are level 60+ which should be enough script quits at ancients with a "hell rush completed~" message do you have any ides why this happens, also tried just with 1 rusher/1 rushee
It's hardcoded to always skip ancients hell, you can edit the function ancients in rushthread.js if you want to change this behavior.
hey 5noop why skip coz its hell?
sok, i commented the two conditions out at the beginning of the function, thanks for the pointer.
Ultratune
What 2 functions did you comment out? Im having the same issue and its driving me nuts.
@DfrntBr33d
this.ancients = function () {
// if (me.diff === 2) { // say("Hell rush complete~"); // delay(500); // quit();
// return false; // }
// if (!this.bumperCheck()) { // say("No eligible bumpers detected. Rush complete~"); // delay(500); // quit();
// return false; // }
say("starting ancients");
var altar;
It's hardcoded to always skip ancients hell, you can edit the function ancients in rushthread.js if you want to change this behavior.
Would you be so kind as to indicate how to do it? I'm going crazy and I can't do it. In normal and nightmare it works well. And I play in hardcore.
@d97 in the ancients function, the 'me.diff' is checking the difficulty level (0-2) and if it's hell tells you the rush is complete and uses the 'quit' command to end the script. so just comment out the whole if statement (not the whole function - thats a bad idea) as below:
this.ancients = function () {
/* if (me.diff === 2) {
say("Hell rush complete~");
delay(500);
quit();
return false;
}*/
@d97 So the solution is to have Kolbot also check to see if the players level is 60 or greater. The way you would do this is to simply add an additional case to the existing switch statement in the 'checkBumper' function as below:
this.bumperCheck = function () {
var party = getParty();
if (party) {
do {
if (party.name !== me.name) {
switch (me.diff) {
case 0:
if (party.level >= 20) {
return true;
}
break;
case 1:
if (party.level >= 40) {
return true;
}
break;
case 2:
if (party.level >= 60) {
return true;
}
break;
}
}
} while (party.getNext());
}
return false;
};
Good luck and happy farming! Feel free to reach out if you ever have any javascript questions! =]
running rusher scirpt everything work fine till i get to act4, then i have to push rushee's thru portal to act5, it runs fine up to anya after that the rusher wont continue electing to say bye and quit out, any insights
rusher: Scripts.Rusher = true; // Rush bot. For a list of commands, see Rusher.js Config.Rusher.WaitPlayerCount = 3; // Wait until game has a certain number of players (0 - don't wait, 8 - wait for full game). Config.Rusher.Radament = true; // Do Radament quest. Config.Rusher.LamEsen = true; // Do Lam Esen quest. Config.Rusher.Izual = true; // Do Izual quest. Config.Rusher.Shenk = true; // Do Shenk quest. Config.Rusher.Anya = true; // Do Anya quest. Config.Rusher.LastRun = "Baal"; // End rush after this run. List of runs: http://pastebin.com/Uez3nZ6g
rushee: Scripts.Rushee = true; // Automatic rushee, works with Rusher. Set Rusher's character name as Config.Leader Config.Rushee.Quester = true; // Enter portals and get quest items. Config.Rushee.Bumper = true; // Do Ancients and Baal. Minimum levels: 20 - norm, 40 - nightmare
I have nothing else enabled that interfere with the process, any suggestions would be appreciated, not fluent is JS , but understand the syntax.