BentoBoxWorld / Converter

ASkyBlock to BSkyBlock converter
Eclipse Public License 2.0
1 stars 5 forks source link

No Islands Converted #1

Closed Xuwznln closed 5 years ago

Xuwznln commented 5 years ago

I follow the steps but only players' data were converted. There is no files in the BentoBox\database\Island and It shows me that I dont have an island. Is this converter really working?

Xuwznln commented 5 years ago

I just saw the history of commits. I really hope that the island can be finished firstly. Thanks

Poslovitch commented 5 years ago

We need more information : /bbox v output, server version, runtime environment. Were there any errors in the console? If there has been issues to convert, there should be.

Xuwznln commented 5 years ago

17:37:27] [Server thread/INFO]: Running PAPER 1.13.2. [17:37:27] [Server thread/INFO]: BentoBox version: 1.5.0-SNAPSHOT-b1073 [17:37:27] [Server thread/INFO]: Loaded Game Worlds:

[17:37:27] [Server thread/INFO]: Loaded Addons: [17:37:27] [Server thread/INFO]: a2b 0.0.2 [17:37:27] [Server thread/INFO]: BSkyBlock 1.5.0 [17:37:27] [Server thread/INFO]: WelcomeWarps 1.5.0-SNAPSHOT

the convert process: [15:22:11] [Server thread/INFO]: Saved 3220 players [15:22:11] [Server thread/INFO]: Processing teams [15:22:11] [Server thread/INFO]: Storing islands [15:22:11] [Server thread/INFO]: Converting warps [15:22:11] [Server thread/ERROR]: [BentoBox] [BSkyBlock] Warps conversion error: null

tastybento commented 5 years ago

@Xuwznln It looks like there was an error in the warps conversion that stopped the process. I'll release an update that may work for you. Please try it.

https://github.com/BentoBoxWorld/Converter/releases/tag/0.0.3

May sure you start from scratch again.

Xuwznln commented 5 years ago

I got errors like this, about 300 lines in the console. [12:34:26] [Server thread/INFO]: Saved 3230 players [12:34:26] [Server thread/INFO]: Processing teams [12:34:26] [Server thread/INFO]: Storing islands [12:34:26] [Server thread/ERROR]: [BentoBox] Cannot add island to grid because there is an overlapping [12:34:26] [Server thread/ERROR]: [BentoBox] island already registered at this location: Location{world=CraftWorld{name=island-empty},x=-3899.5,y=115.0,z=0.5,pitch=0.0,yaw=0.0} [12:34:26] [Server thread/ERROR]: [BentoBox] This is most likely caused by island distances changing mid-game, or an old database file

But I didn't change that before.

Xuwznln commented 5 years ago

I checked my askyblock islands.yml there is about 800 islands in the file. So I think that there is some errored islands before Btw, there generated the island files.

Xuwznln commented 5 years ago

Here is a player's data which may be of some help.

playerName: kuanmi
hasIsland: true
islandLocation: Island-empty:600:115:900:0:0
hasTeam: false
teamLeader: ''
teamIslandLocation: ''
islandLevel: 2240
members: []
resetsLeft: 3
deaths: 3
locale: en-US
startIslandRating: 50
useControlPanel: true
homeLocations:
  '1': Island-empty:591:116:900:1119367998:1107558391

{
  "homeLocations": {},
  "uniqueId": "c1abc4f3-2861-4472-a353-ae11b8c41c16",
  "playerName": "kuanmi",
  "resets": {},
  "locale": "en-US",
  "deaths": {
    "Island-empty": 3
  },
  "pendingKicks": []
}
tastybento commented 5 years ago

It looks like it worked, yes? There are some islands it could not convert because they are overlapping, but most of it probably worked. Did you play test it?

Xuwznln commented 5 years ago

yeah,but due to my exam this week, I have to check it in detail this Sunday.

Xuwznln commented 5 years ago

First, the convert is successful and can be normally used in game. Typing /is command work and the island size that set by permissions before also recorded in bsb. _[12:56:07] [Server thread/INFO]: ================================= [12:56:32] [Server thread/INFO]: Running PAPER 1.14.1. [12:56:32] [Server thread/INFO]: BentoBox version: 1.5.0-SNAPSHOT-b1089 [12:56:32] [Server thread/INFO]: Loaded Game Worlds:

[12:56:32] [Server thread/INFO]: Loaded Addons: [12:56:32] [Server thread/INFO]: a2b 0.0.3 [12:56:32] [Server thread/INFO]: BSkyBlock 1.5.0 [12:56:32] [Server thread/INFO]: WelcomeWarps 1.5.0-SNAPSHOT [12:57:04] [Server thread/INFO]: Getting the world settings [12:57:04] [Server thread/INFO]: Saving BSkyBlock config [12:57:04] [Server thread/INFO]: Converting players and islands [12:57:04] [Server thread/INFO]: There are 2904 player files to process. [12:57:04] [Server thread/INFO]: Saved 10 players ... [12:57:15] [Server thread/INFO]: Saved 3220 players [12:57:15] [Server thread/INFO]: Processing teams [12:57:15] [Server thread/INFO]: Storing islands [12:57:15] [Server thread/ERROR]: [BentoBox] Cannot add island to grid because there is an overlapping [12:57:15] [Server thread/ERROR]: [BentoBox] island already registered at this location: Location{world=CraftWorld{name=island-empty},x=-3899.5,y=115.0,z=0.5,pitch=0.0,yaw=0.0} [12:57:15] [Server thread/ERROR]: [BentoBox] This is most likely caused by island distances changing mid-game, or an old database file [12:57:15] [Server thread/ERROR]: [BentoBox] Cannot add island to grid because there is an overlapping [12:57:15] [Server thread/ERROR]: [BentoBox] This is most likely caused by island distances changing mid-game, or an old database file [12:57:15] [Server thread/INFO]: Converting warps [12:57:15] [Server thread/INFO]: Complete! Now, stop the server and restart to use BSkyBlock! It is safe to remove a2b converter addon. [12:57:42] [Server thread/INFO]: Stopping the server [12:57:42] [Server thread/INFO]: Stopping server_

Second, there is a long loading time when loading warps while starting up.

Third, the command /bsb tp player seems laggy _[13:06:24] [Server thread/INFO]: Xuwznln isued server command: /bsb tp DaChaBei [13:06:34] [Server threads/WARN]: Can't keep up! Is the server overloaded? Running 9657ms or 193 ticks behind [13:06:34] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-43 (MC: 1.14.1) ---

Generally it works fine until today. Really thank to your efforts.

Poslovitch commented 5 years ago

I had the issue on Discord. What's the database type you're using? If YAML, change it to JSON and delete the database folder. It may help to fix your issue.

Xuwznln commented 5 years ago

It is already JSON but it is slow. v1.5.0-SNAPSHOT-b1089 |_/ \|| ||__/|__/ __//\\ Loaded in 95897ms. Also slow when creating a new island.

tastybento commented 5 years ago

I think this is a 1.14.1 issue. I've found it to be really slow. With 1.13.2 it works well. Let's wait until 1.14.1 gets better.