Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player account shooting pistol/rifle breaking bug. #1353

Open
Skaapdev opened this issue Nov 12, 2024 · 4 comments
Open

Player account shooting pistol/rifle breaking bug. #1353

Skaapdev opened this issue Nov 12, 2024 · 4 comments

Comments

@Skaapdev
Copy link

There is a bug where specific ranged weapons like pistol and rifle stops working for a player until the server restarts.
I suspect this bug maybe triggered when a player is kicked/disconnected from the server whilst shooting. I say this because I was kicked for inactivity whilst busy shooting and then I encounter this problem again.

This is just speculation but perhaps this is related to cooldowns hitting an corner case and leaving a player cooldown stuck somehow

set = function(self, player, time)

Perhaps clearing a player cooldown on join could help?

@Skaapdev Skaapdev changed the title Player account shooting pistol/rife breaking bug. Player account shooting pistol/rifle breaking bug. Nov 12, 2024
@fabricedev
Copy link

I also experienced this problem. I didn't linked it to the kicked/disconnected but as I am kicked sometime to time, busy shooting, it can make sense. It does not affect scout/riffle though.

@LoneWolfHT
Copy link
Member

LoneWolfHT commented Dec 2, 2024

Perhaps clearing a player cooldown on join could help?

I don't think it's the case, I've added some debug logs to check though, post here or /report ingame if you have the issue again

@fabricedev
Copy link

It just happenned again. Indeed seems related to a kick for no activity. I did a /report as soon as I saw the issue (azerty_123)

@LoneWolfHT
Copy link
Member

So far none of my debug logs have tripped, so I guess I'll have to look into potential similar problems...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants