Harvesting Bot

duken666

Active Member
Hi

First off, great job on all the bots out there. They made life a lot easyer for me, I doubt I would of ever touched crafting without help from a little friend^^.

Now the thing I'm mainly looking for is a mining bot. Now that my blacksmith is 50 I could cut my expenses to half if I could set my lvl 50 char to farm ore for me.
I've been looking for a bot but without luck.

Does any1 know a good bot for this or has modified an existing bot towards mining?

Thx a lot for the help in advance.

Smurfbot
 

Xeon

Active Member
If you want KBot in Harvest only mode, check the Only Listed Mobs check box on the Mobs tab and then don't add any critters to the list.

Then map out a harvest area (run the bot, but don't hit start yet) by running around and hitting the Add Waypoint button near each node you want to harvest. Of course also add them to the list on the harvest tab. You don't have to add the full name, just copper or tin or iron, etc.

Hit start and let it go!
 

TheCompany

Active Member
Xeon said:
If you want KBot in Harvest only mode, check the Only Listed Mobs check box on the Mobs tab and then don't add any critters to the list.

Then map out a harvest area (run the bot, but don't hit start yet) by running around and hitting the Add Waypoint button near each node you want to harvest. Of course also add them to the list on the harvest tab. You don't have to add the full name, just copper or tin or iron, etc.

Hit start and let it go!
I need some additional help with this. I followed your instructions and am trying to do it with 2 nearby spawns of Vielthread that are linked.

Ide like it to go from 1 spawn to the other switching spawns when there are no more Vielthread. This bot sort of works for me so far but i am having a problem getting it to go from spawn to spawn, and it is really super slow between harvests. There will be 4 plants in same area and it pauses for a good 2 min before moving to the next plant.

Any suggestions for the settings to speed this up and make the bot move to next spawn immediately and if no spawns are in area to go to the next spawn?
 

Dammer

Active Member
Need some help!!!

I can get the bot to move great from point to point but it just runs around and wont harvest have done every thing that is on this thread and so far it still hasent worked for me:(
 

lostsk8r

Active Member
Yeah it's not the best bot, I got the waypoint and such setup but if its over a steep hill it doesnt know how to run around the tall point to the beginning point of the hill.. aka it gets stuck on a lot of shit.. tested it in the pond near tursh with the beginning mineralogy/mining ores.. got stuck on a lottt of stuff cause it didnt necessarily check the waypoints for the ore, just did /target within the waypoints. it's a good bot for open areas..
 

kumpel100

Active Member
lostsk8r said:
Yeah it's not the best bot, I got the waypoint and such setup but if its over a steep hill it doesnt know how to run around the tall point to the beginning point of the hill.. aka it gets stuck on a lot of shit.. tested it in the pond near tursh with the beginning mineralogy/mining ores.. got stuck on a lottt of stuff cause it didnt necessarily check the waypoints for the ore, just did /target within the waypoints. it's a good bot for open areas..
replace in KB_Function.iss
the function Harvest()

with this.



Code:
function Harvest()
{
	if "(${Me.Target.Type.Equal[Resource]} || ${Me.Target.IsHarvestable}) && ${Me.Target.Distance}<5 && ${Me.ToPawn.CombatState}==0 && ${doHarvest}"
	{
		VGExecute /autoattack
		wait 10	${GV[bool,bHarvesting]}
		
		if !${GV[bool,bHarvesting]}
		{
;echo Did not start Harvesting - ${Me.Target.ID}
			if ${Me.AutoAttackOn}
				VGExecute /autoattack
				return
		}
;echo Did start harvesting, waiting till finished
		do
		{
			waitframe
		}
		while ${GV[bool,bHarvesting]} && (${Me.HealthPct} > 99) && ${Me.Encounter} == 0
;&& ${Me.ToPawn.CombatState}==0
			wait 10

			; Then loot!
      Me.Target:LootAll
wait 10
      VGExecute /cleartargets
	}
}
 
Top Bottom