MicroMacro 2 alpha build

Several months ago, I had announced that I started working on MicroMacro 2. Things were going together very quickly. Now, it is in a somewhat usable state but could use some testing. I'm interested to see what suggestions you guys might have as well.

[size=150:36subgca]Note that this is not compatible with RoM-bot! If you try to run MicroMacro 1 scripts on MicroMacro 2, it will fail.[/size:36subgca]

Git on Google Code:
Documentation and examples on wiki:

Example screenshot:
[attachment=1:36subgca] mockup.png [/attachment:36subgca]

If you're interested in experimenting with it, feel free to download a copy and read the wiki. I'm aware that there's not enough information to fully explain all the big changes that have happened so I think perhaps any questions you might have will help me to write up some more tutorials targeted at what you need to know.

Announcing: MicroMacro 2 comming...eventually

For awhile now, I've been planning and discussing the future of MicroMacro with the other RoMBot script developers. Over the years as the project has grown, its weaknesses have been exposed. As such, a complete rewrite is in order. The very core of the project is getting reorganized to fit a better pattern.

Why all the work, you ask? Because it needs to be done. Too many patches and bad practices have been applied, and now it is time to fix it. The planned changes are well worth the effort. That and large chunks of code can be salvaged (although will require some reworking).

Easier development; quicker to add new modules and functionality
Cleaner code; Both the C++ code and Lua scripts will be easier to follow
Removing old, deprecated stuff, replacing with new shiny stuff
Improved efficiency and error checking
Lots of new features (I'll detail what's planned some other time)

While it is still quite some time off yet, I figure you guys might like to know what's going on behind the scenes. The latest (stable) version of MicroMacro will still be available and supported after completion.

So... DDoS?

Noticed a pretty sudden spike in bandwidth usage today. About 10 times normal. And 99% of it coming from Indonesia. As a result, I've banned some IP ranges that were involved. Sorry for the inconvenience.

MicroMacro 1.04.157 stable

Just committed the last few changes and uploaded the latest binary. You can find the package on the MicroMacro download page.

Full changelog is as follows:

  * validWindow() will now accept a nil value but always return false in this case.
  * getFilePath() will no longer return "./" if in the CWD; it will instead return an empty string.
  * Fixed a bug with createThread() that caused passed variables to not be properly forwarded to the thread's function.
  * Fixed a minor bug that kept the keyboard module on the stack after loading.
  * Improved the speed of memoryReadString*() functions by using cached reading.
  * Changed how settings from the config.lua file are handled internally.
  * pixelSearch() now accepts (x2,y2) to be less than (x1,y1) to search from right-to-left and bottom-to-top.
  * pixelSearch() is also much faster.
  * Fixed a bug with setConsoleAttributes() that would cause it to fail in certain instances when switching to a larger buffer.
  * Improved the speed of getHwnd() by combining the "old" and "new" method.
  * Added optional config variable scriptsDirectory to set the default directory to run scripts from.
  * New application icon.
  * Changed the display format of beta revisions to a more standardized system (ie. 1.03.02).
  * Merged sw and priority libs into lib.lua.
  * Moved printf() and sprintf() into cli module.
  * table.contains() will now also return the index of the first match it finds.
  * showWindow() now uses async calls to prevent blocking when used on a crashed window.
  * When passing sw.restore to showWindow(), it will no longer force windowing of maximized background windows.
  * Added functions getOpenFileName() and getSaveFileName() to display the standard GUI file selection dialogs.
  * When no script is entered (press ENTER at script prompt), the open file dialog is shown to select a script to run.
  * Fixed a (very) minor bug with the close button (X) callback.
  * Providing full paths to scripts should now work properly.
  * More buffer overflow and memory leak fixes.
  * include() can now return multiple variables.

Wiki account creation closed.

Forum spam has mostly been taken care of, yet the wiki is still hammered. Every day, dozens of accounts are registered (despite having a captcha) yet not one of them are ever used by a real person. So, rather than have to bother with managing it when no real users are registering anyways, I've decided to shut down registrations temporarily.

If you already have a wiki account, you remain able to use that account unhindered. If you do not have a wiki account and would like to create one, you can PM me on the forums or email me at the address at the bottom of the homepage.

Again, this is only a temporary closure. Registrations will be opened again someday.

Recent Forum Posts


Your donations will be used to fund the running of this site as well as promote the development of MicroMacro and related bot scripts. Any little bit helps!