Ok so pretty much most of my CE usage was in RoM and the pointer statics were always client.exe but I have been playing around with a game lately and every single pointer result is a .dll
Ok so I have a pointer which has been reliable and works fine in CE and uses "OpenAL64.dll" + #####
So is there a way to use the dll name to get the value of where to start pointer? The value changes every time I start game.
I have found a static which seems to be the value of the "OpenAL64.dll" and I will probably do some testing using that to see if it's reliable or not but getting the value of the .dll like CE has would make it easier/more reliable.
CE and dll pointers
CE and dll pointers
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: CE and dll pointers
You mean this ?
number process.getModuleAddress(number procId, string moduleName)
Look up the address of a module within a process and return its origin address. Often this is used to lookup the location where a DLL is loaded. 'moduleName' should be the full name. i.e. "whatever.dll" If the function fails or it could not locate the module, it returns nil.
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
Re: CE and dll pointers
ahh yeah I didn't know that would be called a module =)
I'll have to play with it more, currently getting nil
I'll have to play with it more, currently getting nil
Code: Select all
local procid = process.findByWindow(window.find(targetWindowName, targetWindowClass))
-- procid works fine as it is used in other areas such as
proc = process.open(procid)
process.getModuleAddress(procid, "OpenAL64.dll")
-- is nil, copy pasted name from CE so it has to be right.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
- Administrator
- Site Admin
- Posts: 5312
- Joined: Sat Jan 05, 2008 4:21 pm
Re: CE and dll pointers
I suppose it could be because it's a 64-bit version and the code might not account for that. Can you test this with another 32 and 64 bit application?
Re: CE and dll pointers
You can also try
One thing to note doing this with the 32-bit version of MM2 to an 64-bit process won't work only the other way around.
Code: Select all
/* process.getModules(number procId)
Returns (on success): table(name => address pairs)
Returns (on failure): nil
Returns a list of all available modules in a process as key/value pairs.
*/
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 0 guests