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

Loses connection to DB issue #17

Open
HairyMilkshakes opened this issue Jul 7, 2018 · 4 comments
Open

Loses connection to DB issue #17

HairyMilkshakes opened this issue Jul 7, 2018 · 4 comments
Assignees

Comments

@HairyMilkshakes
Copy link

Hi, not sure what the cause is right now because /log/ doesn't throw any errors. Here's a description:

After a while the plugin/db loses connection to the game. So while the plugin loads fine and I am able to use !rank and !rankmenu to check my current stats, no additional points are awarded for any type of functions.

When I check the online webstates page, it's also showing that nobody is online when the server actually is populated. Not sure what the problem is.

@muukis muukis self-assigned this Jul 10, 2018
@muukis
Copy link
Owner

muukis commented Jul 10, 2018

I will try to find the reason for this. Thanks for reporting!

@HairyMilkshakes
Copy link
Author

Also, is there a particular reason why stats aren't tracked on easy difficulty? Wouldn't it make more sense to have a penalty multiplier applied? For example, (0.5x on easy, 1x on normal, 1.25x on advanced, 1.5x on expert).

I thought my DB was losing connection sometimes when in fact it was just not activated when players choose easy difficulty.

@muukis
Copy link
Owner

muukis commented Jul 17, 2018

I don't remember what was the reason for not recording stats on easy difficulty. I am not sure how much effort would it require for adding easy difficulty stats recording. However, that could very well be the reason for the connection issue you were having? Please report back if you find it otherwise, thanks!

@HairyMilkshakes
Copy link
Author

More info on the disconnect "bug" - on easy difficulty, stats aren't recorded and there's no cvar to change in the .cfg file.

This becomes a problem once players leave the server and the map rotation resets to default. For example, when someone is playing in easy mode, then stats aren't recorded. When they quit in the middle of the game, the difficulty doesn't revert back to normal (or whatever the default is). Then, a new lobby of players join and starts a new map/game in normal mode. Stats in this case still doesn't record.

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

No branches or pull requests

2 participants