FireFox Posted November 24, 2008 Posted November 24, 2008 Hello, Can I have all information about this function _WinAPI_WriteProcessMemory($hProcess, $pBaseAddress, $pBuffer, $iSize, ByRef $iWritten[, $sBuffer = "ptr"]) Because in help file there isn't an example with au3 script. I want to modify text to processus with allocationbase of 0230993F Thanks in advance.
FireFox Posted November 24, 2008 Author Posted November 24, 2008 I've tried this but I don't have two last statements because I don't know really what it is... #include <WinApi.au3> _WinAPI_WriteProcessMemory("Skype.exe", "0230993F", "d3mon", "D7000","","")
FireFox Posted November 24, 2008 Author Posted November 24, 2008 Where can i found nomadmemory ? Done some search but i didn't found it...
Pain Posted November 24, 2008 Posted November 24, 2008 Something tells me you didn't....http://www.autoitscript.com/forum/index.php?showtopic=28351
FireFox Posted November 24, 2008 Author Posted November 24, 2008 Something tells me you didn't....http://www.autoitscript.com/forum/index.php?showtopic=28351haha...that's because i've searched for "nomadmemory" and not "_mem"
FireFox Posted November 24, 2008 Author Posted November 24, 2008 haha...that's because i've searched for "nomadmemory" and not "_mem"Unfortunatly, allocation base of skype personal message text always change....Can I make text search with nomadmemory of text ?
monoceres Posted November 24, 2008 Posted November 24, 2008 I've tried this but I don't have two last statements because I don't know really what it is... #include <WinApi.au3> _WinAPI_WriteProcessMemory("Skype.exe", "0230993F", "d3mon", "D7000","","") There are several things wrong with this code. First, the first parameter isn't the process name, it's a handle to the process, which you can get by calling _WinApi_OpenProcess(). Second, the third parameter is a pointer to DllStruct() that holds the data you want written. The fourth parameter is the size of the above struct. If any of this makes no sense to you, then _WinAPI_WriteProcessMemory() is out of your leauge, and maybe Nomad memory will suite you better. Broken link? PM me and I'll send you the file!
FireFox Posted November 24, 2008 Author Posted November 24, 2008 There are several things wrong with this code.First, the first parameter isn't the process name, it's a handle to the process, which you can get by calling _WinApi_OpenProcess().Second, the third parameter is a pointer to DllStruct() that holds the data you want written.The fourth parameter is the size of the above struct. If any of this makes no sense to you, then _WinAPI_WriteProcessMemory() is out of your leauge, and maybe Nomad memory will suite you better.ok, so anyone can give me an example of nomad memory with memory search because the allocationbase change
Pain Posted November 24, 2008 Posted November 24, 2008 Use CE to get the static addresses.Here is a good example by Szhlopphttp://www.autoitscript.com/forum/index.php?showtopic=78834
FireFox Posted November 25, 2008 Author Posted November 25, 2008 Use CE to get the static addresses.Here is a good example by Szhlopphttp://www.autoitscript.com/forum/index.php?showtopic=78834Yes, ive seen that but in Szhlopp example i dont know where is "Solitaire.exe+753EC" in cheatengine...
Pain Posted November 25, 2008 Posted November 25, 2008 From Szhlopp's first post:Q: GolbezI don't get what this does.How would I need this in my script?-----------------------------------------------------------------------------------------------------------------------------------A:You found the green address for whatever you were trying to get out of your game right?To make that static address truely static you need to add It's EXE name before the address in the pointer list.The best way to do this is to right click on the pointer stack in your 'Cheat Table' and click "Copy", then "Paste".Now double click the address field of your copied address. You'll see the first address looks like this: "Gamename.exe+HEXOFFSET"This is what a static address is, Game+offset. Now in AutoIt, what does the game name equal? Obviously if I want to program the memory in AutoIt I need to know what that equals. My function tells you what that address is. Knowing that last bit of knowledge enables you to have a consistant address you use. You never need to refer back to CheatEngine to get a new address
FireFox Posted November 25, 2008 Author Posted November 25, 2008 @Pain Im so stupid that ive read and read few times your post and never found it in cheatengine or not really...if anyone can give me some screenshot for i understood it will be appreciate !
oMBRa Posted November 26, 2008 Posted November 26, 2008 the address in the list that are green are static address... example ''Skype.exe+7F8DB8'' is a static address
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now