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

Protocol Buffers as network protocol for Freeciv-web #865

Open
andreasrosdal opened this issue Oct 12, 2024 · 0 comments
Open

Protocol Buffers as network protocol for Freeciv-web #865

andreasrosdal opened this issue Oct 12, 2024 · 0 comments

Comments

@andreasrosdal
Copy link
Contributor

andreasrosdal commented Oct 12, 2024

https://protobuf.dev/

Steps:
1: Convert packets.def to freeciv.proto in the protobuf format.
https://github.com/freeciv/freeciv/blob/main/common/networking/packets.def

See freeciv.proto here generated by OpenAI:
freeciv_generated_final.proto.txt

2: Update Freeciv-web to use the Protocol Buffers format.

3: Update Freeciv C server to use Protocol Buffers.

4.: Remove freeciv-proxy.

5: Use libwebsocket in the Freeciv C server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant