I did a bit more research. I re-download and tested the latest build
minetest-0.4.14-e403115-win64.7z and the three other prior builds from the main download page at
https://minetest.kitsunemimi.pw/builds ... i did not add or change the builds except for creating a mod called 'test' with a single chat command within init.lua...
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_chatcommand("test", {
params = "<name>",
description = "health up",
privs = {},
func = function(name)
path = "c:/games/minetest"
print("**** path: "..path)
local returnVal = minetest.get_dir_list(path, true)
print("**** Success!")
end,
})
No problem at all when executing from the past builds i tested ...
minetest-0.4.14-09cefc3-win64.7z
minetest-0.4.14-3a95054-win64.7z
minetest-0.4.14-403dada-win64.7z
BUT!! I get this error when calling executing the command from latest build
minetest-0.4.14-e403115-win64.7z ...
"ERROR[Main]: ServerError: Lua: Runtime error from mod 'test' in callback on_chat_message(): C++ exception."I assume this download page list the builds in chronological order? So the next latest build I can use for now is minetest-
0.4.14-09cefc3-win64.7z is that right? Thanks!