How to determine if entity is an offline shop?

01/22/2023 01:25 Drenden#1
Hello everyone,

i want to write a small utility script that counts offline shops on server.
I have entity list in my python script but offline shops have the same instance type as NPCs or player pets. How to differentiate them? Is there a function in some module that returns true if a specific VID is an offline shop? If not - what would be the best way to do it? Thanks
03/19/2023 00:18 hashlover#2
get the base adress of entity then use that address dissecting windows on cheat engine,
then 1st offset (not from the top, metin2.exe+1234e,first,second) is the main entity, and usually mob ids 8 on the second offset(you can go 4 bytes further or backwards to double check), that will return the mobid rest is your imagination.

so look for: metin2.exe+1234e, first,8