brunyman / MPDB

9 stars 2 forks source link

DungeonsXL data saving incorrectly #20

Open GerwinVerkerk opened 3 years ago

GerwinVerkerk commented 3 years ago

DungeonsXL data no longer saves correctly. Say that for example I have an Inventory is server A and I go to server B which has DungeonsXL installed. I play a dungeon on server B and I finish the dungeon. I obtained some items from the dungeon which are now in my inventory on server B. After this I switch back to server A, however now I have the same inventory as I had when I first switched from server A to B. I no longer have the items I obtained in the dungeon, meaning the MySQLPlayerDatabase plugin did not trigger the save event after leaving server B. I think the plugin is not registering that the dungeon has been finished so that it can start saving data again.

Steps to reproduce:

  1. Have two servers, A and B on which MySQLPlayerDatabase is installed.
  2. Connect both servers to the same database
  3. Have items in your inventory on server A and switch to server B
  4. Now go play a DungeonsXL dungeon in server B
  5. finish dungeon and switch back to server A
  6. You now have the same inventory you had in step 3

The bug does not occur when you haven't played a dungeon in server B. If you obtain items in the normal world of server B, those items will be saved to the database and loaded back in, in server A.

Hopefully this can be fixed soon. Thank you :)

GerwinVerkerk commented 3 years ago

Issue still persistent as of today

MARODEUR commented 3 years ago

Same issue here, newest dev build of DXL and latest version of MPDB on 1.16.5. Results in item loss for some players.

maxgestic commented 3 years ago

Issue still is persistent

ajsj321 commented 3 years ago

Are there any temporary workarounds for this bug? If any, please share it.

GerwinVerkerk commented 3 years ago

The issue is still there. Either fully remove DungeonsXL support or fix the support because with the broken support in place it's totally impossible to use DXL with MPDB.

botany111 commented 3 years ago

Is there a way to solve this problem

Players feel sorry for their efforts to disappear