Code:
Error in Follower (pather.js #1210) getPresetUnits failed, couldn't access the level! (Area: 1, Ping:110, Game: Dd)
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;
},
Hoffe ihr könnt mir helfen das Problem zu lösen.
MfG Marcel







