As topic I need to reading from memory what title is walkable or not. I don't know why does not work, what is change in structure.
I'm not sure if these addresses are correct, but i think so.
Code:
public readonly static int Start = 0x3D466C; //10.39
public readonly static int StepItems = 0xA0; //136 from old version
public readonly static int FlagsOffset = 0x44; //68 from old version
Here my test code:
Code:
int itemid = 284;
int start = Util.ReadInt32(DatPointer.Start + Util.Base, Util.Tibia.Handle);
start = Util.ReadInt32(start + 0x8, Util.Tibia.Handle);
start = start + DatPointer.StepItems * (itemid - 100);
int flags = Util.ReadInt32(start + DatPointer.FlagsOffset, Util.Tibia.Handle);
It's working to get name of item, but really I don't know how i can get information about Blocking, BlockingPath.
Also I was analyzed this code: https://github.com/NeoClone/NeoClone.../datReader.pas
This is my scratchpad http://oi57.tinypic.com/20sx92b.jpg and I don't know why flag = 4096 only in first position of this screen.
I hope you understand me and I will grateful if someone help me.
Thanks.
edit: Move this topic to correct department if I made wrong.