Page 2 of 2

Re: Wrong number of parameters supplied to pixelSearch().

Posted: Sun Oct 11, 2015 9:22 am
by Exempt
I went ahead and tried to do some memory scanning with CE but it seems that may be more tricky. After I find the address of the event log messages and attach the debugger to sort out the pointers the address of the event log messages change. Micromacro doesn't have a txt file reading plugin does it?

Re: Wrong number of parameters supplied to pixelSearch().

Posted: Sun Oct 11, 2015 2:35 pm
by Administrator
You can do that in plain Lua.
Check the first reply here: http://stackoverflow.com/questions/1120 ... ile-in-lua

Re: Wrong number of parameters supplied to pixelSearch().

Posted: Sun Oct 11, 2015 2:36 pm
by BlubBlab
Exempt wrote:I went ahead and tried to do some memory scanning with CE but it seems that may be more tricky. After I find the address of the event log messages and attach the debugger to sort out the pointers the address of the event log messages change. Micromacro doesn't have a txt file reading plugin does it?
You can always load files with lua but for the formats you need to look into it , I wrote/compiled an XML plugin for MM2 and there is also table.laod() and table.save() .

Re: Wrong number of parameters supplied to pixelSearch().

Posted: Sun Oct 11, 2015 3:00 pm
by Exempt
Sorry, I completely forgot lua could be used like that. I've been out of the loop for a while. I'll go study up a bit again thanks.

Edit: Thankfully it's a simple .txt without any format other then the bottom line is the current event happening.

Re: Wrong number of parameters supplied to pixelSearch().

Posted: Sun Dec 06, 2015 8:40 pm
by lisa
Just wanted to say that this also fixes the wrong number of args for mouse.setVirtualPosition that I came across.