1788: Fix laser/shotgun prediction on solo servers r=def- a=trml
Also a couple of other small fixes related to laser.
Co-authored-by: trml <trml@users.noreply.github.com>
1785: Revert "Merge pull request #1736 from sirius1242/master" r=Learath2 a=def-
This reverts commit e8362f1727, reversing
changes made to 0f99605ab1.
Apparently people don't like "Digital Wellbeing"-like features @sirius1242
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
1772: Remove all checking for the gametype in the game r=Learath2 a=heinrich5991
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.
The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.
This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
OK, maybe not actually remove because it is kept for fallback when the
new method isn't available.
The whole gametype parsing business had the same downsides as user agent
parsing on the web, hence I removed it while keeping behavior the same.
This allows servers to explicitly opt in or out of certain bug
workarounds and other client behavior. This increases the complexity of
different configurations that are available in the client (which is a
bad thing).
1783: Set and send solo status on servers with sv_solo_server and sv_team 3 r=def- a=trml
The solo flag isn't currently being sent on these servers (only tunings for hook and collision), which causes grenades to mistakenly be predicted to collide with others (when client and server both use ddnetcharacter).
Co-authored-by: trml <trml@users.noreply.github.com>
1779: Fix hook col r=def- a=Ryozuki
Fixes#1758
- Made a rly small optimization.
- Fixed the bug from the issue.
Co-authored-by: Ryozuki <ryo@ryozuki.xyz>
1775: Fix prediction of non-grabbed hook r=def- a=trml
Fix#1766.
Turns out the bug was not just in the rendering, but in the prediction itself (hooks were not predicted unless/until they grabbed on to something). I compared with an older client (and the old implementation) and this seems like it will restore the old behavior.
Co-authored-by: trml <trml@users.noreply.github.com>
1774: Remove the unused Skinstealaction r=heinrich5991 a=fokkonaut
As far as I know it was never in use and the only punishment is to force pinky skin, which doesnt really seem useful. Skin stealing is a very harmless kind of 'bots', which doesnt need punishment imo
Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
1773: Remove item invalidation logging for unknown UUIDs r=def- a=heinrich5991
This caused lags due to too much output during gameplay, demo playback
and demo cutting.
Fixes#1643.
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>