Minetest logo

IRC log for #minetest, 2017-02-19

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

All times shown according to UTC.

Time Nick Message
00:10 lordfingle joined #minetest
00:42 betterthanyou711 joined #minetest
00:45 yyamiyyugi joined #minetest
01:01 nasuga joined #minetest
01:01 nasuga joined #minetest
01:01 TheInformer joined #minetest
01:02 TheInformer is it possible to change the players fov through a mod?
01:02 kaeza no
01:02 TheInformer oh that sucks
01:02 TheInformer im gonna go suggest that on the forums
01:03 kaeza https://github.com/minetest/minetest/pull/1075
01:04 kaeza saved you the trouble...ages ago
01:05 TheInformer too late
01:05 TheInformer but this really should be added
01:06 red-002 !seen bkey
01:06 MinetestBot red-002: Sorry, I haven't seen bkey around.
01:06 red-002 !seen bkeys
01:06 MinetestBot red-002: bkeys was last seen at 2017-02-16 18:26:07 UTC on #minetest
01:08 kaeza TheInformer, what do you need FOV for?
01:09 TheInformer so when someone right clicks with a certain gun in there hand it zooms in
01:09 kaeza you could do something like orienteering and grant/revoke the "zoom" priv based on what is in hand
01:10 kaeza for now at lease
01:10 TheInformer i guess
01:10 kaeza -e+t
01:10 TheInformer what?
01:13 proller joined #minetest
01:21 octacian joined #minetest
01:21 octacian joined #minetest
01:23 TheInformer can you do something when the player puts on a certain peice of armor?
01:25 kaeza depends on the armor mod used. check the API?
01:27 TheInformer 3d amor
01:27 TheInformer armor*
01:39 betterthanyou711 joined #minetest
01:44 betterthanyou711 joined #minetest
01:52 betterthanyou711 joined #minetest
01:56 TheInformer is it possible to make the text in the hud bigger?
01:57 TheInformer and is it possible to disable the hearts without disabling damage?
01:57 colos joined #minetest
01:59 kaeza text bigger? font_size IIRC, in minetest.conf. that affects all items though
02:00 TheInformer i'd rather just change the size for the text element in a hud
02:00 kaeza nope
02:00 kaeza healthbar? try player:hud_set_flags({ healthbar=false })
02:00 TheInformer ok
02:10 riff-IRC joined #minetest
02:11 TheInformer for some reason when I do minetest.register_on_player_hpchange(function(player, hp_change) and then change something in there nothing happens it doesnt update when i take damage
02:15 betterthanyou711 joined #minetest
02:21 TheInformer is that not what minetest.register_on_player_hpchange is supposed ti do?
02:25 rdococ HI
02:26 rdococ bored
02:26 riff-IRC yup
02:29 TheInformer yup what?
02:30 kaeza yup
02:30 riff-IRC yup
02:33 rdococ yup
02:33 riff-IRC yup
02:33 kaeza yup
02:34 riff-IRC yup
02:34 rdococ well
02:34 rdococ I'm bored
02:34 kaeza :(
02:34 rdococ what features do you wanna see in my WORKING computer?
02:35 kaeza run emacs
02:35 rdococ er
02:35 rdococ depends if you can port emacs to lua
02:38 betterthanyou711 joined #minetest
02:43 TheInformer i did it
02:44 TheInformer kinda
02:45 rdococ meh
02:45 rdococ left #minetest
02:45 TheInformer teh
02:45 TheInformer yeh
02:45 TheInformer bey
02:46 kaeza wat
02:46 rdococ joined #minetest
02:46 rdococ er
02:46 rdococ ih
02:54 betterthanyou711 joined #minetest
02:54 parasite_ they talk about you: https://framablog.org/2016/05/28/minetest-piochez-en-lberte/ )
02:55 parasite_ I started the game today after years of inactivity, and waow, this games has changed a lot ! that's great !
03:01 rdococ meh
03:02 rdococ hm
03:03 rdococ should my computer thing have a trapezoidal shape like a computer monitor, or should I keep it cubical?
03:04 rdococ can minetest.serialize handle nested tables?
03:07 kaeza rdococ, yes, but not recursive tables, IIRC
03:08 rdococ so {x={y={z=stuff}}}?
03:08 kaeza yes
03:09 rdococ k
03:11 rdococ hm
03:11 rdococ I could make computers drop themselves but with item metadata on their storage
03:12 riff-IRC left #minetest
03:15 rdococ can I make a node drop an item with different data based on its metadata?
03:24 ircSparky joined #minetest
03:45 Pie-jacker875 joined #minetest
03:52 TheInformer joined #minetest
03:53 TheInformer how do you get the armor level of a player
03:54 Miner_48er joined #minetest
03:54 TheInformer how do you get the armor level of a player? Please
03:56 octacian TheInformer: have you checked lua_api.txt?
03:56 TheInformer totally
03:57 * octacian has failed to compute whether you are being sarcastic.
03:57 octacian ..or not
03:57 * octacian is gonna assume yes?
03:57 TheInformer sarcasm
03:57 octacian Ah, lemme grab the link..
03:58 TheInformer i just checked
03:58 octacian There's a LOT there about armor.
03:58 TheInformer it only returns a table and I want the integer
03:58 TheInformer Ctlr + F
03:58 TheInformer Ctrl*
03:58 octacian Yep, IK. THat's how I found it too.
03:58 TheInformer theres only 10 things
03:58 octacian So, question here. I take it that you want the integer resulting from adding all the values in the armor groups?
03:59 TheInformer i think its object.armor_groups[group] / 100.0
03:59 TheInformer but not the / 100.0
04:00 TheInformer so player.armor_groups[group]
04:00 TheInformer i guess
04:00 octacian Still a bit confused. If you want to get the value of a specific group, that ^^ is right.
04:00 TheInformer wouldnt the value be what level the armor is?
04:00 octacian Not really
04:01 octacian (AFAIK, I'm not very experienced when it comes to entities)
04:01 TheInformer yeah that didnt work
04:01 octacian It seems to me... IDK.
04:02 octacian It seems as though if the tool being used to hit the entity damages 10 HP, the final damage done to the entity is somehow calculated by taking the two into consideration..
04:02 octacian I'm not sure how, but I think that's what's happening.
04:03 octacian That's all I got.
04:04 TheInformer is the armor hud in minetest_game?
04:04 octacian MTG has no armor implemented.
04:04 TheInformer it doesnt seem to be showing up
04:04 TheInformer oh ok
04:04 octacian Of any type.
04:04 TheInformer I have 3d amor
04:04 TheInformer armor
04:04 octacian That's weird then.
04:05 TheInformer kinda
04:05 octacian A quick FYI though, not even the health or breath HUDs are in MTG :P
04:05 TheInformer welp, I'm gonna go eat some cereal and play some hl2
04:07 Pie-jacker875 joined #minetest
04:09 nowhereman joined #minetest
04:14 proller joined #minetest
04:35 IRCFrEAK joined #minetest
04:35 IRCFrEAK left #minetest
04:45 H-H-H joined #minetest
04:50 Pie-jacker875 joined #minetest
05:22 Freejack joined #minetest
05:32 cimbakahn joined #minetest
05:32 cimbakahn In my mods, do i replace 'nodeupdate' with 'check for falling' ?
05:44 sofar core.check_for_falling
05:45 kaeza s/core/minetest/
05:45 kaeza :)
05:47 kaeza what was the reason behind naming it `core`, again?
05:47 sofar I have no idea
06:45 nowhereman joined #minetest
06:46 proller joined #minetest
06:47 nowhereman joined #minetest
07:02 botch joined #minetest
07:10 CWz joined #minetest
07:21 Menche_ joined #minetest
07:53 Menche_ joined #minetest
07:56 Krock joined #minetest
08:03 Out`Of`Control joined #minetest
08:23 el_wowa31631 joined #minetest
08:31 fireglow where can I find a complete tool_definition? http://dev.minetest.net/minetest.register_tool is incomplete
08:35 fireglow for example, on_drop is missing
08:59 Tux[Qyou] joined #minetest
09:03 CWz joined #minetest
09:09 Gael-de-Sailly joined #minetest
09:24 ungali joined #minetest
09:24 ungali joined #minetest
09:57 Lowe joined #minetest
10:07 juhdanad joined #minetest
10:13 YuGiOhJCJ joined #minetest
10:19 Taose joined #minetest
10:24 proller joined #minetest
11:00 loggingbot_ joined #minetest
11:00 Topic for #minetest is now Welcome to #minetest, official Minetest channel | Latest version: 0.4.15 (2016-12-22) | Responses may take a while, be patient | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | IRC logs: http://irc.minetest.net/minetest/
11:02 Gaffel joined #minetest
11:04 Gaffel A quick question. Where do I unpack a texturepack in Linux? I have put one here: ~/.minetest/.textures/sphax
11:04 Gaffel But it doesn't show in Minetest
11:04 sfan5 should be textures instead of .textures
11:05 Gaffel I've tried that.
11:05 Gaffel The wiki said .textures though.
11:05 sfan5 link to the page where it says that?
11:08 Gaffel Can't find it now. That article doesn't show up. :/
11:10 Gaffel I placed it here: ~/.minetest/textures/all/
11:10 sfan5 http://wiki.minetest.net/Installing_Texture_Packs
11:10 sfan5 it says ./textures
11:10 Out`Of`Control Hi
11:10 Gaffel oh, sorry. Yes
11:11 Out`Of`Control What mobs mod work decent with recent minetest dev
11:11 Gaffel Can I only have one texturepack installed at one time?
11:11 sfan5 Out`Of`Control: probably all of them
11:11 sfan5 Gaffel: yes but you can only use one at a  time
11:11 Gaffel It seems like it only accepts a texturepack if it's located in "all".
11:11 sfan5 place the folder "sphax" under ~/.minetest/textures/
11:12 Gaffel ah, it shows up now... hmm
11:12 Gaffel Thanks. =)
11:12 Out`Of`Control sfan5: then one i had does not work, as mobs stay alive with zero health
11:13 sfan5 which one did you try?
11:13 Out`Of`Control i would like to try a new one
11:14 proller joined #minetest
11:14 Out`Of`Control sfan5: it was for of pilzadam
11:14 Out`Of`Control fork*
11:14 sfan5 that one is ancient
11:15 sfan5 use one of those listed here http://www.minetest.net/customize/#mods
11:15 Out`Of`Control sfan5: thank you
11:23 Telesight joined #minetest
11:26 Player_2 joined #minetest
11:36 Fixer joined #minetest
11:42 Hirato joined #minetest
12:12 proller joined #minetest
12:18 Hirato joined #minetest
12:27 rubenwardy joined #minetest
12:28 rdococ hi
12:37 rdococ hm
12:38 rubenwardy hi rdococ
12:40 Calinou I just tagged v1.0.0 of More Blocks, More Ores and Map Tools :)
12:41 Calinou it'll follow semantic versioning from now on, and have a changelog
12:41 rdococ hi rubenwardy
12:50 Taoki joined #minetest
12:52 Jordach joined #minetest
12:58 rdococ yay
13:23 cimbakahn joined #minetest
13:23 cimbakahn Hello!
13:23 cimbakahn What is ABM ?
13:24 fireglow hi cimbakahn =)
13:24 fireglow !mod antipest
13:24 MinetestBot fireglow: antipest ---- get rid of that sunflowers by Gundul - https://forum.minetest.net/viewtopic.php?t=16415
13:24 fireglow heh
13:25 cimbakahn fireglow, Hello!  What's up?
13:26 ensonic joined #minetest
13:27 rubenwardy cimbakahn, http://rubenwardy.com/minetest_modding_book/chapters/abms.html
13:28 rdococ hm
13:28 rdococ should I add a laptop with the computer maybe?
13:28 cimbakahn rubenwardy, Thank you!
13:29 rdococ I'm thinking about giving my computer the ability to interact with digilines
13:30 cimbakahn rubenwardy, I really don't want a college education on coding though.  The reason i asked the question is because this shows up very many times ---->  WARNING[Server]: Map::setNodeTimer(): Block not found
13:31 rubenwardy you can probably ignore
13:31 rubenwardy node timers aren't ABMs, they run a function on a node after an interval
13:31 rubenwardy and that node appears to have been unloaded
13:32 rubenwardy or wasn't loaded in the first place - that's it
13:32 cimbakahn rubenwardy, Ok.  Because they were talking about them here ----> https://forum.minetest.net/viewtopic.php?f=6&t=14780
13:34 cimbakahn rubenwardy, WARNING[Server]: active block modifiers took 203ms (longer than 200ms)
13:35 rubenwardy that is an ABM - but you can ignore that as well
13:35 cimbakahn rubenwardy, Is that normal?
13:35 rubenwardy it's basically complaining that an ABM is being slow
13:35 rubenwardy very normal
13:35 cimbakahn rubenwardy, Ok.
13:36 rdococ I thought that was obvious
13:38 Fixer_ joined #minetest
13:41 rdococ yay computers are now craftable in my mod
13:41 rdococ I mean, sure, they require mesecons to craft but still
13:43 cimbakahn rubenwardy, Am i to replace 'tile_images'  with 'tiles' ?
13:46 rdococ mine seems to be the only computer with a gui
13:46 rdococ at least one that you use to interact with the programs
13:49 troller joined #minetest
13:52 rdococ hi
13:53 riff-IRC joined #minetest
13:55 nman3600 joined #minetest
13:56 nman3600 Hey, it's been ages since i've been here
13:56 Jordach o78
13:56 Jordach pfft
13:56 riff-IRC Hello
13:57 rdococ hi
13:57 rdococ ih
13:58 riff-IRC ?
13:58 rdococ it's my way of saying hello
13:58 fireglow hihuihuiuhi
13:58 riff-IRC Oh Ok
13:58 riff-IRC HiHiHi
13:58 rdococ ihihihiihih
13:58 rdococ ‮bonjour
13:58 riff-IRC hIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhIhI
13:58 fireglow GREETINGS EARTHLINGS HOW ARE YOUR EFFORTS COMING ALONG
13:59 rdococ EFFORTS IN WHAT
13:59 riff-IRC ?
13:59 fireglow that's my way of saying hello
13:59 riff-IRC WHAT EFFORTS
13:59 fireglow IN PROCREATION
13:59 riff-IRC WHAT IS THAT
13:59 rdococ PROCREATION IS A SENSITIVE SUBJECT FOR US
13:59 fireglow WHAT ELSE IS THERE FOR YOU TO DO ANYWAY
13:59 riff-IRC MESS WITH LUA CODE
13:59 rdococ **** YOU
13:59 rdococ :p
13:59 rdococ LITERALLY LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 riff-IRC LOL
13:59 fireglow WE WILL HARVEST THIS PLANET PRETTY SOON
14:00 rdococ DON'T YOU DARE HARVEST THIS PLANET OR YOU WILL BE FORCED TO PROCREATE
14:00 fireglow NEED THAT HUMAN PROTEIN
14:00 rdococ PROCREATE WITH A HUMAN
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ SINCE THAT'S ALL YOU THINK WE DO
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ (:p)
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:00 rdococ ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
14:00 riff-IRC eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
14:01 rdococ okay stop
14:01 riff-IRC ok
14:01 rdococ you're flooding #minetest
14:01 rubenwardy sfan5
14:01 riff-IRC ###
14:01 rdococ wow
14:01 rdococ 5 fans?
14:01 rdococ :O
14:03 rdococ bored
14:05 rdococ boroned
14:05 rdococ borong
14:05 rdococ meh
14:05 riff-IRC left #minetest
14:07 rdococ ih
14:09 betterthanyou711 joined #minetest
14:10 Cura joined #minetest
14:11 Cura joined #minetest
14:12 Krock *scrolls up*
14:13 Krock http://media.riffsy.com/images/dda4afbd1514da0f6b0aef6d33ddd65b/raw
14:15 fireglow less posting, more procreation
14:16 rdococ Krock!
14:16 rdococ oh shut up about procreation
14:17 rdococ Krock went silent again? oh no :c
14:17 fireglow the only time to shut up talking about procreation is procreating
14:17 rdococ procreate yourself fireglow
14:18 fireglow that yields no usable result
14:19 rdococ good
14:19 rdococ why do people like Krock appear for one second and then disappear again
14:19 rdococ it's annoying
14:20 rdococ at least say afk or something
14:20 octacian joined #minetest
14:20 octacian joined #minetest
14:20 fireglow lol
14:21 fireglow that's stupid
14:21 fireglow do you know how much spam would be in here from people saying "afk" or "back"
14:21 fireglow and for what? They'll read the message when they have time. IRC is not instant messaging.
14:21 rdococ everyone knows IRC means instant relay chat
14:22 Persi[m] It actually does instantly relay messages
14:22 rdococ also they only need to say afk if they've actually talked
14:22 fireglow "ok"
14:22 rdococ this is coming from the person telling us that our only purpose is procreating
14:23 zyabin101 joined #minetest
14:23 Persi[m] But the only purpose of procreation is so that we can instantly relay more messages
14:24 rdococ uh
14:24 rdococ is it?
14:24 zyabin101 joined #minetest
14:24 Hirato joined #minetest
14:24 fireglow no no, you must procreate even HARDER, obviously
14:24 Persi[m] Of course, what else?
14:24 rdococ can we stop talking about procreation and start talking about my WORKING computer mod
14:25 zyabin101 About what in favour of what ?
14:25 fireglow nothing can beat procreation, not even your garbled Lua code
14:25 zyabin101 Procreation ?
14:25 rdococ for fucks sake stop
14:25 fireglow I see you're on the right track
14:26 zyabin101 rdococ ...
14:26 rdococ aaaaaaaaaaaaaaaaaaaa
14:26 rdococ what did I do wrong
14:26 fireglow now you just gotta stop stopping and start procreating
14:26 rdococ okay sure
14:26 rdococ whatever
14:26 fireglow great
14:26 zyabin101 Procreate ?
14:26 * rdococ hopes the /ignore command works
14:27 rdococ ahh
14:27 rdococ peace and quiet
14:27 zyabin101 I joined in the middle of a discourse. :/
14:27 fireglow you cannot ignore your deepest urge
14:27 rdococ now let's talk computers
14:27 rdococ I bet he's making a joke about intercourse right about now
14:27 fireglow zyabin101 what would you say is your foremost urge?
14:27 rdococ it'd be funny if my prediction was true, but inevitable
14:27 zyabin101 IDK
14:27 rdococ zyabin101, was my prediction true?
14:27 zyabin101 IDK
14:28 fireglow but procreation and intercourse are not even the same thing
14:28 rdococ er
14:28 rdococ ok
14:28 zyabin101 I joined in the middle of the discourse aboit procreaton
14:28 zyabin101 s/oit/out/
14:28 fireglow well, what is your opinion on the matter, zyabin101?
14:29 zyabin101 s/to/tio/
14:29 rdococ you mean the discourse I wanted to stop?
14:29 rdococ seriously it drove me crazy
14:29 zyabin101 fireglow, IDK what to say.
14:29 rdococ wonder what fireglow's saying right now
14:29 rdococ I have no idea. I ignored him.
14:29 zyabin101 IDK what's procreating ;/
14:30 rdococ anyway
14:30 rdococ any ideas for more programs for my computer mod?
14:30 fireglow zyabin101: making babies
14:30 zyabin101 rdococ, what do you have?
14:30 zyabin101 Nodes?
14:30 rdococ I'm thinking about moving the programs to disk so you can run custom programs
14:30 zyabin101 fireglow, then I'm out
14:30 zyabin101 rdococ, nice idea!
14:31 rdococ my computer mod has a single node. its formspec is the gui
14:31 zyabin101 Make floppy disks on which you can write programs.
14:31 Fixer joined #minetest
14:31 zyabin101 Items?
14:32 zyabin101 A network submod maybe?
14:32 zyabin101 Floppies on which programs and files can be written.
14:33 zyabin101 Up to 1440 KiB's worth of data :D
14:33 zyabin101 As for programs, an OS that interacts with the floppies and networking.
14:34 zyabin101 rdococ, I am kinda done
14:36 zyabin101 Oh, and also Lua!
14:37 proller joined #minetest
14:38 zyabin101 Idea: an FFFS mod.
14:38 zyabin101 Frames for Formspecs
14:38 cimbakahn WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear  <---- Does this mean, wherever there is 'maxwear' you are supposed to put 'uses=1/'   In front of it?
14:39 sfan5 it means exactly what it says
14:39 sfan5 if you have maxwear=4 somewhere it should be replaced with uses=1/4
14:41 zyabin101 FFFS is a kinda gamified formspec editor.
14:41 rdococ can minetest.serialize serialize tables with more than 2 levels of nesting?
14:41 zyabin101 You craft a formspec frame and some components for the formspec.
14:41 Niebieski joined #minetest
14:42 zyabin101 These can be linked somehow to the outside world, and can be written on.
14:42 sfan5 rdococ: of course it can
14:42 rdococ k
14:42 zyabin101 So, let me tell a story.
14:42 fireglow about procreation?
14:42 zyabin101 A user story, that is.
14:43 zyabin101 fireglow ... no
14:43 fireglow alright, fair enough
14:43 rdococ okay
14:43 zyabin101 Sam finds wood and a special component for the wooden formspec frame.
14:44 Niebieski Hello everybody...
14:44 rdococ so some metadata is set to a function (serialized ofc) and later on deserialized for use.
14:44 rdococ why doesn't that work?
14:44 zyabin101 After it's crafted and placed in the world, Sam now has a personal formspec he can edit.
14:44 zyabin101 And others can view, of course.
14:45 rdococ the function only uses the parameters passed to it
14:45 zyabin101 Next, Sam gets some more components.
14:45 rdococ can Sam make the formspec interactive?
14:45 zyabin101 Yes!
14:46 zyabin101 For example, he gets and crafts a wooden formspec button.
14:46 IhrFussel joined #minetest
14:46 rdococ is this correct?:
14:46 rdococ minetest.deserialize(meta:get_string("running"))(pos, meta, fields, sender)
14:46 IhrFussel 2017-02-19 15:43:54: ERROR[ConnectionSend]: In thread 7f4f6bc84700:
14:46 IhrFussel 2017-02-19 15:43:54: ERROR[ConnectionSend]: /home/minetest/minetest/src/network/connection.cpp:60d: bool con::ConnectionSendThread::rawSendAsPacket(irr::u16, irr::u8, SharedBuffer<unsigned char>, bool): A fatal error occured: Trying to send raw packet reliable but no peer found!
14:46 rdococ "running" is set when the node is placed
14:46 Tux[Qyou] joined #minetest
14:46 rdococ so what am I doing wrong?
14:47 rdococ it says I'm trying to call a nil value, so I can only assume minetest.deserialize(meta:get_string("running")) somehow evaluated to ni
14:47 rdococ nil*
14:47 zyabin101 Once it's placed in the formspec frame, he can put some mesecons on some side of the frame (for example),
14:47 zyabin101 then link it to that side of the frame.
14:47 rdococ can mesecons change the formspec?
14:48 zyabin101 No.
14:48 rdococ oh.
14:48 rdococ so basically a useless gameified version of digistuff touchscreen?
14:48 zyabin101 But the formspec can interact with the mesecons.
14:49 zyabin101 Also, you can make something else with an FFFS integration.
14:50 Taose joined #minetest
14:51 rdococ meta:set_string("disk", minetest.serialize(fresh)) where fresh is the state of a newly created computer doesn't seem to work
14:51 rdococ what am I doing wrong?!
14:51 rdococ no? nobody here?
14:51 rdococ ffffff
14:51 rdococ fffs
14:51 Krock calm down and be patient
14:52 Krock minetest.serialize() will "convert" a table to a string
14:52 Krock minetest.deserialize does the reverse
14:52 rdococ I know
14:52 Krock this means you can serialize string and numbers, but functions will fail
14:52 Krock *strings
14:52 rdococ what?!
14:52 rdococ that's not what the minetest wiki said.
14:53 Hirato joined #minetest
14:53 Krock well, when you serialize it, then you get a string in the format "return { key1 = "blah", bar = 0.001, baz = { .... }}"
14:53 rdococ I am aware of that
14:53 Krock putting a function in that is quite hard
14:54 rdococ "return function (a, b, c) { return c }"
14:54 fireglow VanessaE: https://fireglow.de/755/share/screenshot_20170219_154755.png
14:54 fireglow the bushes start floating!
14:54 Krock Lua, especially LuaJIT compiles all the code and compresses it to bytecode to execute it faster
14:54 zyabin101 Maybe make the OS parse and interpret a string?
14:54 Krock raw code is hostory
14:54 Krock *history
14:55 Krock fireglow, the bush throwing challenge
14:56 zyabin101 Krock, the bush throwing contest? Rules? Link? :3
14:56 rdococ well
14:56 rdococ I'm not too sure about allowing loadstring
14:56 rdococ s/allowing/using
14:56 fireglow Krock ;)
14:56 rdococ wait
14:56 Krock zyabin101, I'm not aware of the rules, sorry.
14:57 rdococ "Convert a string returned by minetest.serialize() into a table. String is loaded in an empty sandbox environment. Will load functions, but they cannot access the global environment. "
14:57 rdococ explain
14:57 Niebieski left #minetest
14:59 rdococ for the time being I've reverted to the system where programs are stored in a semi-global table accessible by the mod
14:59 Krock lovely. it can save the bytecode
14:59 rdococ ?
14:59 Krock > return string.format("loadstring(%q)", string.dump(function(x) print(x) end))
14:59 Krock loadstring("\27LJ\1\0\6=stdin)\0\1\3\0\1\0\4\9\1\0004\1\0\0\16\2\0\0>\1\2\1G\0\1\0\print\0\0\0\0x\0\0\5\0\0")
15:00 Krock but it can't execute it. lol
15:00 rdococ wait
15:01 rdococ could the bytecode itself be considered a language?
15:01 rdococ if so I'd like to learn it. if not I'd still like to learn it.
15:02 Krock bytecode is like assembler, just with an intepreter in between
15:02 zyabin101 rdococ, is the computer mod on forums? :3
15:02 rdococ mine? not yet
15:02 rdococ I haven't finished it :p
15:02 Krock rdococ, apparently I was wrong with that functions couldn't be serialized too :/
15:03 sfan5 the bytecode thing can be done
15:03 rdococ then the issue must have been something else
15:03 sfan5 not sure if minetest.serialize actually does it
15:03 rdococ ugh now I'm even more confuse
15:03 rdococ confused*
15:03 rdococ hm
15:03 sfan5 but mod security disallows you to load bytecode
15:03 rdococ what happens if you try anyway?
15:04 Krock > return loadstring(string.dump(function(x) print(x) end))("test")
15:04 Krock test
15:04 Krock without mod security and anything around it works perfectly
15:04 rdococ as far as I am aware, minetest.deserialize is just loadstring in a sandbox
15:05 rdococ but what happens if you try anyway?
15:05 burli joined #minetest
15:06 rdococ if you just get nil that could be the problem
15:06 rdococ does mod security prevent .deserializing functions?
15:06 Krock not sure. that function is in builtin, which also needs access to other files
15:07 Krock just try it
15:07 betterthanyou710 joined #minetest
15:08 rdococ will do
15:09 sfan5 rdococ: mod security will not allow you to load bytecode
15:09 rdococ I am aware of that
15:09 rdococ nope
15:09 rdococ even when I add it as a trusted mod
15:09 Krock add builtin as trusted mod
15:09 rdococ k
15:10 rdococ nope
15:10 rdococ still
15:10 rdococ I feel like the error's in my code
15:11 rdococ I should tell you that the desktop doesn't detect any programs in disk.programs
15:11 rdococ which tells me that serializing the whole disk failed somehow
15:12 rdococ but then again I iterate over it
15:12 rdococ so disk.programs ms
15:12 rdococ must be a table
15:12 rdococ otherwise the error could be different and occur before exiting the gui for the first time
15:12 rdococ s/could/would
15:13 rdococ does it handle tables with functions in?
15:13 Hirato joined #minetest
15:13 sfan5 either it handles functions or it doesn't
15:13 sfan5 whether they are in tables or not does not make a difference
15:13 rdococ you're probably right
15:14 rdococ the only information I could get is conflicting
15:14 proller joined #minetest
15:15 rdococ I tried a little test
15:15 rdococ minetest.deserialize(minetest.serialize(function (x) return x end))(3)
15:15 rdococ says I'm trying to call a nil value
15:15 rdococ seems to be proof that it doesn't handle functions
15:15 rdococ more accurately, deserialize can handle it but serialize can't
15:16 rdococ unless I were to try to modify minetest.serialize which will probably end badly
15:16 rdococ does minetest.serialize on tables use minetest.serialize for the table's children?
15:17 rdococ probably not
15:17 rdococ but still
15:17 sfan5 obviously it does
15:17 rdococ okay
15:17 sfan5 also a tip: stop asking stupid questions and read the code
15:18 rdococ I don't have access to minetest.deserialize's code, how am I meant to?
15:18 rdococ probably should have searched it
15:19 sfan5 https://github.com/minetest/minetest/blob/master/builtin/common/serialize.lua
15:19 sfan5 minetest is open-source you know
15:19 rdococ I do... kind of...
15:19 rdococ okay
15:19 rdococ from skimming through the code it looks to me as if serialize SHOULD be able to handle it
15:20 rdococ wait!
15:20 rdococ something interesting just happened.
15:20 rdococ using loadstring rather than minetest.deserialize worked for my example above.
15:23 Pie-jacker875 joined #minetest
15:25 cimbakahn joined #minetest
15:26 cimbakahn WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype    ?
15:27 Hirat0r joined #minetest
15:31 Pie-jacker875 joined #minetest
15:36 rdococ allowing builtin as a trusted mod breaks my previous code where the programs were stored in a semi-global programs table
15:36 rdococ no wait
15:36 rdococ it was nothing to do with my code
15:36 rdococ for some reason there was some error relating to mesecons
15:38 Krock then you've used it wrong
15:38 Krock if it works with loadstring but not with deserialize
15:39 rdococ hmm
15:39 rdococ "return function () stuff end"
15:39 rdococ okay
15:39 rdococ put it this way
15:40 rdococ minetest.deserialize(minetest.serialize(x)) should equal x, right?
15:40 rdococ or, be functionally identical
15:40 rdococ indistinguishable
15:40 rdococ right?
15:42 rdococ no? am I missing something? have I "used it wrong"? am I an idiot without a brain?
15:43 rdococ I guess it doesn't matter either way. a computer that works at all is better than one that's purely decorative.
15:48 proller joined #minetest
15:48 rdococ I could store programs in the disk as strings and then loadstring them but what's the point
15:48 rdococ I want to create a computer node only because I can't copy my LuaQ code into MT anymore
15:53 rdococ anyway...
15:53 rdococ I'm bored and don't know which program to implement next
15:53 BurningPrincess joined #minetest
15:54 BurningPrincess left #minetest
15:57 ensonic joined #minetest
16:00 fireglow Somebody should suggest a procreation program to him
16:01 cimbakahn HAHAHAHA!
16:02 cimbakahn Anyone know what i should do about this ---->  WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype
16:03 YuGiOhJCJ joined #minetest
16:03 rdococ hm
16:05 cimbakahn 115 files in the mods folder has the phrase 'light_propagates' in it.
16:09 rdococ hm
16:09 rdococ can I set node metadata to a table?
16:09 rdococ nvm got it
16:11 rdococ http://dev.minetest.net/NodeMetaRef does say you can serialize and deserialize functions
16:12 Hirato joined #minetest
16:14 MinetestBot [git] red-001 -> minetest/minetest: Fix the documentation for `minetest.is_yes` (#5276) 01b2d2c https://git.io/vD5VH (2017-02-19T16:11:53Z)
16:22 numZero_ joined #minetest
16:23 proller joined #minetest
16:23 rubenwardy any German speakers here?
16:25 juhdanad joined #minetest
16:26 rubenwardy I'd like a translation for "Fixed! Update the app to get it working again. And make sure to update your review if it works :)"
16:27 numZero joined #minetest
16:29 rdococ is an itemstack's meta stored like {fields = stuff} or just stuff?
16:30 rubenwardy {fields=stuff}
16:30 rubenwardy to make it consistent with node meta
16:30 PureTryOut[m] rubenwardy: nope, but I can translate it to Dutch if you want lol
16:30 rdococ k
16:30 rdococ makes sense
16:31 rdococ for some reason item meta doesn't seem to have :from_table?
16:31 rubenwardy It should do
16:31 rubenwardy unless I made a bug
16:31 rdococ attempt to call method 'from_table' (a nil value)
16:32 rdococ the line is: itemstack:from_table(newItemMeta)
16:32 rubenwardy :get_meta()
16:32 rdococ oh
16:32 rdococ duh
16:32 rubenwardy itemstack:get_meta():from_table(metadata)
16:33 proller joined #minetest
16:33 rdococ I make lots of dumb mistakes.
16:33 Jordach ^
16:33 rubenwardy or ItemStack(stack:to_table()) if you want to make an itemstack from a table
16:33 rdococ still, lots of people don't get to make mistakes.
16:33 rdococ nah, I want to give an existing itemstack metadata from node metadata. there's probably a better way to do it though.
16:34 rdococ I'm creating a disk item, which when used on a computer swaps the metadata of the disk and the computer.
16:35 rdococ The idea is, if you want to move your computer, you don't just break it (which destroys the data due to a lazy rdococ), you use the disk to keep the data.
16:35 cimbakahn Anyone know what i should do about this ---->  WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype
16:35 cimbakahn 115 files in the mods folder has the phrase 'light_propagates' in it.
16:36 rdococ cimbakahn, what do you think 'light_propagates' means?
16:37 whitephoenix joined #minetest
16:38 cimbakahn rdococ, I think it means that light will propagate the growth of plants.
16:39 rdococ I don't think that's what it means
16:39 rdococ but I guess I don't really know
16:39 rdococ well, I think it means if light passes through the node
16:39 rdococ but don't take my word for it
16:40 cimbakahn Ok.
16:40 nnnn20431 joined #minetest
16:41 cimbakahn Does farming_redo replace the default farming?
16:41 Eater4 joined #minetest
16:42 bomberman joined #minetest
16:44 proller joined #minetest
16:44 Markow joined #minetest
16:45 PureTryOut[m] > well, I think it means if light passes through the node
16:45 PureTryOut[m] I'm not sure `light_propagates` even exists, but `sunlight_propagates` definitely means if sunlight will goes through it
16:45 PureTryOut[m] *will go through it
16:46 PureTryOut[m] as seen [here](http://dev.minetest.net/minetest.register_node)
16:56 VanessaE fireglow: *takes a step back& O_O
16:56 VanessaE how the heck did you end up with THAT?
16:56 VanessaE also, hi
16:57 fireglow hi!
16:57 fireglow updated biome and plantslife today and now the bushes start spawning above them in the air, lol
16:57 fireglow no idea how that's possible
16:57 VanessaE it's not.
16:57 fireglow so I deleted the mod and put an alias in place to replace all bushes with air =)
16:58 fireglow => problem fixed
16:58 rdococ ugh
16:59 rdococ does itemstack:get_meta():from_table(stuff) change the itemstack's metadata? I do return itemstack at the end btw
17:00 troller joined #minetest
17:01 rubenwardy yes
17:01 rdococ okay...
17:02 rdococ I think minetest.deserialize(minetest.get_meta(pos):to_table().fields.disk) gets the data of the disk at pos
17:02 rdococ actually, why do I do that?
17:02 * PureTryOut[m] uploaded an image: Screenshot_2017-02-19_18-02-33.png (20KB) - https://matrix.org/_matrix/media/v1/download/matrix.org/GHmOuJHQOkgIkPVGwkSDlSXD
17:02 rdococ I could just :get_string("disk")
17:02 PureTryOut[m] so for some reason the second print prints out 0, while the first one prints 15
17:03 PureTryOut[m] (the `minetest.register_on_dignode()` is done after setting the node using `minetest.set_node()`)
17:03 rubenwardy does choosen_spot == pos?
17:03 PureTryOut[m] yes
17:04 PureTryOut[m] printed them both out, they're equal
17:04 PureTryOut[m] but here the second print is using the same variable as the first print
17:04 rubenwardy the meta is probably destroyed before that point
17:04 PureTryOut[m] still goes wrong for some reason
17:04 rubenwardy or after set_node
17:04 PureTryOut[m] yeah but not sure why
17:04 PureTryOut[m] I tried setting the node after setting metadata as well, no dice
17:04 rdococ if I try to :get_string() a field that hasn't been defined yet, what happens?
17:06 rdococ tested it, it returns ""
17:06 rdococ I think
17:06 rdococ or nil
17:06 rdococ either one works
17:06 troller joined #minetest
17:07 PureTryOut[m] "" I think
17:07 PureTryOut[m] as :get_int() returns 0 for me on a (seemingly) undefined field
17:08 rubenwardy read the code, it returns ""
17:08 rubenwardy https://github.com/minetest/minetest/blob/master/src/script/lua_api/l_metadata.cpp#L63
17:08 PureTryOut[m] but yeah not sure why metadata is being destroyed...
17:11 PureTryOut[m] I guess it's only destroyed/gone in that callback? doesn't make much sense to me tbh
17:11 kaeza joined #minetest
17:12 rdococ register_on_dignode sounds like it happens when the node is dug
17:12 rdococ that probably explains it
17:12 PureTryOut[m] yup
17:12 PureTryOut[m] it shouldn't though should it?
17:12 PureTryOut[m] I guess I could do it differently, but yeah that makes sense now you say it
17:14 rdococ :p
17:15 PureTryOut[m] `{x = 0, y = 0, z = 0} ~= {x = 0, y = 0, z = 0}` it seems, strange
17:15 rdococ well, I got the disk idea to work.
17:15 rubenwardy PureTryOut[m], you're comparing table references not content
17:15 rdococ to compare the two, I'd compare the individual components
17:15 rdococ x, y and z
17:15 rubenwardy use vector.equals http://rubenwardy.com/minetest_modding_book/lua_api.html#vectorequalsv1v2
17:15 agaran PureTryOut[m]: you need to compare x/y/z components..
17:15 PureTryOut[m] yeah too bad :(
17:16 PureTryOut[m] it just more typing :p
17:16 PureTryOut[m] ooh
17:16 kaeza greetings
17:16 agaran PureTryOut[m]: read what rubenwardy said;)
17:16 rubenwardy vector.equals({x = 0, y = 0, z = 0}, {x = 0, y = 0, z = 0})
17:16 PureTryOut[m] aah cool thanks
17:16 agaran hi Kaeza,
17:16 kaeza o/ agaran
17:16 agaran sfan5: I know it is superflous to add sizeof(char) but it is evaluated at compile time so it does not matter at all for compiled code..
17:17 swift110 joined #minetest
17:19 PureTryOut[m] well I managed to do it without the metadata, cool :p
17:19 rdococ lol how?
17:20 rdococ params?
17:20 cimbakahn Is this the newest awards mod? ----> https://github.com/minetest-mods/awards
17:20 rubenwardy yes
17:20 cimbakahn rubenwardy, Thankyou!
17:21 sfan5 agaran: obviously but you know that / sizeof(char) has no effect even *before* compile-time so why bother to add it
17:21 sfan5 it's like adding * 1 / 1 - 100 + 100 to all your calculations
17:23 agaran sfan5: well I simply considered it as good if one gets crazy compiler one day where 'char' is not 8 bit..
17:23 agaran it happened before in history, and may happen again too
17:23 rdococ lol
17:23 agaran did I said something funny?
17:24 rdococ yes
17:24 sfan5 the bit amount of char will not change the sizeof
17:24 agaran http://stackoverflow.com/questions/2098149/what-platforms-have-something-other-than-8-bit-char
17:24 agaran but sure I can revert that..
17:25 agaran maybe I was toying with weird stuff too much..
17:26 troller joined #minetest
17:27 PureTryOut[m] is it not possible for a mod to manually set the block rotation? I only see wallmount and facedir, but they're not exactly what I want. `minetest.rotate_and_place()` seems to want to figure out itself which direction the block has to "look"
17:28 riff-IRC joined #minetest
17:31 PureTryOut[m] (also I already used paramtype2 for the plantlike drawtype, I rather not replace it for block orientation...)
17:42 PureTryOut[m] so I guess not? I can not just tell a node to rotate itself to whatever direction even if there is no wall or player there?
17:46 Taose Use the screwdriver?
17:47 Taose It's hard to know what to advise if you don't tell us what you're doing or trying to do
17:48 PureTryOut[m] ... I'm trying to rotate a block by using a mod
17:50 proller joined #minetest
17:51 PureTryOut[m] wait I'll record what happens now without rotating
17:54 * PureTryOut[m] posted a file: 2017-02-19 18-51-42.mkv (5661KB) - https://matrix.org/_matrix/media/v1/download/matrix.org/xhNmjhoGYqfYryJOJIvirraG
17:55 PureTryOut[m] basically the "plant" has to rotate to the block placed next to it
17:57 rdococ I decided that my disk will have a flattened inventory image (think Minecraft music disks), but a face-on wield image
17:58 PureTryOut[m] ^ better video, shows the plant how it should be just not rotated :/
17:58 rdococ using a disk on a computer swaps the metadata of the two (it also clears the formspec, ram and running fields).
17:58 * PureTryOut[m] posted a file: Minetest.mkv (4234KB) - https://matrix.org/_matrix/media/v1/download/matrix.org/fZftjsqVWwnVeWvpOjthmeKv
17:58 PureTryOut[m] sorry was still uploading ^
18:01 fireglow VanessaE: it's not happening on my test-server. I'll re-enable bushes on the main server and see what happens.
18:03 Hawk777 joined #minetest
18:04 rubenwardy joined #minetest
18:04 proller joined #minetest
18:06 fireglow PureTryOut[m]: just like whack-a-mole
18:08 rdococ my computer's textures are 15x15 because of the pattern I wanted on the back
18:08 rdococ but I think it still fits into MT
18:09 rdococ I bet you probably wouldn't have even known without me telling you, even if you did have the mod
18:10 zyabin101 joined #minetest
18:11 rdococ does anyone have any more ideas?
18:13 rdococ ...
18:13 rdococ meh
18:14 fireglow I have one, but you wouldn't want to hear it
18:16 rdococ no ideas?
18:16 rdococ :/
18:16 rdococ wonder if fireglow actually has a good idea other than, you know, procreation.
18:16 rdococ but I don't know, I ignored him.
18:17 fireglow historically, procreation has been the best idea ever
18:17 fireglow so I don't see why you would hate on it
18:17 rdococ I don't hate procreation, I hate when it's the only topic you ever talk about.
18:18 rdococ and btw, I unignored you.
18:19 fireglow that's good news, certainly
18:19 rdococ do you have any non-procreation-related ideas for my computer system?
18:20 fireglow hmm
18:20 Krock déjà vu
18:20 fireglow oh hi Krock
18:20 Krock hi again, fireglow
18:20 fireglow nice to see you again, have you been busy?
18:20 fireglow with, you know, stuff
18:20 fireglow pro...crastination, for example?
18:20 rdococ ...
18:20 Krock yes, exactly that
18:20 fireglow rdococ: hmm, where can I look at this mod of yours?
18:20 fireglow Krock ^_^
18:20 Krock no, not pro...crastinatio but other stuff
18:21 rdococ what other stuff?
18:21 Krock you know, stuff.
18:21 fireglow recreation, possibly
18:21 rdococ -_-
18:21 rdococ what stuff
18:21 rdococ stuff is not defined
18:21 rdococ if it is, at least not well-defined
18:22 Krock #define stuff
18:22 Krock now it's at least defined
18:24 rdococ still not well-defined
18:24 rdococ LOL
18:24 rdococ there are people in #define
18:26 fireglow maybe they can define stuff for you
18:28 rdococ Krock: also, you forgot to define define
18:28 Miner_48er joined #minetest
18:29 Fixer_ joined #minetest
18:36 numzero_ joined #minetest
18:40 jcjordyn120 joined #minetest
18:42 fireglow VanessaE: ok the problem returned on my main server :D
18:42 fireglow it looks funky
18:43 fireglow VanessaE: EVERYTHING full of flying bushes
18:44 cimbakahn joined #minetest
18:44 fireglow VanessaE: feel free to have a look: games.firc.de:30000
18:46 cimbakahn Would this message go away if i changed the light_source = 15 to light_source = 14  ?  ----> https://hastebin.com/obuvaxemiw.pas
18:46 proller joined #minetest
18:49 cimbakahn Yes!  fireglow has a very nice server.
18:50 fireglow cimbakahn: why thank you :) Always happy to see you there
18:54 cimbakahn fireglow, You are very welcome!
18:57 rdococ I bet games.firc.de:30000 is full of procreation
18:57 fireglow you bet
18:57 rdococ I guess I'll find out
18:57 fireglow be sure to read the signs =)
18:58 fireglow tell me if you want to see the mysterious flying bush
18:58 fireglow and that is not a euphemism
18:58 rdococ it's easy to make a flying bush.
18:58 rdococ heck, I could make one that moved.
18:58 rdococ all I need is meshnode.
18:58 fireglow yeah but these are mysterious ones
19:02 cimbakahn fireglow, Mysterious flying bush?
19:04 kaeza http://i.imgur.com/r8wWFeb.jpg
19:04 Krock LOL
19:05 Krock kaeza, did you create that right now?
19:06 proller joined #minetest
19:06 kaeza Krock, nope
19:06 Fixer ha
19:07 fireglow cimbakahn: yes, there's an issue with the bushes mod on our server at the moment, they spawn in the air
19:09 cimbakahn fireglow, Cool!
19:10 cimbakahn Does anyone have experience with the stargate mod?  The real stargate mod.
19:12 kaeza which is the "real" stargate mod? :P
19:13 jcjordyn120 woah I didn't know you were here kaeza and Krock
19:13 agaran cimbakahn: yes, I do it made me crash few times.. then I removed it
19:13 kaeza ohai jcjordyn120
19:14 Krock surprise
19:14 jcjordyn120 lol
19:18 cimbakahn agaran, Just a sec.
19:20 cimbakahn agaran, I get this ----> https://hastebin.com/ejeneduwew.cs
19:20 GNU[BDC] hi
19:20 fireglow rdococ: how was your experience with the bushes?
19:20 rdococ amazing
19:21 fireglow it could become our main attraction
19:21 fireglow the server with the flying bushes
19:21 rdococ that procreate
19:21 rdococ it's like adam and eve but inverted
19:21 fireglow lol
19:22 rdococ I need new ideas for my computer
19:22 kaeza use the HTTP API?
19:23 agaran cimbakahn: not something I saw but.. I am not motivated enough to try stargate again within next year or so..
19:23 rdococ I was thinking of doing that but meh... I'm not sure
19:23 Hijiri computer?
19:23 rdococ computer node
19:23 rdococ in my computer mod
19:23 rdococ one that actually works too
19:23 Hijiri which one
19:24 rdococ ?
19:24 kaeza implement an SSH client backed by a real computer? create a chroot jail for every computer node and allow running real commands?
19:24 rdococ mine hasn't been released to the open ywt
19:24 Hijiri oh
19:24 kaeza ...change textures? :P
19:25 rdococ change the textures?
19:25 rdococ it looks great
19:25 Out`Of`Control is there option to delete user while server is running?
19:26 rdococ atm it has a text editor and a calculator
19:26 rdococ a web browser could be implemented but not a good one
19:26 Hijiri is it programmable?
19:26 rdococ not really... depends what you mean
19:27 Hijiri the user can program the computer using code
19:27 rdococ not yet
19:27 Hijiri that's a feature idea then
19:27 rdococ when I tried to store programs on disk it kinda broke
19:28 rdococ I could store it as a string
19:28 rdococ and then loadstring it but that would be dangerous as hell
19:29 Hijiri give it a sandboxed environment
19:29 rdococ I tried using serialize but that didn't work either
19:30 cimbakahn agaran, I don't blame you.  I will fix this though.
19:30 rdococ which version of lua does MT use?
19:30 kaeza 5.1/LuaJit
19:30 rdococ k
19:31 kaeza also, what broke with files?
19:32 kaeza what "didn't work" with serialize?
19:33 rdococ I couldn't deserialize functions (but I could serialize them).
19:33 Krock would be interesting to serialize the serialization function
19:33 Krock serialception
19:33 rdococ meh...
19:34 rdococ I could create a base program that would be able to run code from disk
19:34 agaran cimbakahn: well I crashed few times already when I was trying it so..
19:34 agaran it looks cool true..
19:35 cimbakahn agaran, Me too!
19:40 garywhite joined #minetest
19:43 rdococ meh..
19:45 rdococ hm
19:45 rdococ should I make the disk system realistic - eg you can get the disk out of a computer and the computer can't function, or not?
19:45 rdococ disk being hard disk in this case but meh
19:45 rdococ hm
19:46 fireglow what's on the disk
19:46 fireglow ?
19:46 fireglow oh you mean just so it turns on.. yeah sure
19:47 rdococ the disk contains documents
19:47 rdococ atm you can make a disk, and using the disk on the computer effectively swaps the data between the two
19:48 rdococ so say you have a disk with something like {asdf = "asdf"}, and the computer has {qwer = "qwer"}, after using it the disk will have qwer and the computer asdf
19:48 fireglow nice!
19:55 rdococ I really would like the OS to be user-programmable
19:56 rdococ I just don't know the best way to do it
19:56 rdococ heck, atm the text editor can only save in one folder
19:56 rdococ the documents folder
19:59 fireglow call me when you can play minetest on the computer in minetest which you play on the computer
20:02 rdococ fireglow, I doubt that will ever happen. how am I meant to display 3d graphics on a FORMSPEC?
20:02 fireglow hmm! Food for thought, food for thought.
20:02 rdococ I could do 2d though
20:02 rdococ or isometric
20:03 fireglow text-based minetest
20:03 fireglow You see a default:dirt.
20:03 rdococ dig default:dirt
20:03 fireglow You receive one default:dirt.
20:03 fireglow You are overburdened.
20:03 rdococ walk forward.
20:03 fireglow You are overburdened.
20:03 rdococ drop default:dirt.
20:04 fireglow xD
20:04 rdococ walk forward.
20:04 rubenwardy you could place individual pixels as images
20:04 rubenwardy although you'd have to implement your own software rendering engine
20:04 rdococ meh
20:04 rdococ wonder how I would be able to integrate an inventory into the computer
20:12 cimbakahn agaran, It's getting better!  ------> https://hastebin.com/iwoleqekap.vbs
20:15 fireglow VanessaE: eeeeeee
20:16 cimbakahn fireglow, Do you have the 'farming_redo' mod on your server?  And do you have it listed as just 'farming' ?  And does it replace default 'farming' ?
20:16 fireglow cimbakahn: sec, let me find out
20:17 rdococ open now gives you a dropdown
20:17 rdococ problem is, when you open a file, change it and save it, the dropdown bugs out
20:18 fireglow cimbakahn: hmm, I heave https://github.com/tenplus1/farming.git and https://github.com/BlockMen/farming_plus.git
20:19 fireglow farming_plus should probably be removed
20:19 riff-IRC joined #minetest
20:20 parasite_ joined #minetest
20:22 cimbakahn fireglow, I have the 'farming_plus' .  I think the one you have on your server named 'farming' is really 'farming_redo' ?
20:22 fireglow cimbakahn: yes, that's true, hmm
20:24 fireglow I'll copy these two mods to the testserver and see what happens.
20:25 cimbakahn fireglow, Now, i am wondering if 'farming_redo' replaces default 'farming' ?
20:26 cimbakahn fireglow, I think so because 'farming_redo' has some of the same items as default 'farming' ?
20:28 cimbakahn fireglow, I am getting this ----> WARNING[Main]: Mod name conflict detected: "farming"
20:28 cimbakahn WARNING[Main]: Will not load: /usr/share/minetest/games/minetest_game/mods/farming
20:28 cimbakahn WARNING[Main]: Overridden by: /home/cimbakahn/.minetest/mods/farming
20:29 rdococ ugh
20:29 rdococ this is RIDICULOUS
20:30 * PureTryOut[m] made his own farming mod
20:31 PureTryOut[m] or well, is making. almost done
20:31 rubenwardy cimbakahn, ignore that - it's saying that two mods have the same name, so it's only loading one
20:31 swift110 joined #minetest
20:32 rdococ yay I fixed the problem
20:33 cimbakahn rubenwardy, Ok.
20:34 xerox123 joined #minetest
20:34 rdococ hm
20:34 rdococ what should be on the screen texture?
20:35 rdococ atm the computer looks like a bulky white CRT with a smaller back than front, like a trapezoid (but blockier)
20:35 rdococ and atm the screen is simply displaying white lines on black
20:35 rdococ should it be green lines? some sort of gui?
20:38 PureTryOut[m] rdococ: could you screenshot what you got already? I'd like to see
20:39 rdococ k
20:39 fireglow yes, me too
20:43 rdococ http://imgur.com/a/E4NIg
20:43 rdococ I was thinking about tagging it mature for $its and giggles.
20:43 rdococ <fireglow> and procreation
20:44 fireglow !!
20:46 Calinou wow, I'm back in 2010 with that MATE theme
20:46 Calinou and font choice
20:46 rdococ heh
20:46 Raider4 joined #minetest
20:46 rdococ it works fine. it's easy to read and not too much eye candy.
20:47 Calinou https://lut.im/nEs6mxFWpg/3Nei8urOepwzGRC6.png
20:47 rdococ I especially dislike themes with a black background.
20:47 Calinou this is my Manjaro KDE install on my laptop :p
20:47 PureTryOut[m] isn't that just the default theme? Adwaita I guess
20:47 Calinou simple but good-looking
20:47 Calinou PureTryOut[m]: it's the Breath theme for KDE, I left the Manjaro defaults
20:47 rdococ the similarity of that style to windows just made me cringe
20:48 Calinou Windows is a decent desktop environment, once you get used to it
20:48 PureTryOut[m] https://matrix.org/_matrix/media/v1/download/matrix.org/QvAwOtHrngReVuRMxFqnpPRU
20:48 Calinou other than the Explorer lacking tabs, it's nice
20:48 Raider4 Hey does anyone know how i would join other servers irc channels from this website?
20:48 PureTryOut[m] Calinou: I was talking about rdococ's theme
20:48 xunto joined #minetest
20:48 PureTryOut[m] ^ above link is my "don't have mouse available for example in the train" desktop
20:49 Calinou most server relays are on InchraNet, Raider4
20:49 red-002 yeah you have to at least be somewhat ok to be the most popular os by far
20:49 Calinou install a proper IRC client, such as HexChat, and join it
20:49 red-002 windows server on the other hand...
20:49 Calinou (address is daconcepts.com, port 6697 with SSL/TLS)
20:49 Raider4 Ah ok.
20:49 rdococ windows 10 on the third hand...
20:50 Calinou https://hexchat.github.io/
20:50 Raider4 Thanks
20:50 Calinou rdococ: Windows 10 has many usability improvements actually
20:50 rdococ and a Microsoft made backdoor
20:50 rdococ that got leaked
20:50 octacian !seen Krock
20:50 MinetestBot octacian: krock was last seen at 2017-02-19 19:33:46 UTC on #minetest
20:50 riff-IRC well...
20:50 Raider4 So what do i do when im on there, how do i download it?
20:50 rdococ not only that, but the companies dumb down the public
20:51 rdococ in the past, your regular Joe had a higher chance of being able to program
20:51 red-002 or you know the public is dumb
20:51 rdococ the companies made the public dumb
20:51 rdococ that's the thing
20:51 rdococ s/regular/average.
20:51 rdococ but both are kinda similar
20:51 red-002 don't think so
20:51 rdococ you think?
20:52 Calinou Raider4: download and install HexChat, then open the network list, and add a new network there, then connect to it
20:52 Calinou with the address and port I mentioned
20:52 Calinou <rdococ> in the past, your regular Joe had a higher chance of being able to program
20:52 Calinou that's because computing was a much smaller circle
20:52 Calinou not because people were smarter back t hen
20:52 Raider4 K
20:53 rdococ meh
20:54 red-002 "the good old days"
20:54 Calinou computing wasn't all green in the old days
20:54 rdococ computing used to be interesting...
20:54 Calinou and now it's not hell either
20:54 Calinou it's easy to say that things were better before, but in reality they weren't :)
20:54 rdococ I'm not so sure about that
20:55 Calinou well then... programming tooling was never so abundant, so it's easier to be productive while programming
20:55 Calinou computers were never as fast as today
20:55 Calinou hardware was never as cheap (compared to what you get) as today
20:56 rdococ programming didn't used to be that thing companies do to make computers
20:56 red-002 the internet is arguably  the most complex system ever built by humans
20:56 rdococ and I know that's not the correct definition of programming but to the general public that probably sounds ture.
20:56 rdococ true*
20:57 red-002 and right now it's arguably a lot more complex then say 2008
20:57 rdococ and most people barely even know how complex it is
20:57 red-002 don't tell me that's not at least a bit interesting
20:57 rdococ they think "The internet is a thing with websites on it."
20:58 rdococ honestly I'm not too fond of the word internet.
20:58 red-002 I don't think people appreciated the scale of the telephone system either
20:58 rdococ I wasn't talking about the scale.
20:59 rdococ I was talking about the complexity.
20:59 rdococ and back then, like computers and telephones now, telephones were probably manufactured by companies. I doubt you built your own, or even programmed it.
21:00 rdococ when companies do things, they make them into... for the thrill of it, "technological zombies".
21:00 rdococ it's such a shame things like that happen to technology.
21:01 red-002 that's quite an elitist view
21:01 rdococ elitist?
21:01 rdococ sorry, what?
21:02 rdococ I looked up elitist, it says " Someone who believes in rule by an elite group.".
21:02 rdococ I think that's the exact opposite of an elitist view.
21:02 rdococ for-profit companies are elitist, and I'm bashing them.
21:02 rdococ how am I elitist?
21:03 rdococ well, my view.
21:03 rdococ not me specifically.
21:03 red-002 you are seeing other people as some what unworthy of using infrastructure because they don't understand fully how the system works?
21:03 rdococ no.
21:03 red-002 or am I misunderstanding?
21:03 rdococ you are misunderstanding.
21:04 rdococ I am seeing for-profit corporations as unworthy of even touching such infrastructure because they'll end up causing people not to understand fully how the system works.
21:04 red-002 people don't need to understand how the system works
21:05 rdococ "yeah, they just need to pay money." a company would say.
21:05 red-002 we have moved passed the point where everyone need to fully understand everything with the advent of civilization
21:05 rdococ if someone isn't interested in knowing how these things work, then fine.
21:06 red-002 do you fully understand how the electric grid works?
21:06 rdococ but I'm sick of these large elitist groups of people - "corporations", that actively cause human ignorance.
21:06 rdococ no, and that's okay.
21:06 red-002 or how the water supply operates?
21:06 red-002 or how the sewage system works saving millions of lives in the process?
21:07 rdococ if you're going to repeat the same question over and over even though I've answered it sufficiently I'm not going to talk to you.
21:07 red-002 have you considered that people simply don't care how the internet works?
21:07 rdococ I've said already: I'm not fully sure how those systems work, but I should be able to know if I want to.
21:08 red-002 similarly as you don't care about how those systems work?
21:08 rdococ that could be a factor.
21:08 rdococ possibly influenced by the corporations too.
21:08 red-002 rdococ if people want to find out more they are a few key presses away
21:09 rdococ I spent ages looking up how a transistor functions. all I ever got was "it acts like a switch".
21:09 rdococ so I disagree.
21:09 red-002 there is this really complex system run by this company called google to help you
21:09 rdococ I'm not fucking stupid, you don't need to explain.
21:10 rdococ "looking up" referring to using a search engine.
21:10 red-002 https://en.wikipedia.org/wiki/Transistor
21:10 rdococ wikipedia doesn't help.
21:10 rdococ when I try to use wikipedia to understand things, it doesn't help.
21:11 red-002 have you considered you don't know enough about the background physic to understand it?
21:11 rdococ the background physic?
21:12 red-002 physics*
21:12 rdococ maybe if I knew exactly what the background physics were - but I'd have to learn about a transistor to know. sure it's electricity, but that's not enough info.
21:13 rdococ until recently I didn't realise that you needed both N and P type transistors to construct all logic gates.
21:13 rdococ actually wait
21:13 rdococ is that true?
21:13 rdococ see I still don't know now!
21:13 rubenwardy you use N and P semiconductors to build the transistors, the type of transistor depends on which one you place where
21:14 rubenwardy and you can build a NAND gate out of them, and you can build any other logic gate from a NAND gate
21:15 rubenwardy you need both as otherwise you'd end up with a dead signal - a lack of 1 isn't 0, it's dead. So when 1 isn't on, you need 0 to be connected
21:15 rdococ ...and I wasn't able to learn this until some time before I learned about a transistor.
21:15 rdococ lovely, isn't it, the internet? you can search and search and search and get nothing.
21:16 rubenwardy the left is a NAND, you'll notice that they come in pairs (number of N = number P) https://i.stack.imgur.com/9Dr6u.gif
21:16 kattsmisk joined #minetest
21:16 rubenwardy the best way to explain things is analogies, which is why you here the switch one a lot
21:16 red-002 https://www.youtube.com/watch?v=OwS9aTE2Go4
21:17 red-002 really that took about 30 seconds to find
21:21 cimbakahn Is there anything on this page that is easy for anyone to help me with?  ----> https://hastebin.com/itayuqesop.vbs
21:21 rdococ o_o
21:24 rdococ I could have just watched a freaking video
21:27 rdococ o_O
21:27 rdococ I still think corporations are dumbing down the general public. after all, doing so increases their profit because the general public are more ignorant.
21:28 red-002 well you are welcome to think that
21:28 red-002 It's harder to find info on something like the powergrid
21:28 red-002 so I disagree with you
21:30 rdococ how does it being harder to find info on something like the powergrid a reason to disagree with me?
21:30 rdococ another miscommunication?
21:31 red-002 the power gird is ran by the government
21:31 rdococ the government likes money too, why wouldn't the rule apply to them?
21:31 rdococ infact I'd say they're worse than the corporations
21:32 rdococ but then again
21:32 rdococ it's not like governments compete in the same area
21:32 rdococ I mean, there are elections
21:32 rdococ and that could be part of it
21:32 rdococ not saying we need to get rid of them
21:33 red-002 that's just the people in control of the goverment
21:33 rdococ haha
21:33 rdococ don't make me laugh
21:33 rdococ people in control of government?
21:34 red-002 yes you don't vote for the people that or instance run the train system or the powergrid
21:34 red-002 for instance*
21:35 rdococ no, you vote for a limited number of money-greedy idiots, then the good one comes along once in a blue moon
21:36 red-002 I would put it down to them not caring to educate the public through and not malicious intent
21:39 rdococ the companies or the government?
21:39 red-002 both
21:40 rdococ not caring sounds malicious
21:40 red-002 not really the goal of a national power grid for instance is providing a stable power supply
21:41 rdococ I am aware of that
21:41 red-002 not explaining in detail how they do it
21:41 red-002 plus they do release some information
21:41 rdococ it's different for corporations which have to compete. the elections are skewed anyway, so the government doesn't need to.
21:43 red-002 rdococ, the national grid is more of the non-political part of the government
21:43 rdococ I'm aware of that
21:44 rdococ my belief still holds for the political parts
21:48 kaeza joined #minetest
21:48 red-002 so far from what I can understand the cost of electricity constantly changes based on demand
21:52 xerox123 joined #minetest
21:54 red-002 also that Britain has a serious tea addiction
21:56 cimbakahn Does anyone know where i can find a copy of Mauvebics mm2 modpack ?
22:25 kaeza in /dev/null
22:25 kaeza :(
22:28 fireglow ;(
22:30 Hawk777 Hi! Just wondering if anyone is interested in Digilines and has some time to review https://github.com/minetest-mods/digilines/pull/36 ?
22:45 Hijiri Hawk777: I will look at it
22:45 Hawk777 Cool, thanks!
22:45 Hawk777 It’s been open for a while and is kind of stagnating.
22:55 rdococ ‮ih
23:01 Tmanyo joined #minetest
23:03 crazyR anyone on here with some know how regarding smartfs?
23:05 Hijiri Hawk777: done
23:05 Hawk777 Thanks!
23:06 Hawk777 I will take a quick pass through and fix those issues.
23:06 Darcidride joined #minetest
23:12 betterthanyou710 joined #minetest
23:13 betterthanyou711 joined #minetest
23:13 Menche joined #minetest
23:16 agaran Hawk777: I briefly readed it, why it feels like reading talk about SPICE clone nearly;)
23:16 Hawk777 hahaha :D
23:17 Hawk777 Well, yeah, that would be the crazy over-the-top implementation.
23:18 agaran well not -that- crazy
23:18 agaran and I started (and never finished) technic alike cabling but with proper handling for kirhof's law..
23:20 agaran just because I wanted it to handle more than just electricity (and handle it properly permitting to do more like real-world circuits with power measurement etc)
23:20 Hawk777 Hijiri: Fixed.
23:20 Hawk777 Ah, yes, Minetest Technic power isn’t all that accurate. Most power mods for Minetest and Minecraft don’t seem to be.
23:21 Hawk777 Blutricity in Minecraft was incredibly accurate, though the physical constants were probably a couple of orders of magnitude off. It was so accurate that someone built a switch-mode boost regulator using pistons.
23:21 Hawk777 It worked.
23:21 Hawk777 It modelled resistance, capacitance, *and* inductance of wires.
23:21 agaran Well no.. because then will be skin effect ;)
23:21 Hawk777 That was probably the most awesome thing I ever saw.
23:21 agaran and superconducting wires
23:22 agaran I am only going to do DC level stuff, nothing AC or close to AC..
23:22 Hawk777 No skin effect in Blutricity. AFAICT it modelled DC.
23:22 Hawk777 Otherwise the inductance wouldn’t have made any sense.
23:22 agaran well if it modeled inductance.. you had AC..
23:22 Hawk777 Well no.
23:22 agaran inductance for DC is pure resistance of coil..
23:23 Hawk777 No, what I mean is that the normal operation of the transmission line was to carry DC current, it would just take some time to ramp up to full.
23:23 Hawk777 So it had AC *effects*, but the bulk power transfer during normal operation was DC.
23:23 Hijiri Hawk777: alright, looks good
23:23 Hijiri I don't have the power to merge things though
23:23 Hawk777 OK. Thanks for looking anyway!
23:24 agaran Hawk777: I see, well I am going to skip AC stuff.. or I'll end up rewriting spice.. which will kaboom MT..
23:24 Hawk777 It would be a bit ridiculous.
23:24 Hawk777 If you want multiple voltages you can always just arm-wave them away as “buck/boost converter in a black box”.
23:24 agaran yep thats idea too
23:25 betterthanyou711 joined #minetest
23:25 agaran among of few others.. I want -grid- simulation not circuit..
23:25 agaran and keeping networks stored in cache to not reload mapblock unless must was one of fundamentals..
23:25 agaran so circuit -is- working even if map is unloaded
23:26 agaran anyway, someday I'll finish then will be reason to talk maybe more
23:27 Hawk777 That sounds like a lot of trouble, but if you want very large and very highly distributed systems then there probably isn’t really any other reasonable choice.
23:27 Hawk777 Coherence would be hard.
23:27 agaran yup I want big grid.. thats why I want all work off-nodes
23:27 Hawk777 Keeping the cache up to date with the real world in the face of people placing and breaking nodes, pistons moving nodes, server crashing after mapblock written but before cache updated or vice versa, etc.
23:27 agaran and with as few as possible map updates
23:28 agaran yup..
23:28 Hawk777 Good luck :D
23:28 Hawk777 (seriously, not sarcastically)
23:28 agaran thanks I'll need it (I know)
23:28 dsdasdadasdasd joined #minetest
23:34 Hijiri only needs to be consistent enough
23:34 Hijiri you could just let it stay inconsistent and check mapblocks once each game session when they get loaded
23:35 Hijiri at most once each game session
23:37 Hawk777 Yes, that would work. A volatile cache would be much easier to keep consistent than a non-volatile one, and charging around with a voxelmanipulator loading the whole universe once at server boot probably isn’t too bad.
23:41 Hawk777 Might annoy people in single-player a bit, but they probably don’t have such huge worlds anyway.
23:41 Hijiri I originally meant something like save the whole network to a file, and load it from only that at boot, then just consistentify it as areas get loaded by players walking there (except maybe machines which need to exist for their code to run)
23:42 Hijiri if crashes are infrequent enough and areas with lots of machines are visited enough, it would probably be okay
23:43 Hijiri an alternative is to just cycle through mapblocks that haven't been loaded yet, every few seconds or whatever, and consistentify those
23:43 Hijiri this one might be better since it doesn't rely on player behavior to be eventually correct
23:45 Hijiri if a player lays a transoceanic cable 1000s of nodes long then you will have to load lots of nodes compared to the number of cables that exist
23:45 Hijiri startup time is still important in multiplayer since you don't want to have too long of a downtime when restarting for maintenance
23:48 redblade7 joined #minetest
23:49 riff-IRC joined #minetest
23:54 BrandonR_away joined #minetest

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