s1lentq / ReGameDLL_CS

:hammer: Reverse-engineered gamedll (CS 1.6 / CZero)
GNU General Public License v3.0
577 stars 198 forks source link

Fixes wrong sending of the weaponmodel body group #1009

Closed ShadowsAdi closed 1 week ago

dystopm commented 1 month ago

Can you add a description of why is actually sending a wrong value? Just curious, I always knew that weapons can change their body values, some edited clients allows hands changing (like in the case of CSO weapon models)

fl0werD commented 1 month ago

It's view model body. If I was on T team with C4 and custom view model with 2 bodies, then I will be hold custom view model with second body with this PR.

And also it broke prediction.

dystopm commented 1 month ago

It's view model body. If I was on T team with C4 and custom view model with 2 bodies, then I will be hold custom view model with second body with this PR.

And also it broke prediction.

That's why I asked that also, because player body differs from weapon body value. There's something unknown in this modification.

Vaqtincha commented 4 weeks ago

scale

ShadowsAdi commented 4 weeks ago

So you're saying that setting the animation based on the weapon's body is better, the expected behaviour, than sending the player's body group without breaking the client prediction?