Open KcRobin9 opened 6 months ago
When the offset is wrong, have you tried logging the index being passed in? Is it correct for all players/on all clients?
I prepared a custom Open1560 version that logs the index, once we've played an online game with 4-8 players and gathered all logs I will upload it here
Were you able to figure out if the player index is being passed in correctly?
Not yet (haven't had a full lobby with the custom build yet). Update will follow
We have tested the case, and it seems that indeed the player index is passed incorrectly (only index 0 and 1 are passed).
See the picture below for more details.
I have also attached the logs of 5 players of 2 separate attempts for completeness, but the part in the log about the indices are all the same.
In an attempt to fix the incorrect starting positions in multiplayer (more specifically, the 2nd till 8th player are stacked on top of each other), first re-implement the position spacing function. We tested this function with a different offset for 2 players, and this worked. However, it seems like this function isn't the root cause of the problem.