Minetest logo

IRC log for #minetest-hub, 2018-10-25

| Channels | #minetest-hub index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
02:58 xerox123_ left #minetest-hub
02:58 xerox123_ joined #minetest-hub
02:58 rubenwardy left #minetest-hub
03:19 benrob0329 joined #minetest-hub
04:33 FrostRanger joined #minetest-hub
06:22 jas__ joined #minetest-hub
06:35 NathanS21 joined #minetest-hub
06:57 Ruslan1 joined #minetest-hub
07:24 jluc joined #minetest-hub
08:46 tenplus1 joined #minetest-hub
08:46 tenplus1 hi folks
08:46 tenplus1 the add_entity example here is wrong: https://dev.minetest.net/minetest.add_entity
08:47 tenplus1 the {naked = true} part cannot be a table, it has to be a serialized string
10:34 Fixer joined #minetest-hub
10:36 tenplus1 hifixer
11:42 Darcidride joined #minetest-hub
11:51 tenplus1 o/
11:52 Gingerbread_Man o/
11:52 Gingerbread_Man lolz
11:57 calcul0n joined #minetest-hub
11:59 tenplus1 hi calcul0n
11:59 calcul0n hi
11:59 benrob0329 Hello
11:59 tenplus1 hi benrobs
12:00 benrob0329 *looks around* there's more??
12:05 Bobr joined #minetest-hub
12:05 tenplus1 lo bob
12:06 Bobr hiya
12:06 Bobr tenplus1, know what happened to shivajiva ??
12:07 tenplus1 not seen him for a while, might be busy irl
12:07 benrob0329 So..I decided to try Emacs again
12:08 benrob0329 And its nice, except it wants to indent my kV code too much
12:09 * tenplus1 deprecates emacs and pushes vi
12:09 * VanessaE deprecates both :P
12:09 VanessaE nano + geany ftw :)
12:10 VanessaE when I fire up an editor, I want to EDIT, not issue commands or boot up a mini OS.
12:10 * benrob0329 shrugs
12:11 tenplus1 lolol... I use mousepad anyhoo
12:11 benrob0329 Both Emacs and Vim are pretty powerful tbh
12:11 benrob0329 I find that Emacs plugins are better integrated though
12:13 VanessaE tenplus1: once you get used to syntax highlighting (which mousepad doesn't seem to have in any useful form), you'll never go back.
12:13 tenplus1 heh... if it lets me type am good... :P
12:14 benrob0329 I really like my indent helpers and completion
12:14 tenplus1 used an editor with macros, that was soooo nice
12:15 benrob0329 I don't actually know/remember how macros work in Emacs, its been a while since I've uses it
12:18 FrostRanger joined #minetest-hub
12:19 Gingerbread_Man nano and Sublime Text 👌
12:19 Gingerbread_Man you use mousepad? how sad XDD
12:19 benrob0329 Sublime is proprietary
12:20 tenplus1 macros came in very handy when converting schematics into table format... oh man that took forever
12:20 Gingerbread_Man oh sorry is it illegal to like and recommend proprietary software? my bad
12:20 Gingerbread_Man ;P
12:21 tenplus1 lol
12:21 Gingerbread_Man oof
12:22 tenplus1 everyone uses what they;re use to
12:22 benrob0329 Gingerbread_Man: I mean you can, you just might get burned at the stake for it :P
12:23 Gingerbread_Man ah
12:23 VanessaE suggesting proprietary software isn't illegal assuming you're not suggesting piracy.
12:23 VanessaE but you're still a bad person and should be shot :P
12:23 tenplus1 you mean this Windows 10 I'm using on virtualbox might not be legit from the site I downloaded it
12:24 Gingerbread_Man alright so it's only punishable by firey death _if_ its an open source software chat channel?
12:24 VanessaE I....assume not. :P
12:24 VanessaE Gingerbread_Man: no comment :)
12:24 Gingerbread_Man lol
12:27 BuckarooBanzay VanessaE: thx
12:27 VanessaE yw
12:27 BuckarooBanzay hi all :)
12:27 Gingerbread_Man I dislike Windows, but I don't dislike all proprietary software, open source has benifits but proprietary has benifits too, software is a bit of an exception where something can be legitimately free anyway.
12:28 VanessaE Open source all the way, baby.
12:28 Gingerbread_Man it still requires work ofc, but so does building a house, just that houses have other expenses you can't get rid of
12:29 tenplus1 only propriatery I use are games on steam :P
12:30 Gingerbread_Man I go open source where the open source is better, especially in areas where the entire market is a clusterf*** of trashy adware software and the only good stuff is open source, lol
12:30 benrob0329 I mean, that sounds like more freeware
12:30 benrob0329 *most
12:31 Gingerbread_Man yeah lol
12:31 Gingerbread_Man i have no money so I don't usually buy software lol
12:31 VanessaE aside from ads and other malware, the biggest prob I have with proprietary software is that so much stuff is "on the cloud" or otherwise subscription-based, not to mention you're paying for bugs, and paying again for bugfixes.
12:33 Gingerbread_Man oh yeah there are no doubt issues, but both ways can have their own set of problems. I don't want to limit myself to only open source or only proprietary.
12:33 BuckarooBanzay for what is worth: i'll stick to open-source because i can modify/tinker with it as i like :) you can't really do that with propietary software...
12:34 benrob0329 I don't trust the goodwill of random people who want to hide their code, if its running on my computer I ought to know what its doing
12:35 tenplus1 yup
12:40 Gingerbread_Man I guess I'm not as concerned about that, open source definitely wins with security
12:41 VanessaE +1 benrob0329
12:41 tenplus1 +1.1 (always wait for update release) :P
12:42 Gingerbread_Man lol
12:44 * benrob0329 has had to calm down a lot from his early teenage days with the whole FOSS thing, as he was poked at a lot for it and may have been too adiment about it
12:45 tenplus1 lol
12:46 tenplus1 I've been using Ubuntu as my main OS since 8.04 :) now am on 18.10 :D
12:46 Gingerbread_Man lol, I understand the viewpoint, I just don't share it
12:46 Gingerbread_Man oh wow
12:47 Gingerbread_Man I read that wrong at first lol I was like "so you went 6 minor versions... congrats?" lol
12:47 tenplus1 ehehe
12:47 benrob0329 I started out on Mint in probably..2013? I didn't really start until Ubuntu 14.04 was released though
12:49 VanessaE I started with FreeBSD back in about 1994.  Moved to Linux very quickly after (needed a proprietary video driver that FBSD couldn't deal with)
12:49 tenplus1 was a heavy user of virtualbox during 12.04 and had my XP desktop running alongside linux so I could still play games
12:49 Gingerbread_Man I've been on Windows since 2000 HhehehehhHehHeeE Windows sux
12:50 tenplus1 itdoes... used it since 3.0 here... ooooold
12:50 tenplus1 also dos 5.0
12:50 benrob0329 XP was decent though
12:50 tenplus1 yeah, that was one of there better versions, 7.0 was kinda ok too
12:50 Gingerbread_Man I mean I wouldn't mind it so much if it would just not constantly need updating lol
12:51 tenplus1 yeah I hated that, was the 1st thing I disabled...  I prefer manually updating things
12:51 Gingerbread_Man imagine how many terabytes of updates they send...
12:51 tenplus1 and how many break
12:51 Gingerbread_Man yeah
12:52 Gingerbread_Man so many break I would screenshot the history, 80% is failed updates
12:52 benrob0329 Fedora updates as much as Windows, but they don't break thankfully
12:52 benrob0329 Been running Debain on my laptop for a bit though, is nice
12:52 Gingerbread_Man at that point I disabled the update service and locked down the firewall so it couldn't update
12:53 benrob0329 I think you need a better OS tbh
12:53 Gingerbread_Man yeah you're not the first to say that lol
12:53 benrob0329 If you have to forcefully lock it down so it doesn't update itself to death..it has problems
12:54 tenplus1 linux updates are fast though, I could easily update 400mb worth of files and it's done in a few minutes
12:54 tenplus1 winblows has a tiny 5mb driver or service update and it's there forever, needs a restart and slows the systemdown
12:55 Gingerbread_Man *5gb
12:55 Gingerbread_Man ftfy
12:56 Gingerbread_Man I'm happy to make it work until I absolutely have to move at this point, I just have too much stuff I can't replace
12:57 * Gingerbread_Man has a feeling he's going to get a tell message
13:00 benrob0329 Gingerbread_Man: define "stuff I can't replace"
13:05 Gingerbread_Man it's a 2 fold issue, some of the software I have won't run on Linux (some not even through wine) and also I don't particularly feel excited about resetting up and getting used to a new workspace
13:09 tenplus1 I love doing a fresh install now and again :D
13:10 tenplus1 only takes 8 minutes, drivers are already setup for you :)
13:12 Gingerbread_Man it is really fast to install a plain Linux install
13:12 tenplus1 sometimes you dont even need to install, you can boot straight from the USB flash drive and simply use it, isntall packages to test all without touching your hdd or ssd
13:13 tenplus1 I really do recommend Xubuntu 18.01 as it's an LTS release (5 years support), has a full office suite, browser, multimedia etc. all ready to rock
13:14 tenplus1 what software do you need that only works for windows ???
13:15 benrob0329 I recommend Debian because I don't have nearly the issues with broken packages on it that I do on Ubuntu :-)
13:16 tenplus1 eheheh
13:16 Gingerbread_Man a whole list I've already gone over with a bunch of other friends XD if I switch it'll likely be dual booting
13:17 benrob0329 But are we talking games, productivity software, video editors, etc
13:17 tenplus1 lightworks has it's own linux version and is an amazing video editor
13:18 benrob0329 Eh
13:18 benrob0329 Lightworks kinda sucks tbh
13:18 tenplus1 heh
13:18 benrob0329 joined #minetest-hub
13:18 tenplus1 wb
13:19 benrob0329 That was wierd
13:19 VanessaE apparently, so does your connection :)
13:19 VanessaE ;)
13:19 tenplus1 lolol
13:20 benrob0329 If you want a proprietary video editor, DaVinci resolve is probably better
13:21 tenplus1 I think Chris Barnett did a review on editors for linux, or was it sneeky... comparing themn all
13:24 Gingerbread_Man some games but mostly productivity, but with that I'm going to peace out for the night o/
13:25 tenplus1 laters dude
13:28 Gael-de-Sailly joined #minetest-hub
13:28 tenplus1 o/ gael
13:30 * tenplus1 is unhappy that he doesn't have a candy floss
13:34 VanessaE tenplus1: did you ever get a chance to take a crack at redo-ifying the vines mod?
13:34 tenplus1 I put it to the side because it needed plantlife mod to run
13:34 VanessaE ok.
13:34 tenplus1 didnt I give u or tell you about the biomes_lib speedup I tried ?
13:34 VanessaE I don't recall
13:36 tenplus1 move line 243 (the getnode) down to 250
13:36 tenplus1 does all the lite calls first
13:36 tenplus1 and any remove_node is basically clearing the landscape, so a node_swap with air speeds things up a LOT
13:36 tenplus1 and that's on my crappy net-top running 1.8 ghz
13:37 VanessaE er, line 243 is not a get_node() call...
13:37 tenplus1 ooh, might have changed since the version I got
13:38 VanessaE https://gitlab.com/VanessaE/biome_lib/blob/master/init.lua#L243
13:39 tenplus1 move line 236 to just after 243
13:39 tenplus1 does a lot of variable checks 1st before touching get_node
13:39 VanessaE ok
13:40 tenplus1 and 270 to 283 is a lot of remove_node's... these can be changed with swap_nodes or 'air' that draw quicker
13:40 VanessaE ok.
13:40 tenplus1 is the vine mod working ??
13:41 VanessaE sure, it works.  it's just slow and gets stupid at times
13:41 tenplus1 heh, stupid as in how ?
13:41 tenplus1 any obvious bugs ?
13:41 T4im joined #minetest-hub
13:41 VanessaE I honestly can't remember any more than that.
13:42 tenplus1 heh, will check into it
13:42 VanessaE it's one of those mods that's just over complicated for what it's supposed to dso
13:42 VanessaE do*
13:47 tenplus1 I like the idea of only being able to harvest vines if you use shrears :D
13:51 VanessaE tenplus1: https://gitlab.com/snippets/1769061
13:52 tenplus1 :)
13:52 tenplus1 check generation speeds with that and see what you get now :D
13:52 VanessaE worth a shot I suppose.
13:52 VanessaE :)
13:54 VanessaE it does seem to be faster
13:56 VanessaE (I have a test world just for this purpose, in fact)
13:56 tenplus1 unless the node has a timer or metadata, swap_node typically handles it better
13:57 VanessaE pushed to master
13:57 VanessaE guess I better do the same for plantlife's mods.
13:58 tenplus1 my Fire Redo mod uses this method to remove flames after timer stops
13:59 T4im you can localize that {name ="air"} into a constant outside the function; it never changes there; it avoids reinitializing that table 11 times each search iteration
14:00 tenplus1 I added a quick function to do just that :D
14:00 VanessaE good idea.
14:01 tenplus1 it's used a lot so every little helps
14:17 VanessaE ok, let's see how the modified plantlife behaves..
14:18 tenplus1 tidied vines code, spaced out and down to 10kb only
14:20 tenplus1 testing
14:21 tenplus1 am assuming that registering a vine with biomes_lib creates an abm specifically for it ?
14:23 VanessaE for growing, yes
14:23 VanessaE spawning at mapgen time uses the deferred event method.
14:24 tenplus1 rope box recipe cant be used with vine items
14:24 tenplus1 onlyvines themselves
14:25 VanessaE yeah see.  vines is a bit of a PITA.
14:25 VanessaE plus it doesn't coordinate with moreblocks "rope" item
14:26 * Wayward_One peeks in
14:26 tenplus1 castle mod has it's own rope also
14:26 tenplus1 hi wayward
14:26 Wayward_One Hello :)
14:26 VanessaE imho, vines should defer to whichever of those is older.
14:26 VanessaE (moreblocks I guess)
14:28 tenplus1 so maybe adding a recipe for ropebox that uses both vines and moreblocks rope ?
14:28 VanessaE there, biome_lib, plantlife, and moretrees all pushed with swap_node() and that air tweak T4im suggested.
14:28 tenplus1 sweet :P
14:29 VanessaE imho, just don't register three types of ropes.
14:29 VanessaE moreblocks came first, so castles and vines should be using its rope item, not their own.
14:29 tenplus1 vines has it's own rope node because they cannot be dug
14:30 VanessaE yeah, and that's just dumb.
14:30 tenplus1 once the ropebox is dug it removes all rope below... cant use moreblocks rope for that sadly
14:30 VanessaE use it as a craft item then
14:30 benrob0329 Then change moreblocks?
14:30 tenplus1 the vines:vines item is never used at all in the mod, it's registered for nothing
14:31 VanessaE and always give *it* whenever one should be given a rope for any reaason.
14:31 VanessaE -a
14:31 tenplus1 yeh, will have ropebox craft with 1 wood and 8x vines or 8x rope so it works eithe rway
14:31 lumberJ joined #minetest-hub
14:31 tenplus1 only putting 2 below is kinda cheaty since it'll drop to any length
14:31 tenplus1 hi lumber
14:31 lumberJ hey tenplus1
14:33 VanessaE anyways, update your plantlife, moretrees, and biome_lib and give 'em a try.  let me know if I screwed anything up with these latest changes.
14:34 lumberJ im trying to get a server running on my local network here but something is causing my player to timeout after a minute or so.
14:35 lumberJ probably a setting somewhere i need to adjust but i'm not having much luck tracking down exactly what is causing the timeout
14:35 VanessaE tenplus1: as for vines, I already did the swap_node and such in my copy as a matter of course, but I'll replace mine with yours anyway.
14:36 VanessaE (when it's ready)
14:36 tenplus1 no worries :) will take my time and see what I can do with it
14:36 VanessaE ok,.
14:37 tenplus1 when digging vines with the shears, do you want players to end up with a vines item to be used in crafting ? or have the actual vine itself so it can be placed on things ?
14:37 VanessaE I'll wait to push the next Dreambuilder build until yours goes in.
14:37 VanessaE you know,...
14:37 VanessaE I hate that whole shears ide.a
14:38 tenplus1 really ? aww, that was one of the things I liked about vines :)
14:38 VanessaE why not just give the user one specific vine item no matter how they dig, or which kind of vine they dig?
14:38 VanessaE ?
14:38 VanessaE and use THAT item in crafts
14:38 tenplus1 yeah, and if they wanna build with certainvines they can easily go into crative
14:38 tenplus1 +100
14:38 VanessaE (and it can be one of the existing vines, perhaps vine side middle)
14:39 tenplus1 shall I remove the shears ?
14:39 tenplus1 just have it diggable ?
14:39 VanessaE yes, unless you see a good reason to keep it.
14:40 tenplus1 and use axe to dig vines quicker ? make them sloooow to dig by hand ?
14:41 VanessaE hm
14:41 VanessaE maybe a sword to dig fast?
14:41 tenplus1 k
14:46 VanessaE I wish I could remember bas080's justification for the extra complexity,.
14:46 VanessaE all I can recall is something to do with climbing up a wall.
14:47 tenplus1 it detects moreblocks and will use rope in recipe for rope box...
14:47 tenplus1 all vines drop vines:vines item when cut by sword or shears (will keep as item for those who have it already)
14:48 VanessaE it should detect castles and not register its ropebox at all imho.
14:48 VanessaE (and just alias to it)
14:48 tenplus1 castle has been split into a bazillion mods already
14:48 VanessaE I know
14:49 VanessaE https://github.com/minetest-mods/ropes/tree/eec546558b8496d4d5a2adb833e77630b482e05d
14:49 VanessaE I believe this is the right sub-mod
14:50 tenplus1 -.-
14:50 VanessaE (well lose the commit ID, go to the master branch)
14:51 * VanessaE pokes Calinou about the rotation bugs in moreblocks
14:59 GreenDimond joined #minetest-hub
14:59 FrostRanger joined #minetest-hub
15:03 tenplus1 we have roots also vanessa that shouldnt return vines when dug, should I add a root item, or just have both collect a "twine" item
15:04 VanessaE make them return ropes :)
15:04 * VanessaE hides
15:04 tenplus1 hehehe
15:05 tenplus1 will rename it to twine
15:05 tenplus1 worksfor both
15:05 VanessaE well
15:05 VanessaE remember we have a "string" item in mtg
15:05 VanessaE but that's cotton.
15:05 VanessaE twine afaik is plastic
15:06 tenplus1 ah, ok will stick with vine for now...roots can be tangly like a vine
15:06 GreenDimond twine is thin rope..
15:06 VanessaE or is rope just thick twine? ;)
15:06 GreenDimond > "strong thread or string consisting of two or more strands of hemp, cotton, or nylon twisted together."
15:06 VanessaE GreenDimond: so, did Skyblock kick your ass? ;)
15:07 GreenDimond No, it kicked my patience in the ass.
15:07 VanessaE heh.
15:07 tenplus1 will cahnge license to MIT
15:07 VanessaE what was it before?
15:07 GreenDimond That 100 dirt quest on level 2 is funny
15:07 tenplus1 wtfpl
15:08 VanessaE GreenDimond: trust me.  you WILL need all that dirt.  and then some.
15:09 VanessaE though there's that "silt" stuff, the purpose of which I'm still not sure about.
15:09 GreenDimond I know but "Produce and dig 100 dirt without placing any" which is likely to make me compost it but 1) what if I want to build something "your dirt quest has been resetted you noob" (wonderful grammar 10/10) and then all I had to do was obtain 20 more dirt, build up a pillar, and dig it all :P
15:09 VanessaE heh yeah, that got me once or twice.
15:09 VanessaE so I just resolved not to build anything until after I got past that one.
15:10 xerox123 ^
15:10 VanessaE get back on, find your way to my island if you can.  you can see what I've built entirely within the rules of the game (well you can reach all the above-ground stuff anyway, my basement level is restricted-access)
15:11 GreenDimond Cant right now
15:11 GreenDimond I need to go places in like 4 minutes :c
15:11 GreenDimond I dont remember how rnd's skyblock works, does it act like shivajivas where you get fly at a certain level? Or is that not "hardcore" ;p
15:12 benrob0329 I should hop on the skyblock at some point
15:13 benrob0329 Build a beautiful dirt hut
15:14 benrob0329 VanessaE: how long before a road system gets built, or two islands merge?
15:18 VanessaE actually, that's already gotten started
15:19 benrob0329 Darnit, I'm late to the party
15:20 tenplus1 VanessaE: https://notabug.org/TenPlus1/vines
15:21 Fuchs joined #minetest-hub
15:21 tenplus1 o/ Fuchs
15:23 tenplus1 also VanessaE, did you know that FaceDeer has already clones the Vines mod (without ropes) https://github.com/FaceDeer/vines/
15:24 VanessaE ?
15:24 tenplus1 he split bas80's into vines and ropes, 2 separate mods, still uses shears tho
15:34 VanessaE what's his fork got that yours won't? :)
15:36 tenplus1 no clue, gives me a headache reading his code
15:36 VanessaE heh
15:37 tenplus1 vines overrides leaves so when they are dug any vines below disappear
15:37 tenplus1 do we really need this ?
15:37 VanessaE bas080's mod is supposed to do that, too
15:37 VanessaE it's a handy feature.
15:37 VanessaE however,
15:38 tenplus1 only removes the one's below the leaves
15:38 VanessaE the attached node feature should handle that already shouldn't it?
15:38 tenplus1 not the whole vine like when you dig it by hand
15:38 VanessaE (i.e. like torches)
15:38 VanessaE huh.
15:38 VanessaE imho if you remove what's holding it up, the whole vine should drop.
15:39 tenplus1 yeah, am removing the override and going attached_node
15:39 tenplus1 thing is they drop as item instead of going in inventory, that ok ?
15:39 VanessaE that's fine
15:39 VanessaE that's what item_tweaks is for.
15:39 VanessaE also, ffs don't grow them on default trees
15:40 VanessaE only on jungle trees (default and mine)
15:40 VanessaE well, and on willows.
15:40 tenplus1 checking
15:42 tenplus1 k, so remove default leaves from the list
15:43 VanessaE definitely.
15:43 VanessaE everyone who's ever thought to mention it hates seeing vines on default trees
15:44 VanessaE s/it/it to me/
15:45 tenplus1 https://notabug.org/TenPlus1/vines updated
15:46 VanessaE \o/
15:47 tenplus1 attached nodes, no more overrides, all vines drop vine item which works with crafts, autodetects moreblocks and uses rope for recipe also
15:49 VanessaE plantlife updated accordingly.
15:49 tenplus1 lol
15:49 tenplus1 will tinker with it another day, see if I can remove the middle and bottom nodes and just have 1
15:50 VanessaE right.  idk why bas080 has those
15:50 tenplus1 prolly so the roots are the only one's growing down, the rest is idle...
15:51 VanessaE maybe.
15:51 tenplus1 added a dig_down function to check for group:vine and remove anything below it
15:51 tenplus1 laters folks o///
15:51 tenplus1 left #minetest-hub
15:51 VanessaE byw
15:51 VanessaE fkklsjlkg
15:52 sfan5 agree
15:52 VanessaE heh
16:18 benrob0329 joined #minetest-hub
16:29 garywhite joined #minetest-hub
16:40 rubenwardy joined #minetest-hub
16:41 rubenwardy o/
16:42 benrob0329 Hello rubenwardy
16:42 VanessaE hey.
16:43 VanessaE heh.
16:53 IhrFussel joined #minetest-hub
16:54 IhrFussel Hi guys...if I want my formspec to be completely black (no alpha) do I need to add this after size[]? bgcolor[black#FF;true]
16:56 IhrFussel "For named colors the hexadecimal string representing the alpha value must (always) be two hexadecimal digits." it doesn't say which value means no alpha so I'm guessing FF but maybe it also means '09'?
16:56 sfan5 do we have any named colors?
16:56 sfan5 either way just use #000 instead
16:56 ShadowBot sfan5: Error: Delimiter not found in "HTTP Error 404: Not Found"
16:56 rubenwardy lol
16:57 IhrFussel Yes if I read it correctly formspecs use the same colors as minetest.colorize() so names are supported
16:57 IhrFussel So #00 means there is no transparency?
16:58 ShadowBot IhrFussel: Error: Delimiter not found in "HTTP Error 404: Not Found"
16:58 rubenwardy no, #ff
16:58 sfan5 #000 is short for #000000 which is short for #000000ff
16:58 ShadowBot sfan5: Error: Delimiter not found in "HTTP Error 404: Not Found"
16:58 ShadowBot sfan5: Error: Delimiter not found in "HTTP Error 404: Not Found"
16:58 rubenwardy I'm guessing based on common convention
17:02 longerstaff13 #00000000000000 (test) :P
17:02 ShadowBot longerstaff13: Error: Delimiter not found in "HTTP Error 404: Not Found"
17:13 shivajiva joined #minetest-hub
17:32 CWz joined #minetest-hub
19:07 garywhite can't run in windows 1803? What on earth does that mean?
19:19 benrob0329 Windows 10, 18.03 update I'd assume
19:43 IhrFussel allow_metadata_inventory_put = function(pos, listname, index, stack) << no player accessible?
19:43 luk3yx joined #minetest-hub
19:43 T4im it is
19:44 T4im allow_metadata_inventory_move = func(pos, from_list, from_index, to_list, to_index, count, player),
19:44 T4im woops sorry; allow_metadata_inventory_put = func(pos, listname, index, stack, player),
19:44 IhrFussel But put and move are not the same I think
19:44 T4im thus the correction
19:44 T4im :D
19:45 IhrFussel Ah so the mod just (omitted?) the player there
19:46 T4im this is why i recommend keeping unused parameters around in functions; because it often leads to people finding different ways getting those parameters because they aren't aware of it already being passed
19:47 T4im different ways means unnecessary additional lookups, hacks, bugs :)
19:47 IhrFussel How do I set the owner of a node in on_construct()? I guess I need to use another callback for that
19:47 T4im you cannot at the moment
19:49 T4im after_place_node should work
19:49 T4im or if you have a custom on_place already, then in there (but avoid it if you don't have to use it)
20:00 IhrFussel I know on_place() messes with taking from itemstack etc^^ I use after_place_node() ... let's see if it works
20:03 IhrFussel can_dig() has no description whatsoever in the API
20:03 IhrFussel I'm guessing to avoid digging I use return false?
20:07 T4im can_dig is used for example to abort digging a filled chest, to picture it better
20:08 T4im yes, return false/true accordingly
20:08 IhrFussel Can I use it for owner checks too?
20:08 T4im sure, just remember that player can be nil
20:20 IhrFussel rubenwardy, black#ff doesn't work "invalid color" error ... black#09 doesn't work either...so I'm guessing it#s just possible in 5.0.0 or there is a mistake in your modding book
20:20 luk3yx IhrFussel: "black#ff"? Don't you mean "#000"?
20:20 ShadowBot luk3yx: Error: Delimiter not found in "HTTP Error 404: Not Found"
20:20 rubenwardy Where did you read that?
20:21 rubenwardy I'm pretty sure that's invalid
20:23 IhrFussel I didn't know there was a difference between colorspec and colorstring...that is quite confusing
20:23 T4im IhrFussel: it's a hexadecimal representation of red x00 green x00 blue x00 values put together as #000000; and that can be optionally written short as #000
20:23 ShadowBot T4im: Error: Delimiter not found in "HTTP Error 404: Not Found"
20:23 ShadowBot T4im: Error: Delimiter not found in "HTTP Error 404: Not Found"
20:24 IhrFussel Anyway... I coded it now like this bgcolor[0xFF00FFFF;false] and the formspec is still transparent
20:24 rubenwardy Colours are a mess tbh
20:25 IhrFussel Is it wrong to just put that after the size[] part?
20:25 sfan5 IhrFussel: replace 0x with #
20:25 T4im best to show the entire string
20:25 sfan5 rubenwardy: the "color string" thingy is part of lua_api.txt
20:26 sfan5 I'm skeptical of that part working at all
20:27 IhrFussel T4im, the formspec is pretty much size[]bgcolor[]label[]label[]button_exit[]"
20:27 IhrFussel It works now! Thanks sfan5
20:29 benrob0329 joined #minetest-hub
20:31 IhrFussel lua api says * Sets background color of formspec as `ColorString` ... so colorstring is either the # form or name correct?
20:32 sfan5 ColorStrings are defined later in the documentation
20:32 IhrFussel And the bit about setting alpha by appending #[hex] after the colorname seems to be a mistake in rubenwardy's version
20:33 IhrFussel Wait...it even says that in the official API... To specify the value of the alpha channel, append `#AA` to the end of the color
20:33 IhrFussel name (e.g. `colorname#08`). For named colors the hexadecimal string
20:33 IhrFussel representing the alpha value must (always) be two hexadecimal digits.
20:35 sfan5 that stuff has been in there since at least 2015
20:35 sfan5 my guess: it was added to the docs but never implemented
20:35 rubenwardy IhrFussel: wtf are you talking about
20:36 rubenwardy if you're talking about the lua_api.html, LOOK AT THE TOP OF THE PAGE
20:37 IhrFussel I thought it's just your version but it is on github too...it's a (likely) unimplemented feature that was wrongly documented
20:37 rubenwardy my version is the github version
20:37 rubenwardy I don't have a version
20:37 rubenwardy it's completely unedited
20:37 rubenwardy it's not even really part of the book
20:38 T4im IhrFussel: red x00 green x11 blue x22 values and optionally alpha values x33 put together as #112233 or #11223344; and that can be optionally written short as #123 (not sure if there is a shorthand including alpha, but if there is, it's #1234)
20:38 ShadowBot T4im: Error: Delimiter not found in "HTTP Error 404: Not Found"
20:38 ShadowBot T4im: Error: Delimiter not found in "HTTP Error 404: Not Found"
20:38 ShadowBot https://github.com/minetest/minetest/issues/123 -- crashes after about 10 seconds on game start
20:38 ShadowBot https://github.com/minetest/minetest/issues/1234 -- Client side caching of mapblocks
20:39 IhrFussel T4im, yes but the API states that you can also set alpha via "black#01" for example
20:39 T4im ah, ok
21:17 Calinou https://www.unvanquished.net/?p=1174
21:38 Ruslan1 joined #minetest-hub
21:40 T4im i really like that article :)
21:44 T4im "As you see, building a free and open source game is an exciting story on itself ! That’s amazing to see how we build stuff over other great guy’s work ! […] even the smallest bit […] has its own story with many great people crossing their paths. Because the care for open source is the care for people and their work …"
21:48 garywhite joined #minetest-hub
21:48 garywhite joined #minetest-hub
22:47 GreenDimond joined #minetest-hub
22:49 garywhite joined #minetest-hub
22:49 garywhite joined #minetest-hub

| Channels | #minetest-hub index | Today | | Google Search | Plaintext