the container located 0x83C of ObjManStorage must match obDataContainer.
I have not yet handled.
I'll look at it closer thank you for the tip
Edit:
I just decrypter part of the loot code alert (I noticed some small bugs in the source code, but it is not the purpose of this subject that I will skip).
Handling works well when you are alone in the game, I can retrieve the offset of the player (in RActor) as follow :
Code:
int index = memory.ReadInt(ObjectManager, 0x934, 0); // unknown container
int actor_id = memory.ReadInt(ObjectManager, 0x83C, 0x60 + index * 0x82C8))); // retrieve info. from ObDataContainer
int Actor_container = memory.ReadInt(ObjectManager, 0x8C8);
int Actor_Data = memory.ReadInt(Actor_container + 0x148)
short Actor_shortid = (short)(0xFFFF & actor_id);
int Actor_bitShift = memory.ReadInt(Actor_container + 0x18C);
int ofs_actor = memory.ReadInt(Actor_Data) + 4 * (Actor_shortid >> Actor_bitShift) + 0x42C * (Actor_shortid & ( (1 << Actor_bitShift) - 1) );
public int ReadInt(int addr, params int[] offsets)
{
int res = ReadInt(addr);
foreach (int i in offsets)
res = ReadInt(res + i);
return res;
}
But when I'm multiplayer part, ofs_actor returns something other than the offset of the player.
It must come from both container in which the work going on, but unfortunately I can not find the information above (ObDataContainer ( +0x83C) and UIManager ( +0x93C)
Someone would have the structures for the two?