Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/30/2019 in all areas

  1. @xrystal Here is a diff with all the changes I made so far: https://pastebin.com/y7ag25RV It must be applied to commit 6e4113c8a3a689a3e76e548d9a5fcd9a3756091f "initializes repo with source code from cocomed" in your repository or you will get merge conflicts. I needed to use the sqlite version for my tests and you have to look into updating the new chat stuff to mysql. I can't test anything with mysql until next week, so for the moment I only cared about getting it to work with sqlite. For the future I want to look into having both mysql and sqlite support in the code and switch between them with a config option. I also had to touch all payloads to make this work, so the diff is pretty long. The changes in this diff between the @cocomed source code and my stuff: Unlist servers that disconnect or crash Lobby port and chat server port can also be changed in ip.cfg Support password protected servers Simple chat implementation for lobby screen Show number of players on servers Fixed a crypto problem with server session keys (required for password protected servers) Right now the chat system is very simple, it only supports the lobby chat and the 2 hardcoded channels that are required to make it work at all. New channels can't be created and trying to add players to the buddy list or ignore list will hang the game and disconnect the player from the lobby. Format for ip.cfg: [PUBLIC LOBBY IP ADDRESS] (default: localhost) [LOBBY SERVER PORT] (default: 6800) [CHAT SERVER PORT] (default: [LOBBY SERVER PORT + 1] / 6801) Example: 192.168.100.10 7000 7100 I'll be back next year. Post any problems here if anything with my changes is not working correctly and I'll look at it when I come back.
    2 points
×
×
  • Create New...
Please Sign In or Sign Up