CitiesSkylinesMultiplayer / CSM

Source code for the Cities: Skylines Multiplayer mod (CSM)
https://citiesskylinesmultiplayer.com/
MIT License
725 stars 97 forks source link

Two players buildings streets causing glitches on the map #176

Open kaenganxt opened 4 years ago

kaenganxt commented 4 years ago

Describe the bug When two players are building streets at the exact same time it sometimes creates walls or craters on the map.

Investigation It seems that the click point from one players is connected to the click location from the other player with a street. Possible cause: Normally the two tool handlers are separate instances for both players. But for some specific functions the game saves temporary flags in the nodes and segments. These are duplicated when two players build at the same time so the game may be confused.

KingofAnomaly commented 4 years ago

Is it possible to lock certain tools for all other players while one player is using them? This is not an ideal solution but it might make the multiplayer experience more interesting and players might assign each person in the same game with different roles.

maxitoto commented 2 years ago

are there news?

w0rthi3 commented 2 years ago

are there news?

Hey maxitoto, please note right now there is a bug that if two players build a road at the same time they will go invisible and will desync the map for the the server and clients.