Page 1 of 1

Unknown/ Unexpected Error

Posted: Tue Sep 25, 2012 1:57 am
by do002
Hi,

I have received a really weird error message starting the bot today. It's weird because there wasn't a patch and I tried updating and reverting the rom script folder but still couldn't get rid of it.

The message is as following program files/micromacro/scripts/rom/settings.lus:299: bad argyment #1 to 'upper' <string expected, got nil>

Thank you.

Re: Unknown/ Unexpected Error

Posted: Tue Sep 25, 2012 2:44 am
by rock5
I suspect you accidentally removed one of the key bindings in the game needed by the bot. Hm.. maybe not. I just tried that and got a different error message. I tried setting MACRO to nil in the profile, still a different message.

It's got something to do with keybindings or hotkeys but I'm not sure what. Have a look at the micromacro log file. It should be in the micromacro folder. See what it says when checking the keys. Look for a bit that looks like this and make sure it is the latest entry.

Code: Select all

Tue Sep 25 17:22:04 2012 : QUICK_TURN = true
Tue Sep 25 17:22:04 2012 : Keyboard settings are from bindings.txt:
Tue Sep 25 17:22:04 2012 : MOVE_FORWARD                  W
Tue Sep 25 17:22:04 2012 : MOVE_BACKWARD                 S
Tue Sep 25 17:22:04 2012 : TARGET                        Tab
Tue Sep 25 17:22:04 2012 : ESCAPE                        Esc
Tue Sep 25 17:22:04 2012 : ROTATE_LEFT                   Q
Tue Sep 25 17:22:04 2012 : STRAFF_RIGHT                  D
Tue Sep 25 17:22:04 2012 : TARGET_FRIEND                 Right Ctrl+Tab
Tue Sep 25 17:22:04 2012 : STRAFF_LEFT                   A
Tue Sep 25 17:22:04 2012 : ROTATE_RIGHT                  E
Tue Sep 25 17:22:04 2012 : MACRO                         0
Tue Sep 25 17:22:04 2012 : JUMP                          Space
You got an error message so it probably stopped part way through but where it stopped might tell us something.

Re: Unknown/ Unexpected Error

Posted: Tue Sep 25, 2012 3:05 am
by do002
Thank you very much! You're such a life saver. I figured it out to be the target nearest ally keybinding one