Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]How can I permanent freeze some Values in the Memory
#1
Hello, I try to figure out how to freeze some values permanent in an application but I don't know how. Also the macro should freeze the value as long as the application is running or until I deactivate it with an Hot-key or an Window-Button. I hope someone can Help me with this.

My current Macro:
Macro Minesweeper
Code:
Copy      Help
int hWnd,lpdwProcessId,o,r,w,Value,NewValue
int BufferSize = sizeof(Value)
byte* BaseAddress
BaseAddress+0x100579C
hWnd=FindWindow(0 "Minesweeper")
GetWindowThreadProcessId(hWnd lpdwProcessId)
;out "Process ID=%i" hWnd ;;enable/disable this line for debug
o=OpenProcess(PROCESS_ALL_ACCESS 0 lpdwProcessId)
r=ReadProcessMemory(o BaseAddress &Value 4 0)
;out "ReadProcessMemory=%i" r ;;enable/disable this line for debug
;out "BaseAddress=%X ,Buffer=%i BufferSize=%i" BaseAddress Value BufferSize ;;enable/disable this line for debug
NewValue=0
w=WriteProcessMemory(o, BaseAddress, &NewValue 4 0)

I deicide to use this small game from Windows XP for learning and testing before I change anything big in other applications.
Windows 8.1 x64 | Quick Macros v2.4.x.x


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)