Jump to content
Sign in to follow this  
  • entries
    109
  • comments
    378
  • views
    128216

Serious bug fix0red

Sign in to follow this  
Raduprv

266 views

We had an items duplication bug for quite a while in our server (about 3 months). We became aware of it about 1 month ago, when we got some reports from some players that sometimes, under unknown circumstances, their character data is not saved at log out.
Now, if the char data is not saved, you can for example give all your items to a friend, or a mule, then make it so that your data is not saved when you log out, then log out, log back in, and voila, items duplication.
2 weeks ago, a player gave us some more info about it it, so we were able to narrow it down a little. After a potential fix (which didn't work), we found the real cause of that bug. It had to do with lagging out while trading. No point to give the exact details, as you can't really understand without knowing how the server code works. But anyway, it was extremely easy to abuse.
Since we didn't know if people knew how to abuse it, we fixed it and didn't tell anyone we fixed it. We just restarted the server and mentioned various other changes, but we did log in to see if anyone was trying to do that.
Fortunately, in 4 days, only 2 players tried to do that, but upon a further inspection (looking at their items and stuff) it seems that it was accidental.
We also did an inventory of the most important items, to see if any player has more than normally possible, and we didn't find any anomaly.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!