AgriCraft

AgriCraft

30M Downloads

Desync on spreading

LuciousLisa opened this issue ยท 1 comments

commented

After a crop spreads, the plant and soil are not recognized as valid. The plant never grows, not even with bonemeal. I have tested this with wheat seeds on a world which only had Agricraft and WAILA installed. Let me know if you'd like me to upload my config files (please specify which ones if so) or any other info. Thanks for looking into this!

Chatlog from Discord:

[12:07 PM] SuperLisa: hello, i'm using the alpha version of Agricraft (agricraft-2.0.0-0.10.0-a17) and I'm running into behavior that I'm not sure is either a bug or a config issue. before posting a github issue, i'd like to run this by you here. the question is: why can't the wheat crop grow there? In game screenshot of the crop/plant in question
[12:35 PM] InfinityRaider: I think it might actually be able to grow there, but its just giving the wrong feedback
[12:35 PM] InfinityRaider: if you bonemeal it, does it grow or not?
[12:35 PM] SuperLisa: no, it doesn't
[12:35 PM] SuperLisa: also, it gives the same info using the magnifying glass
[12:36 PM] InfinityRaider: and with the debugger?
[12:36 PM] SuperLisa: i haven't tried. will do so now. ๐Ÿ˜ƒ
[12:38 PM] SuperLisa: In game chat screenshot
[12:42 PM] SuperLisa: looks like it's not recognizing the crop and soil (which are vanilla wheat and vanilla tilled dirt). would you like me to log this as a bug on github?
[12:42 PM] SuperLisa: oh... and fwiw: this only happens when the crop spreads, not when it's planted manually.
[12:42 PM] SuperLisa: hence the mature plant in the background.
[12:53 PM] InfinityRaider: does it show a difference between the client and server debug info?
[12:54 PM] SuperLisa: if you mean in the console, then no:
[12:55 PM] SuperLisa: Console / In game chat side by side
[1:23 PM] InfinityRaider: "server debug info: this crop has no plant"
[1:26 PM] SuperLisa: yes, and: "Soil type: 'Unknown Soil'"
[1:26 PM] InfinityRaider: means a desync i guess

Server log (result from using the debug tool):

[12:53:52] [Client thread/INFO]: [CHAT] SERVER debug info:  
[12:53:52] [Client thread/INFO]: [CHAT] ------------------  
[12:53:52] [Client thread/INFO]: [CHAT] Clicked block at (-229, 63, 138)  
[12:53:52] [Client thread/INFO]: [CHAT] CROP:  
[12:53:52] [Client thread/INFO]: [CHAT]  - This crop has no plant  
[12:53:52] [Client thread/INFO]: [CHAT]    
[12:54:01] [Client thread/INFO]: [CHAT] Set debug mode to check soil  
[12:54:03] [Client thread/INFO]: [CHAT] Soil type: 'Unknown Soil'  
[12:54:05] [Client thread/INFO]: [CHAT] Set debug mode to clear grass  
[12:54:06] [Client thread/INFO]: [CHAT] Set debug mode to core info  
[12:54:09] [Client thread/INFO]: [CHAT] CLIENT Info:  
[12:54:09] [Client thread/INFO]: [CHAT] ========================================  
[12:54:09] [Client thread/INFO]: [CHAT] AgriPlants Hash: 149,619,645  
[12:54:09] [Client thread/INFO]: [CHAT]  - Plant Count: 91  
[12:54:09] [Client thread/INFO]: [CHAT] AgriMutations Hash: 1,134,872,681  
[12:54:09] [Client thread/INFO]: [CHAT]  - Mutation Count: 75  
[12:54:09] [Client thread/INFO]: [CHAT] AgriSoils Hash: -379,767,770   
[12:54:09] [Client thread/INFO]: [CHAT]  - Soil Count: 7
commented

The API refactor I just started for a18 might wind up incidentally fixing this. This may also be related to the ghost plants issue #863.