Where does the bug appear: server
When did the bug appear: probably since groups were first implemented
Describe the bug: can get group stats from invalid group skins
Frequency: always
Severity: medium
Steps to reproduce:
Have /gspawn and spawn with an invalid skin for the group (i.e cop group for criminal group, etc). If you kill someone that will count toward your group kills even though you're not really in group activity, people could use this to boost their stats w/o really participating in group gameplay.
Playtime I think so, but for kills definitely no. Similar group bug: when I spawn as army and have gspawn on for LspdU, kills dont add up, neither deaths do or any of stats at /gstats
This should be fixed in an upcoming patch! Thanks for the report.
The fix has been applied to:
- Kills/deaths counting
- Playtime saving
It will now now work like this: If the group requires spawning to use features (like most groups), only count if the player is spawned. If the group does not require spawning, only count if the player fits the team requirements.
I'll leave this open in case there's some other places I might have missed. I only fixed the issue the two places where I said, but I think there might be multiple places where this should be fixed