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

Targeting another entity produces Unhandled command event type 32 #174

Closed
broxen opened this issue Dec 4, 2017 · 5 comments
Closed

Targeting another entity produces Unhandled command event type 32 #174

broxen opened this issue Dec 4, 2017 · 5 comments

Comments

@broxen
Copy link
Collaborator

broxen commented Dec 4, 2017

Summary

Targeting another entity produces Unhandled command event type 32

Steps to Replicate

Log in with two entities. Click on another entity to target.

SEGS version

Commit 8bc8fd3

@broxen
Copy link
Collaborator Author

broxen commented Dec 4, 2017

Attempted to resolve with #175, however it's still giving me the error message.

@broxen
Copy link
Collaborator Author

broxen commented Dec 6, 2017

#175 addresses this, but outputs -1 for what I'm calling entity_idx when targeting other players and the following when hitting ESC to clear targets:

Debug   : Not all bits were consumed
Warning : Unhandled set target request: 1919
Console command received ü�
Debug   : Unhandled game command: "ü\u001B"

So maybe there is some kind of boolean isTargetingSelf, and then the idx of the target in there? I'm not sure how to parse the bitstream in class SetTarget

@nemerle
Copy link
Contributor

nemerle commented Dec 6, 2017

Will look into it tomorrow ( around 12h from now)

@broxen
Copy link
Collaborator Author

broxen commented Dec 11, 2017

Based upon our IRC chat, #175 now resolves this.

@broxen
Copy link
Collaborator Author

broxen commented Jan 24, 2018

Closing this as the server now handles the event type with empty logic. Refer to issue #192 for correct implementation

@broxen broxen closed this as completed Jan 24, 2018
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

2 participants