Tr1gun87 Cheater
Reputation: 0
Joined: 17 May 2017 Posts: 27
|
Posted: Mon Nov 30, 2020 6:25 am Post subject: dissect dictionary/lists |
|
|
hello,
i have a "problem" when i have to navigate in dictionary/list objects
i made a small external loop for print the list, but is a bit boring to use since i have to manually set the address and other stuff
something like that (ahk)
Code: | f6::
memory:= getGame()
t:=0
tempmem := 0x676D57F8+0xc
tempnum := memory.read(tempmem,,,0xc,0xc)
while (t < tempnum) {
temp := memory.readString(tempmem,,"utf-16",0xc,0x18+0x10*t,0xc)
if (InStr(temp,"shortsword")) {
MsgBox, % 0x18+0x10*t " t: " t " --- " temp
}
t++
}
MsgBox, end %tempnum% |
in this case i was searching the string "shortsword"
the problem is that the dissector show only the first (10? don't remember) offset from the start, so if u have to open the 5th element u have an offset of 68 (in my case) and u can't see the result from the dissect, is possible to read the array/list/dictionary directly from the dissector without manually add the childrens?
PS that code is used on a MONO game, so i think the standard objects like list/dictionary have always the same structure
|
|