Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiplayer quick start, adjust cut off text, and other minor fixes #121

Merged
merged 10 commits into from
Nov 4, 2024

Commits on Sep 19, 2024

  1. Client: Trigger ID_RIGHTCLICKED in ColorList on mouse right click

    Previously, this used the e.isMetaDown() check which was failing as
    modern Windows keyboards do not have a meta key. Changing this to check
    the mouse button fixes right clicking players in a lobby's player list
    which now opens a context menu.
    StenAL committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    476076a View commit details
    Browse the repository at this point in the history
  2. Server: Increase maximum received packet size to 2000 bytes

    When the client encounters a fatal error, it sends a `error-debug`
    packet including the last received and sent packages. This can contain
    whole maps and easily exceed the current maximum of 250 bytes.
    StenAL committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    8229f79 View commit details
    Browse the repository at this point in the history
  3. Server: Add handler for error-debug and end messages

    These are sent by clients when they encounter fatal errors and contain
    useful information for debugging. Clients also sent an `end` packet
    afterwards and that was also unhandled. This is now handled as a no-op.
    StenAL committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    023a91b View commit details
    Browse the repository at this point in the history
  4. Server: Add CLI option for verbose logging

    This logs all outgoing packets.
    StenAL committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6882e89 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Server: Log unhandled lobby commands

    These are used by admins/sheriffs to do things like mute or ban people.
    StenAL committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    03f190d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbef8a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    868374d View commit details
    Browse the repository at this point in the history
  4. Server: Handle multiplayer quick start packets

    This currently just joins the multiplayer lobby which is an improvement
    over the previous behavior of deadlocking the client and forcing a
    restart.
    StenAL committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    a241315 View commit details
    Browse the repository at this point in the history
  5. Client: Allow empty usernames

    These are handled server-side and assigned initialized as an anonymous
    user with names like "anon-xxxx".
    StenAL committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    4930d27 View commit details
    Browse the repository at this point in the history
  6. Client: Rename connection-related classes

    Having two classes named `Conn` and `Connection` was a bit confusing.
    Now it's more clear that one is the app-agnostic socket-based connection
    while the other handles all networking for the golf game.
    
    Also, rename thriftLogs to metadataLogs as that's what they're used for.
    StenAL committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    903bc31 View commit details
    Browse the repository at this point in the history