[Bug] NPC isn't executing action with button on different buttons.
DanzlPriv opened this issue ยท 6 comments
Describe the bug ๐
Currently I have paired this mod with FTB Quests as I wanted to make an effective questline using the NPCs. This was used via a command called /ftbquests change_progress @initiator complete [QUEST ID]
To Reproduce โ๏ธ
Give NPC a Questline using FTBQuests on Fabric, and proceed to add the command in the NPCQuests on Forge.
Go through the buttons to make sure it works, and NPC's should theoretically complete the quest based on which buttons you press.
It is quite hit or miss, sometimes it works completely fine with some buttons, while with other buttons, the command doesn't work at all.
Interacting action is fine, and the first button action works every time, but every time afterwards, it just doesn't seem to work.
Expected behavior โ๏ธ
Expected to run all commands/actions without any issue.
Your Mother... should execute the command and almost finish the quests. But it doesn't execute.
But with this other NPC that I have, it does the same thing where with some buttons it works, and others it doesnt.
Debugging ๐ ๏ธ
[27.05 14:24:51] [Server] [Netty Epoll Server IO #26/DEBUG]: Try to execute action ActionData [type=COMMAND, cmd=/ftbquests change progress @initiator complete 5EE51E5FC363DC24, permLvl=2, execAsUser=false, debug=false] as entity Humanoid['Big Bully'/30672, l='ServerLevel[losersmc]', x=-75.31, y=63.00, z=-72.64] with owner permission level 3 of max. 4 ...
[27.05 14:24:51] [Server] [Netty Epoll Server IO #26/DEBUG]: Execute Entity Humanoid['Big Bully'/30672, l='ServerLevel[losersmc]', x=-75.31, y=63.00, z=-72.64] Command: "ftbquests change progress DanzlDistressful complete 5EE51E5FC363DC24" with permission level 3
[27.05 14:24:51] [Server] [Netty Epoll Server IO #26/DEBUG]: Trigger action event ActionData [type=COMMAND, cmd=/ftbquests change_progress @initiator complete 341C89B3F72BB0FC, permLvl=2, execAsUser=false, debug=false] for Humanoid['Big Bully'/30672, l='ServerLevel[losersmc]', x=-75.31, y=63.00, z=-72.64] from class_3222['DanzlDistressful'/21381, l='ServerLevel[losersmc]', x=-75.63, y=63.00, z=-71.10] with permission level 2 ...
[27.05 14:24:51] [Server] [Netty Epoll Server IO #26/DEBUG]: Try to execute action ActionData [type=COMMAND, cmd=/ftbquests change_progress @initiator complete 341C89B3F72BB0FC, permLvl=2, execAsUser=false, debug=false] as entity Humanoid['Big Bully'/30672, l='ServerLevel[losersmc]', x=-75.31, y=63.00, z=-72.64] with owner permission level 3 of max. 4 ...
[27.05 14:24:51] [Server] [Netty Epoll Server IO #26/DEBUG]: Execute Entity Humanoid['Big Bully'/30672, l='ServerLevel[losersmc]', x=-75.31, y=63.00, z=-72.64] Command: "ftbquests change_progress DanzlDistressful complete 341C89B3F72BB0FC" with permission level 3
Using FTBQuests alongside it. ๐งฉ
Thanks for the report. Could you please enable the "Debug" mode for the buttons which are not working and save them again.
This will show the result of the execution of the action as well in the logs, which should give you an indicator why this is not working in some cases.
According the log it seems that the commands are executed so I see no issues on the NPC side so far.
After doing that, what should I do next in order to provide you the log? Do I go to my logs in my instance and send that through?
After importing it over to Fabric, the debugged version of the NPC, it won't let me spawn it in my MC server, the command line just shows as blank.
https://drive.google.com/file/d/1FJAjbQvbjqJNLnUIXwYKH5d9E-UV4miU/view?usp=drive_link
this is the NPC, but it just won't let me spawn him in