Networking fixes & multiplayer score

SGreth

Shared on Tue, 09/12/2006 - 08:41
No screenies today...all of my work isn't really screen shot worthy.

  • If you shut the server down all of the clients are notified - They kick out of the game, back to the main menu, and show a "server has disconnected" dialog box.
  • Clients now send a "I'm disconnecting" message before they do so. The server then re-broadcasts this out to all the clients. This results in an instantaneous client disconnect from all of the peer's perspectives.
  • 1/2 of the "score" logic is in place. Every projectile is tagged with who fired it. When a killing shot hits a player, that player says "I died" and who fired the killing blow. That message is sent out to all players and the killing player gets their score incremented.
  • I'm almost done with the "current scores" screen. I've got player names, kills, and the current ping. I'll be able to finish this once I have all of the logic to track "deaths" in place.
Random Picture of the day:

Comments

Rhysode's picture
Submitted by Rhysode on Tue, 09/12/2006 - 13:06
Lmao @ that pic
SGreth's picture
Submitted by SGreth on Tue, 09/12/2006 - 13:21
That one was compliments of CodeMonkey...forgot to mention that :)

Join our Universe

Connect with 2o2p