golmo How do I cheat?
Reputation: 0
Joined: 07 Oct 2010 Posts: 5
|
Posted: Wed Sep 25, 2013 2:17 pm Post subject: help with windows 7 minesweeper |
|
|
hello, I want to make that every time I start a new intermediate game (in windows 7 minesweeper) (with 40 mines) it will start with 1 mine and any other number of mines it will start normally so I found the adress that writes to the adress of the number of mines and changed it to this:
[quote]
alloc(newmem,2048,"minesweeper.exe"+26D23) //2kb should be enough
label(returnhere)
label(originalcode)
label(newcode)
newmem:
cmp [rcx+08],40
je newcode
jmp originalcode
originalcode:
mov [rcx+08],eax
mov [rcx+0C],r9d
jmp returnhere
newcode:
mov [rcx+08],1
mov [rcx+0C],r9d
jmp returnhere
"minesweeper.exe"+26D23:
jmp newmem
nop
nop
returnhere:
[/quote]
but this only change the number of mines to 1 when the previous game was with 40 mines (so i need to set a new game with 40 mines twice) and not changing the number to 1 instead of 40 from the begining (i mean like creating a breakpoint in the first time, understand that the new game needs to start with 40 and only then change it to 1 without considering what was before)
can you help me how i can do it?
|
|