Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI log upload #10230

Open
3 tasks done
pwaksman973 opened this issue Sep 18, 2024 · 10 comments
Open
3 tasks done

AI log upload #10230

pwaksman973 opened this issue Sep 18, 2024 · 10 comments
Labels
Bug Gotta squash 'em all!

Comments

@pwaksman973
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Are you using the latest MineColonies Version?

  • I am running the latest beta/release version of MineColonies for my Minecraft version.
    I am also running the latest versions of other mods that are part of my problem.

Did you check on the Wiki? or ask on Discord?

  • I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

Minecraft Version

1.21

MineColonies Version

minecolonies-1.1.700-1.21.1-snapshot

Structurize Version

structurize-1.0.751-1.21.1-snapshot

Related Mods and their Versions

FTB Presents Direwolf20 1.21

Reproduction Steps

No idea.
Curier will stop working after a good amount of time, was working fine for like 3 buildings.
Then it get stuck saying its waiting me to place 16 torches, eventhough there is no request.
And then change to this message, and loop back to waiting 16 torches.

I killed the npc with some fire, short after the next currier got the same message.
I wish there was any log to send.

Logs

There is no latest.log, the game doesn't crash, the npc keep saying its ai is broken and asking to send the latest.log, which just doesn't exists since there is no crash.

Anything else?

There is no latest.log, the game doesn't crash, the npc keep saying its ai is broken and asking to send the latest.log, which just doesn't exists since there is no crash.

Untitled

Footer


Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.
@pwaksman973 pwaksman973 added the Bug Gotta squash 'em all! label Sep 18, 2024
@Talyda
Copy link
Contributor

Talyda commented Sep 18, 2024

Latest.log always exists.
In your instance folder, in the logs folder, usually right down the bottom of the file list. It's literally called "latest.log"

The 16 torches is a quest BTW not a request =)

@pwaksman973

This comment was marked as off-topic.

@Thodor12
Copy link
Contributor

Thodor12 commented Sep 18, 2024

Please upload your log to gist

@pwaksman973
Copy link
Author

I don't know, seems like everything just stopped working after that error.
They don't do anything anymore, I manually gave all required items to the builder and yet it does not continue build, don't have any request, and don't complain about missing something or doesn't say why it isn't working.
The only thing they do is go to tavern at night and move back to their workshop at day.

Here the latest log again, without the message for broken AI, but I guess it still broken some how.
latest.log

there is this duplicated discovered animal id crash, that I'm not sure if it is related
[18Sep2024 14:09:47.249] [Server thread/WARN] [minecolonies/]: Starting Compat Discovery [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering Ores 70 37 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering saplings 170 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering plantables 19 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering food 273 309 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering fuel 4262 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering flowers 34 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering items 21318 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering lucky oreBlocks 6 [18Sep2024 14:09:47.416] [Server thread/INFO] [minecolonies/]: Finished discovering recruitment costs [18Sep2024 14:09:47.417] [Server thread/INFO] [minecolonies/]: Finished discovering diseases [18Sep2024 14:09:47.445] [Server thread/INFO] [minecolonies/]: Finished discovering compostables 1143 [18Sep2024 14:09:47.535] [Server thread/ERROR] [minecolonies/]: Couldnt analyze animal java.lang.IllegalArgumentException: Duplicate id value for 17!

requestlist
items
npcrequest
npcinfo

@Thodor12
Copy link
Contributor

Don't upload the raw log file and attach it to the issue. Paste the file into a gist please.

@pwaksman973
Copy link
Author

pwaksman973 commented Sep 18, 2024

Oh, sorry, added the logs as link in the comment itself, but
there is the gitgist:

first with the AI broken message: https://gist.github.com/pwaksman973/28c48ceec0eae78b46f1065e4359a1fa

Second: https://gist.github.com/pwaksman973/b02d896f3b23b1213824ee7de6b51bd7

@Raycoms
Copy link
Contributor

Raycoms commented Sep 18, 2024

Somewhere this:

[18Sep2024 02:59:27.192] [Server thread/ERROR] [minecolonies/]: java.lang.IllegalStateException: Cannot encode empty ItemStack

Is called

@Thodor12
Copy link
Contributor

I also see a nullpointer in the request system.
Can you run /mc colony requestsystem-reset <colony id>, that way that issue will also go away.

@pwaksman973
Copy link
Author

pwaksman973 commented Sep 18, 2024

It says that the command is disabled in the config
I changed enabledebuglogging = true but I guess that is not the right config.
nvm found it, running again

@pwaksman973
Copy link
Author

pwaksman973 commented Sep 18, 2024

Oh yah does make it work, builder and forester are now active working again!
Please let me know if there is any more info that I can provide to helping with the source issue.
Yah, after while it does come back with the same error, repeating the command make it works, so I guess I can keep running this for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Gotta squash 'em all!
Projects
None yet
Development

No branches or pull requests

4 participants