Jun 30, 2011 2:38:40 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: teleport to the hearth fire
Jun 30, 2011 2:38:44 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Stockpile Logs ...
Jun 30, 2011 2:38:44 PM sun.reflect.NativeMethodAccessorImpl invoke0
SEVERE: Error: can't find claim... maybe we're not in the village...
Certainly, in taking revenge, a man is but even with his enemy; but in passing it over, he is superior; for it is a prince’s part to pardon. - A wise friend.
Jun 30, 2011 2:38:40 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: teleport to the hearth fire
Jun 30, 2011 2:38:44 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Stockpile Logs ...
Jun 30, 2011 2:38:44 PM sun.reflect.NativeMethodAccessorImpl invoke0
SEVERE: Error: can't find claim... maybe we're not in the village...
Even though I am in the village
Bot searches for object named "vclaim" (Village teleport, I don't know why it could'nt find it), the object names are displayed at top left corner.
Well in the function "takeCareOfLogs()" you could comment lines
teleportToYourVillage();
//ark_bot.DoClick(ark_bot.MyCoord(), MOUSE_RIGHT_BUTTON, 0); // drop log
sleep(500);
stockPileLogs();
if (androidIsHungry())
feedDroid();
recharge_wine_bottle();
ark_bot.mapview.map_move_step(-1, 0);
thread.sleep(200);
check_travel_weariness();
teleportToHearthFire()
[code]
And replace it with something like,
[code]
def hearthID = ark_bot.find_object_by_name("hearth", 200);
if (hearthID){
pathFinder.travelTo(hearthID);
ark_bot.DoClick(ark_bot.MyCoord(), MOUSE_RIGHT_BUTTON, 0); // drop log
thread.sleep(1000);
} else {
println 'No hearth fire around!'
}
[code]
Groovy is really simple language and by looking in ark_bot.java you can easily figure out API to use. Of course you need some Java background but if you don't have any programming experience and want to write simple bot it shouldn't take more than two weeks to learn how to program in Groovy. And it's a good exercise :)
Anyhow you can ask someone else to write it for you.
DoomedProphet wrote:Bots are approved of in this game..? What is this, I don't even...
Definitely a different community than most.
Either way, nifty bot. I may take a peek at it later.
No, but there's no EULA to get you banned over it, either. They're tolerated. Nothing is saying the game won't get changed to nerf the benefits or the ability of botting, either. Example: the transition from w4 to w5.
Warning: there are some that will kill on sight anyone that's botting.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
Nothing saying the devs won't punish you for using them either. Usually they don't, but it is also known that Jorb (and most likely Loftar too) doesn't like them much. I recall him removing a tree that was used to gather branches for loom botting in w2 so the character walked into the water instead up to the tree (branches were unlimited back then and swimming wasn't toggled).