Page 1 of 1

rom/settings.lua error

Posted: Sat Jun 26, 2010 10:27 am
by NateLawliet
micromacro/scripts/rom/settings.lua:655: bad argument #1 to 'upper\ (string expected, got nil)
I keep getting this problem. Any solutions?
if( string.upper( v:getAttribute("hotkey") ) == "MACRO" ) then
hotkey = "MACRO"; -- set MACRO as hotkey
else
hotkey = key[v:getAttribute("hotkey")]; -- read the virtual key numer
end

checkKeySettings( v:getAttribute("name"),
v:getAttribute("hotkey"),
v:getAttribute("modifier") );

Re: rom/settings.lua error

Posted: Sat Jun 26, 2010 10:49 am
by KillerTHC
Have you updated your RoM bot with SVN and then run rom/update?

Re: rom/settings.lua error

Posted: Sat Jun 26, 2010 7:04 pm
by NateLawliet
actually it was working fine, but when I switched classes it showed that message again

Re: rom/settings.lua error

Posted: Sat Jun 26, 2010 8:40 pm
by KillerTHC
I believe you are using an older version of RoM Bot because I cannot find that line in my settings.lua
Update your RoM Bot with SVN.