Civcraft / RealisticBiomes

Do not open issues here; open them on the maintained fork @ DevotedMC
https://github.com/DevotedMC/RealisticBiomes
7 stars 14 forks source link

Could not pass event ChunkLoadEvent #47

Closed smackedlol closed 9 years ago

smackedlol commented 9 years ago

Upon world loading I get an error Could not pass event ChunkLoadEvent to RealisticBiomes v0.6.5.0 and this stacktrace.

http://pastebin.com/dfwfQB18

ttk2 commented 9 years ago

did you configure your mysql db?

smackedlol commented 9 years ago

The RealisticBiomes config or the actual mysql db? Because I'm just using the default configuration for mysql.

smackedlol commented 9 years ago

Here is info from further up the log.

[15:28:52] [Server thread/INFO]: [RealisticBiomes] Enabling RealisticBiomes v0.6.5.0 [15:28:52] [Server thread/INFO]: [RealisticBiomes] name of logger is: com.untamedears.realisticbiomes.RealisticBiomes [15:28:52] [Server thread/INFO]: [RealisticBiomes] Persistence enabled: true [15:28:52] [Server thread/INFO]: [RealisticBiomes] Database: tekkit [15:28:52] [Server thread/INFO]: [RealisticBiomes] Logging enabled [15:28:52] [Server thread/INFO]: [RealisticBiomes] Load event minimum time to log: 5ms [15:28:52] [Server thread/INFO]: [RealisticBiomes] Unload event minimum time to log: 5ms [15:28:52] [Server thread/INFO]: [RealisticBiomes] Logging hack, log level is set to: INFO [15:28:52] [Server thread/INFO]: [RealisticBiomes] Caching entire database? true [15:28:53] [Server thread/INFO]: [RealisticBiomes] Could not update table - ignore if already updated. Error code: 1060, error message: Duplicate column name 'fruitGrowth' [15:28:53] [Server thread/INFO]: [RealisticBiomes] loading PlantChunks [15:28:53] [Server thread/INFO]: [RealisticBiomes] Finished loading all PlantChunks - time taken: 18ms [15:28:53] [Server thread/INFO]: [RealisticBiomes] is now enabled.

ttk2 commented 9 years ago

you setup that user and DB in mysql?

smackedlol commented 9 years ago

Yes I'm using root for the user.

ttk2 commented 9 years ago

did you make the database?

smackedlol commented 9 years ago

Yes database has been setup.

ttk2 commented 9 years ago

I am not even sure you can use root as the user, make a proper user and give them perms over the database.

smackedlol commented 9 years ago

Alright I'll try that.

smackedlol commented 9 years ago

The problem seems to have been solved after deleting the entire database and using a regular user then loading the plugin again. Edit: Never mind the problem seems to have reappeared.

benjajaja commented 9 years ago

Are your worlds call world, world_nether and world_the_end?

This seems to be related to #30

smackedlol commented 9 years ago

The worlds are named differently than world, world_nether and world_the_end.

benjajaja commented 9 years ago

That's the problem then. See here https://github.com/Civcraft/RealisticBiomes/blob/master/src/com/untamedears/realisticbiomes/persist/WorldID.java This should probably be fixed, maybe you can get away with using UUID.hashCode() if the world does not match the three defaults...

smackedlol commented 9 years ago

Yeah, I think a simple fix would just to rename the worlds.

erocs commented 9 years ago

When sharding happens, no world will be named by the default scheme. This will need to be somehow fixed to allow for customized names.

benjajaja commented 9 years ago

I'm on it

benjajaja commented 9 years ago

@ArcadiaGaming .jar with (hopefully) a fix: http://civcraft.co:8080/job/RealisticBiomes-master/21/