Page 81 of 111
Re: RoM bot
Posted: Sun Aug 16, 2009 5:22 am
by d003232
akira2102 wrote:d003232 wrote:
I suppose there is the cooldown parameter missing? What says the tooltip?
this skill has no cooldown thats the problem. It should be used only before starting a fight.
Use the option 'inbattle="false"
in your profile, e.g::
Code: Select all
<skill name="ROGUE_PREMEDITATION" hotkey="VK_R" priority="110" inbattle="false" />
and give them a higher prioroity then your other damage skills.
Re: RoM bot
Posted: Sun Aug 16, 2009 8:15 am
by Lembke
d003232 wrote:Lembke wrote:i get this error when im starting the bot it is as fast the bot use a spell it stops and that error shows up im usring
rev 155
Code: Select all
...
Sun Aug 16 08:10:49 2009 : ...c/Bot/bot2/micromacro/scripts/rom/classes/player.lua:218: bad argument #4 to '?' (number expected, got no value)
Sun Aug 16 08:10:49 2009 : Execution error: Runtime error
I suppose you have a mix of old files and new SVN. It seems that you have an old language file. Just delete all files & folders in 'micromacro/scripts/rom' except the folders 'waypoints' and 'profiles' and repeat the update.
that was what i was thinking since i have this svn updater program that is suggested in the setup tutorial i will do as you said and test
Re: RoM bot
Posted: Sun Aug 16, 2009 9:59 am
by akira2102
d003232 wrote:
Use the option 'inbattle="false"
in your profile, e.g::
Code: Select all
<skill name="ROGUE_PREMEDITATION" hotkey="VK_R" priority="110" inbattle="false" />
and give them a higher prioroity then your other damage skills.
The option inbattle=false is in the the skills-file and it thats not the problem. it uses the skill NOT in battle but before and that again and again. Is there a option like "use this only when engaging a battle"
Re: RoM bot
Posted: Sun Aug 16, 2009 1:30 pm
by d003232
akira2102 wrote:d003232 wrote:
Use the option 'inbattle="false"
in your profile, e.g::
Code: Select all
<skill name="ROGUE_PREMEDITATION" hotkey="VK_R" priority="110" inbattle="false" />
and give them a higher prioroity then your other damage skills.
The option inbattle=false is in the the skills-file and it thats not the problem. it uses the skill NOT in battle but before and that again and again. Is there a option like "use this only when engaging a battle"
Ahh. Ok, I understand. No, I suppose there is no solution for that at the moment. Pherhaps a little workaround would be to make in the skills.lua it only usable with an enemy target. BEcause thats normaly only before the fight. I will do some work on the coding to a problem close to that. And by that will think about a solution for that to.
Re: RoM bot
Posted: Sun Aug 16, 2009 5:52 pm
by AmonRa
is havesting in background at the todo list ?
Re: RoM bot
Posted: Mon Aug 17, 2009 12:56 am
by d003232
Please try
Code: Select all
<skill name="ROGUE_PREMEDITATION" energy="20" type="buff" target="enemy" inbattle="false" />
in your 'database/skills.xml' if is will works with target=enemy. For the buff, it should be equal and by doing it so, it should only be cast, if you get a new target, means directy befor you attack a new mob. And with a high prioioty in your profile, so it will be cast before the other damage skills.
Re: RoM bot
Posted: Mon Aug 17, 2009 12:53 pm
by akira2102
d003232 wrote:Please try
Code: Select all
<skill name="ROGUE_PREMEDITATION" energy="20" type="buff" target="enemy" inbattle="false" />
in your 'database/skills.xml' if is will works with target=enemy. For the buff, it should be equal and by doing it so, it should only be cast, if you get a new target, means directy befor you attack a new mob. And with a high prioioty in your profile, so it will be cast before the other damage skills.
Like this it works but he does it short before the enemy and runs over it and does the skill again. I tried some different things and that solution works pretty well:
Code: Select all
<skill name="ROGUE_PREMEDITATION" energy="20" type="buff" target="enemy" range="100" cooldown="20" inbattle="false" />
Thanks again =)
Re: RoM bot
Posted: Tue Aug 18, 2009 4:05 am
by AmonRa
i have a bad Problem.
The Bot will run first but a little time later comes this error:
Code: Select all
Tue Aug 18 01:27:47 2009 : RoM Bot Version 2.45
Tue Aug 18 01:27:47 2009 : Language: deutsch
Tue Aug 18 01:27:47 2009 : Using static char address 0x8D85E0, player address 0x29097800
stack traceback:
C:\Users\*******\Desktop\micromacro\lib\lib.lua:536: in function 'startMacro'
scripts\rom/bot.lua:581: in main chunk
----------TRACEBACK END----------
Tue Aug 18 01:29:56 2009 : ...ol/Desktop/micromacro/scripts/rom/classes/player.lua:598: attempt to compare number with nil
Tue Aug 18 01:29:56 2009 : Execution error: Runtime error
Revision 158
greetz AmonRa
Re: RoM bot
Posted: Tue Aug 18, 2009 4:12 am
by d003232
AmonRa wrote:i have a bad Problem.
The Bot will run first but a little time later comes this error:
Code: Select all
Tue Aug 18 01:27:47 2009 : RoM Bot Version 2.45
Tue Aug 18 01:27:47 2009 : Language: deutsch
Tue Aug 18 01:27:47 2009 : Using static char address 0x8D85E0, player address 0x29097800
stack traceback:
C:\Users\*******\Desktop\micromacro\lib\lib.lua:536: in function 'startMacro'
scripts\rom/bot.lua:581: in main chunk
----------TRACEBACK END----------
Tue Aug 18 01:29:56 2009 : ...ol/Desktop/micromacro/scripts/rom/classes/player.lua:598: attempt to compare number with nil
Tue Aug 18 01:29:56 2009 : Execution error: Runtime error
Revision 158
greetz AmonRa
Seems that something is messed up in yuor SVN update. In SVN 158, line 598 should be:
Code: Select all
cprintf(cli.green, language[31], dist); -- looting target.
-- "attack" is also the hotkey to loot, strangely.
yrest(500); -- <<<<<<<<< LINE 598
keyboardPress(settings.profile.hotkeys.ATTACK.key);
yrest(settings.profile.options.LOOT_TIME + dist*15); -- dist*15 = rough calculation of how long it takes to walk there
You please delete all files and folders in your rom folder (except folder profiles and waypoints) and do the SVN update again.
Re: RoM bot
Posted: Tue Aug 18, 2009 3:03 pm
by akira2102
Hi,
i have a problem with the bot. I recognized that sometimes when it harvests the harvesting starts and then the view rotates and the harvesting is aborted. I have turned quickturn already off. The error doesn't appear everytime but only sometimes. Can I change something in my settings to avoid that problem?
Re: RoM bot
Posted: Tue Aug 18, 2009 3:05 pm
by Administrator
akira2102 wrote:Hi,
i have a problem with the bot. I recognized that sometimes when it harvests the harvesting starts and then the view rotates and the harvesting is aborted. I have turned quickturn already off. The error doesn't appear everytime but only sometimes. Can I change something in my settings to avoid that problem?
If you haven't already, update off of SVN. This was fixed awhile ago but is not in the release package on the forum.
Re: RoM bot
Posted: Tue Aug 18, 2009 4:14 pm
by akira2102
I already updated the bot and it only happens sometimes.. I will try to delete the files and make a new update. Thanks for ur help.
Re: RoM bot
Posted: Tue Aug 18, 2009 5:51 pm
by Maybleed
i have noticed that when botting in an area with a few pockets of mobs, i.e. cactus, it will run past the closest mob after the one it kills, to one further away, and then come back. What can i do to make it kill the pocket of mobs before moving on it's way?
*edit, now that i have watched it abit more, it seems to be ignoring alot of mobs and running past them for some reason. There is noone else attacking them and they are not obscured by obstacles, my little char just runs past them.
Re: RoM bot
Posted: Tue Aug 18, 2009 5:59 pm
by d003232
Maybleed wrote:i have noticed that when botting in an area with a few pockets of mobs, i.e. cactus, it will run past the closest mob after the one it kills, to one further away, and then come back. What can i do to make it kill the pocket of mobs before moving on it's way?
*edit, now that i have watched it abit more, it seems to be ignoring alot of mobs and running past them for some reason. There is noone else attacking them and they are not obscured by obstacles, my little char just runs past them.
I just suppose you have the options:
Code: Select all
<option name="TARGET_LEVELDIF_BELOW" value="2" />
<option name="TARGET_LEVELDIF_ABOVE" value="2" />
in your profile and the mobs are out of that limitation? You can attache your profile and the content of your MM window to look deeper. And whats your bot version/SVN ?
Re: RoM bot
Posted: Tue Aug 18, 2009 6:26 pm
by Maybleed
that was it, i changed the skills and had to reinstall a few times and forgot to change it in the last config, thanks

Re: RoM bot
Posted: Wed Aug 19, 2009 9:55 am
by kumpel100
i got an error didnt know why, seems from the new version 159
<removed image--contained character name; error on settings.lua:90>
what reason had this error?
my old version runs without problems.
Re: RoM bot
Posted: Wed Aug 19, 2009 10:46 am
by Administrator
kumpel100 wrote:i got an error didnt know why, seems from the new version 159
<removed image--contained character name; error on settings.lua:90>
what reason had this error?
my old version runs without problems.
This should be fixed in r160. It was an error while trying to display an error message, so you will still need to fix something on your end to get it fully functional. At least now it should display the error message and tell you what to fix.
I wasn't able to test it because the servers are down right now.
Re: RoM bot
Posted: Wed Aug 19, 2009 12:36 pm
by kumpel100
Re: RoM bot
Posted: Wed Aug 19, 2009 1:31 pm
by j_schlott
i was getting that error, something changed in the profiles.xml, you are trying to use a old format profile.xml
i redid my profile with the supplied updated default.xml and it fixed that error
Re: RoM bot
Posted: Wed Aug 19, 2009 1:37 pm
by Administrator
Try updating to r162. It should be fixed now.