B3none / cs2-retakes

CS2 implementation of retakes. Based on the version for CS:GO by Splewis.
GNU General Public License v3.0
192 stars 38 forks source link

Compatibility with WeaponPaints #72

Closed johandrevwyk closed 8 months ago

johandrevwyk commented 9 months ago

When using Retakes and WeaponPaints simultaneously, the retakes allocator overrides the knife given by WeaponPaints, could there possibly be a config setting to not allocate the knife at all?

daffyyyy commented 9 months ago

He needs to not use RemoveWeapons and just remove only weapons in primary/secondary slot. and not delay giving items

zwolof commented 9 months ago

He needs to not use RemoveWeapons and just remove only weapons in primary/secondary slot. and not delay giving items

So, in order for it to be compatible with weapon paints/knives we need to only allocate primary & secondary slots, and not touch the knife? I’ll fix it unless @B3none doesn’t do it before me

daffyyyy commented 9 months ago

Wp give a knife on player spawn, but retake remove all weapons :/ + small delay

B3none commented 9 months ago

Pretty sure I tried this before and there was a bug where no knife was allocated whatsoever

daffyyyy commented 9 months ago

For giving knife u dont need a delay

linuseless commented 9 months ago

this would be a handy fix

RoyZ-iwnl commented 8 months ago

This will cause a Segmentation fault.😢Any idea for fixing?

st1ng2 commented 8 months ago

still relevant

B3none commented 8 months ago

If @daffyyyy or anyone from the weapon paints plugin team wants to make a PR to fix compatibility with their plugin, I am happy to accept a PR.

everkk commented 8 months ago

We need this fix

B3none commented 8 months ago

This should be fixed with 1.4.0 👍 You will also need to update your allocator to >= 1.4.1 of @yonilerner's allocator