Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


dissect dictionary/lists

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Tr1gun87
Cheater
Reputation: 0

Joined: 17 May 2017
Posts: 27

PostPosted: Mon Nov 30, 2020 6:25 am    Post subject: dissect dictionary/lists Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites