Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Serious bug fix0red

Sign in to follow this  


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  


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!