isid0re / SoloLeveling

The original multi-class single character leveling script for Kolbot. Blizzhackers / Kolbot from level 1 to 99. After the initial setup, the bot will operate without user involvement.

Home Page:https://buymeacoffee.com/isid0re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in SoloLeveling (misc.js #753) Misc.click: Third arg must be a Unit. (Area: 74, Ping:0, Game: )

Sed93 opened this issue · comments

commented

bot has this loop on a paladin. Kill countess then goes back to ac2 tries to kill summoner then he will crash mid way to summoner repeat.

In \libs\common\Misc.JS at line 753

	case 3:
		if (typeof (x) !== "object") {
			throw new Error("Misc.click: Third arg must be a Unit.");
		}

		me.blockMouse = true;
		clickMap(button, shift, x);
		delay(20);
		clickMap(button + 2, shift, x);
		me.blockMouse = false;

		break; 

		
		Change lines 759 and 761


	759	clickMap(button, shift, x, y);

        761  clickMap(button + 2, shift, x, y);