Bot not working, Need help please

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Truearrow
Posts: 10
Joined: Sun Oct 18, 2009 9:11 pm

Bot not working, Need help please

#1 Post by Truearrow »

Hi, I have started playing ROM again after convincing the wife to join me :mrgreen:

I had this bot working back in 2009 but currently having a problem.

I purged my old files, keeping my profiles and waypoints.

Downloaded the most recent version of MicroMacro 1.01 here: http://www.solarstrike.net/downloads.php

Followed directions here: http://www.solarstrike.net/phpBB3/viewt ... structions installing Tortoise SVN, I'm confident I have the most recent bot files now (green check mark).

Last night (prior to today's patch), I was getting this error:
3:26am - ...ers/My Name/Downloads/micromacro/scripts/rom/macros.lua:68:
No valid action keys available for the command macro. Please supply an empty action key with a hotkey and no modifier.

Note: To avoid any potential conlficts, I have not used my profiles or waypoints, so I just using a copy of default profile renamed to my character's name.

Today after the patch, I am getting this statement after running Rom\update.lua

Code: Select all

MicroMacro v1.01 beta 4
SolarStrike Software
http://www.solarstrike.net
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script> rom\update.lua
Opening update.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
------------------------------------------------------------------------
Scanning for updated addresses...
Patched addresses.pawnType_offset        (value: 0x18, at: 0x86E19E)
Patched addresses.itemCountOffset        (value: 0x10, at: 0x76F8FA)
Patched addresses.staticEquipBase        (value: 0x9C916C, at: 0x5F15E8)
Patched addresses.staticTablePtr         (value: 0xA1E9D8, at: 0x854CC2)
Patched addresses.charMaxExpTable_address        (value: 0xA142F8, at: 0

Patched addresses.pawnX_offset   (value: 0x28, at: 0x855946)
Patched addresses.nameOffset     (value: 0xC, at: 0x697A94)
Patched addresses.hotkeysKey_offset      (value: 0x54, at: 0x7C3C0C)
Patched addresses.loadingScreen_offset   (value: 0xC, at: 0x7C5F8E)
Patched addresses.pawnCasting_offset     (value: 0x25C, at: 0x85FB96)
Patched addresses.hotkeysPtr     (value: 0xA1D1E8, at: 0x75570A)
Patched addresses.hotkeys_offset         (value: 0x28, at: 0x7C4404)
Patched addresses.loadingScreenPtr       (value: 0xA1D2F8, at: 0x5F393B)
Patched addresses.requiredLevelOffset    (value: 0x58, at: 0x7889F1)
Patched addresses.pawnHarvesting_offset  (value: 0x160, at: 0x8605C5)
Patched addresses.actionBarPtr   (value: 0xA1BAFC, at: 0x5E9D58)
Patched addresses.staticbase_macro       (value: 0xA1D32C, at: 0x7576ED)
Patched addresses.valueOffset    (value: 0x34, at: 0x7ACAFB)
Patched addresses.pawnMP_offset  (value: 0x2D4, at: 0x85FFDD)
Patched addresses.qualityTierOffset      (value: 0x16, at: 0x7AC189)
Patched addresses.pawnMaxHP_offset       (value: 0x2D0, at: 0x85FF46)
Patched addresses.qualityBaseOffset      (value: 0x40, at: 0x617FA4)
Patched addresses.pawnTargetPtr_offset   (value: 0x274, at: 0x5FBEDA)
Patched addresses.maxDurabilityOffset    (value: 0x15, at: 0x6B4A11)
Patched addresses.pawnId_offset  (value: 0x14, at: 0x85219A)
8:11pm - Unable to find 'pawnPetPtr_offset' in module.


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Thanks for help and guidance.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot not working, Need help please

#2 Post by lisa »

Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Truearrow
Posts: 10
Joined: Sun Oct 18, 2009 9:11 pm

Re: Bot not working, Need help please

#3 Post by Truearrow »

Ok, I was thrown off by the date of the top post but see that at bottom there is a more recent post now. I'll wait for SVN update. My only concern is I was getting an error prior to patch late last night. Hopefully that will go away with the update, thanks.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot not working, Need help please

#4 Post by lisa »

Truearrow wrote:No valid action keys available for the command macro. Please supply an empty action key with a hotkey and no modifier.
Yeah sorry I didn't read the full post.

This happens when the bot is trying to communicate with the game but at that time it can't for some reason. Such times is when you are in loading screen like when you teleport somewhere or go into your house.

Wait till after the bot has been updated and see how you go. it may have just been a once off or maybe you just need to add in some code to your WP to avoid getting the error.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#5 Post by lalaxy »

Always breaking macro with this message...It running half or 1 hour then breking with this message :
macros.lua:68: No valid action keys available for the command macro. Please supply an empty action key with a hotkey and no modifier.
Working a lil time then breaking all the time...Any idea ? :)
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot not working, Need help please

#6 Post by lisa »

It is more then likely an issue with your WP, can you look at what was on the MM window before the error?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#7 Post by lalaxy »

It working 8-10 times then breaking. And this waypoint was used before patch without any issue, worked fine...Since patch begins this problems. Char comes out from insta then comes the problem...Usually when waypoints finished and restarting from the beginning , breaking. Without anymore message only what ive linked before. Next time i try to screenshot it. I need to remake my waypoint file? Or wait for any refresh? :)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Bot not working, Need help please

