Minetest logo

IRC log for #minetest-hub, 2018-07-08

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

All times shown according to UTC.

Time Nick Message
00:00 * xerox123_ returns to melting in bed under the heat
00:02 tumeninodes haha
00:03 Shara The horrors!
00:03 tumeninodes and.. all stone-ish nodes are covered https://imgur.com/a/H8Lfvzz
00:03 Shara Copying my mods before I made them!
00:03 Shara Whatever next!
00:03 tumeninodes :P
00:03 tumeninodes I know, I suck
00:03 ManElevation joined #minetest-hub
00:04 tumeninodes hmmm, what to do with it now
00:04 Shara I don't know?
00:05 Shara Turn it into one unified API providing thingy and add to HW for me so I can be lazy and not add it all myself? :D
00:05 Shara Actually you can write all my code for me from now on?
00:08 xerox123_ Sounds like an awesome deal
00:09 tumeninodes ummmmmmm
00:09 tumeninodes I thought you wanted it to... you know.... work? : /
00:09 tumeninodes https://github.com/TumeniNodes/walls
00:11 tumeninodes still stuff to do on it though
00:12 tumeninodes and I did it all in my text editor :P  it has not even seen Geany yet
00:13 Shara Hmm, so you just pasted my code into the original walls mod?
00:13 tumeninodes slightly... and yes, I am going to add credit to you for that
00:14 tumeninodes please don;t kill me... I've half my life ahead of me... (and behind me)
00:14 Shara I didn't use that mod at all
00:14 tumeninodes but, you also know how to code
00:14 Shara I will probably build a version based directly from hedges instead. Not sure yet
00:14 Shara Pfft. I've seen your PRs and.. I actually don't believe that you can't :D
00:15 tumeninodes ?0_0?
00:15 Shara :D
00:16 tumeninodes copy/paste ... the language of genius
00:17 tumeninodes I am sorry I stole your code though but..., I am, afterall... a scoundrel
00:17 tumeninodes ; )
00:17 Shara It is not theft when it's got a pretty permissive license on it :D
00:18 tumeninodes ok... "sleazy" then
00:18 tumeninodes :D
00:18 tumeninodes walls could have used this for some time
00:19 Shara Though technically my code is under a different license so you shouldn't do something that is causing you to relicense it... but
00:19 * Shara shrugs
00:19 tumeninodes wait, what?
00:20 tumeninodes figuring out how I should add it...
00:20 Shara I have.. no idea.
00:21 Shara Licenses annoy me in general. I wish they weren't needed, but people are people.
00:21 tumeninodes mmmmm, could point out the lines of code which are under the MIT
00:21 tumeninodes I think that should work
00:21 tumeninodes along with your (C)
00:22 tumeninodes though, you really should read up on copyrights...
00:22 Shara I've read more about them than I care to, really.
00:23 Shara Pretty much the only requirement of my code in this case is that you keep to that license
00:24 tumeninodes but yes, how do you feel about it being done that way? I can add info related to the MIT license, which references the lines of the code i.e./ line 24 - 45 (and so on)
00:25 Shara I don't actually mind though, and am quite happy for you to just release that version under the existing license for walls. It's more, not less restrictive
00:25 tumeninodes but, the bits of code under MIT, should remain as
00:25 Shara But my version is still there under the original license so people can take it from whichever
00:26 Shara Yes, but my code, so I can allow it to be released under other things if I want
00:26 tumeninodes can you tell I am embarrassed because I realize I really should have asked you first : /
00:26 Shara It's fine really :D
00:27 tumeninodes you are generous to a fault
00:27 tumeninodes :)
00:27 tumeninodes I will work it out and make sure it is covered
00:27 Shara Na, I'm happy to see it getting reused for things already
00:28 Shara It bugs me that MTG walls doesn't do this
00:28 tumeninodes I gobble the good shit right up
00:28 tumeninodes ... then take this,m and make it so
00:28 tumeninodes nudge, nudge
00:29 Shara Heh, well, I am still waiting to see if anyone rips holes in that code :D
00:29 tumeninodes hahaha
00:29 tumeninodes I love it, holes n all
00:30 Shara Then my job is done :D
00:31 tumeninodes ya know, I could head into Boston Monday and establish a new hybrid license [MIT/LGPLv2.1+]
00:31 tumeninodes :D
00:31 Shara haha
00:32 tumeninodes imagine the process to add the '/' ????
00:32 tumeninodes I'd probably be assassinated by lunch
00:33 tumeninodes Ima step outside for a few (our heatwave broke last night) then I'll come back in and slap the license around a bit
00:33 rubenwardy so
00:33 tumeninodes la
00:34 tumeninodes afk
00:34 rubenwardy I'm using jekyll for my website and also my blog
00:34 rubenwardy I want to have blog posts be listed on my main website
00:34 rubenwardy Jekyll can't do this by default
00:34 rubenwardy as seperate site
00:34 rubenwardy what do I do? This:  wget -O _data/blog.json htt://blog.rubenwardy.com/feed.json
00:34 rubenwardy and done
00:35 rubenwardy XD
00:37 rubenwardy just add that to a cron job, and sorted
01:12 ManElevation_ joined #minetest-hub
01:48 Ruslan1 joined #minetest-hub
01:53 tumeninodes left #minetest-hub
03:03 paramat joined #minetest-hub
03:17 Calinou joined #minetest-hub
03:21 benrob0329 joined #minetest-hub
04:46 ssieb joined #minetest-hub
05:29 lumberJ joined #minetest-hub
05:37 behalebabo joined #minetest-hub
07:44 lumberJ joined #minetest-hub
08:06 Krock joined #minetest-hub
08:29 CWz joined #minetest-hub
08:58 Krock BillyS: https://github.com/SmallJoker/exchange_shop (if you'd like to check it out, maybe locally)
09:22 Krock joined #minetest-hub
09:40 jluc joined #minetest-hub
10:17 entuland joined #minetest-hub
10:37 Fixer joined #minetest-hub
10:56 AFKTomato joined #minetest-hub
11:02 Darcidride joined #minetest-hub
11:11 ManElevation_ joined #minetest-hub
11:22 Raven262 joined #minetest-hub
12:56 Calinou is it possible to change the color/texture of buttons in Lua formspecs?
12:56 Calinou (with text on them)
13:02 Krock joined #minetest-hub
13:23 rubenwardy Calinou, not reallt
13:23 rubenwardy You can use image buttons
13:23 Calinou I see
13:23 rubenwardy And provide your own background
13:24 Calinou can you use your own background with text on top?
13:37 entuland joined #minetest-hub
13:47 Gael-de-Sailly joined #minetest-hub
13:57 Krock joined #minetest-hub
14:20 longerstaff13 o/ Krock
14:20 Krock o/
14:25 BillyS Its a Krockadile!
15:15 AndroBuilder joined #minetest-hub
15:17 ManElevation_ joined #minetest-hub
15:22 rubenwardy ewww   https://github.com/minetest/contentdb/issues/103 https://github.com/gitpython-developers/GitPython/issues/777
15:34 IcyDiamond I want to create a village mod for minetest based on millenaire from minecraft
15:34 IcyDiamond is there a good way to generate villages?
15:34 Krock if math.random() < 0.01 then
15:34 Krock place_schematic_here() end
15:34 IcyDiamond schematics huh, i havent looked into those yet
15:35 IcyDiamond i guess i should
15:58 IhrFussel joined #minetest-hub
15:58 IhrFussel Is find_node_near() with a radius of 8 every 0.5 secs heavy?
16:03 Krock measure it
16:07 IhrFussel Radius of 8 means check 8x8x8 nodes right? That sounds like a lot
16:08 Sokomine it certainly sounds heavy. what do you need it for?
16:09 Sokomine IcyDiamond: ah. i'm the creator of the mg_villages mod. it adds villages at mapgen time. that's very diffrent and only a tiny part of what milleniarie does
16:10 Sokomine IcyDiamond: i've also started the mod "citybuilder" which allows players to place chests and thus decide which building ought to go there. it has rudimentary support for conditions - i.e. a house of level 2 requires a church and can house 2 people etc.
16:10 Sokomine there are sadly no mobs included yet, and the mod is rudimentary. citybuilder can't really be played yet
16:11 Sokomine Krock: no. place_schematic_here() is far too general and not a good solution for house placement. the normal place_schematic works to some degree for very small houses. but even then there are many limits. there's a reason for why i wrote handle_schematics
16:12 Krock chaos map :D
16:13 Sokomine IcyDiamond: i've only seen millenaire on their web page and on youtube videos. but it does look like a very intresting concept. i'd want more detailled houses though. i've created..er...about 8 level for a house from tiniest house to big multi-generation-family-home plus a mine starting from hole in the ground to huge minig complex. that's all in citybuilder. it needs a lot more buildings with
16:14 Sokomine diffrent levels
16:14 Sokomine and it needs mobs that actually build the stuff
16:15 Krock nice mod. will check whether it also works with a custom heightmap from a Lua mod
16:17 Sokomine probably not if the mod modifies the scenery and the heightmap isn't updated
16:17 Sokomine it's quite fun to walk on such a map. sharas hedges also look quite good in this context
16:19 IhrFussel Sokomine, trigger for this when riding carts minetest.chat_send_player(self.driver,minetest.colorize("purple","Approaching next station! Hold down D key (PC) or right arrow (mobile) to halt."))
16:21 IhrFussel It only runs while someone is riding a cart so not that often...but I reduced it to radius 5 per 0.3 secs
16:22 Sokomine IhrFussel: ah, carts. i really wish they'd be handled client-side
16:23 Sokomine one of the problems mobs moving about with a purpose will face is similar to carts riding the (unloaded) world...would need a master that knows where the object currently is
16:23 IhrFussel We (ab)use carts for railways and we need an indicator for the next station since players will just skip the station if they don't hold right
16:27 IhrFussel A vector.distance check with hardcoded station positions would probably be more lightweight
16:31 Sokomine that's right. just hard to implement right now
16:32 IhrFussel Wait, no it would not be lightweight...I would have to check the distance to every station at once...nvm
16:36 IhrFussel WAIT 8 is wayy too much!
16:36 IhrFussel Even 5 is too much
16:36 paramat joined #minetest-hub
16:36 MinetestBot paramat: Jul-08 11:13 UTC <deltasquared> yet other code begins executing immediately, and this is a singlenode world. why does it take *two whole seconds*, that suggests someone put a delay in as a half-assed fix
16:37 IhrFussel It will check in any direction for the trigger node... so from the cart as center it really checks radius*2 in rail direction
16:41 paramat IcyDiamond for village house placement use the lua voxel manipulator and use 'place schematic on vmanip'
16:42 Krock it rather checks radius*2+1 due to center
16:43 Sokomine IhrFussel: that's why the client ought to do that....
16:45 Sokomine paramat: that may not cover all that's needed for house placement. it would have been great to have that at the beginning, but still...such things as calling on_generated still have to be done manually?
16:52 paramat yes if doing villages to a complex degree i can understand you using your own methods, but 'place on vm' is fine to a degree
16:52 paramat 'on generated' is not called manually though (?)
17:01 AndroBuilder joined #minetest-hub
17:10 Ruslan1 joined #minetest-hub
17:19 Sokomine probably not called...
17:20 Sokomine however, what minecolonies seems to do seems to be much more than the initial placement of a few houses
17:20 Sokomine i'd really love to see that in mt. would love to play it. can't in mc due to that not running on my machine
17:20 rubenwardy !mod [minecolonies]
17:20 MinetestBot rubenwardy: Could not find anything.
17:21 rubenwardy is that a MC thing?
17:21 rubenwardy I've wanted to make a colony mod for a long while
17:21 rubenwardy like, have decision tree based NPCs
17:21 rubenwardy which have needs and can perform jobs
17:21 rubenwardy dwarf fortress style
17:21 rubenwardy however, before doing this I'd like to improve npcf
17:21 rubenwardy which is meh
17:25 Sokomine rubenwardy: my citybuilder mod is supposed to be a basis for such things. but: no mobs included. nobody who'll build the structures
17:25 rubenwardy there's a famous computer scientist that said something along the lines of "every good program has many smaller programs in it"
17:25 Sokomine i've started with some nodes that may act as an interface. in the end mobs will only have to search for scaffolding nodes and dig-here-indicators and call a function in those. all they'd have to do is walk there, call the function...
17:25 rubenwardy anyone know which and what the exact quote is?
17:27 rubenwardy ah
17:27 rubenwardy Inside every large program, there is a small program trying to get out.  --C.A.R. Hoare
17:50 xerox123 how much longer will the weather be like this ffs
17:51 rubenwardy idk
17:51 rubenwardy it sucks
17:51 rubenwardy Cafe Nero is air conditioned at least
17:53 * xerox123 treks down to a Cafe Nero
18:07 rubenwardy hey Krock, sofar: you're opinioned
18:07 rubenwardy would you be willing to read a modding book chapter on code architecture?
18:07 Krock read?
18:08 rubenwardy to ~rip me a new one~ give feedback?
18:08 Krock I think you mean review
18:08 rubenwardy err, same thing?
18:08 Krock yes, except that you answered faster than me
18:09 Krock oh well sure, can do that. Might not get done if it's too long
18:11 rubenwardy lol
18:11 rubenwardy well, it's 1000 words
18:11 rubenwardy if that makes a difference
18:11 rubenwardy there's pretty pictures though
18:12 rubenwardy well
18:12 rubenwardy a pretty diagram
18:12 rubenwardy well
18:12 rubenwardy a diagram
18:13 rubenwardy here it is: https://i.rubenwardy.com/16Cjq.png
18:13 rubenwardy it's rather idealistic so I've included a compromise which I see a lot
18:14 rubenwardy not sure what else to cover, it's rather hard to write aout really
18:15 rubenwardy plus the design depends on what the mod is. MVC is more suited for `crafting` than moreblocks
18:18 Krock "but to instead make you think" -> "to give you an idea" or "inspiration"
18:18 Krock each literature makes you think, but the actual goal of it is different
18:21 Krock "These are 3 separate areas that you can separate." could be more useful than stating the obvious
18:21 Sokomine hmm. rsyncing my mt-cache-folder takes ages...
18:21 rubenwardy lol
18:21 rubenwardy that sounds like a bad idea
18:21 rubenwardy hmm
18:21 * Sokomine throws some surplus files at rubenwardy :-)
18:23 Krock "land.get_by_name" and "land.show_create_formspec" have both "name" as argument, it is unclear whether it's an area name or the player name
18:27 Krock "You should avoid having any calculations more complex than.." suggestion: "You should keep the amount of calculations [and processing] to a minimum." because I'm not sure how helpful the "1 + 1" example is there
18:29 Krock "The controller should have no knowledge.." might be helpful to have a code reference here, since it's already provided as an example above
18:32 rubenwardy thanks for the feedback
18:32 rubenwardy would you say what's there is accurate?
18:33 rubenwardy how relevant is it to Minetest modding, and do think anything else should be covered?
18:33 rubenwardy how well does it match up to your mod design practice?
18:33 * rubenwardy applies your suggestions
18:34 Krock I'm thinking on how to simplify the text below the image
18:35 Krock it sounds way too complicated but I struggle finding the right words
18:37 rubenwardy Shara is pretty good at this
18:37 rubenwardy idk
18:39 Shara Huh what wait I am?
18:40 Shara I can probably reword bits at some point. But that's annoying to do when you send only an image to review from :D
18:40 Shara Also heat death
18:40 Krock "It is important that each node [graph box above] only communicates with its direct neighbours to ensure compatibility when the internal or external data format changes." (or something like that)
18:41 rubenwardy loool
18:41 rubenwardy existing is: It’s very important that the view doesn’t call any functions in the model, and has the model never calls any functions in the controller or view. Each part only calls the part next to it, no exceptions. This means that you could change the view without changing the model, and vise-versa. It also means that the view could be changed to use a different Minetest API without changing the model or controller.
18:41 rubenwardy hmm
18:41 rubenwardy I need a staging env for mmb
18:51 Sokomine are mvc approaches really used in a relevant way in mt modding?
18:53 rubenwardy It is important that each area only communicates with its direct neighbours,
18:53 rubenwardy as shown above, in order to reduce how much you need to change if you want to
18:53 rubenwardy change an areas internals or externals. For example, to change the formspec you
18:53 rubenwardy would only need to edit the view. To change the view API, you would only need to
18:53 rubenwardy change the view and the controller, but not the model at all.
18:53 rubenwardy oops
18:53 rubenwardy Sokomine: my capitalism game uses
18:53 rubenwardy it
18:53 rubenwardy but a variation is used as given in API-view
18:53 rubenwardy err
18:53 rubenwardy it fairly commonly used as given in API-view
18:54 rubenwardy people don't tend to test their mods anyway
18:54 rubenwardy so mix in API calls everywhere
18:55 rubenwardy afk
18:57 Sokomine ah. nice to hear that your game progresses and got documentation
18:57 * Sokomine hides before someone asks for documentation for the villages
18:59 rubenwardy My game doesn't have documentation!
18:59 rubenwardy The accusation
19:02 rubenwardy Documenting my projects, ha
19:02 rubenwardy Dmms
19:04 Krock nice monologue you've got there
19:04 rubenwardy Thanks
19:05 rubenwardy The chat is like 90% me
19:05 rubenwardy Still, more ontopic than this channels seen in a yeaf
19:06 Krock needs a scientific analysis
19:07 Krock using blockchain AI technology
19:21 Sokomine :-)
19:22 Sokomine i still have to catch up with the forum. the screenshot thread grew quite big
19:25 Krock 911. our fork count is 911
19:30 garywhite joined #minetest-hub
19:44 ssieb joined #minetest-hub
19:45 IcyDiamond https://i.lunasqu.ee/Screenshot_18-07-08-22:45:06.png like my progress bar on the sawmill? :)
19:47 Shara IcyDiamond: looks interesting
19:50 ManElevation_ joined #minetest-hub
19:50 Krock Round shape doesn't quite fit to a filling animation
19:51 IcyDiamond ¯\_(ツ)_/¯
19:52 IcyDiamond its a nice machine-specific change from the usual arrow
19:52 IcyDiamond XD
19:58 Sokomine IcyDiamond: ah, a sawmill machine? that sounds nice. i'd love to include some machines in my mg_villages houses. the sawmill building could use a real sawmill machine
20:00 IcyDiamond :P
20:07 * rubenwardy just smashed his phone
20:08 rubenwardy Crappy shorts with overly big pockets + hard patio
20:09 IcyDiamond gg
20:09 rubenwardy Still usable
20:09 Calinou my shorts' pockets are too small
20:09 IcyDiamond nice
20:10 Calinou I have to give up trying to put my phone in my pockets when I'm wearing shorts
20:10 Calinou (I just put it in my bag)
20:10 rubenwardy Smashed is an exaggeration - there's very small cracks along the top
20:10 IcyDiamond same
20:15 Sokomine oh. hope it's not too broken, rubenwardy. they can survive some mistreatment...
20:18 Sokomine solars is worried about some people considering worldedit files/schematics not considered something by others as holding some form of license
20:19 rubenwardy The definitely are
20:19 longerstaff13 how would I change the default privileges of new players on my server? is it set in minetest.conf?
20:19 rubenwardy default_privs ues
20:19 longerstaff13 ok
20:21 longerstaff13 would it be "default_privs = priv1,priv2,etc."?
20:21 IcyDiamond yeah
20:21 longerstaff13 alright
20:28 paramat joined #minetest-hub
20:41 paramat schematics are 'media' like textures
20:43 * rubenwardy reads about Amazon's self publish service
20:48 Krock paramat: media is for me everything that mods provide to clients. schematics are server-side only. maybe unclear terminology?
20:54 paramat hmm
20:55 paramat ok not sure about the right word, but they are licensable like textures and sounds, and i would group them under 'media' in docs
20:57 paramat these fence rails are good, i agree they make fences look much better
21:00 Sokomine a media license certainly fits better than a code license, yes. the problem in the thread seems to be disagreement as to what can be done with worldedit/schematic files where no license is stated
21:01 Sokomine paramat: can the fence rails be seen somewhere? i've heared much talk about them here but never actually seen them
21:02 paramat see PR in MTG
21:05 Sokomine hm. are they middle part of fences?
21:12 paramat yes so no need for a post in every node
21:12 paramat any length, can cross or go round corners
21:19 Fixer joined #minetest-hub
21:23 Miner_48er joined #minetest-hub
21:25 paramat fence rails complete now
21:40 Sokomine ah. did that with my xconnected mod. looks odd if there are too many inbetween without a fence post
21:41 Fixer time to check out fence rails ingame
21:49 aerozoic joined #minetest-hub
22:06 Corvus_ joined #minetest-hub
22:11 BillyS !server LS-WOnderland
22:11 MinetestBot BillyS: LS-Wonderland | mt.xeroxirc.net:30002 | Clients: 13/20, 9/17 | Version: 0.4.17.1 / minetest_game | Ping: 15ms
22:14 rdococ I haven't tried LS_WOnderland before
22:22 ManElevation_ joined #minetest-hub
22:46 paramat joined #minetest-hub
23:08 ManElevation_ joined #minetest-hub
23:19 IhrFussel Should this work? ent[pn] = ent.object
23:19 IhrFussel Then I can pass the entity data to any function?
23:32 IhrFussel It works! Now my cart entering is idiot-safe!
23:32 paramat eheh
23:32 IhrFussel When standing near a cart the server shows a formspec "ENTER CART?" With Yes and No buttons
23:33 paramat safe from most players then
23:34 IhrFussel Many app users just punched the carts without entering...that could still happen but if they wait a few secs they will see this window and hopefully finally ride it

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