deferred-impact / battledudes-issue-tracker

Because discord just isn't good enough. Neither is Taiga.io, ironically
5 stars 1 forks source link

(migrated) Bullet desync #1

Open deferred-impact opened 2 years ago

deferred-impact commented 2 years ago

Sometimes (often enough for it to matter) bullets will either hit an enemy and deal no damage, or miss an enemy and still deal damage. This indicates that they are not correctly synced between server and client.

deferred-impact commented 2 years ago

Rockets and grenades never desync. The reason is simple - they are continuously synced, i.e. every frame your game receives a “Rocket. Id#551. Pos(x=114.105,y=588.441)” message.

An easy and likely viable solution is to simply enable this functionality for all sniper weapons. This completely eliminates desync, but does consume some extra bandwidth, which is the concern Sarunas mentioned when i talked to him about it. However i honestly think he overestimates the impact. A sniper gun can only have one bullet on the screen at any time, cuz of its low firerate.

(yes, bulletspam weapons are out of luck with this approach)

deferred-impact commented 2 years ago

tronald dump said:

Some secondaries have pretty slow fire rates too but there's still be more than one bullet on the screen like deagle, revolver, 1912, etc. However, as it stands your solution is probably adequate for now and would address most of the grievances people have regarding bullet desync, as with snipers the impact of desync is no doubt the most apparent.

deferred-impact commented 2 years ago

I don't recall anyone ever complaining about bullet desync with the Deagle. I think Deagle is just slightly too spammy for this, but the Revolver should get this treatment

deferred-impact commented 2 years ago

SniperGaming said:

Basically my problem. Sometimes Heavy Sniper hit people but deals absolutely 0 damage on that shot.

Also this is a hard problem to solve from the dev perspective I think, a lot of games also have this issue for ages, the devs AFAIK tried to fix it but none of them works.

deferred-impact commented 2 years ago

List some example games

deferred-impact commented 2 years ago

SniperGaming said:

Every shooter games have this, the problem is how frequently you encounter it

NOTGregory commented 2 years ago

Yeah desync hasn't gotten any less frequent so...

deferred-impact commented 2 years ago

Well, it did with the Flint. But at least other snipers deserve the fix, too

NOTGregory commented 2 years ago

flint did not deserve that fix...flint sux and should remain that way