c:/Games/ROM Hacks/micromacro/scripts/rom/settings.lua:307: bad argument #1 to 'upper' (string expected, got nil)
I am getting this error and can't figure it out, I tried on the 1.04 and the 1.05 versions, didn't try the rest since they were unstable, if you know what's wrong with it, please let me know and thank you.
bad argument #1 to 'upper'
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: bad argument #1 to 'upper'
What's on line 307 of that file for you? Have you made any modifications?
-
- Posts: 36
- Joined: Fri Aug 31, 2012 4:31 pm
Re: bad argument #1 to 'upper'
307 if( string.upper(v.key) == "MACRO" ) then
I didn't change anything, I actually copied this from my other two computers where the bot works great on, I ended up downloading the micromacro again to check but still nadda....
I didn't change anything, I actually copied this from my other two computers where the bot works great on, I ended up downloading the micromacro again to check but still nadda....
-
- Posts: 36
- Joined: Fri Aug 31, 2012 4:31 pm
Re: bad argument #1 to 'upper'
Here is entire part.....
306 local keyname;
307 if( string.upper(v.key) == "MACRO" ) then
308 keyname = "MACRO";
309 else
310 keyname = getKeyName(v.key);
311 end
306 local keyname;
307 if( string.upper(v.key) == "MACRO" ) then
308 keyname = "MACRO";
309 else
310 keyname = getKeyName(v.key);
311 end
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: bad argument #1 to 'upper'
Seems like one of the keys you've set in your settings is invalid, but that's my first guess.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 28 guests