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

[BZFS API] Unable to get shotID compare to shotGUID from server shots #332

Open
Zehra opened this issue Sep 14, 2023 · 1 comment
Open

Comments

@Zehra
Copy link
Contributor

Zehra commented Sep 14, 2023

Edited for clarify:

The bz_eShotFiredEvent event contains the shotID. The bz_eServerShotFiredEvent contains the shotGUID.

It is possible to get the shotGUID from the shotID and playerID, but it is not possible to do the reverse.

It is not possible to do certain techniques or actions solely from the shotGUID, such as ending shots early.

In short, this presents difficulties when implementing various features or techniques in custom flags or additional shot/bullet trickery in other modes. (If not causing them to become nonviable options.)

@Zehra Zehra changed the title [BZFS API] Function for getting shotID from shotGUID or additional data in bz_eServerShotFiredEvent [BZFS API] Unable to get shotID compare to shotGUID from server shots Nov 6, 2023
@Zehra
Copy link
Contributor Author

Zehra commented Nov 6, 2023

In short summary:

  • Currently it is not possible to get the shotID from a server side/server shot, except in the death event.
  • A function to get the shotID from the shotGUID would help solve this issue.
  • Or for the shotID to made available in bz_eAllowServerShotFiredEvent and bz_eServerShotFiredEvent.

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

No branches or pull requests

2 participants