Time Nick Message 00:50 Hijiri need to fix attached entity position lag first 05:09 Flairieve https://forum.minetest.net/viewtopic.php?f=6&t=18634 Any help? 06:56 Flairieve Anyone on? 07:34 MinetestBot 02[git] 04lhofhansl -> 03minetest/minetest: Cache server config settings. (#6530) 136bab695 https://git.io/vd1QL (152017-10-15T07:32:17Z) 07:36 MinetestBot 02[git] 04numberZero -> 03minetest/minetest: Real global textures (#6105) 1375320e7 https://git.io/vd1QW (152017-10-15T07:34:14Z) 14:41 MinetestBot 02[git] 04diogo-gomes -> 03minetest-mods/mesecons: Add bower compatibility (#347) 134f400f3 https://git.io/vdMTv (152017-10-15T14:40:44Z) 18:26 Flairieve Is there any "pointed_thing" function that minetest keep checking for 19:01 Flairieve Is there anything like register_on_pointed_thing so you can every updated information of the block your pointing at 19:03 Taose Can anyone recommend a mod where I get to create NPCs? 19:04 rubenwardy Flairieve, no 19:04 rubenwardy were you the minetest.after guy yesterday? 19:04 * rubenwardy looks 19:05 deltasquared what was he using minetest.after for >_> 19:05 Flairieve Well I did figure out how to make the game wait with using coroutines without pausing anything else 19:05 Flairieve ;P 19:06 rubenwardy minetest.after is equivalent to co-routines 19:06 rubenwardy co-routines just remove callback hell 19:07 rubenwardy LuaJIT doesn't support co-routines, so I highly recommend not using them 19:07 rubenwardy wait 19:07 Flairieve Wait then how could I use them in my mod? 19:07 Flairieve It was actually working for me? 19:08 rubenwardy you're using Lua not LuaJIT 19:08 rubenwardy or I'm wrong and it's present in 5.1 19:09 deltasquared rubenwardy: might it depend on how minetest was built? my distro for instance makes it use luajit 5.1 19:09 deltasquared dunno if this is the windows build in this case 19:10 rubenwardy ah, coroutines are actually available in LuaJIT 19:10 rubenwardy so ignore that 19:12 Flairieve Though I wanted to make a function that automatically printed every block you pointed at including its pos and its name 19:12 rubenwardy defining a new function is perfectly fine. functions in Lua are first class and can be defined anywhere a variable can 19:13 Flairieve The debug menu only shows the block name your pointing at and not its pos 19:13 rubenwardy and minetest.after is the best way to run something after an interval, as it uses a queue internally. Not sure how you're restarting the co-routine 19:14 rubenwardy you'll have to use the player pos, and look dir: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3485 19:15 rubenwardy and then raycast - https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2766 19:15 sfan5 Though I wanted to make a function that automatically printed every block you pointed at including its pos and its name 19:15 sfan5 trying to do that is a pretty terrible idea as the mod api is just not set out for that 19:16 rubenwardy because the mod API runs server side, so there will be latency etc 19:16 rubenwardy not sure if CSM allows you to get pointed objects 19:18 rubenwardy also, this is how you make something run at an interval: https://gist.github.com/rubenwardy/c4c227ee8bcbdec57a206dd09b6735a4 19:18 rubenwardy unless you want the interval to be more than 10 times a second, in which case the register_on_globalstep may be better 19:20 Flairieve ahh that makes sense now 19:35 numzero Are there anyone with push access to digilines? 19:37 numzero There are several pull requests pending... 19:37 deltasquared numzero: there's push access, and then there's taking the time to review them. 19:38 numzero well, #46 (+6 -3) is waiting since May... 19:39 numzero I do understand that that takes a lot of time 19:39 deltasquared I can't speak for why it's taken so long 19:39 deltasquared dunno if the maintainers of digilines hang around on here 19:39 numzero I work with mesecons myself 19:39 numzero and feel myself the only man with push access online 19:41 numzero I don't want to blame anyone, I just ask 22:17 exio4 red-001: did MT get more than average third-party pull requests? :P 22:23 red-001 just more people on IRC asking about contributing 22:26 exio4 red-001: past week? since about which day? just wondering :P 22:27 red-001 dunno I'm a human not a neural net 22:27 red-001 last few days I suppose 22:30 exio4 haha