Sign in to follow this  
Followers 0
Cuervo

Writing to memory with Nomad

6 posts in this topic

#1 ·  Posted (edited)

Hello,

Am I any where close on this? I did a search and tried to using what I thought was correct. The script compiles and runs but does not change the memory values.

#include <NoMadMemory.au3>
#include <Misc.au3>
#include <Array.au3>
#include <Memory.au3>
#RequireAdmin


$PID = WinGetHandle("Card Play")
$ah_Handle = _MemoryOpen($PID)

If $PID = 0 Then
    MsgBox(0, "Error!", "Process does not exist")
    Exit
EndIf



_MemoryWrite(0x005DF837, $ah_Handle, "0x90", 'byte[1]' )
_MemoryWrite(0x005DF838, $ah_Handle, "0x90", 'byte[1]' )
_MemoryWrite(0x005DFF2A, $ah_Handle, "0x90", 'byte[1]' )
_MemoryWrite(0x005DFF2B, $ah_Handle, "0x90", 'byte[1]' )
_MemoryWrite(0x005DFE45, $ah_Handle, "0x90", 'byte[1]' )
_MemoryWrite(0x005DFE46, $ah_Handle, "0x90", 'byte[1]' )

 _MemoryClose($PID)

Thanks for the help

BTW: I'm doing this in Windows7 and the game is 32bit.

Edited by Cuervo

-Tim

Share this post


Link to post
Share on other sites



Am I really that far off? Has no one every done this before? Did I post this in the wrong forum?


-Tim

Share this post


Link to post
Share on other sites

Am I really that far off? Has no one every done this before? Did I post this in the wrong forum?

No, but you did just violate forum rules :D. Please wait 24 hours before bumping a post. I believe that counts as bumping.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites

No, but you did just violate forum rules :D. Please wait 24 hours before bumping a post. I believe that counts as bumping.

OK, thanks.

I got it working.

Can anyone explain why,

$PID = WinGetProcess would work while $PID = WinGetHandle would not?


-Tim

Share this post


Link to post
Share on other sites

Am, I doing something wrong here?

Why was the one response that was posted here deleted?


-Tim

Share this post


Link to post
Share on other sites

It wasn't you or you would know about it. Other than that I have no idea why the post would have been removed. :D


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

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  
Followers 0