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

Runtime error from mod 'mobs_monster' in callback LuaABM::trigger(): /home/nik/mt-server/bin/../mods/mobs_redo/api.lua:4101: bad argument #2 to 'log' (string expected, got nil) #130

Closed
Niklp09 opened this issue Oct 22, 2023 · 2 comments
Labels
1. kind/bug Something is not working 2. prio/critical Very important 3. source/upstream Caused by mod upstream 4. step/at work Being worked on 5. result/fixed Bug fixed
Milestone

Comments

@Niklp09
Copy link
Member

Niklp09 commented Oct 22, 2023

Crash on the test server

2023-10-22 12:02:57: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mobs_monster' in callback LuaABM::trigger(): /home/nik/mt-server/bin/../mods/mobs_redo/api.lua:4101: bad argument #2 to 'log' (string expected, got nil)
2023-10-22 12:02:57: ERROR[Main]: stack traceback:
2023-10-22 12:02:57: ERROR[Main]:       [C]: in function 'log'
2023-10-22 12:02:57: ERROR[Main]:       /home/nik/mt-server/bin/../mods/mobs_redo/api.lua:4101: in function 'spawn_action'
2023-10-22 12:02:57: ERROR[Main]:       /home/nik/mt-server/bin/../mods/mobs_redo/api.lua:4137: in function 'func'
2023-10-22 12:02:57: ERROR[Main]:       ...ik/mt-server/bin/../builtin/profiler/instrumentation.lua:108: in function 'old_action'
2023-10-22 12:02:57: ERROR[Main]:       ...ik/mt-server/bin/../mods/archtec/archtec/scripts/abm.lua:122: in function <...ik/mt-server/bin/../mods/archtec/archtec/scripts/abm.lua:120>
@Niklp09 Niklp09 added 1. kind/bug Something is not working 2. prio/critical Very important 3. source/upstream Caused by mod upstream 4. step/at work Being worked on labels Oct 22, 2023
@Niklp09 Niklp09 added this to the 23.11 milestone Oct 22, 2023
@Niklp09
Copy link
Member Author

Niklp09 commented Oct 22, 2023

@Niklp09
Copy link
Member Author

Niklp09 commented Oct 22, 2023

@Niklp09 Niklp09 closed this as completed Oct 22, 2023
@Niklp09 Niklp09 added the 5. result/fixed Bug fixed label Oct 22, 2023
mckaygerhard added a commit to minenux/minetest-mod-mobs_redo that referenced this issue Mar 30, 2024
* reported, closes https://codeberg.org/tenplus1/mobs_redo/issues/1
  referece at Archtec-io/bugtracker#130
  this are not so good so implement in better way.
* related to commit bf79985730cee684a1e11e4b4df0ac140d7e8980
  and commit a62bfe3828bf2d6889a71ab7d906c31641593663
  at https://codeberg.org/tenplus1/mobs_redo/commit/bf79985730cee684a1e11e4b4df0ac140d7e8980
  and https://codeberg.org/tenplus1/mobs_redo/commit/a62bfe3828bf2d6889a71ab7d906c31641593663
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. kind/bug Something is not working 2. prio/critical Very important 3. source/upstream Caused by mod upstream 4. step/at work Being worked on 5. result/fixed Bug fixed
Projects
None yet
Development

No branches or pull requests

1 participant