TehNut-Mods / ResourcefulCrops

Simply JSON based resource crops
MIT License
12 stars 7 forks source link

Weird seed bug on server but not in single player #13

Closed Saereth closed 9 years ago

Saereth commented 9 years ago

So we added some custom seeds to the json file, they work perfectly in single player. Once you get onto the server however things go sideways. In this case we added gainite seeds and then removed the recipe and had them drop as loot instead. When players plant the gainite seeds they turn into copper plants visually bit give Gainite shards, but those shards craft into copper not gainite. its so weird 0.o.

You can view our configs here in case I've derped on them.

https://github.com/breakinblocks/nutsandbolts/blob/develop/config/ResourcefulCrops/seeds/DefaultSeeds.json

TehNut commented 9 years ago

This was due to an issue with the Seed Caching. The server didn't generate one, but the client did. So the server is loading in a different order than the client. Have each of your clients delete their cache from ../saves/ and it should fix itself. More of a bandage than a fix, but that's really all there is to do for now.

This problem will be solved once I figure out how to send the cache from the server to the client on connect. See #9

Saereth commented 9 years ago

That seems to have taken care of it, good luck on the cache transfer!