Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Strange money duplication from pay command #97

Open
jdkeke142 opened this issue Mar 27, 2020 · 4 comments
Open

Strange money duplication from pay command #97

jdkeke142 opened this issue Mar 27, 2020 · 4 comments

Comments

@jdkeke142
Copy link

jdkeke142 commented Mar 27, 2020

Some of my players ended up with their money duplicated just from the /pay command and unintentionally.

Maybe it's the multiserver option that doesn't work? Since I enabled it because I have multiple servers with the goal of having shared economy, and I have noticed from a /pay that it doesn't seems to works.

I use the latest version of the plugin from github, built myself.

@AppleDash
Copy link
Owner

Can you give me a more detailed situation in which this bug occurs? eg: Player info, balances, what servers they were on, what commands were run, configuration, etc.

@jdkeke142
Copy link
Author

jdkeke142 commented Mar 27, 2020

The pay to a player on another server of the bungeecord will produce this error on the receiver server:
https://gist.github.com/jdkeke142/ce500179f193f2b8882c8473eeaebee4

My config file looks like this:
https://gist.github.com/jdkeke142/f78505ef970edc938c6547818aa10895

About the setup, all servers share same configuration and are on the same database for SaneEconomy.

I was unable to reproduce the problem, but as I said, I'm pretty sure it's related to the pay command. We've seen players for whom the balance has literally doubled after a /pay command.

And as I said the second problem is that the update of the balance after a /pay or any transaction commands across servers does not take place, the player must change server, so basically disconnecting bukkit-wise.

I'm pretty sure the second problem is directly related to the fact that the bungee message is not handled properly on the receiver server,

Thanks for future help.

Update: It also seems to work the other way around sometimes, I have players who paid another player, they lost their money, but the receiver only got part of the first transaction and didn't get the second transaction at all.

@AppleDash
Copy link
Owner

AppleDash commented Mar 28, 2020 via email

@jdkeke142
Copy link
Author

No errors on the source server

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

No branches or pull requests

2 participants