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

Server side peds can often become invincible #495

Open
ArranTuna opened this issue Sep 18, 2018 · 0 comments
Open

Server side peds can often become invincible #495

ArranTuna opened this issue Sep 18, 2018 · 0 comments
Labels
bug Something isn't working sync
Milestone

Comments

@ArranTuna
Copy link
Collaborator

Describe the bug
It seems that only the chosen syncer can change the health of a ped. That player could be having network trouble, that player might not even be as close as other players (a problem for me because I make peds off screen be collisionless so if a player whose syncing the ped isn't looking at the ped, other players shooting the ped can't kill it) basically this current system of having 1 nearby player syncing a ped is asking for trouble. Ideally anyone whose just damaged a ped, should be the one to tell the server to update the peds health and maybe become the new syncer of the ped.

To Reproduce
You will need 2 clients.
Create a server side ped, use getElementSyncer to see who is syncing it.
Whoever is syncing it, give them network trouble.
Other client should shoot the ped and that ped is invincible as the health changes aren't being synced by the syncer

Expected behavior
If a syncer is unresponsive then they should be removed as syncer within seconds, to prevent peds becoming invincible for a long time.

Screenshots
If applicable, add screenshots to help explain your problem.

MTA Client (please complete the following information):
1.5.5 probably.

MTA Server (please complete the following information):
1.5.5 probably.

Additional context
https://bugs.mtasa.com/view.php?id=7371

@ArranTuna ArranTuna added bug Something isn't working sync labels Sep 18, 2018
@botder botder added this to the Backlog milestone Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sync
Projects
None yet
Development

No branches or pull requests

2 participants