Kuchiha Posted August 1, 2009 Share Posted August 1, 2009 Hi all, I'm using the UDF Nomadmemory.au3. It works fine for many things but I'm stuck on something. In CheatEngine, I've got this script : [enable] 00423811: db 90 90 90 90 90 90 [disable] 00423811: db 0f 8e ff 00 00 00 I'm trying to do the same thing in Autoit, but every time the game crashes. Here is a sample of the last thing I've tried : Func _EnableZoom() _Writeit(0x00423811, '0x909090909090', 'uint') EndFunc Func _DisableZoom() _Writeit(0x00423811, '0x0F8EFF000000', 'uint') EndFunc Func _Writeit($offset,$value, $Type = 'dword') Local $ProcessID = WinGetProcess($WindowName,"") Local $DllInformation = _MemoryOpen($ProcessID) If @Error Then MsgBox(4096, "ERROR", "Failed to open memory. " & @error) EndIf _MemoryWrite($offset, $DllInformation,$value,$type) If @Error Then MsgBox(4096, "ERROR", "Failed to open memory. "& @error) EndIf _MemoryClose($DllInformation) If @Error Then MsgBox(4096, "ERROR", "Failed to open memory. " & @error) EndIf EndFunc Could someone give me a hint ? Thx in advance. Link to comment Share on other sites More sharing options...
Info Posted August 1, 2009 Share Posted August 1, 2009 I join the question, been trying to do something like this as well. >_ Link to comment Share on other sites More sharing options...
Szhlopp Posted August 2, 2009 Share Posted August 2, 2009 I wish I could tell you HOW to do it..The problem is though is that MemoryWrite, writes a value to that address. It does not write assembly to it. RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
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