multi level pointers

04/10/2012 13:54 fear-x#16
ok downloaded installed tryed the script still empty value :/
btw this is for cabal online EU episode 7
04/10/2012 14:03 lolkop#17
just print out every single value.

Code:
$1 = read(0x00400000 + 0x00B609D4)
ConsoleWrite(Hex($1)&@CRLF)
$2 = read($1 + 0x104)
ConsoleWrite(Hex($2)&@CRLF)
[...]
once u'll reach a value lover than 0x00400000, u've found "problem-line".

for the read task, you can simply use the _WinAPI_ReadProcessMemory function. there's no pointer.au3 needed at all.
04/10/2012 14:09 fear-x#18
both lines were "00000000"
04/10/2012 19:12 lolkop#19
Quote:
Originally Posted by fear-x View Post
both lines were "00000000"
does OpenProcess even return a valid handle?
04/10/2012 22:25 fear-x#20
i think so ;O
04/10/2012 22:42 lolkop#21
guessing and thinking won't get you anywhere...

printing out every single step is the only way to find the source of your problem.
04/10/2012 22:46 fear-x#22
ok gimme a minute :)

yep the proccess works got the succesful correct adress

but memoryppointer read wont return anything in console :O
04/10/2012 22:52 lolkop#23
Quote:
Originally Posted by fear-x View Post
ok gimme a minute :)

yep the proccess works got the succesful correct adress

but memoryppointer read wont return anything in console :O
try to read any known adress, to see if you're able to get correct values at all.
04/10/2012 22:53 fear-x#24
single level pointers work fine :P
04/10/2012 23:10 lolkop#25
wat does "read(0xB609D4)" return?
04/10/2012 23:12 fear-x#26
Quote:
Originally Posted by lolkop View Post
wat does "read(0xB609D4)" return?
Code:
00+>22:12:20
04/10/2012 23:16 lolkop#27
and _MemoryModuleGetBaseAddress($pid, "fixedmain.exe") returns?
04/10/2012 23:19 fear-x#28
Code:
0+>22:18:39
is there the problem ? ;O
04/10/2012 23:24 lolkop#29
meh i dunno anything 'bout cheatengine, since i've never used it. isn't there a way to get the modulebaseadress of the process with cheatengine?

usually that adress shouldn't change, so you could add it as a static value to your script.

if cheatengine won't give you that addres, you could use odbg or simple hexeditors like winhex, to get the modulebase^^
04/10/2012 23:29 fear-x#30
i have no idea how to get teh module adress or watever :D

ok i think i got the right adress so how i add it ? :D