Here we go, made it 2 nights ago, till now it works like... 85% of the time, still trying to make it better though, but your welcome to try it out, and perhaps help on making it better xd.
just stand before the npc which takes you there and run the bot.
be warned though, if your not well statted, your gonna be in a lot of pain xd, those goblins suck after 40 or 50 killed
thanks for the script, really time to work on something for the mine. Unfortuately most of us will only be able to enter once a day. Here is what I changed in onLoad. Not tested yet, the zoneid for the mine has to be corrected.
<onLoad>
changeProfileOption("EGGPET_ENABLE_ASSIST", false);
assistPet = CEggPet(settings.profile.options.EGGPET_ASSIST_SLOT)
assistPet:Return();
changeProfileOption("WAYPOINT_DEVIATION", 0);
changeProfileOption("MAX_TARGET_DIST", 85);
changeProfileOption("LOOT", false);
changeProfileOption("TARGET_LEVELDIF_BELOW", 40);
repeat zoneid = RoMScript("GetZoneID()") until zoneid
printf("zoneid:%s\n", zoneid);
if zoneid ~= 2004 and zoneid ~= 333 then -- change 333 to correct id
error("wrong zone: " .. zoneid);
end
if zoneid == 2004 then
if player:target_NPC("Mahler Palo") then
sendMacro("ChoiceOption(1);");
yrest(5000);
sendMacro("ChoiceOption(1);");
RoMScript("StaticPopup_OnClick(StaticPopup1, 1);")
waitForLoadingScreen(10);
__WPL:setWaypointIndex(1) -- or whatever point you want it to go to first.
else
error("You are too far from Mahler Palo")
end
end
</onLoad>
I gave it a try today, was not very lucky, I will have to add all goblins to the mobs list. Even then not all mobs will get attacked so I better continue to work on the fly version. We may be able to combine both scripts when ready, with the choice wether to fly or not.
I also have problems addressing the npc after entering the mine. The names should be changed to ids:
Mahler Palo: 112651
Goblin Games Manager: 113094
There was a different zoneid every day I entered. Don't know why, maybe different channels? Hope this helps:
if not (4 == zoneid or 1004 == zoneid or 2004 == zoneid or 352 == zoneid) then
error("wrong zone: " .. zoneid);
end
if (4 == zoneid or 1004 == zoneid or 2004 == zoneid) then
if player:target_NPC(112651) then
i myself had trouble with the new onload too, i have taken some of it out again, ill update it soon.
and i know bot can keep track of the enemies and times we defeated one, so we should be able to do the same, and after we got the right number, just flyon, then continue on our merry way, perhaps by setting waypoint to travel or something, till we reach next section, there we just set waypoint to normal, and flyoff.