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

Linking Belts - reloader will get wrong ammo count #1119

Closed
PabstMirror opened this issue May 12, 2015 · 0 comments · Fixed by #1120
Closed

Linking Belts - reloader will get wrong ammo count #1119

PabstMirror opened this issue May 12, 2015 · 0 comments · Fixed by #1120
Labels
Milestone

Comments

@PabstMirror
Copy link
Contributor

After re-linking a belt, other units will get wrong count for check ammo.
The ammo will show as 0 to the reloader, so they won't be able to link belt again.

can verify by checking difference between z1 ammo "LMG_Mk200_F" on both shooter and reloader clients.

Problem seems to be setAmmo (local unit / global effects) isn't propagated/synced immediately
(seems to take up to 40 seconds)

  • A Starting Ammo 20.
  • B Reloads ammo to 100
  • A can shoot 15 more [A will see ammo 85, B will see amoo 5]

So clients seem to keep their own ammo count of other unit's weapons and decrements it on each fired event.
Wrong values will eventually resync to the correct value.

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

Successfully merging a pull request may close this issue.

1 participant