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

Replace set_physics_override(num,num,num) calls w/ proper API usage #179

Open
2 of 3 tasks
Niklp09 opened this issue Apr 28, 2024 · 0 comments
Open
2 of 3 tasks

Replace set_physics_override(num,num,num) calls w/ proper API usage #179

Niklp09 opened this issue Apr 28, 2024 · 0 comments
Labels
1. kind/bug Something is not working 2. prio/elevated Important for many players / Blocks other issues 3. source/engine Caused by Minetest engine 3. source/upstream Caused by mod upstream 4. step/at work Being worked on
Milestone

Comments

@Niklp09
Copy link
Member

Niklp09 commented Apr 28, 2024

Minetest 5.9-dev removed support for this (undocumented) API usage in minetest/minetest@c524c52
Global cdb zipgrep: https://web.archive.org/web/20240428183431/https://content.minetest.net/zipgrep/91bbdb7b-7092-453c-bfe6-5ad507aec7d5/
yl issue: https://gitea.your-land.de/your-land/bugtracker/issues/6733

Example error:

2024-04-28 18:27:15: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '*builtin*' in callback item_OnPlace(): /home/nik/mt-server/bin/../mods/ts_furniture/init.lua:38: bad argument #1 to 'set_physics_override' (table expected, got number)
2024-04-28 18:27:15: ERROR[Main]: stack traceback:
2024-04-28 18:27:15: ERROR[Main]:       [C]: in function 'set_physics_override'
2024-04-28 18:27:15: ERROR[Main]:       /home/nik/mt-server/bin/../mods/ts_furniture/init.lua:38: in function 'on_rightclick'
2024-04-28 18:27:15: ERROR[Main]:       /home/nik/mt-server/bin/../builtin/game/item.lua:346: in function </home/nik/mt-server/bin/../builtin/game/item.lua:339>

Affected mods on our side of things:

@Niklp09 Niklp09 added 1. kind/bug Something is not working 2. prio/elevated Important for many players / Blocks other issues 3. source/engine Caused by Minetest engine 3. source/upstream Caused by mod upstream 4. step/at work Being worked on labels Apr 28, 2024
@Niklp09 Niklp09 modified the milestones: 24.05, 24.06 Apr 28, 2024
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/elevated Important for many players / Blocks other issues 3. source/engine Caused by Minetest engine 3. source/upstream Caused by mod upstream 4. step/at work Being worked on
Projects
None yet
Development

No branches or pull requests

1 participant