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

feat: Implement entering the game #9

Merged
merged 1 commit into from
Apr 3, 2024
Merged

feat: Implement entering the game #9

merged 1 commit into from
Apr 3, 2024

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Apr 3, 2024

The world now loads, and the client is fully configured when entering the "play" state. This includes loading and replaying the registry packet which I recorded from a "real" server via Wireshark and stored as a sequence of hexadecimal records so that COBOL can load it. Many additional client-bound packets are also now implemented, except for the world chunk packet, which is difficult to generate and will be done later.
The keep-alive mechanism is very hacky (sending a keep-alive packet whenever a packet is received from the client), but it works for now to keep the client connected.

The world now loads, and the client is fully configured when entering
the "play" state. This includes loading and replaying the registry
packet which I recorded from a "real" server via Wireshark and stored
as a sequence of hexadecimal records so that COBOL can load it.
Many additional client-bound packets are also now implemented,
except for the world chunk packet, which is difficult to generate and
will be done later.
The keep-alive mechanism is very hacky (sending a keep-alive packet
whenever a packet is received from the client), but it works for now
to keep the client connected.
@meyfa meyfa merged commit bd4f142 into main Apr 3, 2024
1 check passed
@meyfa meyfa deleted the feat/enter-game branch April 3, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant