0x1F9F1 / Open1560

A mod for Midtown Madness 1, primarily focused on supporting modern computers and fixing bugs.
https://0x1F9F1.github.io/Open1560
GNU General Public License v3.0
110 stars 8 forks source link

[1] mmGameMulti::StartXYZ() #139

Open KcRobin9 opened 6 months ago

KcRobin9 commented 6 months ago

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.

Spawn_Problem_1

0x1F9F1 commented 4 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?

KcRobin9 commented 4 months ago

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

0x1F9F1 commented 3 months ago

Were you able to figure out if the player index is being passed in correctly?

KcRobin9 commented 3 months ago

Not yet (haven't had a full lobby with the custom build yet). Update will follow

KcRobin9 commented 2 months ago

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.

LOG_PICTURE

Index_Logs.zip