boskee / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
206 stars 33 forks source link

Synchronise celestial bodies #99

Open Robert-Williams opened 5 years ago

Robert-Williams commented 5 years ago

In multiplayer the suns position can very wildly between clients. Preferably the day and night cycle should be the same for all players.

r58Playz commented 5 years ago

Maybe once in a while the server sends a packet saying where the sun is??

Jimx- commented 5 years ago

The sun position is calculated from the time of day. The problem is that time is not synchronized between clients.

r58Playz commented 5 years ago

So the server sends the time of day every time it changes or something to fix this??