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

Establishing connection to freeciv Server #3

Open
yashbonde opened this issue Jan 5, 2019 · 0 comments
Open

Establishing connection to freeciv Server #3

yashbonde opened this issue Jan 5, 2019 · 0 comments

Comments

@yashbonde
Copy link
Owner

yashbonde commented Jan 5, 2019

Introduction: Freeciv uses a server-client system to run the game where the information transfer is done using packets. The server can be run locally, on cloud, or using meta-server functionality of the game. Connecting to the server is key to running the package, once this part is complete and we can establish connection we would have completed 30% of the work.

Problem: To establish connection to the server we need to use set of packets. The packets used are defined here. It uses a non-standard packet structure and thus is difficult to use. We need to find a way to establish connection to the server using the proper packets.

Approach: you can define the properties of the server before running it as follows:

$ fcser --port=5000 --debug=4 --log=server_log.log

Here port refers to port so the server can be connected on 127.0.0.1:port, --debug=4 gives more detailed information and --log=log_file logs the information from the server (very helpful in understanding the structure)

NOTES: This issue also depends upon another issue #4 about converting packets to python.

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

No branches or pull requests

1 participant