-
bussdee
- Posts: 37
- Joined: Tue Apr 28, 2009 11:20 am
#1
Post
by bussdee » Thu Dec 17, 2009 9:40 pm
I updated the script to 409 and now i got this error:
.../rom/classes/player.lua:1751: Wrong number of parameters supplied to keyboardPress()
Code: Select all
keyboardPress(settings.hotkeys.TARGET.key, settings.hotkeys.TARGET.modifier);
any idea how to fix this?
"Erfahrung ist fast immer eine Parodie auf die Idee."
Johann Wolfgang von Goethe
-
Perk
- Posts: 25
- Joined: Fri Dec 18, 2009 12:36 pm
#3
Post
by Perk » Fri Dec 18, 2009 12:51 pm
Excuse my ignorance, I have the same or similar issue,
yellow error=
...micromacro/scripts/rom/classes/player.lua:1751: Wrong number of parameters supplied to keyboardPress()
started today after I did SVN update. I am running micromacro 1.0 (I re-dloaded from your supplied link and still came up with the same errors.)
any ideas as to what I need to do at this point, (Please be detailed as I am a novice at this) *I have been running and updating rombot for several months though without issue
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#4
Post
by Administrator » Fri Dec 18, 2009 6:27 pm
You probably didn't update all files, then. I've seen countless times before where someone will download a new copy of MicroMacro and only copy over one file (for whatever reason) and things don't work. I would strongly suggest extracting the new version straight from that zip and copy your rombot folder into the new micromacro/scripts directory. Delete the old one.
I've just downloaded and tested it myself and everything works properly with keyboardPress().
-
Perk
- Posts: 25
- Joined: Fri Dec 18, 2009 12:36 pm
#5
Post
by Perk » Fri Dec 18, 2009 6:39 pm
I've seen countless times before where someone will download a new copy of MicroMacro and only copy over one file (for whatever reason) and things don't work.
thats exactly what i did,, i will wipe and re-do tonight.. thanks!!
EDIT/ UPDATE
You were excactly right, All is good..
thanks for taking the time to get me straight!!
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 97 guests