supermariowar icon indicating copy to clipboard operation
supermariowar copied to clipboard

Netplay issues in alpha

Open mmatyas opened this issue 8 years ago • 15 comments

This issue is for collecting netplay-related bugs discovered during the alpha testing.

Todo:

  • [ ] Pause doesn't work (the windows shows up but nothing pauses)
  • [ ] When the game finishes and one player exits it just keeps going... it should exit for both.
  • [ ] Connect dialog stucks right after adding a new entry

Outdated, needs verification:

  • [ ] Sometimes one character freezes in place
  • [ ] Once the game ends because there is a lag, when the ending music finally catches up with the second player it will falsely make the second player the winner (after they've been frozen in the top left corner for some time) then they will freeze in place with the winner banners popping off of them. (sprite still moves but they are just locked in one spot)
  • [ ] if the player hosting joins through their external ip, they attempt to connect using some sort of lan ip. connecting through localhost is fine?

Done:

  • [x] Skins don't show up on the other player's build- it defaults to mario
  • [x] Gamepad controls don't save
  • [x] Fullscreen crashes on SDL2 build (when you press enter in the menu while you have fullscreen selected)
  • [x] Sometimes you float through blocks
  • [x] After you create a room once and exit out of it and try and enter the same room, it has an infinite joining.... notification. you have to reboot to get it to work
  • [x] When there is exactly one block of space between the ground and a [?]-block, hitting that only activates it for the room's host.
  • [x] if you join a room you're "locked" to that room, all attempts to join another room result in you joining that room, even if it's invalid
  • [x] Skins aren’t always assigned to proper player. (ie. player 2 had player 3's chosen skin, and vice versa)
  • [x] rooms don't work with more than two players, seems to duplicate ips of player 2?
  • [x] SDL2 still Crashes/Freezes when in fullscreen on my Raspberry PI 2. It doesn't crash with SDL1.
  • [x] no netplay bot support yet -> moved to #50
  • [x] when using a map other than the default it seems it only shows the background image not the platforms (on the client- they are visible on the host)
  • [x] Map previews don’t work for clients. They see the default 0smw map.
  • [x] In my case- I'm running my pc build on the local network and hosting the server on the pc. if I try and create a room from the pi it segfaults and exits out when I try and type in the new room name, but I can create a room fine from the pc (minus the aforementioned issues)
  • [x] Gamemode settings are selected randomly at the start, like when you start a quick game. This causes, for example, that players don't die when killed (they don't respawn, just lose health).
  • [x] sometimes when you squish someone they don't visibly squish or respawn- it just keeps going though they do have the momentary invincibility that happens during respawn. It does make the squish sound though and does take away a life.
  • [x] perhaps have a notification when someone leaves the room/ automatically exit out if there is only one player
  • [x] Need to implement tileset sharing for more varied map sharing. -> moved to #54
  • [x] Can't use items/ the other player doesn't see them (like fire flowers)
  • [x] Music isn't Synced (not sure if it should be or not) -> No
  • [x] If player 1 is eliminated, player 2 assumes their skin.
  • [x] whoever is set as host will have an input lag of 1-2 seconds

mmatyas avatar Aug 16 '15 18:08 mmatyas

HerbFargus commented 2 days ago:

Initial Netplay Issues:

  • Music isn't Synced (not sure if it should be or not)
  • Pause doesn't work (the windows shows up but nothing pauses ~~(also the pause text is offset too far to the left)~~
  • ~~Skins don't show up on the other player's build- it defaults to mario~~
  • Can't use items/ the other player doesn't see them (like fire flowers)
  • ~~Gamepad controls don't save~~
  • ~~Fullscreen crashes on SDL2 build (when you press enter in the menu while you have fullscreen selected) Not sure if this is related to the retropie build specifically though.~~
  • ~~Sometimes you float through blocks~~
  • Sometimes one character freezes in place
  • When the game finishes and one player exits it just keeps going... it should exit for both.
  • no netplay bot support yet

mmatyas avatar Aug 16 '15 18:08 mmatyas

Ronoh55 commented a day ago

~~One more issue possibly related to floating through blocks.~~

~~Sometimes when a player breaks a block the graphic for it remains on the other's screen, but it is inactive (i.e. You can jump/fall straight through it). Sometimes going through that block causes a small lag or "float" through the box.~~

mmatyas avatar Aug 16 '15 18:08 mmatyas

mmatyas commented a day ago:

Yeah, most of these are because it's still alpha. The following can be considered bugs though:

  • ~~Gamepad controls don't save: that's a bug, thanks!~~
  • ~~Fullscreen crashes on SDL2 build~~
  • Sometimes one character freezes in place: could you tell more details?

mmatyas avatar Aug 16 '15 18:08 mmatyas

  • When flying with a feather or pow hand if you get too high you die
  • ~~(sometimes) when you squish someone they don't visibly squish or respawn- it just keeps going though they do have the momentary invincibility that happens during respawn. It does make the squish sound though and does take away a life.~~
  • perhaps have a notification when someone leaves the room/ automatically exit out if there is only one player
  • After you create a room once and exit out of it and try and enter the same room, it has an infinite joining.... notification. you have to reboot to get it to work
  • In my case- I'm running my pc build on the local network and hosting the server on the pc. if I try and create a room from the pi it segfaults and exits out when I try and type in the new room name, but I can create a room fine from the pc (minus the aforementioned issues)
  • Once the game ends because there is a lag, when the ending music finally catches up with the second player it will falsely make the second player the winner (after they've been frozen in the top left corner for some time) then they will freeze in place with the winner banners popping off of them. (sprite still moves but they are just locked in one spot)
  • when using a map other than the default it seems it only shows the background image not the platforms (on the client- they are visible on the host)

HerbFargus avatar Aug 16 '15 19:08 HerbFargus

  • ~~When there is exactly one block of space between the ground and a [?]-block, hitting that only activates it for the room's host.~~

mmatyas avatar Aug 17 '15 12:08 mmatyas

  • if you join a room you're "locked" to that room, all attempts to join another room result in you joining that room, even if it's invalid
  • if the player hosting joins through their external ip, they attempt to connect using some sort of lan ip. connecting through localhost is fine?
  • rooms don't work with more than two players, seems to duplicate ips of player 2? mearpxe

Dude00 avatar Aug 19 '15 20:08 Dude00

At 1:16 in this video (https://www.youtube.com/watch?v=9MFRJI_Gpuc) me and herbfargus were trying to start a game and I got a message saying "[Warning] An unexpected client is trying to join the game". From what I could gather nobody had seen that message before and I could never get it to show up again.

I'll write up a full list of issues we had tomorrow, but that was definitely the strangest thing.

Cyantext avatar Aug 20 '15 05:08 Cyantext

  • Gamemode settings are selected randomly at the start, like when you start a quick game. This causes, for example, that players don't die when killed (they don't respawn, just lose health).

mmatyas avatar Aug 24 '15 21:08 mmatyas

Bugs associated with map previews, map/skin sharing.

  1. Map previews don’t work for clients. They see the default 0smw map.
  2. Skins aren’t always assigned to proper player. (ie. player 2 had player 3's chosen skin, and vice versa)
  3. If player 1 is eliminated, player 2 assumes their skin.
  4. Need to implement tileset sharing for more varied map sharing.

Ronoh55 avatar Oct 26 '15 04:10 Ronoh55

Skins aren’t always assigned to proper player. (ie. player 2 had player 3's chosen skin, and vice versa)

This should be fixed now, could you test it?

mmatyas avatar Nov 15 '15 00:11 mmatyas

Probably won't get a chance to until Wednesday, but I will test soon.

Ronoh55 avatar Nov 15 '15 04:11 Ronoh55

Should be fixed now:

  • After you create a room once and exit out of it and try and enter the same room, it has an infinite joining.... notification. you have to reboot to get it to work
  • if you join a room you're "locked" to that room, all attempts to join another room result in you joining that room, even if it's invalid
  • Skins aren’t always assigned to proper player. (ie. player 2 had player 3's chosen skin, and vice versa)

mmatyas avatar Jan 22 '16 22:01 mmatyas

~~SDL2 still Crashes/Freezes when in fullscreen on my Raspberry PI 2. It doesn't crash with SDL1.~~

It isn't really an issue so much as there is no visible difference between windowed and fullscreen on RetroPie since the runcommand script in RetroPie allows for loading screen resolutions dynamically and may very well be a factor that is causing full screen option to crash.

it is now fixed

HerbFargus avatar Feb 01 '16 07:02 HerbFargus

  • [ ] Connect dialog stucks right after adding a new entry

mmatyas avatar Mar 31 '16 13:03 mmatyas

whoever is set as host will have an input lag of 1-2 seconds

HerbFargus avatar Apr 03 '16 20:04 HerbFargus