Code: Select all
local zoneid = RoMScript("GetZoneID()")
print(zoneid)
if zoneid ~= 304 then -- not at Miller's Ranch
-- Try to find Sorrun and teleport in
if player:target_NPC("Sorrun") then
sendMacro("ChoiceOption(3)") yrest(1500)
sendMacro("ChoiceOption(1)") yrest(1500)
waitForLoadingScreen(20000)
yrest(3500)
-- __WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X,player.Z))
else
error("You are too far from Miller's Ranch")
end
end
In the AT script, I actually got inside all the way to the center place without any npcs/towers/chest being summoned, I suspect it is a similar timing type issue that causes this. On my backup computer, the exact same waypoints, and exact same game version work fine, so it is something that changed in the last bot revision that causes the anomaly.