simple network functions

BlitzMax Forums/BlitzMax Beginners Area/simple network functions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You don't send data back on the same object.
As for the other objects: when the player logs in on the server, create a local object there. This will then exist as remote object on the clients side. This has the very nice side effect that other clients can manipulate anything but their own beeing.
You then only need to syncronize the local object and the corresponding client remote object and you are done.

The alternative is to use the messaging system to send messages back to the player.

As for easy retrieval of the gnet object of a given player: brl.map -> TMap and using the name as key.