Time Nick Message 00:04 vampirefrog https://git.vampi.tech/vampi/minetest-bridge-socket/src/branch/master/init.lua 00:04 vampirefrog sparky4 get out of here 00:13 vampirefrog needs cleanup but I'll do that later 00:32 Pope_Rigby How do I password protect a server without access to the GUI? 02:59 fluxionary_ Pope_Rigby, if you want to create a publicly accessible server where new accounts need to know a password, set `default_password` in minetest.conf. see https://github.com/minetest/minetest/blob/8bf1609cccba24e2516ecb98dbf694b91fe697bf/builtin/settingtypes.txt#L650-L651 02:59 Pope_Rigby Thanks! 02:59 fluxionary_ :) 08:49 MinetestBot 02[git] 04farribeiro -> 03minetest/minetest: Remove resolution of appstream screenshots (#12652) 13bce1078 https://github.com/minetest/minetest/commit/bce1078ced2c3aef09c5511abb61ab961912ab23 (152022-08-15T08:47:09Z) 08:49 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Cut back on Gitlab-ci & misc pipeline updates 13cae7ec1 https://github.com/minetest/minetest/commit/cae7ec1eb4c5fb56a9f4666a16d5937ac1e4c527 (152022-08-15T08:47:47Z) 09:37 vampirefrog how do I get info about what killed a player in register_on_dieplayer 09:51 sfan5 vampirefrog: there's a `reason` table, second argument 09:51 vampirefrog yes but when, let's say, a zombie kills me, how can I tell it was a zombie 09:53 MTDiscord reason.object:get_luaentity().name == "zombiemod:zombie" 09:53 vampirefrog thx 09:53 MTDiscord you'll need a couple nil checks for (1) reason.object (2) reason.object:get_luaentity() 09:53 vampirefrog okay 09:56 vampirefrog is there a way to just spawn a zombie? 09:57 vampirefrog in game, I mean, so it can kill me 10:18 definitelya vampirefrog: The command /help is your friend. 10:18 vampirefrog I've been reading /help for half an hour now 10:20 definitelya The command is /spawnentity , but read its parameters. 10:24 vampirefrog okay what's the entity type for a zombie then? 10:25 sfan5 you're supposed to know that already 10:25 vampirefrog no u 10:26 vampirefrog I can't figure out where they're listed 10:31 definitelya \\ 10:31 definitelya - which game? 10:48 definitelya vampirefrog: When moving? 10:48 definitelya Maybe you have automatic jumping enabled in the controls settings 10:48 vampirefrog mineclone5 but let me test with the minetest game too 10:50 vampirefrog okay minetest game doesn't do that 10:50 vampirefrog definitelya, no, when in fly mode 10:51 MTDiscord mineclone5 does not allow flying in survival mode for some god forsaken reason 10:51 definitelya I guess I didn't understand what you meant, sorry. 10:51 MTDiscord you'll need to switch to creative 10:54 vampirefrog okay, thanks 10:55 vampirefrog is there a way to get the file descriptor from luasocket so I can use it as an index in a table? 11:11 vampirefrog do background color escape codes not work anymore? 11:13 vampirefrog @#000)@#fff)vampirefrog@#ffffffff)@#00000000) 11:13 ShadowBot vampirefrog: Error: That URL raised 11:13 ShadowBot vampirefrog: Error: That URL raised 11:14 vampirefrog is this what it's supposed to look like? black text on white background 11:14 rubenwardy what's the Lua code? 11:15 sfan5 we have background color escapes? 11:15 rubenwardy yeah https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3315 11:15 rubenwardy I suspect it's only supported in a few places 11:15 rubenwardy which is one of the reasons I asked for the code 11:16 vampirefrog "Only defined for item descriptions and tooltips." 11:16 vampirefrog so that's why I can't use it for the chat? 11:17 rubenwardy checks out 11:17 vampirefrog okay thanks 11:17 vampirefrog I'm bridging to and from other chat platforms, one of them being IRC 11:17 vampirefrog so I figured I should support background colors 11:17 vampirefrog oh well 11:17 MTDiscord Pretty sure the only place where they work are item tooltips... 11:17 vampirefrog there's no bold either, right? 11:18 MTDiscord Not in chat 11:18 MTDiscord only colors 11:18 vampirefrog okay, thanks 11:18 MTDiscord I implemented bridging with color translation :) 11:18 vampirefrog nice, me too 11:19 vampirefrog I have a whole system, supports a bunch of platforms including stream chat 11:25 vampirefrog to what kind of service are you bridging, luatic 11:28 vampirefrog https://git.vampi.tech/vampi/minetest-bridge-socket/src/branch/master/init.lua 11:28 vampirefrog this is my code 11:30 vampirefrog https://i.imgur.com/lEDg5vo.png 11:33 MTDiscord vampirefrog: Discord & IRC 11:33 MTDiscord https://github.com/appgurueu/adv_chat 11:33 MTDiscord I'll admit I would not write the code the same way now though 11:34 vampirefrog nice, how do you handle sockets? 11:35 vampirefrog I used register_globalstep and use a zero timeout select() call 11:35 MTDiscord which sockets? 11:35 MTDiscord I use Java processes for the Discord & IRC bot 11:35 vampirefrog well, do you have some sort of main loop which waits for socket data and events? 11:35 vampirefrog Java?? 11:36 MTDiscord The IPC uses LuaSocket usually but may fall back to files 11:36 vampirefrog wat da 11:36 MTDiscord vampirefrog: Yes, Java. This is another decision I partially regret. And there's even Gradle in there. 11:37 vampirefrog okay mine is written with node.js 11:37 MTDiscord Better than Java frankly 11:37 MTDiscord nowadays I'd try to keep it all in Lua 11:38 vampirefrog https://i.imgur.com/WtMVYum.png 11:38 vampirefrog did you make four converters? 11:39 vampirefrog I used an internal format for chat, a list of spans, and each span can be bold, italic, underline, color, background color 11:43 MTDiscord Yes, I wrote four converters. Using an abstract representation would have been smarter. 11:44 vampirefrog hang on I have a markdown to spans converter 11:45 vampirefrog http://paste.debian.net/1250484/ 11:46 vampirefrog it's JS 11:46 vampirefrog if it's the same markdown used by matrix and odysee, it should work for discord too 11:47 vampirefrog maybe I should add discord support to my thing lol 11:53 MTDiscord Don't worry, I have six MD to AST converters in JS lying around ;) 12:19 pumpkkin[m]1 minetest people, share some stuff you've been workin on 13:39 vampirefrog https://i.imgur.com/tJ78PAm.png 13:42 Swat1 beautiful 13:44 vampirefrog https://i.imgur.com/leUO2xt.png 13:47 MTDiscord When I try to compile MT with prometheus enabled, I do -DENABLE_PROMETHEUS=ON , but cmake says "Prometheus client disabled." is there some dependency I'm missing? 13:53 MTDiscord For future reference: Ofc dumb Alias found the solution a minute after he asked. apt-get install prometheus-cpp-dev 13:53 vampirefrog so the prometheus code has a http server? 13:55 vampirefrog would be nice if the engine implemented both server and client http code, including websockets, that would be very useful indeed 14:11 vampirefrog is there a way to get the full death string in a mod, so I don't have to compose it myself? 14:11 vampirefrog like instead of {["node"] = "mcl_fire:fire", ["from"] = "engine", ["type"] = "node_damage"} 14:12 vampirefrog it would just be a string "burned to a crisp" or "floor was lava" or whatever 14:12 MTDiscord No 14:12 MTDiscord mods exist that generate these messages though 14:50 sfan5 there are no death strings by default so if this is for a chat bridge mod you shouldn't be involving yourself with that 14:54 vampirefrog I guess I just wanted to get the minetest death strings 14:54 vampirefrog the mineclone5 death strings, I mean 14:56 sfan5 you probably have to wrap minetest.chat_send_all for that 15:00 MTDiscord Look at https://content.minetest.net/packages/cronvel/respawn/ and their death mesages. They read "Alias was killed by stone monster near Spawn" or "Alias should not play with lava source, near Spawn" 20:19 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: Fix crash when trying to overwrite a package 130090446 https://github.com/minetest/minetest/commit/0090446ccfc9a2d29f2d3b172415c757700fe706 (152022-08-15T20:19:24Z) 20:19 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: Refactor pkgmgr.install_dir to simplify logic 13db612c1 https://github.com/minetest/minetest/commit/db612c10ee5405c42ebf7a0f74d0decfbf507de3 (152022-08-15T20:19:24Z) 20:19 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: Add unit tests for pkgmgr.install_dir 13adc89f7 https://github.com/minetest/minetest/commit/adc89f7977ae4b1e86cb413fb52406865150b064 (152022-08-15T20:19:24Z) 20:22 MinetestBot 02[git] 04ElliottLester -> 03minetest/minetest: Apply DPI Scaling to GUIModalMenu (#12693) 137c5e3ca https://github.com/minetest/minetest/commit/7c5e3cac6a36a41baea5e308cad7e74bbc6e1cbe (152022-08-15T20:19:47Z) 22:42 mazes_81 hi why repeat_place_time is now thresholded to 0.25 ? I feeled there was something weird when I was building 22:44 mazes_81 I know some people abused repeat_place_time and set it to incredible values 22:45 mazes_81 from my side I was used to 0.125 (which is nice when I use lavastuff boots) 22:47 mazes_81 shouldn't this repeat_place_time should be thresholded ? 22:47 mazes_81 s/?/server side ?/