Minetest logo

IRC log for #minetest-hub, 2018-06-19

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

All times shown according to UTC.

Time Nick Message
00:28 sniper338 joined #minetest-hub
00:29 sniper338 joined #minetest-hub
01:01 Tmanyo joined #minetest-hub
01:50 Ruslan1 joined #minetest-hub
02:16 ANAND joined #minetest-hub
02:22 Tmanyo joined #minetest-hub
02:44 RKINGLEGEND joined #minetest-hub
02:48 Tmanyo joined #minetest-hub
03:03 benrob0329 joined #minetest-hub
05:01 benrob0329 joined #minetest-hub
05:03 lumberJ joined #minetest-hub
06:25 IcyDiamond is it possible to make facedir rotate the node's face up as well when placed
06:26 IcyDiamond front up
06:46 lumberJ i think its just a matter of setting the direction in the param2 after placing node if i remember correctly
06:58 behalebabo joined #minetest-hub
07:26 Guest96083 joined #minetest-hub
08:42 Ruslan1 joined #minetest-hub
09:31 IcyDiamond https://i.lunasqu.ee/minetest-2018-06-19_12.28.35.webm check this out
09:33 rubenwardy less exciting, but https://i.rubenwardy.com/ZN0CU.png
09:33 rubenwardy has 17 tests too :O
09:35 IcyDiamond Huh?
09:35 rubenwardy for https://rubenwardy.com/capitalism_game
09:36 rubenwardy and using busted to do unit testing
09:36 IcyDiamond Lmao
09:37 rubenwardy busted is really nice:  http://olivinelabs.com/busted/
09:37 Fixer joined #minetest-hub
09:37 rubenwardy https://github.com/rubenwardy/crafting/blob/master/tests/api_spec.lua
09:38 rubenwardy you do need to isolate any Minetest APIs from logic
09:38 IcyDiamond I like my mod
09:38 rubenwardy but that's easy as I'm designing it that way from the start
09:38 rubenwardy ?
09:38 rubenwardy sure, your mod is cool and nice video :P
09:39 IcyDiamond I test the good old trial and error way
09:39 IcyDiamond Much more fun
09:39 IcyDiamond :)
09:39 rubenwardy lol
09:39 rubenwardy well, sure
09:39 rubenwardy I'm thinking of merging busted into the engine
09:40 IcyDiamond I've seen more minetest segfaults then some core devs probably
09:40 IcyDiamond :D
09:40 rubenwardy to allow the engine's API to have nice tests
09:42 IcyDiamond Now I need to make something that gathers fully grown plants and trees
09:42 IcyDiamond Does the farming api tell you which plant stage is fully grown
09:45 rubenwardy \o/
09:46 IcyDiamond I think it does
09:46 IcyDiamond Anyway, there's always ways to find out
09:46 IcyDiamond XD
09:47 IcyDiamond I'm too lazy to work more on the mod rn xD
10:01 Fixer_ joined #minetest-hub
10:14 sniper570 joined #minetest-hub
11:05 longerstaff13 joined #minetest-hub
11:05 IcyDiamond is there like a function that gives me the drops of a node as if a player broke it
11:05 IcyDiamond with the chances calculated and all
11:09 rubenwardy Yes, get node drops
11:09 rubenwardy Or smth
11:10 rubenwardy It's the exact same function used actually
11:10 IcyDiamond okay cool
11:17 longerstaff13-m joined #minetest-hub
11:19 longerstaff13 joined #minetest-hub
11:30 entuland joined #minetest-hub
11:39 IhrFussel joined #minetest-hub
11:39 IhrFussel core.get_server_status() is a string I can freely modify correct?
11:39 IhrFussel I want to get rid of the false max_lag which makes my players complain about "high server lag" and replace it with my own "recent max lag" command
11:41 IhrFussel Pretty stupid that you have to fear complaints about "extreme lag" when all you do is using WE for large structures
11:41 IhrFussel My custom max_lag goes down a lot quicker if the next steps are normal again
11:50 IcyDiamond aww man tenplus1's farming mod doesnt allow you to set an empty placer
11:50 IcyDiamond :(
11:53 NathanS21 joined #minetest-hub
12:04 rubenwardy IcyDiamond: PR!
12:04 rubenwardy better than AR or FPTP
12:13 entuland joined #minetest-hub
12:15 entuland joined #minetest-hub
12:17 NathanS21 joined #minetest-hub
12:23 aerozoic joined #minetest-hub
12:35 entuland joined #minetest-hub
12:40 IcyDiamond testing the gatherer is like watching paint dry so i wont be making a video of it
12:40 IcyDiamond just know that it exists and it works
12:40 IcyDiamond :P
12:41 rubenwardy harvester?
12:41 IcyDiamond yeah
12:44 Ruslan1 joined #minetest-hub
12:47 IcyDiamond https://i.lunasqu.ee/Screenshot_18-06-19-15:46:23.png my automatic farming setup
12:47 IcyDiamond once i implement pipeworks support it will be fully automatic
12:47 IcyDiamond :)
12:48 rubenwardy nicceeee
12:51 lumberJ joined #minetest-hub
12:53 IcyDiamond corrupted size vs. prev_size
12:53 IcyDiamond [1]    15042 abort (core dumped)  ./bin/minetest
12:53 IcyDiamond ok
12:53 rubenwardy yay
12:53 rubenwardy gdb time
12:54 IcyDiamond meh im not gonna bother
12:54 rubenwardy if it's reproducable
12:57 rubenwardy :(
13:12 Krock joined #minetest-hub
13:19 xerox123 hello all o/
13:19 Krock hi xerox123
13:40 entuland joined #minetest-hub
13:41 rubenwardy lool
13:41 entuland o/
13:41 entuland is https://forum.minetest.net/viewtopic.php?f=9&t=10047&start=25 the very screwdriver we have in MTG?
13:42 rubenwardy apparently so
13:42 Krock IhrFussel, fixed in bitchange:shop
13:42 entuland I'm not able to find any other incarnation to rotate nodes
13:42 entuland am I simply failing at searching?
13:43 rubenwardy detached inventories suck
13:43 IhrFussel Krock, I "fixed" it in my mod by not allowing shop owners to buy from their own shops
13:43 rubenwardy lol
13:44 Krock inb4 the same thing can be done by using an alt account
13:45 rubenwardy last time I stopped capitalism was because I got to implementing the shop's detached inventory
13:45 IhrFussel Customer view only exists for the owner of the shop
13:46 IhrFussel It's supposed to show them how the shop looks like for others..unfortunately it also has all the buying functionality in that mode
13:48 IcyDiamond i still dont know how to implement pipeworks
13:49 IcyDiamond my invs are all conventiently named src for inputs and dst for outputs
13:49 IcyDiamond why cant i just set it to take and put in those
13:50 rubenwardy I'm sure VanessaE would accept a PR
13:50 rubenwardy does it currently try to put just in main?
13:50 rubenwardy surely there is a way to define a method to return which?
13:50 rubenwardy ie: for chests
13:50 rubenwardy err
13:50 rubenwardy *for furnaces
13:51 IcyDiamond well you can configure the input list
13:51 IcyDiamond but apparently not output
13:54 IcyDiamond can_remove callback never even gets called
13:54 IcyDiamond hmm
13:57 rubenwardy there was an issue about having the engine define an API for this sort of stuff
13:57 rubenwardy like, a standard
13:57 rubenwardy obviously the engine wouldn't implement pipeworks etc itself
13:59 rubenwardy I may be thinking of #6877
13:59 ShadowBot https://github.com/minetest/minetest/issues/6877 -- API: Move items between inventories
14:00 entuland joined #minetest-hub
14:02 IcyDiamond oh i get it
14:02 behalebabo joined #minetest-hub
14:03 IcyDiamond input_inventory is from where it takes items
14:03 IcyDiamond fair enough
14:03 entuland joined #minetest-hub
14:03 IcyDiamond looks like i have pipeworks support now
14:05 rubenwardy ya
14:05 rubenwardy +y
14:10 IcyDiamond ok something broke
14:13 Krock IcyDiamond, related: https://www.reddit.com/r/ProgrammerHumor/comments/849auf/owo_someting_bwoke/
14:15 IcyDiamond nvm im just blind
14:15 IcyDiamond yay i have a fully automatic farm
14:16 rubenwardy I hate that stupid 'meme'
14:39 paramat joined #minetest-hub
14:49 entuland joined #minetest-hub
16:11 rubenwardy !c 100*152/1017
16:11 MinetestBot 14.945919370698132
16:11 rubenwardy ~15% of mods and games have been added to CDB
16:14 garywhite joined #minetest-hub
16:21 ANAND joined #minetest-hub
16:31 xerox123 rubenwardy: I'm heading to somewhere near Bristol this weekend for my NCS :D
16:32 rubenwardy cool!
16:32 rubenwardy I'm not actually in Bristol currently though, my internship is elsewhere
16:35 xerox123 ah
16:41 lisac hey what the fuck is wrong with youtube
16:41 lisac https://www.blender.org/media-exposure/youtube-blocks-blender-videos-worldwide/
16:41 entuland joined #minetest-hub
16:42 Darcidride joined #minetest-hub
16:45 IcyDiamond Lol
16:51 Andrey01_ joined #minetest-hub
17:02 tenplus1 joined #minetest-hub
17:02 tenplus1 hi folks
17:03 ANAND o/ tenplus1
17:03 tenplus1 o/ Krock ... does anyone usually have a "Server experiences an internal error: ERROR [Asyncworker] servers.minetest.net/list?proto_versionmin=25&proto_version=32 not found (timeout) (repont code 0) -- that crashes a server
17:03 tenplus1 hi ANAND
17:03 Krock o/ tenplus1
17:04 sofar tenplus1: ewww, that shouldn't crash the server
17:04 tenplus1 hi sofar... sadly it brought down Xanadu and reset it
17:04 ANAND tenplus, I get regularly get that error when I try to access the server-list without an internet connection, but MT doesn't crash
17:04 tenplus1 few players got same error
17:04 Krock since when does the server check the server list entries?
17:04 tenplus1 this was a client error Krock
17:04 tenplus1 it was shown when server went down on my client (and other players)
17:04 Krock tenplus1, then why did it bring down Xanadu?
17:05 sofar coincedence that the clients crashed on serverlist download as well?
17:06 ANAND Likely
17:06 sofar (server crashed, clients disconnected, loaded serverlist and crashed with the same libcurl bug?)
17:07 tenplus1 no idea what just happened, getting logs just now
17:07 sofar remote clients will never see the same server crash messages
17:17 IcyDiamond tenplus1: your farming mod crashes when I use placer nil on the place seed function
17:18 IcyDiamond My farming automation relies on it so it doesn't work
17:18 tenplus1 hi diamond
17:18 tenplus1 checking now icy
17:22 ANAND Can minetest.place_schematic be used on un-emerged areas?
17:22 garywhite hello
17:23 ANAND Hello garywhite
17:23 IcyDiamond hi
17:24 tenplus1 hi gary
17:31 IcyDiamond https://i.lunasqu.ee/Screenshot_18-06-19-20:31:23.png all of the nodes currently featured in elepower
17:32 garywhite elepower? What's that?
17:32 IcyDiamond the mod im working on
17:36 tenplus1 IcyDiamond: Farming Redo updated with player checks for crop/beanpole/trellis/cocoa placement
17:39 IcyDiamond https://i.lunasqu.ee/Screenshot_18-06-19-20:39:18.png
17:40 tenplus1 ah crap, assumed that would return a nil, changing
17:41 IcyDiamond yeah i also keep assuming things right before git push all the time
17:41 IcyDiamond XD
17:42 tenplus1 k, try now :D updated
17:46 IcyDiamond wait what
17:46 IcyDiamond why is next_plant nil everywhere
17:46 xerox123 o/ tenplus1
17:46 tenplus1 hi xerox
17:48 IcyDiamond yeah plant nodes don't have next_plant in their def :/
17:48 IcyDiamond how do you determine the next stage?
17:48 tenplus1 api calculates all that in a table
17:49 IcyDiamond ..oh
17:49 tenplus1 next_stage was added in default farming but never needed for redo
17:50 IcyDiamond so.. where is this table
17:50 tenplus1 simple uses the {growing=1} to handle it all
17:50 tenplus1 in groups
17:51 IcyDiamond so.. theres no growing group on fully grown crops?
17:51 tenplus1 nope
17:51 IcyDiamond ok
17:51 IcyDiamond how do i get the node for a seed
17:52 IcyDiamond i currently rely on next_plant for that
17:52 IcyDiamond last argument of place_seed takes a node
17:58 IcyDiamond local nodename = seeddef.next_plant or (seedname .. "_1"):gsub("seed_", "")
17:58 IcyDiamond i guess that works
17:58 IcyDiamond lol
18:00 tenplus1 redo crops are manually added so next_plant isnt used, but if the farming.register_plant is used then it will add those...
18:00 tenplus1 will look into adding next_crop to all plants
18:00 tenplus1 since mods might be looking for it
18:00 IcyDiamond nah don't
18:01 IcyDiamond not necessary to do just for one mod
18:01 IcyDiamond i can adapt
18:02 IcyDiamond oh, your mod doesn't add soil = {} table to dirt and stuff
18:02 IcyDiamond hmm
18:02 tenplus1 it's kewl dude, if it's in default farming I need to keep things compatible
18:02 IcyDiamond i guess i can just use a static nodename
18:02 tenplus1 yeah cause I removed sand_soil... dont like that at all... ehheeh
18:03 IcyDiamond ok
18:03 IcyDiamond yeah its fine
18:05 IcyDiamond ok got workaround working
18:05 IcyDiamond kek
18:06 tenplus1 ehehe, neato :P
18:07 IcyDiamond yeah everything still works even with farming redo disabled
18:07 IcyDiamond coolio
18:09 IcyDiamond https://gitlab.icynet.eu/evert/elepower added screenshot to repo too
18:13 tenplus1 I like it :) great mod Icy
18:13 IcyDiamond thanks
18:13 IcyDiamond its nowhere near done yet but thanks anyway
18:14 IcyDiamond XD
18:14 lisac hey tenplus1
18:15 tenplus1 hi lisac
18:16 lisac did you see the news about youtube?
18:16 lisac https://www.blender.org/media-exposure/youtube-blocks-blender-videos-worldwide/
18:16 lisac they banned all blender foundation videos
18:16 lisac as well as some other FOSS' projects videos
18:16 tenplus1 wait what ? why ?
18:17 lisac apparently they are mad blender won't enable ads on their videos
18:17 lisac with just under 200,000 subscribers
18:17 tenplus1 youtube are turning into worldwide asshats
18:17 IcyDiamond yea
18:18 lisac when did Google become evil though
18:18 lisac You were the chosen one, Anakin!
18:18 lisac You were supposed to destroy the Sith, not join them!
18:18 lisac To bring balance to the force, not leave it in darkness!
18:18 tenplus1 it's sad that it has come to this
18:18 IcyDiamond ...its unofficial slogan was "Don't be evil"...
18:19 IcyDiamond ..Around May 2018, the slogan was silently removed from the code's clauses..
18:19 IcyDiamond May 2018
18:19 lisac IcyDiamond: Don't be evil, unless it brings you profit
18:19 IcyDiamond :D
18:19 lisac they'll sort this out though
18:19 lisac 'Every once in a while, declare peace. It confuses the hell out of your enemies'
18:20 longerstaff13 o/
18:20 tenplus1 hi longer
18:20 longerstaff13 hey ten
18:20 lisac that is rule of acquisition no. 76
18:20 tenplus1 hahahaha
18:21 tenplus1 dont tell me quark is in charge of youtube
18:21 lisac Well, 'Greed is eternal.'
18:21 lisac can you go lower than blackmailing a nonprofit using your service legally?
18:22 lisac It could be a mistake though
18:22 lisac a bit unlikely because they haven't addressed it in 3 days
18:22 tenplus1 I hope it is a mistake, but a company that big shouldnt be changing the code for a video site that huge unless it's been tested
18:23 lisac and of course https://www.youtube.com/channel/UCEBb1b_L6zDS3xTUrIALZOw
18:23 lisac they blocked MIT OpenCourse stuff too
18:25 tenplus1 that's truly evil... no mistake it seems, they wanna make money and free stuff like this doesnt help them
18:25 Shara This kind of thing feels like it's getting more normal.
18:26 Shara I should probably stop poking my head up from working on mods, because it's like I just see bad things when I do.
18:26 tenplus1 hi shara
18:26 Shara Hi 11
18:27 sofar time to ditch youtube? wow
18:27 sofar either that or I'm going to upload static noise
18:27 IcyDiamond i miss vidme :(
18:28 lisac seems we need to selfhost everything :(
18:28 Shara it is kind of depressing
18:28 IcyDiamond lets just all host peertube or ipfs instances and share hashes
18:29 IcyDiamond xD
18:29 tenplus1 notabugtube.org :)))))
18:29 Shara tenplus1: I was trying to look through some of your mods there earlier today, and I gave up, because notabug is so slow.
18:30 IcyDiamond I already host ipfs daemons on all of my machines
18:30 Shara I need more speed than your average garden snail when I'm checking mods...
18:30 Krock IcyDiamond, inb4 steemit
18:30 IcyDiamond all of the links i share here are redirects to an ipfs hash
18:30 IcyDiamond screenshots and videos that is
18:30 Krock steemit and dtube, that is.
18:34 IcyDiamond can i use texture modifiers in ^[lowpart?
18:40 IcyDiamond the ansfer is no
18:40 IcyDiamond answer
18:41 Krock the answer is yes. if you escape them
18:41 IcyDiamond i did
18:41 Krock incorrectly
18:41 IcyDiamond at least resize doesnt work
18:41 Krock https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L371
18:42 IcyDiamond "^[lowpart:"..metric..":"..texture.."\\^[resize\\:64x128]"
18:42 IcyDiamond whats the issue here
18:44 Krock ]
18:44 IcyDiamond nope
18:45 IcyDiamond maybe it just doesnt work in an image[ formspec
18:45 IcyDiamond oh nvm
18:45 IcyDiamond it needs double escaping
18:45 IcyDiamond "\\^[lowpart\\:"..metric.."\\:"..texture.."\\\\^[resize\\\\:64x128]"
18:45 IcyDiamond lol
18:45 tenplus1 confusing
18:45 lumberJ joined #minetest-hub
18:45 tenplus1 hi lum
18:45 tenplus1 er.. hi lumberJ
18:46 Krock I see. ] comes from timage[
18:46 lumberJ hello
18:46 Krock -t
18:46 sfan5 IcyDiamond: i'd suggest you wrap that in minetest.formspec_escape instead of doing that manually
18:47 IcyDiamond hm
18:47 IcyDiamond um
18:48 IcyDiamond it just.. disappeared
18:50 IcyDiamond nope i cant figure out how to use that
18:50 IcyDiamond whatever, ill just do it manually
18:50 IcyDiamond doesnt matter
18:55 IcyDiamond https://i.lunasqu.ee/Screenshot_18-06-19-21:55:36.png convenience functions
19:10 benrob0329 joined #minetest-hub
19:11 tenplus1 hi benrob
19:11 benrob0329 hi tenplus1
19:12 tenplus1 nicewallpaper
19:13 nerzhul benrob0329 ?
19:13 tenplus1 lol
19:14 nerzhul but current what ?
19:15 IcyDiamond https://i.lunasqu.ee/Screenshot_18-06-19-22:14:58.png making buckets like a boss
19:15 benrob0329 nerzhul: -CURRENT as in, 12.0-CURRENT
19:15 benrob0329 the drivers will be in 11.2-RELEASE though afaik
19:16 nerzhul oh freebsd
19:16 tenplus1 wb fixer
19:18 tenplus1 damn!
19:24 behalebabo joined #minetest-hub
19:24 tenplus1 hi behalebabo
19:30 Fixer joined #minetest-hub
19:31 IcyDiamond I think I could host a mediawiki for documenting my mods
19:31 IcyDiamond that could be interesting
19:31 IcyDiamond and useful
19:32 tenplus1 :)
19:45 davisonio You could also create mod subpages on the minetest wiki
19:47 tenplus1 nite folks
19:47 tenplus1 left #minetest-hub
19:47 paramat joined #minetest-hub
19:49 CWz joined #minetest-hub
20:18 Gael-de-Sailly joined #minetest-hub
20:22 IcyDiamond I made a forum post and someone already told me that my mods name sucks
20:22 IcyDiamond Ok
20:28 Krock because it literally sucks
20:29 Krock liquid transportation and such
20:29 Krock it's surely not meant as an insult but rather as an overused pun
20:39 Ruslan1 joined #minetest-hub
20:40 IcyDiamond Lol
21:50 rubenwardy ewwww  https://content.minetest.net/thumbnails/350x233/58klxdyYVR.png
21:52 rubenwardy PRs welcome to fix gross thumbnails
21:52 rubenwardy because I'm not sure how to
21:52 sfan5 what are you scaling the images with?
21:53 rubenwardy python image library (PIL)
21:53 rubenwardy https://github.com/minetest/contentdb/blob/master/app/views/thumbnails.py#L43
21:55 rubenwardy the original image is   https://content.minetest.net/uploads/58klxdyYVR.png
21:55 rubenwardy I should probably just make a separate python script to test this, and try different options
21:55 sfan5 ANTIALIAS is a strange choice here, i'm not even sure which algorithm that refers to
21:55 rubenwardy yeah
21:56 sfan5 Image.BICUBIC will produce better results
22:01 garywhite joined #minetest-hub
22:07 rubenwardy also looks like it fits rather than covers
23:33 paramat joined #minetest-hub
23:39 Tmanyo joined #minetest-hub

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