Playing with the MM2 code
Forum rules
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
This is a sub-forum for things specific to MicroMacro.
This is not the place to ask questions about the RoM bot, which uses MicroMacro. There is a difference.
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Playing with the MM2 code
One of these days I want to dig through this and make sure I at least get the 64-bit stuff taken care of. I've just been so busy with other things. Make sure to not let me forget.
Re: Playing with the MM2 code
I could give you are recipe:
Copy most of the memory stuff from me to your project, than replace all those 'unsigned int' you used for strings and similar stuff with 'size_t'. Today I realized that LUA still use 32-bit for unsigned thanks to this configuration:
that make a lot more sense:
EDIT: That was the luaconf.h in which you can setup what has which type.
I think the hardest part is to make the mingw compiler to run and compile the other stuff.
Copy most of the memory stuff from me to your project, than replace all those 'unsigned int' you used for strings and similar stuff with 'size_t'. Today I realized that LUA still use 32-bit for unsigned thanks to this configuration:
Code: Select all
#define LUA_INTEGER ptrdiff_t
/*
@@ LUA_UNSIGNED is the integral type used by lua_pushunsigned/lua_tounsigned.
** It must have at least 32 bits.
*/
#define LUA_UNSIGNED unsigned LUA_INT32
Code: Select all
#define LUA_UNSIGNED unsigned LUA_INTEGER
I think the hardest part is to make the mingw compiler to run and compile the other stuff.
Jack-of-all-trades, but master-of-only of a few
My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
Who is online
Users browsing this forum: No registered users and 20 guests