Time Nick Message 04:50 mtvisitor hi, 04:50 mtvisitor https://content.minetest.net/packages/mtvisitor/stg_texturepack_lab/ 04:50 mtvisitor my small texture pack (ver0.2) was approved on contentdb. 04:51 mtvisitor please try to download and test, welcome to leave your comment on contentdb website. 04:52 mtvisitor 2) https://forum.minetest.net/viewtopic.php?t=25693 04:54 mtvisitor i am also looking for someone(s) who could settle in #china-town irc channel for some stg (simple town game) topic(s). 04:55 mtvisitor I will send private message(PM) to you if you also show your comment in the above forum post. thanks. ;-) 04:56 * mtvisitor is listening the song of 《Rainy Memory》 from Deemo song Collection Vol.2. 04:58 mtvisitor ok, that's all for today. 04:59 mtvisitor have a nice day!☕ 12:31 MTDiscord <_a5810> Will the customized keys be supported in the future? 12:35 Krock already possible wherever you can replace keycaps on your keyboard 17:15 gera Any way to get player online status by reading world sqlite db? 17:19 Krock gera: none 17:19 Krock 1. players are not stored there. 2. auth.sqlite does not keep track of online players 17:19 gera Krock: well there's modification date in player table 17:20 gera i can check if it's less than minute 17:20 Krock that's not the world sqlite db 17:21 gera problem is it only updates when player moves 17:21 Krock possibly also when the HP changes. but I get your point. it might be better to expose them by a Lua binding 17:22 Krock or parse the log output for the newest player list. that's however pretty hacky as it relies on consistent formatting 17:24 gera ah, forgot there's "List of players" thingy in the log 17:24 gera will try to use this, thx 17:25 Krock you're welcoem 17:55 gera i think that mb it would be more optimal to just write a mod that dumps player list to a file 17:56 gera is there a way to run a recurring task in a mod? 17:57 MTDiscord minetest.register_globalstep 17:58 gera 0.1 that's to frequent, i see register_on_joinplayer though 17:59 MTDiscord just keep track of time and only run when you want 17:59 gera ok, thanks 18:00 MTDiscord or use minetest.after that calls itself 19:05 gera here's a mod i've came up with https://pst.moe/paste/bdxxaq 19:06 gera don't see any register on player kick function and register_on_leaveplayer does not handle this, but it's minor issue 19:06 Krock kick would also trigger the on_leaveplayer callback 19:07 MTDiscord not to mention if you specifically care about that case, just override the kick player function 19:08 gera oh so there's an error, player is still in the list when on_leaveplayer is called 19:08 Krock PS: string concat ".." may become somewhat slow because Lua creates a new instance for each result 19:09 Krock but that's only important when you'd like to write megabytes of data 19:18 gera i fixed the error, i hope there's no more bugs https://pst.moe/paste/buwtyy 19:18 gera what's better than ".." though? 19:23 sfan5 table.concat 20:33 gera now I can have an online player list on my webpage, check it out https://gera.minetest.land/ 20:34 gera ideally i would like to plot them on minetestmapper-generated map 20:34 gera but i'm very noob at javascript, that would probably require to use a canvas 20:34 gera to access the image's pixels 20:36 MTDiscord Just use buckaroo mapserver 20:38 MTDiscord See pandoras box one for a running instance of it 20:43 gera yeah that's cool