https://github.com/minetest-mods/meseco ... -340624255
I've just downloaded minetest-0.4.16-win64 and the current mesecons.
Is the print() function supposed to be working ?
If so, where does it output to ? (The chat / screen output would be a nice place (like the lua mod) !
I've enabled "Show debug info" in the Minetest client settings, but that didn't help.
Is there some other setting I need to change ?
I took a look at the init.lua script and see that print is actually doing a "safe_print" : print(dump(param)), but where is "dump" supposed to be outputting to ?
The http://dev.minetest.net/dump page is not much help there
ssieb commented :
"The dump function converts the given value to a printable string. The print function outputs a string to the server debug log."
To which I replied :
So print() *should* be working ?
Here is a script I'm trying to run : It works, as far as activating the ports, but no output is showing up in bin\debug.txt
Code: Select all
if (event.type == "on" and event.pin.name == "A") then
port.c = not port.c
print("zop port.c")
port.d = not port.c
end