-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#1
Post
by Uniden65 » Thu Aug 20, 2009 6:35 pm
i have the latest Revision but when i try to run my harvester it does not work ? here is a small part of my waypoint file
<waypoints type="TRAVEL">
<!-- # 1 --><waypoint x="-211" z="-6570"></waypoint>
<!-- # 2 --><waypoint x="-270" z="-6594"></waypoint>
<!-- # 3 --><waypoint x="-426" z="-6710">player:harvest();</waypoint>
<!-- # 4 --><waypoint x="-359" z="-7142">player:harvest();</waypoint>
<!-- # 5 --><waypoint x="-229" z="-7193"></waypoint>
<!-- # 6 --><waypoint x="479" z="-6559">player:harvest();</waypoint>
<!-- # 7 --><waypoint x="490" z="-6947">player:harvest();</waypoint>
and so on ...it runs too all the spot i have marked scans it but does not do anything but walk away ...here is what it tellls
Unexpected interruption at harvesting begin. We will try it again.
Clearing target.
then runs to next way point? but does not Harvest at all ?
-
d003232
- Posts: 1252
- Joined: Wed Jun 03, 2009 4:27 pm
#2
Post
by d003232 » Thu Aug 20, 2009 7:10 pm
CDWriter wrote:
and so on ...it runs too all the spot i have marked scans it but does not do anything but walk away ...here is what it tellls
Unexpected interruption at harvesting begin. We will try it again.
Clearing target.
then runs to next way point? but does not Harvest at all ?
Do you run the RoM window in the foreground? Sometime there are problems, if the camera is still rotating or zooming. That should be fixed by the second try with the 'Unexpected interruption at harvesting begin. We will try it again.'.
Last edited by
d003232 on Thu Aug 20, 2009 7:27 pm, edited 1 time in total.
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#3
Post
by Uniden65 » Thu Aug 20, 2009 7:19 pm
no on the foreground...
and it heppens every harvest spot does not fix ?
-
d003232
- Posts: 1252
- Joined: Wed Jun 03, 2009 4:27 pm
#4
Post
by d003232 » Thu Aug 20, 2009 7:27 pm
CDWriter wrote:no on the foreground...
and it heppens every harvest spot does not fix ?
Could you try it with
Code: Select all
<option name="QUICK_TURN" value="true" />
in your options?
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#5
Post
by Uniden65 » Thu Aug 20, 2009 7:28 pm
Just did that ...and it does not see it with it on or off. what happens is it does not see the Harvest at all ...our it just does not start to harvest it ? does not even try. here is what i have for config
options>
<!-- Try the bot with a new char mage or priest -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="200" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="85" />
<option name="POTION_COOLDOWN" value="15" />
<!-- Combat options -->
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="200" />
<option name="MAX_FIGHT_TIME" value="15" /> <!-- Max time without damage before
break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="LogarSEntHarvest.xml" />
<option name="RETURNPATH" value="" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="true" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="2" />
<option name="TARGET_LEVELDIF_BELOW" value="2" />
<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="10" />
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" />
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="false" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="false" />
below is the skills i did not show here .. see anything wrong please let me know ?
also when you make the paths is it better when you stand on the harvest before starting it
-
d003232
- Posts: 1252
- Joined: Wed Jun 03, 2009 4:27 pm
#6
Post
by d003232 » Thu Aug 20, 2009 7:41 pm
CDWriter wrote:below is the skills i did not show here .. see anything wrong please let me know ?
also when you make the paths is it better when you stand on the harvest before starting it
I would suggest to stand on the node. And to zoom the camera at maximum distance. You can also configure the scan process with
Code: Select all
<option name="HARVEST_SCAN_WIDTH" value="15" />
<option name="HARVEST_SCAN_HEIGHT" value="10" />
<option name="HARVEST_SCAN_STEPSIZE" value="22" />
<option name="HARVEST_SCAN_TOPDOWN" value="false" />
<option name="HARVEST_SCAN_YREST" value="7" />
Even if there are problems finding the node, you should see the scanprocess with the mouse movements. The bot will just Hold shift and left click mouse if he founds a node.
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#7
Post
by Uniden65 » Thu Aug 20, 2009 8:09 pm
hey that worked alot better !!! thanks
But it does not Left mouse click on it ? so does not harvest .......
Please anyone on this problem and all is solved
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#8
Post
by Uniden65 » Fri Aug 21, 2009 4:43 am
No one can help why it does not left mouse click on harvest?
anyone
-
d003232
- Posts: 1252
- Joined: Wed Jun 03, 2009 4:27 pm
#9
Post
by d003232 » Fri Aug 21, 2009 4:54 am
CDWriter wrote:No one can help why it does not left mouse click on harvest?
anyone
You could try to modif your player.lua at line 128
Code: Select all
-- Begin gathering
keyboardHold(key.VK_SHIFT);
printf("Click 1 at %d,%d\n", wx, wy); -- <<<<<<<<<< NEW LINE
mouseLClick();
yrest(100);
printf("Click 2 at %d,%d\n", wx, wy); -- <<<<<<<<<< NEW LINE
mouseLClick();
keyboardRelease(key.VK_SHIFT);
Just insert the two lines. It is to check, if the bot comes to the 'click' point. Then you should see the text in your MM protocol window. And pls, be sure your RoM window is in the foreground !!!
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#10
Post
by Uniden65 » Fri Aug 21, 2009 4:48 pm
Ok thanks d003232 here is what that did
But its still not pressing our trying to click left Mouse button ..... not sure its holding shift key (tested) Shift key is being pressed!
No mouse click ?
Iam running Vista 64 ? and the bot version is on the image...
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#11
Post
by Administrator » Fri Aug 21, 2009 6:32 pm
Try commenting out the key press and release lines (place two minus signs [--] in front of the line to comment it out). Also, try adding this line in there:
Code: Select all
printf("attached window: 0x%X", getAttachedHwnd());
What does that output?
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#12
Post
by Uniden65 » Fri Aug 21, 2009 6:44 pm
here is that line Admin. well aleast the part you told me too add ...
Code: Select all
-- Begin gathering
keyboardHold(key.VK_SHIFT);
-- printf("Click 1 at %d,%d\n", wx, wy); -- <<<<<<<<<< NEW LINE
printf("attached window: 0x%X", getAttachedHwnd());
mouseLClick();
yrest(100);
printf("attached window: 0x%X", getAttachedHwnd());
-- printf("Click 2 at %d,%d\n", wx, wy); -- <<<<<<<<<< NEW LINE
mouseLClick(wx, wy);
keyboardRelease(key.VK_SHIFT);
-- Wait for a few seconds... constantly check for aggro
local startWaitTime = os.time();
while( os.difftime(os.time(), startWaitTime) < 2 ) do
yrest(100);
self:update();
it crashes the bot and jump out with error in player.lua:130 attempt to call global 'getAttachedHwnd' (a nil value)
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#13
Post
by Administrator » Fri Aug 21, 2009 8:02 pm
Is that so? You may have an old version then. Make absolutely sure you have the latest copy of MicroMacro from
here. Let me know what happens.
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#14
Post
by Uniden65 » Fri Aug 21, 2009 8:28 pm
OMG thanks Admin and d003232
for all the help .....that worked Admin and i was sure i got the new one but must not thanks all works great now .
Is there a way of turning OFF all other castings while your in Harvest mode? other then removeing the icons ?
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#15
Post
by Administrator » Fri Aug 21, 2009 10:07 pm
Can you be more specific? What kind of "castings" are you talking about? Is your character buffing up or using potions while trying to harvest? Can you specify which skill(s) in particular, if this is the case?
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#16
Post
by Uniden65 » Sat Aug 22, 2009 3:15 am
yes if iam useing the bot to fight then i have all my buffs and skills on the keys 0-9 - = , so as a rogue i have Posion, Assassins Rage, Enraged, Berserk, and what what ever else is needed for my rogue/Warrior ....But when i start this Harvesting (WORKS GREAT) it cast them buffs like its going to attack and fight and really its just going to harvest ....So you have Harvest , as a Key word in the waypoints i thought maybe you might have a NOCAST also..... eather way i can deal with it ...works the best and thanks for the hard work ....
-
d003232
- Posts: 1252
- Joined: Wed Jun 03, 2009 4:27 pm
#17
Post
by d003232 » Sat Aug 22, 2009 7:13 am
CDWriter wrote:yes if iam useing the bot to fight then i have all my buffs and skills on the keys 0-9 - = , so as a rogue i have Posion, Assassins Rage, Enraged, Berserk, and what what ever else is needed for my rogue/Warrior ....But when i start this Harvesting (WORKS GREAT) it cast them buffs like its going to attack and fight and really its just going to harvest ....So you have Harvest , as a Key word in the waypoints i thought maybe you might have a NOCAST also..... eather way i can deal with it ...works the best and thanks for the hard work ....
Hmm. I suppose it would really be the best to make a profile option 'NO_CAST' or 'HARVEST_ONLY' and with that option, really to cast nothing? No friendly buff / no resurret buff / no healing skills? At least cast nothing while out of combat? What do you think?
I would suggest 'NOSKILL_OUT_OF_COMBAT'. Perhaps we can use a timer to use healing/skills at least a few seconds after the last fight.
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#18
Post
by Administrator » Sat Aug 22, 2009 11:21 am
Is your problem that you're casting while actually attempting to harvest a node, or while running between them? If it's just while running in between them, you can set the inbattle flag to true on each of those skills so they will only be used when something/someone attacks you.
-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#19
Post
by Uniden65 » Sat Aug 22, 2009 11:31 pm
While harvesting, it will stop Harvesting when the buffs come off just to add them again ..Unless i move them off there correct key code spot? Now for Inbattle flag ? i dont understand ? where is this inbattle flag
Code: Select all
<profile>
<options>
<!-- Try the bot with a new char mage or priest -->
<!-- At the pioneer village. Use demo.xml waypoint file -->
<option name="HP_LOW" value="85" />
<option name="MP_LOW_POTION" value="50" />
<option name="HP_LOW_POTION" value="40" />
<option name="POTION_COOLDOWN" value="15" />
<!-- Combat options -->
<option name="COMBAT_TYPE" value="" /> <!-- Choose ranged/melee if not using class default -->
<option name="COMBAT_RANGED_PULL" value="true" /> <!-- only important for melees -->
<option name="COMBAT_DISTANCE" value="200" />
<option name="MAX_FIGHT_TIME" value="15" /> <!-- Max time without damage before break -->
<option name="DOT_PERCENT" value="90" />
<option name="ANTI_KS" value="true" />
<!-- Waypoint and movement settings -->
<option name="WAYPOINTS" value="demo.xml" />
<option name="RETURNPATH" value="demo_return.xml" />
<option name="PATH_TYPE" value="waypoints" /> <!-- waypoints | wander -->
<option name="WANDER_RADIUS" value="500" />
<option name="WAYPOINT_DEVIATION" value="0" />
<option name="QUICK_TURN" value="false" />
<!-- Attack monsters 3 levels above or 10 below your level -->
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
<option name="TARGET_LEVELDIF_BELOW" value="10" />
<!-- Loot settings -->
<option name="LOOT" value="true" />
<option name="LOOT_IN_COMBAT" value="true" />
<option name="LOOT_DISTANCE" value="100" />
<option name="LOOT_PAUSE_AFTER" value="10" /> <!-- probability in % for a short rest -->
<!-- Rest if HP or Mana is below that level -->
<option name="HP_REST" value="15" />
<option name="MP_REST" value="15" />
<!-- Log out and resurrect settings -->
<option name="LOGOUT_TIME" value="0" /> <!-- in minutes, 0 = timer disabled -->
<option name="LOGOUT_SHUTDOWN" value="false" />
<option name="LOGOUT_WHEN_STUCK" value="true" />
<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
</options>
<friends>
<!-- names of friends we help fighting or enemys we don't want to attack -->
<friend name="MyOtherCharacter1" />
<friend name="MyOtherCharacter2" />
<friend name="Elite_Mob_Name1" />
<friend name="Elite_Mob_Name2" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_MINUS" />
<hotkey name="MP_POTION" key="VK_PLUS" />
<hotkey name="ATTACK" key="VK_1" />
</hotkeys>
<!-- define your skills depending from your actual primary class -->
<!-- see the example for a priest/mage respectively mage/priest -->
<!-- delete skills you don't have or don't want to use. -->
<!-- For more skills to use see /database/skills.xml -->
<!-- demo skills for LvL 1 character for all classes -->
<skills_warrior>
<skill name="WARRIOR_FRENZY" hotkey="VK_8" priority="99" />
I dont see anything here for inbattle ? options i just showed the one Warrior skill just to give you the idea ? is there something iam missing ?
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#20
Post
by Administrator » Sat Aug 22, 2009 11:33 pm
You add
to the skill in your skill settings inside your profile.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 0 guests