Time Nick Message 01:11 thePalindrome Just to double-check, searching an inventory for an item is only accomplished by using get_list and checking there? 01:23 Tmanyo Does anyone know how to make a formspec function normally after closing it and reopening it during the same game session? 01:25 thePalindrome What do you mean by that? 01:33 Tmanyo my form functions the first time it is used, then u can close it and it no longer works, it opens but the buttons down work 01:33 Tmanyo dont 01:33 thePalindrome Odd, could you paste your code somewhere? 01:34 Tmanyo i have the github repo 01:34 Tmanyo https://github.com/Tmanyo/tmusic_player 01:34 Tmanyo i will be afk for about 10 - 15 min 01:35 thePalindrome Is this the "songs" form or the "help" form that's being weird? 01:50 kaeza Just to double-check, searching an inventory for an item is only accomplished by using get_list and checking there? 01:50 kaeza yes 01:50 thePalindrome Ah bother 01:51 kaeza if you just need to know if the item is there, use :contains_item() 01:51 Tmanyo it is the songs form that is being weird, none of the buttons work when you reopen it 01:57 Tmanyo well i gatta go 01:57 Tmanyo cya 08:07 Out`Of`Control sfan5: i just run script on 2.5 GB map, works great. thank you 09:57 JamesTait Good morning all! Happy Thursday, and happy Men Make Dinner Day! 😃 10:05 lordfingle lol 10:05 lordfingle I make dinner every day 10:14 JamesTait Me too - except Thursday, which is take-away day. 11:24 Gnarflord well hello there 11:26 Gnarflord is there anyone of the devs online? 13:10 Out`Of`Control Hi anyone use map_unexplore remap.py 14:38 Axord Lava pool inside a dungeon. Well played minetest. 14:51 Amadin Hi all. How stop health regeneration after death if regeneration work is in cycle? String 57 http://pastebin.com/6ZcK5MS9 15:35 Amadin Hi all. How stop health regeneration after death if regeneration work is in cycle after using potion? 16:01 agaran Amadin: add handler on death that removes all pending potions? 16:46 Amadin i used on_respawn, is the similar? 16:46 Amadin agaran 16:47 Amadin i can't remove because don't undestand how break cycle after death 16:47 Amadin what i must write in on_death function? 16:54 Hijiri Amadin: on_respawn only happens after the player respawns, so it will be too late 16:54 Hijiri you might get regenerated before you respawn 16:54 Hijiri Amadin: what do you mean by the regen is in a cycle? 17:14 Amadin String 57 http://pastebin.com/6ZcK5MS9 17:17 Hijiri Amadin: sorry, have to leave again 17:17 Hijiri Amadin: in the callback to minetest.after, check that the user's hp is above 0 before healing them 17:17 Hijiri if it is at 0 it means they're dead 17:19 Amadin will try now 17:22 swift110 hey guys 17:24 red-001 hi swift110 17:28 Amadin i try "if hp <= 0 then return end" but this do nothing 17:28 Amadin in function minetest_after 17:28 Amadin minetest.after i mean 17:40 sofar what's the value of hp ? 17:45 swift110 how are you red-001 17:45 Amadin potion add or remove 1 hp per some time 17:46 Amadin sj hp will different 17:46 Amadin so 17:46 Amadin link to code is up 18:07 whitephoenix streaming some modding @ https://www.twitch.tv/whitephoenix0 if anyone is interested 18:08 Hijiri Amadin: do you have the new version of code 18:08 Hijiri up 18:09 Amadin new? 18:09 Hijiri after you changed it 18:11 Amadin http://pastebin.com/DuvZGuUh string 57 18:34 MinetestBot Krock: Nov-02 16:34 UTC shouldn't all mods in your db have an author? // KeyError: 'author' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) 18:41 Krock sfan5, fixed it. Somehow it created a 2nd database entry of the pipeworks and moretrees mods 18:44 Viper hi Krock 18:45 Krock hi Viper (random greeter) 18:45 Krock and hi greeter, who I highlighted by accident 18:45 Krock please stay in control 18:53 agaran Hi Krock 18:53 Krock hi agaran 18:53 sfan5 Krock: actually it seems that wasn't the problem 18:53 sfan5 the module forgets to handle the case where the mod doesn't exist 18:54 sfan5 !mod qdwfwfwuidwzrw3t3w454545 18:54 MinetestBot KeyError: 'author' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) 18:54 Krock !mod blaarg 18:54 MinetestBot KeyError: 'link' (file "/home/sfan5/mtbot/modules/modsearch.py", line 21, in mod) 18:55 Krock !mod LEEGACY 18:55 MinetestBot Krock: Could not find anything. by - 18:55 sfan5 uh huh 18:55 Krock err.. not fancy at all 18:56 sfan5 you *could* return an error message 18:56 sfan5 aka {"error": "no such mod"} 18:56 Krock oooh 18:56 sfan5 but i'll just handle this in the code 18:56 Krock !mod cdjaslreji 18:56 Krock patched it... 18:57 Out`Of`Control !mod explorer 18:57 Out`Of`Control ? 18:57 Krock had to rename "title" to "error" as returning message. what a dumb fail from me 18:57 MinetestBot Krock: Could not find anything. 18:57 MinetestBot Out`Of`Control: Explorer Tools (place an item on right click) [explore by Kilarin - https://forum.minetest.net/viewtopic.php?t=9050 18:57 Krock sfan5, no need to correct this. the error handling works a-ok now 18:57 sfan5 well then 18:58 Krock hehe, simply forgot to add that when I rewrote parts of the code :3 19:16 crazyR hi all 19:17 Hijiri Amadin: actually it looks like the code already has checks for hp that's 0 19:17 Hijiri Amadin: do you mean that after they revive they still get healed 19:17 Hijiri Amadin: here is what I would do 19:17 Hijiri Keep track in a table the last death time of each player 19:17 Hijiri (using player names as keys) 19:17 Hijiri in the fix_hp callback, calculate the current time 19:17 Hijiri in the mientest.after callback, make sure that the time calculated above is after the last death time of the player 19:19 Hijiri hi 19:24 Amadin Hijiri thank you, will try tomorrow 20:46 garywhite ;lottery 20:46 garywhite ok doesn't work here 21:03 swift110 which minetest from playstore is legit? 21:05 red-001 the ones called minetest? 21:07 swift110 its not that simple, if you dont know the answer then let someone answer who does 21:09 red-001 most clones don't call themselfs minetest 21:10 red-001 it seems to be https://play.google.com/store/apps/details?id=net.minetest.minetest 21:13 swift110 all these people and i got one person to answer 21:27 twoelk you might want to try this version: https://f-droid.org/repository/browse/?fdfilter=minetest&fdid=net.minetest.minetest 21:28 Hijiri 21:28 Hijiri sorry, mistype 21:28 twoelk or look here and scroll down to the android links http://www.minetest.net/downloads/ 21:28 twoelk wont get any more official than that 21:42 Amaz Should I be able to use io.open(file_in_modpath) with mod security enabled? Or does https://github.com/minetest/minetest/issues/4692 prevent that? 21:44 sfan5 Amaz: that problem should only occurr in callbacks 21:47 Amaz So this code should work? https://github.com/minetest-LOTR/Lord-of-the-Test/blob/master/mods/lottmapgen/schematics.lua#L34-L42 21:47 est yes 21:47 est because it runs at load time 21:47 Amaz Becuase with security enable, it gives the error that file is nil, but it works without security :/ 21:48 est that's a bug 21:48 Amaz Okay 21:48 Amaz Should I open a new issue, or add details onto #4692? 21:48 est (additional to the one you linked) 21:50 est what you prefer 21:50 Amaz I'll add details onto #4692 and if someone asks me to, I can open a new issue :) 21:51 sfan5 well looks like mod security is not going to be in 0.4.15 at this rate 21:51 sfan5 if nobody fixes these problems 21:51 sfan5 which seems likely 21:52 est sfan5: I agree, although it makes me sad 21:52 est mhh maybe I could try to fix the one Amaz pointed out 21:53 est I'm just glad that nobody complained about regressions of d767f025cb0d5cca29c1f2147d2a0931a088b717 21:57 Amaz https://github.com/minetest/minetest/issues/4692#issuecomment-258286450 22:01 Out`Of`Control i had to disable security mod, cause crash with empty debug 22:02 Out`Of`Control so you have to guess what mod it could be 22:04 Amaz That's very fun :P