View previous topic :: View next topic |
Author |
Message |
CuervoG Newbie cheater
Reputation: 0
Joined: 01 Oct 2009 Posts: 10
|
Posted: Wed Feb 03, 2010 5:59 pm Post subject: Freezing/Locking Memory |
|
|
Hey all,
I know CE trainer maker can freeze an offset but it will only let you do it ine one instance of a client. I'm trying to write a trainer in autoit that will allow more then one patch.
I have figured out how to to Open, Read, Write and close memory using NomadMemory at this point. The issue now is freezing or locking the offsets once they are written to.
Does anyone know of a way to freeze and offset using Nomad, Autoit?
Thanks.
BTW: The folks over on Autoit forums don't want to help anyone cracking games, as I have ask a few times over there.
Oh, and incase anyone wanted to know how to use NomadMemory, since they wont tell you about it at Autoit here is a basic idea.
Code: |
#include <NomadMemory.au3>
$PID = ProcessExists("Your program name here")
MsgBox(4096, "PID is", $pid)
$PID1 = WinGetHandle("You progam window title here") ;used to see if your program is running.
$Mem_Open = _MemoryOpen($PID) ;global to open memory
If $PID1 = 0 Then
MsgBox(0, "Error!", "Process does not exist")
Exit
EndIf
_MemoryRead(0x005DF7B7, $Mem_Open, 'byte[1]' )
_MemoryWrite(0x005DF7B7, $Mem_Open, "0x90", 'byte[1]' )
_MemoryClose($Mem_Open)
exit
|
Last edited by CuervoG on Wed Feb 03, 2010 6:09 pm; edited 1 time in total |
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Wed Feb 03, 2010 6:06 pm Post subject: |
|
|
well freezing is just looping that edit function. so find yourself a sleep function, then loop the writing part
|
|
Back to top |
|
 |
CuervoG Newbie cheater
Reputation: 0
Joined: 01 Oct 2009 Posts: 10
|
Posted: Wed Feb 03, 2010 6:08 pm Post subject: |
|
|
Slugsnack wrote: | well freezing is just looping that edit function. so find yourself a sleep function, then loop the writing part |
That is one way for sure.
But, it seems best to figure out a way to freeze it, like in CE, and then just let the script stop.
I think the other big issue with looping is I wont be able to loop more then one PID at a time thus I wont be able to multi client the freeze.
|
|
Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Wed Feb 03, 2010 7:00 pm Post subject: |
|
|
CuervoG wrote: | Slugsnack wrote: | well freezing is just looping that edit function. so find yourself a sleep function, then loop the writing part |
That is one way for sure.
But, it seems best to figure out a way to freeze it, like in CE, and then just let the script stop.
I think the other big issue with looping is I wont be able to loop more then one PID at a time thus I wont be able to multi client the freeze. |
Use threading then
|
|
Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
Posted: Wed Feb 03, 2010 8:28 pm Post subject: |
|
|
Auto-it has a single thread unfortunately.
|
|
Back to top |
|
 |
CuervoG Newbie cheater
Reputation: 0
Joined: 01 Oct 2009 Posts: 10
|
Posted: Thu Feb 04, 2010 2:39 pm Post subject: |
|
|
darkjohn20 wrote: | Auto-it has a single thread unfortunately. |
Which is why I would have to lock the offset before I could switch $PIDs to lock an offset in a different client.
Any ideas? I wish Nomad would have written a MemoryLock and MemoryUnlock for his Autoit memory UDF.
|
|
Back to top |
|
 |
|