A few GNet questions

BlitzMax Forums/BlitzMax Programming/A few GNet questions

Thats a "little tricky", as you will need 2 objects:

- Remote Object that comes in from the player when he connects. Thats the one he updates and whichs change you send to other players

- Local Object: To this you connect your entity. This is the object you feed with the data you got from remote object as this one will be synced with all players.

This means for the client, that he must check for his own remote object from server as well and react to it (changing health etc)

I'm not sure if zombie state works. If the client leaved successfully, then yes, it will be flagged as zombie.
But what I'm not sure about is what happens when it just crashes/shuts down and thus does not close successfully.

PS: The methods are SetGNetTarget / GetGNetTarget


EDIT:

I think I need to correct myself or add something: Depending on your desired setup, it might be possible that you don't want to clone the objects on the server or in case a player is player and server, this wouldn't be a good idea at all.
In that case you can use SendGNetMessage to send Remote objects a message with the updated information.