ColinHDev / CPlot

Land and world management plugin for PocketMine-MP
https://discord.gg/cAYKEtaqnp
GNU General Public License v3.0
29 stars 12 forks source link

Convert data #91

Open UnknownNull opened 1 year ago

UnknownNull commented 1 year ago

The .db format of the myplot plugin was not recognized to convert to a new database and could only recognize the world

ColinHDev commented 1 year ago

The plots.db file is in the Server/plugin_data/MyPlot/ directory and MyPlot's config.yml DataProvider entry points to sqlite?

UnknownNull commented 1 year ago

Yes, I tested this method once and once again moved plots.db to plugin_data\cplot and both times I did not get results.

ColinHDev commented 1 year ago

And you are using the pm5 version of the plugin?

UnknownNull commented 1 year ago

yes

ColinHDev commented 1 year ago

I tested the plugin with a MyPlot .db file, so there shouldn't be any problems. Could you provide your .db file, MyPlot plugin_data directory and world folder?

UnknownNull commented 1 year ago

https://www.mediafire.com/file/yi8qeqyxh9kyfue/plots.db/file

ColinHDev commented 1 year ago

Works for me

UnknownNull commented 1 year ago

Can you tell me which version and how it works well for you? So that I can test it like you

ColinHDev commented 1 year ago

That part of the code wasn't changed in a while, so the latest from the development branch should be fine

UnknownNull commented 1 year ago

That part of the code wasn't changed in a while, so the latest from the development branch should be fine

The owners of the plots have changed...

ColinHDev commented 1 year ago

Could you please provide CPlot's .sqlite file?

UnknownNull commented 1 year ago

https://www.mediafire.com/file/dkcarm44yrr84qh/CPlot.sqlite/file

UnknownNull commented 1 year ago

and wtf? https://cdn.discordapp.com/attachments/1113569932773425304/1129897191515902103/2023-07-16_01-23-39.mp4

ColinHDev commented 1 year ago

Sorry, but I'm currently in my exam phase, so I don't have that much time for the next few weeks to debug this. You could try to use MySQL as data provider - but there is no guarantee that the bug doesn't exist there as well.

UnknownNull commented 1 year ago

Ok, good luck Another thing I wanted to report is that by pressing /p home, it is transferred to another person's plot. And I request that p homes command be added

Sorry, but I'm currently in my exam phase, so I don't have that much time for the next few weeks to debug this. You could try to use MySQL as data provider - but there is no guarantee that the bug doesn't exist there as well.

ColinHDev commented 1 year ago

Could you try the latest version of the development branch to see if the error still occurs?

ColinHDev commented 1 year ago

And in case it doesn't work, please provide the CPlot.sqlite file again

UnknownNull commented 1 year ago

Apparently, the first bug that changed the names after warping and returning to the plot has been fixed

But there is still a problem with the /p home bug and resetting the plot and re-claiming it as posted in the video

https://www.mediafire.com/file/3uaoayxco062qc3/CPlot.sqlite/file

UnknownNull commented 1 year ago

Need more information?

ColinHDev commented 1 year ago

I've failed to reproduce this in any way, so if you have more information, it would be pretty helpful!