#8 Post by rock5 »

I can think of 2 possibilities.

1. Because of the games memory leak problems, after you switch zones too many times, the game crashes then you get the error message.

2. During updating the patch, your macro.bsd file got corrupt.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot not working, Need help please

#9 Post by lisa »

At a guess I'd say it has to do with the wait for loading screen and how you have the WP set up. can you post just the code from leaving instance to re-entering instance?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#10 Post by lalaxy »

Checking this things. I dont know so much about memory things. Checking this file again.

Code: Select all

</waypoint>
	<!-- # 19 --><waypoint x="1765" z="2879" y="433">	</waypoint>
	<!-- # 20 --><waypoint x="1688" z="2891" y="433">
yrest(10000)	
</waypoint>
	<!-- # 21 --><waypoint x="1647" z="-4929" y="752">
This is the end of my waypoint. Problem usually at 20 and 21 steps. Not using WaitLoadScreen, instead its waiting 10 sec. (around 2-3, maximum 4 sec the loading of the screen)... So its owerprotected with 10 i think.
Thy
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#11 Post by lalaxy »

And this is the entering instance code:

Code: Select all

</waypoint>
	<!-- #  2 --><waypoint x="1694" z="-5150" y="759">
keyboardHold(settings.hotkeys.MOVE_FORWARD.key)
yrest(1000);
keyboardRelease(settings.hotkeys.MOVE_FORWARD.key)

yrest(11000)	
</waypoint>
	<!-- #  3 --><waypoint x="1809" z="2878" y="433">
RoMScript("TargetNearestEnemy();") yrest(1000)
sendMacro("UseAction(5,1)") yrest(3700)
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Bot not working, Need help please

#12 Post by rock5 »

Even though 10 seconds works in testing, most likely what is happening is the longer it runs, the longer it takes for the loading screen to clear. Then you get an error message because it tried to run a RoMScript or read memory or whatever while the loading screen is still up. Just use waitForLoadingScreen() and that should fix your problem.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#13 Post by lalaxy »

Thy, im rewriting my script and repalce with this command...I hope it will be working... Im not thought that it would be problem cause it worked till the new patch...Ill writing about resoults :)
lalaxy
Posts: 46
Joined: Sun Jul 03, 2011 8:21 pm

Re: Bot not working, Need help please

#14 Post by lalaxy »

Seems to be works without last problem...thy for help!
Post Reply