Open elliot-gh opened 10 months ago
Nice work, we have assets for additional player deathboxes (they actually are designed for color remixing) but not XP bars I think. Ghosts need their own assets too.
We also want to improve the user interface so the lobby browser correctly shows lobbies with greater >4 players, you can adjust the player count properly as a host, kick players, and the default player count remains 4. Raising the player count above that shows a pop-up box talking about instability, game design issues with more than 4 players, etc.
This PR fixes issues with the precompiler directive
BARONY_SUPER_MULTIPLAYER
and makes it functional (though still buggy). I do not have Steamworks or EOS so this has only been tested both with multiple local instances and LAN mode with port forwarding over internet.Fixes:
NET_PACKET_SIZE
being larger than the packet data used to load an existing 8 player save. Thechunk_size
inlobbyPlayerJoinRequest()
is 98 bytes, and the packet length is defined as8 + MAXPLAYERS * chunk_size
, resulting in a total of 792 bytes. The oldNET_PACKET_SIZE
is 512, which is too small. I'm not sure what's a good number so I just doubled it.USE_PLAYFAB
off since I didn't have the libraries/includes, so I moved the includes underneath it.Bugs: