ATM8 Issue with PNC:R
DrFiishy opened this issue ยท 4 comments
Describe the bug
So after installing ATM8 and booting up the server every so often an error pops up with
''[Server thread/WARN] [pneumaticcraft/]: Amadron: failed to find any trades for profession evilcraft:werewolf ?''
How to reproduce the bug
Install ATM8 1.0.4 Server
Expected behavior
For the error not to show up cause im honestly confused on how werewolf is a profession
Additional details
Hopefully there is a way to maybe blacklist a certain profession or maybe even add it to Amadron
Which Minecraft version are you using?
1.19
Which version of PneumaticCraft: Repressurized are you using?
pneumaticcraft-repressurized-1.19.2-4.1.2-9
Crash log
No response
The warning (not error) is completely harmless, so you can just ignore it. Evilcraft does in fact register a "werewolf" villager profession, but I guess it doesn't add any trades to it. The Amadron system periodically scans all known villager professions, looking for trades at random to add to the live offers list, and just warns about the lack of werewolf trades, because it's strange having a villager profession which doesn't have any trades.
@desht I noticed that it could take a lot of tick time and even lag my players out of the server.
https://spark.lucko.me/ePbW1nkOEp
As can seen in the image it took 49k ms for the ONE tick to handle this. Also seen one of 69k.
My fix for now would be to turn this trader off as we dont use it for our playthrough.
Any advice would be welcome.
Atm8, I7-8700k, 32gb ram ddr4 (4-24gb assigned), playing on Seagate IronWolf 8TB
Given that message is logged at most once every 20-30 minutes, if logging a single line of warning text is lagging your server that badly, I would suggest your server has much more serious problems than a slightly chatty mod.
The culprit here is much more likely to be net.minecrell.TerminalConsoleAppender
, the class that is actually chewing up your CPU time. I'd take a closer look at why that is lagging your server out.