RHCP readmemory stop working Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Trigun
Posts: 41
Joined: 29 Mar 2017, 01:33

RHCP readmemory stop working  Topic is solved

Post by Trigun » 08 Sep 2020, 14:18

hello
i was using a function for read a value from memory

Code: Select all

temp2 := "00 00 80 3E D3 D1 51 3F 8B 8A 0A 3F B6 B5 35 3F 00 00 80 3F D7 D6 D6 3E"
		pattern := varprocess.hexStringToPattern(temp2)
		pattern2 := varprocess.hexStringToPattern("00 00 00 00")
		result := 0x0
		while ((result := varprocess.processPatternScan(result+1,, pattern*)) > 0) { 
			if (varprocess.processPatternScan(result-0xf8+0x10,result-0xf4+0x10, pattern2*) == 0)
				sellPositions := result-0xf8
		}
	}
	MsgBox, % sellPositions
	if (varprocess.read(sellPositions+0x20, "Char") == 0)
		return -1
	result := varprocess.read(sellPositions+0x24,"UInt",0x10,0x18,0xe4)
	
	MsgBox, % result
after a patch i get the result from the first msgbox but the 2nd is empty
if i try to use the pointer on cheatengine i get the correct value
i remember i read a lot of time ago about a line to add for privileges i don't remember if i'm using it or not and i don't remember where i read it... any idea why i have this problem?
the same code was working before the patch and the path isn't changed
all my read return empty strings


edit
found the line
_ClassMemory.setSeDebugPrivilege()
but it doesn't works


edit2
when i was triple checking everything i noticed that when i was pasting the first code in cheatengine structure dissect after paste the code was decreasing of 0x10, now works...

Return to “Ask for Help (v1)”