testserver minetest-ballistics/api/behavior/on_hit_node.lua:108: attempt to index field 'util' (a nil value) #6081

Closed
opened 2024-01-26 01:53:03 +00:00 by AliasAlreadyTaken · 5 comments
2024-01-26 01:43:38: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'y_bows' in callback luaentity_Step(): ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: attempt to index field 'util' (a nil value)
2024-01-26 01:43:38: ERROR[Main]: stack traceback:
2024-01-26 01:43:38: ERROR[Main]: 	...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: in function 'on_hit_node_replace'
2024-01-26 01:43:38: ERROR[Main]: 	...lds/Minetest_test/worldmods/minetest-y_bows/entities.lua:68: in function 'handle_collision'
2024-01-26 01:43:38: ERROR[Main]: 	...test_test/worldmods/minetest-ballistics/api/internal.lua:139: in function 'on_step'
2024-01-26 01:43:38: ERROR[Main]: 	...test_test/worldmods/minetest-ballistics/api/register.lua:58: in function 'func'
2024-01-26 01:43:38: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:108: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:101>
``` 2024-01-26 01:43:38: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'y_bows' in callback luaentity_Step(): ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: attempt to index field 'util' (a nil value) 2024-01-26 01:43:38: ERROR[Main]: stack traceback: 2024-01-26 01:43:38: ERROR[Main]: ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: in function 'on_hit_node_replace' 2024-01-26 01:43:38: ERROR[Main]: ...lds/Minetest_test/worldmods/minetest-y_bows/entities.lua:68: in function 'handle_collision' 2024-01-26 01:43:38: ERROR[Main]: ...test_test/worldmods/minetest-ballistics/api/internal.lua:139: in function 'on_step' 2024-01-26 01:43:38: ERROR[Main]: ...test_test/worldmods/minetest-ballistics/api/register.lua:58: in function 'func' 2024-01-26 01:43:38: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:108: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:101> ```
Author
Owner
2024-01-26 01:52:04: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'y_bows' in callback luaentity_Step(): ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: attempt to index field 'util' (a nil value)
2024-01-26 01:52:04: ERROR[Main]: stack traceback:
2024-01-26 01:52:04: ERROR[Main]: 	...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: in function 'on_hit_node_replace'
2024-01-26 01:52:04: ERROR[Main]: 	...lds/Minetest_test/worldmods/minetest-y_bows/entities.lua:68: in function 'handle_collision'
2024-01-26 01:52:04: ERROR[Main]: 	...test_test/worldmods/minetest-ballistics/api/internal.lua:139: in function 'on_step'
2024-01-26 01:52:04: ERROR[Main]: 	...test_test/worldmods/minetest-ballistics/api/register.lua:58: in function 'func'
2024-01-26 01:52:04: ERROR[Main]: 	...inetest_test/bin/../builtin/profiler/instrumentation.lua:108: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:101>
``` 2024-01-26 01:52:04: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'y_bows' in callback luaentity_Step(): ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: attempt to index field 'util' (a nil value) 2024-01-26 01:52:04: ERROR[Main]: stack traceback: 2024-01-26 01:52:04: ERROR[Main]: ...rldmods/minetest-ballistics/api/behavior/on_hit_node.lua:108: in function 'on_hit_node_replace' 2024-01-26 01:52:04: ERROR[Main]: ...lds/Minetest_test/worldmods/minetest-y_bows/entities.lua:68: in function 'handle_collision' 2024-01-26 01:52:04: ERROR[Main]: ...test_test/worldmods/minetest-ballistics/api/internal.lua:139: in function 'on_step' 2024-01-26 01:52:04: ERROR[Main]: ...test_test/worldmods/minetest-ballistics/api/register.lua:58: in function 'func' 2024-01-26 01:52:04: ERROR[Main]: ...inetest_test/bin/../builtin/profiler/instrumentation.lua:108: in function <...inetest_test/bin/../builtin/profiler/instrumentation.lua:101> ```
Member

caused by fire arrows && util.lua not being included

caused by fire arrows && util.lua not being included
AliasAlreadyTaken added the
1. kind/bug
label 2024-01-26 02:10:13 +00:00
flux added this to the flux's TODO list project 2024-01-28 21:46:43 +00:00
flux self-assigned this 2024-01-28 21:46:50 +00:00
Member

i need to remember to test fire arrows more.

fixed: 398da2a092

fixed another crash with the fire arrow: d359dc4a93

fixed the fire being in a weird place due to petz collision boxes: d510665798

i need to remember to test fire arrows more. fixed: https://github.com/fluxionary/minetest-ballistics/commit/398da2a092c7931d5566cb4ac266342ab81e1371 fixed another crash with the fire arrow: https://github.com/fluxionary/minetest-y_bows/commit/d359dc4a93f94c9b8eb345a7d111a574b1b7b6e6 fixed the fire being in a weird place due to petz collision boxes: https://github.com/fluxionary/minetest-ballistics/commit/d5106657982d80ffb48c5167b51599f27e81906d
flux added the
4. step/ready to QA test
label 2024-01-28 22:02:45 +00:00
AliasAlreadyTaken added this to the 1.1.123 milestone 2024-01-29 05:33:12 +00:00
Author
Owner

QA

Works :)

QA Works :)
AliasAlreadyTaken added the
ugh/QA OK
label 2024-01-29 10:30:57 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2024-03-28 20:52:53 +00:00
flux removed this from the flux's TODO list project 2024-03-28 20:52:55 +00:00
flux removed their assignment 2024-03-28 20:52:57 +00:00
Member

live

live
flux closed this issue 2024-03-28 20:53:02 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6081
No description provided.