[HELP] Duplicate UID's / Items when Server off

03/01/2018 13:53 Soulfly25#1
Hello mates, Kindly give me some helpful suggestion or solution regarding my issue about the duplicated Items, here is the situation.

When I turn off the server for maintenance there are some players will automatically duplicate their items and some are not.

What would be the error on this situation?

Thank you
03/05/2018 16:27 Soulfly25#2
bump.
03/05/2018 17:34 KraHen#3
This is a highly specific issue to your specific edited whatever source. I am very sorry to tell you that nobody has the silver bullet, you either have to debug it or pay someone who is willing to do it.
03/06/2018 00:56 Soulfly25#4
Can you recommend me someone who can fix this? I'm willing to pay for it.
03/06/2018 04:05 Spirited#5
Quote:
Originally Posted by Soulfly25 View Post
Can you recommend me someone who can fix this? I'm willing to pay for it.
Debug it yourself. Something's obviously adding items to your database on startup or shutdown, so put a breakpoint on your items repository and see when and what parent function is adding items.
  1. Put a breakpoint on adding an item for your database repository
  2. Step through the code and step out of the function
  3. Keep stepping out until you know which function is causing the issue
Or just search for all references to the add item function and see if there are any immediate issues you can see with functions that shouldn't be calling it. Don't be dependent on people who are going to screw you over - learn to do it yourself.