Time Nick Message 00:17 MinetestBot 02[git] 04kilbith -> 03minetest/minetest: Fix animation_image support in scroll containers 136591597 https://git.io/JtVZY (152021-02-08T00:04:38Z) 15:49 Wuzzy how do I test in Lua whether a file exists? 15:49 Wuzzy without using insecure environment 15:49 rubenwardy check return value of io.open 15:49 Wuzzy ? 15:50 rubenwardy local function file_exists(path) local file = io.open(path, "r") if file then file:close() return true end return false end 15:50 rubenwardy plus newlines 15:50 Wuzzy wait, is io.open available in insecure env? 15:50 rubenwardy there was a util function for this but it was removed 15:50 rubenwardy yes 15:50 Wuzzy yaaay 15:50 Wuzzy no wait 15:50 Wuzzy wait, is io.open available in SECURE env? 15:50 rubenwardy the places you can read are limited to mod dirs and world dirs 15:50 rubenwardy also yes 15:51 Wuzzy phew 17:13 hisforever Hi I'm trying to add a clock face to the billboard mod. so I have the orgnal nods.lua and my addition on a pastbin. I can't see anything I'm ding wrong. https://pastebin.com/27e3P4aA 17:23 hisforever here ia an image of the mt error 17:23 hisforever https://imgur.com/a/UH09YVA 17:34 Hawk777 Line 82 has a brace pointing the wrong direction. Though the error message is actually file not found, so do you in fact have the file mentioned (/home/hisforever/.minetest/ods/billboard/nodes.lua)? 17:35 hisforever yes I do thanls Hawk777 18:07 MinetestBot 02[git] 04kilbith -> 03minetest/minetest: Pause menu: Fix segfault on u/down key input 131d64e65 https://git.io/JtwLc (152021-02-08T17:56:51Z)