That's no good. Ive noticed, that in most of cases 'eid' will cause entity id to point to 0 on the other side, however in a very few cases when sending from server to client 'eid' has to be used, otherwise entity is not found. For now the solution I use is to send both :
Code: Select all
ser.Value ("id", id);
ser.Value ("idCompressed", idCompressed, 'eid');
And then I do simple check which one will return a valid entity.
But this is just workaround.
As I said it works in some cases, but I haven't found any rule for it. It's pretty random.
I would still like some of the crytek staff member to answer this
Cryengine tutorial videos on my Youtube channel! Check it out !