Jump to content
Sign in to follow this  
gumbitha

NomadMemory question.

Recommended Posts

gumbitha

Hi, currently writing the beta for an Oni Multiplayer (Yeah yeah, 7 years too late huh? Naw, I know plenty of people who will play). It will eventually be ported to C, but for now it is in Autoit, because I know it better, and I can test all my stuff easily.

Now, my question:

Take this function: _MemoryRead($iv_Address, $ah_Handle, $sv_Type)

I know what I want for the Address and Handle, but I am confused on the type. I need to Read and Write to a 30 byte area. Is there a way to do it from a single function, or do I have to do double+double+double+long+short or some other timewasting nonsense?

I don't quite understand what I need to do from DllStructCreate's help file. Anyone feel up to helping me?

Share this post


Link to post
Share on other sites
gumbitha

I just said I didn't understand it. I don't quite get how specifying sizes works. Do I need to use char[30] or something?

$Data = _MemoryRead($Address, $OniHandle, char[30])

_MemoryWrite($Address, $Oni2Handle, $Data, char[30])

Edited by gumbitha

Share this post


Link to post
Share on other sites
gumbitha

Just double checked, and my above idea does indeed not work. Anyone got any idea? Or do i have to use the ugly "double+double+double+long+short"? :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.