Hi Sven, I still have some issues that need to be resolved. The main problem now is that the events triggered between two players are not synchronized. On my end, player 1 triggers an event such as placing a block or being blown away, and player 2 cannot see the particle effects of the block and explosion. But you can see the player who was blown up. That is to say, only the player's model is synchronized in the game, not the map object. The only problem now is how to synchronize map objects. Is the CCB project using a low level? I looked at the substr in your info, but I didn't understand what it was doing. Why does its description say that "if the received instruction is inv". If it's a network, it's a bit strange to use strings for detection. From the command under MINIMALVENT, I can see that RPC is used for network synchronization, but in theory, the synchronization of player positions should use eventual consistency.
Viewing post in UDP Lan Multiplayer source code comments
Hi, coppercube writes file .. client program sends it to server.. server sends ot to client programs.. client writes it to a file .. coppercube read it from file- then in script it parses the string: string looks like - command_name, value,value ..
i dont currently have second computer so its not possible for me to test and make fixes properly.
Player positions are sent out with interval..minimal event action sends commamd only if action is made and should be update something..for example remove node or create one or set visible or invisible something.
Commamds to parse you can add in script ..
In my example i dont have many of them but can be added as many as needed.