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

Better implementation of flag on death PR 64 #66

Merged
merged 1 commit into from Jan 30, 2017
Merged

Better implementation of flag on death PR 64 #66

merged 1 commit into from Jan 30, 2017

Conversation

JeffM2501
Copy link
Contributor

Since the client drops the flag before death, we can track the last used flag and see if it's landed yet, if not it was held a very short time before death and probably the one they were killed with.

This allows the API for flag on death to be created before 2.6.
Once the protocol is fixed, this will continue to work and the last held flag can be removed if it isn't needed by anything else.

@allejo should validate that this solves his issues.

track the last held ID, and check and see if it's landed yet, if not it's probalby the flag they died with since the client tries to drop them fast.
@allejo allejo merged commit db0a06e into BZFlag-Dev:2.4 Jan 30, 2017
@JeffM2501 JeffM2501 deleted the 2.4_killedflaghistory branch January 30, 2017 16:20
@JeffM2501 JeffM2501 restored the 2.4_killedflaghistory branch February 5, 2017 01:38
@JeffM2501 JeffM2501 deleted the 2.4_killedflaghistory branch February 6, 2017 19:30
@JeffM2501 JeffM2501 restored the 2.4_killedflaghistory branch February 11, 2017 17:57
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.

None yet

2 participants