Page 1 of 1

attempt to call global 'atError' (a nil value)

Posted: Sun Jul 14, 2013 3:25 pm
by zoomy
Hello all.

I can't get rombot to work.
I have searched the forums and tried a few things but still no results.

I just reinstalled micromacro and rombot scripts.
After fresh install
(using)
MicroMacro 1.01b3
rom directory At revision: 760
game version 6.0.1.2650.en

my directory tree: Runes Of Magic\micromacro\scripts\rom\
I have copied and rename default profile my character name.
I have copied micromacro\scripts\rom\devtools\ingamefunctions to Runes Of Magic\interface\addons\ingamefunctions
and also copied the 4 files (for good measure) to Runes Of Magic\interface\addons\ (just in case)
I have uninstalled ALL of my addons.

When I run the batch file micromacro\scripts\rom\startbot I get the following:

MicroMacro v1.01 beta 3
SolarStrike Software
http://www.solarstrike.net
Opening bot.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
-------------------------------------------------------------------------------
...BR_eng\Runes Of Magic\micromacro\scripts\rom/bot.lua:33: .../Runes Of Magic/m
icromacro/scripts/rom/functions.lua:369: attempt to call global 'atError' (a nil
value)


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

I get the same message if i try createpath or fixaddresses (any of the batch files)

Anyone know what is going on here?

Many thanks in advance!

Re: attempt to call global 'atError' (a nil value)

Posted: Sun Jul 14, 2013 3:40 pm
by rock5
I'd say the main problem is that you have a really old version of micromacro. Get the latest here.
http://www.solarstrike.net/micromacro

The micromacro folder can go anywhere. I'm just saying that in case you think it's supposed to go there, but it shouldn't cause any problems being there.
Runes Of Magic\interface\addons\ingamefunctions
That's the correct folder. I'd get rid of the other files so they don't clutter up your addons folder and also so they don't confuse you in the future when you need to update them.

It sounds like you are just starting. If you don't have an addon to supply time functions then also install d303fix.
http://www.curse.com/addons/rom/d303fix

Re: attempt to call global 'atError' (a nil value)

Posted: Sun Jul 14, 2013 4:02 pm
by zoomy
Thank you!

I installed the timing addon as you suggested.

For the record, just in case someone has this same issue i would like to report the actual cause of my issue.
When i downloaded the "new version of micromacro"
I was at the same page that you linked to me above however:
I didnt see the BIG BLUE BUTTON ON THE RIGHT! ( i know amazing)
so i clicked on SVN PROJECT and then clicked downloads. (This led me to an older version so dont do it!)

Click the big blue download button from the link provided above :)

Thank you so much! i am now back to learning how to bot!

Re: attempt to call global 'atError' (a nil value)

Posted: Sun Jul 14, 2013 4:24 pm
by rock5
I see what you did. I think I'll mention it to Administrator.

Re: attempt to call global 'atError' (a nil value)

Posted: Mon Jul 15, 2013 12:23 am
by rock5
Administrator has removed that old file so that shouldn't happen again.