Thanks to visit codestin.com
Credit goes to github.com

Skip to content

minetest.request_http_api() returns nil, despite the mod being trusted. #11

@LandonAConway

Description

@LandonAConway

This mod does not run in MT 5.6.0 and above. I got the following error.

2022-08-30 19:47:03: ERROR[Main]: ModError: Failed to load and run script from /root/programs/minetest_lss/bin/../games/minetest_game/mods/discordmt/init.lua: 2022-08-30 19:47:03: ERROR[Main]: ...t_lss/bin/../games/minetest_game/mods/discordmt/init.lua:117: attempt to index upvalue 'http' (a nil value) 2022-08-30 19:47:03: ERROR[Main]: stack traceback: 2022-08-30 19:47:03: ERROR[Main]: ...t_lss/bin/../games/minetest_game/mods/discordmt/init.lua:117: in function 'send' 2022-08-30 19:47:03: ERROR[Main]: ...t_lss/bin/../games/minetest_game/mods/discordmt/init.lua:162: in main chunk

And to answer the question, yes... minetest's .conf file has [discordmt] listed as a trusted mod for http requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions