Hi, here an example on how to parse the player list (i don't try to parse mobs but i think it can be done by a similar way)
This is my parsing function :
Code:
public void Pulse()
{
if (!this.bInitialized) //check if Memory reader is initialized
return;
if (!this.isIngame) //check if you're logged to a character
return;
Players = new List<Player>(); //declare a new list of player
uint _playerarrayptr = this.PlayerArrayPtr; //get the player array ptr
uint _playerarraysize = this.PlayerArraySize; //get the size of the player array
uint index = 0;
uint _baseplayer = 0;
while (index < _playerarraysize) //walk through the array
{
if ((_baseplayer = Memory.Get.ReadUInt(_playerarrayptr + index * 0x4)) != 0) //check if the player pointer exist
{
Players.Add(new Player(_baseplayer)); //add a new player
}
index++;//walk to next player
}
}
screenshot :
source example :
GW2 Entity Parser.zip (no binaries, .NET Framework 4)
VT : https://www.virustotal.com/file/4481...is/1350039808/
Hope this can help someone !