thobbsinteractive / magic-carpet-2-hd

Recode Binary code of game Magic Carpet2 to C/C++ language(remake MC2 for any platform)
GNU General Public License v3.0
30 stars 5 forks source link

Bad colors in multiplayer #203

Open turican0 opened 2 years ago

turican0 commented 2 years ago

There are problems.

1: I ran this on two a high-spec PCs on my home network and it still runs at 6-5fps. Is there a possible debug code slowing this down? 2: Despite my colour being purple, my Castle had a black flag

thobbsinteractive commented 2 years ago

So during play testing I discovered that if killed and re-spawned at the castle

I also discovered that once the player moves off their start locations the sprite for the other players is not drawn in the correct location in the game world. I was at one point, able to hit the other player by shooting at where they should have been, not where they were actually drawn. Re-spawning seems to mess this up more. I was able to be seen at the start location next to the other player while I was in fact newly re-spawned at my castle.

turican0 commented 2 years ago

They may be losing packets and making a mess of it, but there may be more bugs. Unfortunately it's much much harder to diagnose than single player. I could write code that could log and re-run the status of all stations. Otherwise it's not debuggable.

thobbsinteractive commented 1 year ago

This is actually a problem with AI players. Occasionally you will see them "Possess" a house with the wrong coloured flag