Time Nick Message 06:42 MTDiscord hi 12:10 * VanessaE waves some fresh coffee under Krock_'s nose ;) 12:59 DivideByZero Good morning. 13:23 VanessaE hi 13:38 MTDiscord k 13:38 MTDiscord hi 15:52 * VanessaE looks at Krock_ and hovers her mouse over the "Squash and merge" button :) (actually, I do want to squash the PR down *some*, just to smooth-off minor changes, lint, etc) 18:04 VanessaE Krock, you're killin' me. :P 18:06 Krock VanessaE: are you hyped? 18:06 VanessaE nope 18:07 Krock your actions tell otherwise 18:07 VanessaE just impatient :) 18:07 Krock yeah 19:04 Extexo What are you two working on VanessaE and Krock ? xD 19:05 VanessaE Extexo: I made a pull request to Unified Inventory to write some it to use more modern formspec features and to improve its appearance. Krock has been goading me to basically improve the overall code :) 19:05 VanessaE I think it's done, I'm just waiting for the green light to merge it :) 19:05 Extexo Oooh ok 19:23 DivideByZero Vanessa: I'm trying to read the code from the contentDB screen of your LED Marquee, but it's too small even blurry when I zoom in. Can I read this in text form somewhere? 19:23 DivideByZero I want to make a LED that says SPAWN! 19:24 DivideByZero digiline_send["Text", 19:24 DivideByZero string.char(0] 19:28 * VanessaE hides 19:28 VanessaE Krock: spacing and translations fixed. 19:29 Krock interesting indenting style 19:29 VanessaE guesswork there. 19:30 VanessaE considering how far in I needed to indent 19:30 VanessaE I usually do that sort of thing when I have to continue a string or function across two or more lines. 19:30 VanessaE easier to read. 19:30 Krock sometimes it's then easier to keep the first line empty so that the entire "block" can be treated the same 19:31 VanessaE yeah, thought about that too 19:31 Krock whatever 19:31 VanessaE I often do that with tables 19:31 VanessaE (as in the btnlist one I fixed the translations on) 19:32 VanessaE note: I use a 4-space-long tab, like in MT 19:34 VanessaE but, I'm generally happy with the code :) 19:36 DivideByZero Vanessa: Is there an example of the LED Marquee code somewhere to read? 19:36 Krock VanessaE: 1. is "unified inventory single slot 256px with trash.xcf" still needed? 19:37 DivideByZero The code I put into the luacontroller, not the source code. 19:37 Krock 2. what would you think about an unified_inventory.version = 2 variable to help API compat in the future, or so that this new style can be detected? 19:37 DS-minetest DivideByZero: that's not valid lua 19:37 VanessaE the xcf isn't "needed", per se. just figured it should be published. 19:37 Krock simple variable, but would need a documentation line 19:37 VanessaE a version number might be a good idea yeah 19:37 Krock makes sense yes 19:38 Krock am I right assuming the textures are optipng'd? 19:38 DivideByZero This is what I tried: 19:38 DivideByZero digiline_send["Text", 19:38 DivideByZero string.char(0).."S" 19:38 DivideByZero string.char(1).."P" 19:38 DivideByZero string.char(2).."A" 19:38 DivideByZero string.char(3).."W" 19:38 DivideByZero string.char(4).."N" 19:38 DivideByZero ] 19:38 Krock DivideByZero: seriously please use a paste service 19:38 DivideByZero For something that short? 19:39 Krock the message was delayed automatically. wanted to give an input before it grows any further 19:39 Krock which it.. didn't- 19:40 DivideByZero I'm trying to use the LED Marquee to make a sing that says "SPAWN". I can't find directions to read. 19:40 DS-minetest DivideByZero: functions are called with round parentheses (); lookup what string.char does; ... 19:40 DivideByZero sign = sign 19:40 DivideByZero sing = sign 19:40 DS-minetest !reference DivideByZero 19:41 DS-minetest !pil DivideByZero 19:41 MinetestBot DivideByZero, someone thinks you need to brush up on or learn Lua, please read https://www.lua.org/pil/contents.html or https://www.lua.org/manual/5.1/ 19:41 Krock DivideByZero: someone thinks that you should read the reference manual. https://www.lua.org/manual/5.1/manual.html 19:41 Krock damn it 19:41 VanessaE Krock: no, they're not, but since I only added three and they're tiny, I didn't think about it :) but I'll opti and crush them. 19:41 DS-minetest \o/ 19:41 Krock | 19:41 DivideByZero I have to learn the entire LUA language just to use the LED Marquee sign? 19:42 Krock / \ bad alirgnment gang 19:42 DivideByZero A simple example would get me by. 19:42 DS-minetest lua is very easy, it can be learnt in very few minutes 19:43 Krock well, you could try the commands in command line to ensure they're doing what you want 19:43 DS-minetest try something like digiline_send("the channel", "A") 19:43 DivideByZero ok 19:44 DivideByZero that worked, I see an A now. thank you. :D 19:45 VanessaE Krock: ok, images crushed+opti'd 19:45 VanessaE and xcf deleted 19:45 VanessaE (only optimized the ones that I worked on, of course) 19:45 DivideByZero Now it says "SPAWN!" 19:46 DivideByZero :) 19:46 DivideByZero It doesn't scroll, but I guess that's fine. 19:49 DivideByZero I'll look at the lua guide and see if I can make it do some more stuff. 19:49 VanessaE you just have to turn on autoscroll and set a speed 19:50 DivideByZero Is that done in the lua controller or a config file? 19:50 Krock VanessaE: https://pastebin.com/raw/q3Ce2BvL 19:50 VanessaE DivideByZero: in the lua controller code. 19:50 DivideByZero ok 19:51 VanessaE Krock: oh right, forgot to add the description for the version 19:51 DivideByZero If you have a document on your LED Marquee I'd be glad to have it and read through it. Thanks. 19:53 VanessaE Krock: https://imgur.com/E3pMgOX.png look right? 19:53 Krock yes sure 19:53 Krock feel free to add your own thoughts 19:53 VanessaE nah, I'm good. 19:53 Krock I just kept it to a bare minimum 19:56 VanessaE Krock: since that last image update took off another ~188kB or so, maybe we should just squash the whole PR down into one commit before merging 19:56 VanessaE (otherwise doing so is a little pointless because of the size of the git history :) ) 19:57 Krock the topics are kinda mixed now and grouping those might really take more time than what's worth 19:57 VanessaE hm yeah 19:57 Krock go ahead squash rebase push 19:58 VanessaE nah, I"ll leave the history intact 19:58 VanessaE last chance to say "OH SHIT, WAIT!" :) 19:59 Krock well, I don't feel responsible fixing the mods 19:59 VanessaE no worries, I'll do that. 19:59 Krock u_i in itself seems to function well, and looks good 20:00 Krock likely that another translation string went missing somewhere but that would be noticed sooner or later anyway 20:00 DivideByZero How to ask the lua controller to sleep(1) ? os.execute doesn't seem to be allowed. 20:00 sfan5 you can't do blocking sleeping 20:00 Krock interval counting 20:01 DivideByZero os.execute("sleep " .. tonumber(n)) 20:01 DivideByZero I tried that. 20:01 DS-minetest user interrupts 20:01 Krock DivideByZero: the entire Lua environment is handled in a single thread. what do you think would happen if you'd use sleep? 20:01 VanessaE Krock: yeah, easy to fix later if one shows up. 20:01 DS-minetest Krock: my samer can do sleeps 20:02 Krock DivideByZero: correct! You'd block basically the entire server 20:02 DivideByZero I thought my script would sleep for 1s, but by your concern the whole game would sleep for 1s? 20:02 Krock DS-minetest: but in a separate env or by special interval-based triggers 20:02 sfan5 yes 20:03 DS-minetest Krock: with coroutines, it yields the croutine and continues it after some time via globalsteps 20:03 DS-minetest (doesn't work over server-restarts though) 20:04 Krock ah yes, that's a nice trick 20:04 VanessaE there it is, Krock. merged to master 20:04 VanessaE should I tag it? 20:05 Krock VanessaE: perhaps? I never do tags in general 20:06 VanessaE tagged as "version-2" 20:07 Krock pretty cool. a 16% increase in commits 20:07 VanessaE heh 20:09 Krock VanessaE: we forgot the README 20:09 Krock 5.4.0+ 20:09 VanessaE oh, I'll fix that 20:10 Krock thx 20:11 VanessaE also slid the "version-2" tag up to that commit 20:11 VanessaE (figured it'd only been a minute. :) ) 20:14 DS-minetest wow, that giant spike https://github.com/minetest-mods/unified_inventory/graphs/contributors 20:14 VanessaE :D 20:20 VanessaE Krock: I'm gonna tag "version-1" at d1a4396f, the last commit before the PR was merged. 20:55 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: CI: update configurations for Irrlicht fork 1375eb28b https://git.io/JqmCC (152021-03-09T20:53:17Z) 20:55 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Switch Irrlicht dependency to our own fork 1391c9313 https://git.io/JqmCW (152021-03-09T20:53:17Z) 20:55 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Restore Irrlicht 1.9 support 133579dd2 https://git.io/JqmC8 (152021-03-09T20:53:17Z)