Error in Random (pather.js #1210) getPresetUnits failed, couldn't access the level!

11/18/2016 19:33 wingman93#1
Irgendwie bekomme ich immer, wenn ein Bot den Akt 1 Wegpunkt benutzt, den Fehler:

Code:
Error in Follower (pather.js #1210) getPresetUnits failed, couldn't access the level! (Area: 1, Ping:110, Game: Dd)
:confused:

Hier noch die function in der pather.js Datei:

Code:
	getWP: function (area, clearPath) {
		var i, j, wp, preset,
			wpIDs = [119, 145, 156, 157, 237, 238, 288, 323, 324, 398, 402, 429, 494, 496, 511, 539];

		if (area !== me.area) {
			this.journeyTo(area);
		}

		for (i = 0; i < wpIDs.length; i += 1) {
			preset = getPresetUnit(area, 2, wpIDs[i]);

			if (preset) {
				this.moveToUnit(preset, 0, 0, clearPath);

				wp = getUnit(2, "waypoint");

				if (wp) {
					for (j = 0; j < 10; j += 1) {
						Misc.click(0, 0, wp);
						//wp.interact();

						if (getUIFlag(0x14)) {
							delay(500);
							me.cancel();

							return true;
						}

						delay(500);
					}
				}
			}
		}

		return false;
	},
Meine Pather.js ist wie sie mit dem bot kommt und getestet habe ich es mit mehreren Scripts.

Hoffe ihr könnt mir helfen das Problem zu lösen.

MfG Marcel