Can't get Rusher / Rushee to work

Hello guys.

I’ve been stuck with this issue for a few days, and i can’t figure out whats going wrong.

I have several 4 bots running and automule normally, so i know the basics of D2bot.

My problem:
Im trying to set up a rusher, to rush 1-4 chars (level 1) from act 1 to 5, so i can manually find a gater and repeat on next level.

I’ve come so far that Rushee (Leader) creates game, everyone joins and each rushee says “Leader found”. (I’ve tried with 1-4 chars, same shit happening)

Rusher is saying “Waiting for party area info” - takes like 10 secs or so… And suddently saying “Bye -” … I’ve found that it means he quits and he thinks the run is over… He leaves the game and Rushees follow, and creates a new game and repeat.

I can from my “rushee” (leader) write… “Master” and the bot repeat - im your master… But he still leaves and saying “bye-”

.

So i guess i miss something checked off, so he dont think the rush is over, before its even begin.

All rushee are setup like this:
Scripts.UserAddon = false; // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!!

Config.Leader = “Rusher char name”; // Leader’s ingame character name. Leave blank to try auto-detection (works in AutoBaal, Wakka, MFHelper)

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 = false; // Do Ancients and Baal. Minimum levels: 20 - norm, 40 - nightmare

I hope you can help me out, and see what im doing wrong :slight_smile:

The leader shouldn’t be the Rusher?

Maybe you should share the whole rusher/rushee configs on <www.pastebin.com> or other ways.

Eh prolly wrote that wrong.

Rusher is config leader, but 1 rushee is botlead, to create the games.

Pastebins coming here.

I’ve got config setups of rusher, rushee.

https://pastebin.com/e7YE2ffc : Rusher
https://pastebin.com/4jj2YtRP : Rushee

https://pastebin.com/6b6D93m6

Here is my rusher bot file. I haven’t changed anything in it tho

Same thing here. I can get “party is undefined” and stalling for 60 seconds, for a couple of tries, and the next time it works. Seems completely random. I solved it by disabling the function that checks where everybody (the party) is, which is not an option if you want it automated. You have to say “master” and “do andariel”. The thread is here: Error in Rusher (rusher.js line 60): party is undefined - Support - D2Bot Forums.

As mf22 said, maybe the problem is one or more of the three…

Config.MFLeader = true;
Scripts.MFHelper = true;
Config.Leader = "...";

Switching Config.PublicMode so that the rushee invites the rusher could be another thing to try. Hope you get it solved.

Hmmm i found this in “Rusher” file… This is exatly what it does, you guys understand what it means? if nick === Master it says bye??

if (nick === master) {
say(“bye ~”);
scriptBroadcast(“quit”);

this.chatEvent = function (nick, msg) {
if (nick !== me.name) {
switch (msg) {
case “master”:
if (!master) {
say(nick + " is my master.");

				master = nick;
			} else {
				say("I already have a master.");
			}

			break;
		case "release":
			if (nick === master) {
				say("I have no master now.");

				master = false;
			} else {
				say("I'm only accepting commands from my master.");
			}

			break;
		case "quit":
			if (nick === master) {
				say("bye ~");
				scriptBroadcast("quit");
			} else {
				say("I'm only accepting commands from my master.");
			}

			break;

No, it does a switch() on msg, so for the code to end up in that case: someone have to had said “quit”. Turn on debug messages with home and you should see what happens. And turn up Config.MinGameTime.

according to the line 179

		Config.Rusher.WaitPlayerCount = 5;

did you set 5 players in rusher games?

did you tried to use line 179 like the default

		Config.Rusher.LastRun = ""; // End rush after this run.

maybe the LocalChat should be set in lines 433-435 on mode 1 or 2

in lines 135 and 137, maybe you should set the quitlist

why did you set in line 223 … ?

	Scripts.BaalAssistant = true;

and maybe you should use LocalChat in mode 1 or 2 (lines 427-429)

1 Like