Minetest logo

IRC log for #minetest, 2014-09-26

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

All times shown according to UTC.

Time Nick Message
15:02 loggingbot_ joined #minetest
15:02 Topic for #minetest is now Latest stable version is 0.4.10 | Please be patient, responses may take a while | Rules: http://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: http://minetest.net/servers | Logs: http://irc.minetest.ru/minetest/ | Use https://mediacru.sh for images and http://pastie.org for text
15:04 Hobodium joined #minetest
15:06 khonkhortisan joined #minetest
15:11 cities I'm from efnet
15:12 cities does this network have channel and nick registration services
15:13 PenguinDad cities: of course freenode has
15:13 cities Ive been on efnet for so long
15:13 cities they have none
15:15 zlsa joined #minetest
15:20 Nascher joined #minetest
15:21 SylvieLorxu joined #minetest
15:26 blaise yes, on efnet we must actively keep our nick
15:26 mos_basik joined #minetest
15:28 cities you on efnet too blaise
15:32 blaise cities: yerp
15:33 ShadowNinja cities: Not entirely, they do have ChanFix.
15:33 cities yeah
15:33 blaise chanfix seems to be unrelyable..
15:33 cities its actually worked pretty well
15:33 cities for me
15:34 blaise sometimes it works great, other times it'll deop me in a channel I've been holding for 20 years
15:34 cities wow really
15:35 blaise no big deal, that's what bots are for
15:35 cities :)
15:35 blaise cd ~/minetest && git pull
15:36 blaise oops
15:36 ShadowNinja num_times_irc_used_as_shell++;
15:37 blaise got a little excited with my alt-tabbyness
15:37 Animetrom joined #minetest
15:41 proller joined #minetest
15:44 Animetrom joined #minetest
15:44 asie joined #minetest
15:48 _3SidedSquare joined #minetest
15:49 twoelk joined #minetest
15:56 blaise !server midnightsystems
15:56 blaise :o
15:56 MinetestBot blaise: MidnightSystems | midnightsystems.net | Clients: 1/10, 0/1 | Version: 0.4.10 / minetest | Ping: 260ms
15:57 john_minetest joined #minetest
15:57 john_minetest joined #minetest
15:57 Amaz !server Lord of the Rings
15:57 MinetestBot Amaz: No results
15:58 Amaz !server lott
15:58 MinetestBot Amaz: No results
15:58 jp joined #minetest
15:58 Amaz :(
16:01 jp if you cut the screen from a laptop, it may be normal to have a slower wifi connection then ?
16:01 Tux[Qyou] joined #minetest
16:03 proller joined #minetest
16:03 George__ joined #minetest
16:04 George__ Hi how do you turn over stone ?
16:04 George__ or any block like wood?
16:04 john_minetest !server Lord
16:04 Jordach -!- Question doesn't make sense, try again.
16:05 MinetestBot john_minetest: Lord of the Test hosted by OldCoder | minetest.org:30020 | Clients: 0/20, 1/9 | Version: 0.4.10-dev / lott_game | Ping: 1079ms
16:05 john_minetest Oh, cool, hosted by OldCoder.
16:05 blaise jp: eh, no.
16:05 jp blaise : my connection became suddently slow after that
16:06 blaise jp: you should notice the wireless antennas, they are little wires comming from the wireless device inside the laptop case
16:06 George__ ok I eane to put a decoradive stine on my cassel and I'm usinf stars to do it but I need them 108 %
16:06 john_minetest sourcecode of jp's OS:  " if(screen.disconnect()){ internet.slow(); } "
16:06 blaise and it's entirely possible that you screwed up some shielding which is interfering with your wireless connection
16:06 jp blaise : ok, I'll take a look into it
16:07 jp I thought there was some wifi devices hidden in the screen, to amplify the signal or so
16:07 blaise jp: why would you want to remove the screen?
16:07 jp because it was dead
16:07 jp I cut the plastic, cables, etc
16:08 George__ I've seen it done in youtube vedios
16:08 blaise jp: it's entirely possible that the antenna be in the lid,
16:08 blaise jp: which is why I ask, why did you "Cut" the screen off?
16:08 jp indeed, that why I asked...
16:08 blaise did you use a pair of lawn shears?
16:09 blaise a hand saw?
16:09 jp wood & metal saw
16:09 blaise why didn't you use a screw driver?!
16:09 Hobodium Screw drivers don't cut things well, duh!
16:09 blaise he shouldn't have cut anything off
16:10 jp I cut it because it was annoying to have this dead thing ahead me (I relied the computer to a TV)
16:10 blaise if the screen is broke, and you want it off the device.. great
16:10 jp I prefer the brutal method
16:10 jp screwdiver is more long
16:10 blaise but lcd screens arn't that expencive..
16:11 jp 30$ on ebay
16:11 blaise and, you could have destroyed something in the laptop by using a saw..
16:11 blaise so why potentialy  waste $30 ?
16:12 jp there was some different cable into the plastic
16:12 Hobodium I think you are generally unlikely to do much damage to a laptop by just cutting off the screen. They don't usually stick anything that important in the lid.
16:12 blaise NO KIDDING
16:12 blaise Hobodium: aside from the LVDS cable, yes?
16:12 blaise which could have shorted out the laptop motherboard
16:13 Hobodium I doubt a low voltage cable is going to short much out, even fi you did manage to actually short anything
16:13 jp I think I can compensate this damage by increasing the wifi signal
16:13 blaise lol
16:13 blaise jp: what's the purpose of this machine?
16:14 jp internet naviguation mainly
16:14 Hobodium Also, the cable tends to come from the LCD panel itself from the ones I've worked on, so you can still replace it technically. Maybe he can use his saw to make a new frame for the lid!
16:14 jp -u
16:14 blaise I've always used pizza boxes
16:15 blaise it's neat becuase as they stack on the floor it's like a server rack..
16:15 blaise but pizza boxes..
16:15 blaise but it's humming...
16:16 Hobodium Just need to make sure nobody tosses out the pile of pizza boxes
16:16 blaise I keel j00 and your pizza box stealing madness
16:17 brodes left #minetest
16:18 George__ joined #minetest
16:19 George__ how do you turn a block of wood on its side so the grain is going vertical nor horazonal?
16:20 George__ sorry fpr the spelling
16:21 George__ fpr not fpr
16:21 jp https://forum.minetest.net/viewtopic.php?id=4807
16:22 jp or : https://forum.minetest.net/v​iewtopic.php?f=9&t=10047  (not sure it work for 6d)
16:23 jp moreblocks have "horizontal" trees nodes iirc
16:24 nully joined #minetest
16:24 blaise George__: use a screwdriver
16:25 blaise George__: and wooden planks are different then wood
16:25 blaise George__: wood looks like a section of a log
16:25 George__ ok ty
16:25 Salbei_ joined #minetest
16:36 Some_Donkus joined #minetest
16:40 Mlpearc joined #minetest
16:40 Amaz joined #minetest
16:40 Mlpearc left #minetest
16:41 * blaise feeds Amaz to MinetestBot
16:41 Amaz :(
16:41 * blaise sprays Amaz with bbq sauce
16:41 * Amaz think that is unnecessary!
16:41 * Amaz think that is even more unnecessary!
16:42 * blaise lights the grill on fire
16:42 * blaise gives Amaz a big smile
16:43 * Amaz runs away!
16:43 cities Hey any public servers running the Carbone mod?
16:44 cities That's one that looks interesting to me to try
16:44 cities Or game rather
16:44 cities I may be using wrong terminology
16:45 MinetestForFun the carbone subgame is used in many server but "in part"
16:45 rubenwardy joined #minetest
16:45 MinetestBot rubenwardy: 09-23 00:57 UTC <jordan4ibanez> your nodebox editor is incredible.
16:45 MinetestForFun because the carbone subgame is very light, it needs more mods :p
16:45 jordan4ibanez That's awesome
16:46 rubenwardy Hi all!
16:46 rubenwardy Thanks, jordan4ibanez :P
16:46 jordan4ibanez Hello
16:46 jordan4ibanez And you're welcome!
16:47 Krock joined #minetest
16:47 Krock Heya
16:47 MinetestForFun someone can help me ? i don't understand very good the "farming (redo)" mod, i don't know why, but i can't found the "forest soil 1, 2, 3, 4) of the mod, for begin my farm...
16:47 Jordach shitcicles
16:47 Jordach i broke left mouse
16:47 MinetestForFun Hi rubenxardy
16:47 MinetestForFun rubenwardy*
16:47 Krock Jordach, -button?
16:48 Jordach yeas
16:48 Krock MinetestForFun, you're sure it's not a dirt group?
16:48 cities Ok
16:48 cities Very light mod
16:48 Jordach i even took it apart and clicked all of the microswitches
16:49 Krock Jordach, good old' mice with wheel. alive since 1997
16:49 Jordach Krock, it cost £3
16:49 doomtron joined #minetest
16:50 cities Man can I leave work yet
16:50 Krock ^  you can
16:50 Hobodium Well, you can. Probably not a good idea though.
16:51 john_minetest Looks awesome: https://www.kickstarter.com/projects/2091603040/t​otem-the-premium-full-featured-virtual-reality-he
16:51 cities I wanna go home and play
16:51 cities The game
16:52 blaise I can't seem to get either one of these fishing mods to work
16:52 blaise I mean, I can fish..
16:52 blaise but I don't catch anything
16:52 blaise like,evahh
16:54 blaise WOOOHOOOOO!!!!! [U]   == media-libs/mesa (10.2.7@09/19/2014; (~)10.2.7 -> (~)10.3.0): OpenGL-like graphic library for Linux
16:54 * PenguinDad meows at blaise
16:56 * Krock checks out latest commits and decides if he should compile or not
16:56 * sfan5 meows at blaise
16:57 jp joined #minetest
16:58 zat joined #minetest
17:01 cities my 5 year old daughter
17:01 Haudegen joined #minetest
17:01 cities she loves sitting with me when I play Minecraft
17:01 cities so last night she asked to play minecraft
17:02 cities I said I'm not playing minecraft, I'm going to play Minetest
17:02 hoodedice joined #minetest
17:02 doomtron kkkk
17:02 sfan5 o/ hoodedice
17:02 cities "but I don't want minetest! I want minecraft!"
17:02 cities but dear its a free open source alternative
17:02 cities she didn't care
17:02 sfan5 lol
17:04 DusXMT I;ve just found out that diving in minetest is really fun, I like it
17:04 hoodedice came on for ##java, sorry
17:05 sfan5 hoodedice: do you even java?
17:06 * Sokomine shoots whoever did the strange slabs in realtest
17:06 MinetestBot Sokomine: 09-23 06:43 UTC <est31> Hi there is a bug with your spraybooth. When you "take the output" and then place it in your inventory where there is already something else, that something gets deleted. Normal behaviour would be that that something then hangs at the cursor and can be placed somewhere else.
17:06 Sokomine !tell est31 that's a known bug in the engine/builtin. i hope it will get fixed eventually. it's issue #944
17:07 MinetestBot Sokomine: 09-23 06:47 UTC <est31> ok, you noticed that yourself already. #944
17:07 MinetestBot Sokomine: I'll pass that on when est31 is around
17:07 rubenwardy lol
17:07 Sokomine *g*
17:07 Sokomine hope that bug gets fixed eventually
17:08 PenguinDad hoodedice: I always come on for ################doweneedmore#s :P
17:08 Krock cities, too young to understand what "open source" means?
17:08 cities lol
17:08 cities kind of
17:10 sfan5 !tell sfan5_ test
17:10 MinetestBot sfan5: yeah, sure, whatever
17:10 sfan5_ meow
17:10 MinetestBot sfan5_: 09-26 17:10 UTC <sfan5> test
17:10 sfan5 hm
17:10 sfan5 that seems to work
17:12 doomtron isnt minetest free software?
17:12 sfan5 yes
17:12 MinetestBot sfan5: 09-26 17:12 UTC <john_minetest> You will receive a fish now.
17:12 sfan5 :3
17:12 * john_minetest gives sfan5 a <'(((-<
17:12 * sfan5 noms the fish
17:13 cities are you a cat
17:14 cities or a shy guy from Mario Kart 8
17:14 cities which reminds me what is the purpose of a nyan cat block
17:14 sfan5 I'm a cat
17:14 sfan5 nyan cat? purpose?
17:14 doomtron i want tolisten
17:14 sfan5 those two words do not fit together ;)
17:14 cities you're right
17:14 cities my question is moot
17:15 blaise lol
17:15 PenguinDad sfan5: three words ;P
17:16 sfan5 oh
17:16 sfan5 right
17:16 * blaise sips his coffee
17:16 sfan5 !c len("nyan cat purpose".split(" "))
17:16 MinetestBot 3
17:17 cities so you can craft nyan cat blocks
17:17 cities and their rainbows
17:18 sfan5 no
17:18 sfan5 you can only find them
17:18 cities really
17:18 sfan5 !wiki Nyan Cat
17:18 cities so they exist somewhere
17:18 MinetestBot "Nyan Cats are extremely rare blocks." - http://wiki.minetest.net/Nyan_Cat
17:18 cities hah
17:19 Krock cities, I saw a mod which allows you to craft rainbows
17:19 cities that is hilarious
17:19 cities and bizarre
17:20 Krock Added 7 mods and updated 5 (Mod Search)
17:20 blaise apparently with neogloops mod, you end up with rainbow caves
17:20 cities blaise  do you play on a multiplayer server
17:20 cities so before I understood what happens when you die on there
17:20 sfan5 !wiki Nyan Cat Rainbow
17:20 MinetestBot "Nyan Cat Rainbows are extremely rare blocks, found in proximity of Nyan Cats." - http://wiki.minetest.net/Nyan_Cat_Rainbow
17:20 blaise I run a multiplayer server
17:21 cities someome says to me
17:21 cities have you seen my bones
17:21 cities I'm thinking..
17:21 cities umm not lately
17:21 cities blaise  which one is yours
17:21 rubenwardy Any recommendations for text / code editors on Ubuntu based operating systems? Sublime or Notepad++ would be perfect, except the first is proprietary and the second is windows only. I don't really want a full IDE.
17:21 blaise !server midnight
17:21 MinetestBot blaise: MidnightSystems | midnightsystems.net | Clients: 0/10, 0/2 | Version: 0.4.10 / minetest | Ping: 125ms
17:22 cities oh nice
17:22 blaise cities: which one is yours?
17:22 cities lol...are you asking if I run a multiplayer server
17:22 blaise rubenwardy: gvim or vim?
17:22 blaise rubenwardy: or emacs if you can stand it?
17:23 doomtron vim, emacs, nano, gedit
17:23 rubenwardy Currently looking at Kate
17:23 rubenwardy gedit is what I am moving from
17:23 blaise meh, that's kde dependent
17:23 rubenwardy ogh
17:23 rubenwardy oh
17:23 rubenwardy Vim looks a bit ugly in the screenshots, but I'll give it a try.
17:24 rubenwardy reminds me of Vimto
17:24 cities I want to check out your server
17:24 cities I may already have
17:24 doomtron https://xkcd.com/378/
17:24 doomtron I use nano most of time
17:24 Calinou joined #minetest
17:25 stujones11 joined #minetest
17:25 Krock <3 C#
17:25 cities i tried to go to midnightsystems.net as a webpage
17:26 erlehmann joined #minetest
17:26 PenguinDad eee​w C#
17:26 cities to see if any server info/world map was there
17:26 blaise hrmm
17:26 blaise I need to do work on my car
17:26 Krock erlehmann
17:27 blaise oil change, filters, plugs'n'wires
17:27 blaise but I have my son to look after
17:27 blaise :G
17:27 PenguinDad Krock
17:28 Krock PenguinDad
17:28 OldCoder john_minetest, Lord of the Test is pretty good
17:30 cities sfan5  I did not realize you were the same person as ninjakitten
17:31 sfan5 then you know that now
17:31 zlsa joined #minetest
17:32 cities I think I visited your server
17:37 doomtron guys, im running a default server and even being able to connect to it from LAN I belive my internet provider isnt allowing me to host any server trought his network
17:40 sfan5 doomtron: not allowing or preventing?
17:40 Calinou officially, not a lot of them allow hosting game servers
17:40 Calinou but you can always do it
17:40 doomtron preventing i think
17:40 Calinou try another port
17:40 Calinou but 30000 is rarely a restricted one
17:40 Calinou usually, the restricted ports are 25 and 80
17:40 sfan5 why 25?
17:40 sfan5 is that ftp?
17:41 doomtron its a radio internet service, i believe they are using some kind of routing which is blocking me
17:41 Calinou https://github.com/stuntrally/tracks/commi​t/b0e3c3f26729d60c53a25c337b72be92a7e092ba
17:41 Calinou sfan5, SMTP I think
17:41 sfan5 !g port 25
17:41 MinetestBot sfan5: http://www.port25.com/
17:41 sfan5 !title
17:41 MinetestBot sfan5: The SMTP Server Software Leader: PowerMTA
17:41 sfan5 yup
17:41 Calinou doomtron, in mobile Internet (3G/4G and such) you can't host a server because you don't have a routable public IP at all
17:42 doomtron so the answer would be remobo?
17:42 sfan5 nah
17:42 Calinou don't ever use that
17:42 sfan5 vpn on a vps would be infinitely better
17:42 huw joined #minetest
17:42 blaze joined #minetest
17:43 doomtron hmm
17:44 doomtron but a vpn would not make my server private to that network?
17:45 sfan5 no
17:45 sfan5 you can forward port 30000 on your vps to your computer
17:45 blaise or rent a shell for $5 a year and put the server on the shell
17:47 blaise 12:47:02: ERROR[ServerThread]: ServerEnv: Trying to store id=10657 statically but block (5,0,5) already contains 528 objects. Forcing delete.                                                                                                                                                                               │
17:47 blaise :(
17:48 Halo joined #minetest
17:48 MinetestBot Halo: 09-23 18:08 UTC <Krock> surprise!
17:51 Inspire049 joined #minetest
17:52 Calinou Carbone: Remove outdated, annoying Awards mod. Note that you can get it here as a mod: https://forum.minetest.net/v​iewtopic.php?f=11&amp;t=4870
17:52 Inspire049 hi
17:53 blaise Calinou: what ever happened to that awards mod
17:53 blaise did rubenwardy abandon it?
17:53 Calinou it looks like so anyway :/
17:53 Calinou but it still works on latest versions
17:53 Calinou the pop-ups are very annoying
17:54 blaise rubenwardy: why did you abandon your mod?
17:54 Calinou and I don't like the concept of such achievements much anyway
17:54 Calinou probably a lack of time, he maintains dozens of mods already
17:54 rubenwardy No, I just can't be bothered to update it.
17:54 Calinou I'm trying to put Carbone on a diet by removing useless mods
17:54 rubenwardy And NBE
17:54 blaise I do, but I feel like the visual notification shouldn't be centered on the screen and have to be interacted with to continue with anything
17:54 Calinou to make it more maintainable
17:55 Calinou blaise, needs to be done with the HUD then
17:55 Calinou more performance-costy server-side
17:55 Calinou the HUD is not made to make menus
17:55 blaise Calinou: I'm rather fond of the HUD mod
17:55 blaise :)
17:55 Calinou most HUD mods rely on timed routines
17:55 rubenwardy If someone would like to compile a list of balanced awards, then I'll add them.
17:56 Calinou rubenwardy, Carbone had quite a set of custom awards
17:56 Calinou you can find them in the GIT history
17:56 Calinou https://gitorious.org/calinou/carbone/commi​t/e00888f07072a7191d2270ec7091de22ec4fb211
17:56 Calinou https://gitorious.org/calinou/carb​one/commit/e00888f07072a7191d2270e​c7091de22ec4fb211#mods/awards/init.lua
17:56 Calinou this, more accurately
17:58 john_minetest OldCoder: I already played LotT before
17:59 Calinou https://github.com/minetest/minetest/issues/1467
17:59 Calinou does this allow us to make a Vanish mod?
17:59 Calinou Krock, ^ :)
17:59 Calinou by exploiting it
18:00 Krock Calinou, possible. try it :P
18:01 Krock YAY! <3 mt_pre_mapper.exe
18:01 Inspire049 joined #minetest
18:02 Inspire049 hi
18:02 blaise hi
18:02 sfan5 hi
18:02 _tpe joined #minetest
18:04 Krock aagh imgur!
18:04 Inspire049 is widdos online?
18:04 Krock nope.avi
18:04 Krock try isis.inchra.net #minetest
18:04 PenguinDad Krock: How 'bout mediacru.sh?
18:04 blaise lol
18:05 Krock PenguinDad, crush crush. I would need to transfer everything then. no.
18:05 PenguinDad Krock: why?
18:06 Krock PenguinDad, because I keep forgetting where my images are saved to
18:06 blaise what about google?
18:06 blaise chances are, they're already there
18:06 blaise XD
18:07 blaise damn shell exploits
18:07 blaise everyone was all like "oh no, it's only bash"
18:07 blaise turns out it's any shell
18:07 blaise zsh, sh, ksh
18:08 blaise all of them
18:08 blaise fish
18:08 blaise I like fish btw
18:08 blaise it's nice
18:09 PenguinDad fish sounds delicous :D
18:09 blaise http://fishshell.com/
18:09 blaise Friendly Interactive SHell
18:12 cities cool name..
18:12 blaise PenguinDad: honestly I love eating fish, but I'm afraid to..
18:13 Krock Finally! https://forum.minetest.net/vi​ewtopic.php?p=155647#p155647
18:14 PenguinDad blaise: I wonder if fish added Ctrl-R since I looked at it the last time :/
18:15 * blaise shrugs
18:15 hintss joined #minetest
18:15 blaise PenguinDad: what was ctrl-r supposed to do?
18:15 blaise
18:16 blaise reverse-i-search ?
18:16 PenguinDad blaise: yep
18:17 * blaise nibbles on a caramel apple cookie
18:19 blaise sfan5: did you ever see my question about if memcached could be used with minetest?
18:20 blaise ShadowNinja: would you happen to know if memcached might could be used with minetest ?
18:21 sfan5 blaise: whats memcached?
18:21 ShadowNinja blaise: No, I've never used that.
18:21 ShadowNinja Sounds like "memory cache daemon"
18:22 ImQ009 joined #minetest
18:23 PenguinDad sfan5: this one I guess http://www.memcached.org/
18:25 sfan5 and what should it cache?
18:28 sfan5 asie: that license they use o.O
18:28 sfan5 context: https://twitter.com/asiekier​ka/status/515568180404957184
18:28 sfan5 !tw https://twitter.com/asiekier​ka/status/515568180404957184
18:28 asie sfan5: Yes.
18:29 asie The mod at least 4 major Minecraft mods depend on, some of which are FOSS... is not FOSS
18:29 sfan5 is that even enforceable?
18:29 sfan5 !tw https://twitter.com/asiekier​ka/status/515568180404957184
18:29 MinetestBot https://cdn.mediacru.sh/m7h9tC7pkS54.png Not even bothering to make a comment on this one. (@asiekierka)
18:29 asie Probably.
18:29 asie CovertJaguar's is, at least
18:29 asie He knows his legal stuff well.
18:30 sfan5 "Also, since it's not fully open, it keeps asie far far away, which is seriously worth doing."
18:30 asie Yes, they hate me this much
18:30 * sfan5 wonders why asie is hated
18:30 asie I don't know
18:30 asie I think it's related to some of my blog posts
18:30 asie http://blog.asie.pl/
18:30 huw joined #minetest
18:31 * sfan5 reads
18:32 rubenwardy How does mese spawn naturally (what item code?)
18:32 Calinou default:mese I think…
18:32 Calinou or default:meseblock now
18:32 Calinou default:mese is likely an alias
18:32 sfan5 "*A Functionally Equivalent Statement is a code fragment which, regardless of whitespace and object names, achieves the same result. Basically you can't copy the code, rename the variables, add whitespace and say it's different. It's not."
18:32 sfan5 asie: obfuscate all the code?
18:32 rubenwardy default:stone_with_mese
18:33 Mati^1 joined #minetest
18:33 Calinou that's mese ore
18:33 Calinou it also spawns as blocks naturally
18:33 Calinou sfan5, obfuscate ALL the code!
18:33 Calinou asie, this guy should work at Google, on the Android SDK :)
18:33 blaise sfan5: ShadowNinja: it's used to cache databases
18:34 sfan5 blaise: why not just use redis?
18:34 blaise sfan5: because memcached works over a network.. so you can distribute the database load to multiple machines
18:35 Calinou the FSF doesn't define open source, it defines free/libre software, asie
18:35 sfan5 asie: "Note 4: And now I'm a jerk for trying to raise awareness of a potential issue which might bite us all with the next Minecraft update. I hate this community sometimes" s/sometimes//
18:35 sfan5 blaise: redis does too
18:35 Calinou well, just quit Minecraft modding, it's hell on earth
18:35 * Jordach pets asie
18:35 blaise sfan5: where?
18:35 asie Calinou: I already did
18:35 * sfan5 meows at Jordach's lamp
18:35 asie I also use open source for simplicity
18:35 sfan5 blaise: where??
18:36 asie visible source is whatever is not free software but open source
18:36 blaise oh
18:36 Calinou that's often called shared source
18:36 Calinou the OSI says open source must be redistributable, etc
18:36 * blaise explodes
18:36 Jordach asie, the MC community since 2011 proved their nothing but a bunch of useless twats and hippocrites
18:36 Calinou if you can just view it, it's “shared source”
18:36 Jordach they're*]
18:37 asie Calinou: I don't even bother making all the distinctions
18:37 asie If it fulfills the four freedoms, it's open source, if you can read the source, it's visible source
18:37 ImQ009_ joined #minetest
18:37 asie and if it restricts you into their own viral box, it's "free software"
18:37 asie free as in America
18:37 blaise ah poop
18:37 blaise so how do I do this
18:38 blaise instead of localhost I use the machine I want the server to access the redis database on?
18:38 * PenguinDad gets blaise's pieces together
18:38 blaise but that doesn't distribute the load of the database over multiple servers
18:38 sfan5 asie: "Nobody can legally take it up without the explicit permission of the developer, which sometimes is not given at all (see RedPower 2, [...]" RedPower2 is abandoned?
18:38 proller joined #minetest
18:38 asie sfan5: Since 1.4.7, yes.
18:38 zlsa joined #minetest
18:39 asie Eloraam quit after someone from 4chan called her out for being transgender
18:39 asie Then came back in 1.7.10
18:39 asie then decided to quit again and work on Minia, her own propiertary clone
18:39 * Calinou sad laugh
18:39 sfan5 blaise: redis_address = <db server>, you can't use multiple servers IIRC
18:39 sfan5 asie: and is there any alternative?
18:39 asie Yes!
18:39 asie RedLogic is the MIT one
18:39 blaise sfan5: but with memcached you can..
18:39 asie Project: Red is a fork of RedLogic that used to be LGPL, then rewrote everything and went closed-source
18:39 blaise hence the distributed database backend
18:40 asie there's also BluePower
18:40 asie an LGPL clone that tries to be a lot more faithful to RP2
18:40 asie but early in dev
18:41 sfan5 asie: so basically no
18:41 sfan5 :(
18:42 sfan5 I really enjoyed rp2
18:42 asie sfan5: basically yes
18:42 asie just use RedLogic
18:42 sfan5 1.7.10?
18:42 asie 1.5.2+
18:42 asie up to 1.7.10
18:42 asie I did the 1.7 port
18:42 sfan5 awesome
18:42 asie then immibis fixed it up
18:43 erlehmann Calinou FYI, i reported bug with minetest and maintainers seem to be quick in debian
18:44 erlehmann asie there is an open source definition http://opensource.org/osd-annotated
18:44 asie erlehmann: i don't really care anymore
18:44 asie i just call things what i feel they should be called
18:45 blaise http://code.google.com/p/memcached/
18:45 erlehmann asie yeah, but the OSI *defined* (and popularized) the term. so if you call it something else, well, everyone will misunderstand you.
18:45 asie erlehmann: there are tons of misunderstandings
18:46 blaise sfan5: so I suppose to use that we would need redis and memcached
18:46 asie and i'm not bothering to use 'free software' as that term brings even more misunderstandings
18:46 asie so there
18:46 Calinou free software, done properly, doesn't cause confusion
18:46 sfan5 blaise: why both?
18:46 Calinou cf. libre software
18:46 Calinou free/libre if you want
18:46 sfan5 asie: http://youtu.be/1IowoeWOgfc?t=14s
18:46 blaise and have memcached cache the redis database over multiple machines
18:46 asie Calinou: nope
18:46 asie most people think free software is freeware
18:46 Calinou there are other ethical implications to the term
18:46 asie and libre software would just make me look like a nerd
18:46 erlehmann asie why do the people hate you?
18:46 erlehmann the minecraft people?
18:46 asie erlehmann: who knows?
18:46 Calinou http://www.gnu.org/philosophy/op​en-source-misses-the-point.html (-:
18:47 asie Calinou: richard-stallman-misses-the-point ;-)
18:47 asie erlehmann: maybe because i actually give a shit about licensing, what mods are used, porting things
18:47 erlehmann asie i see!
18:47 asie and i BRING THE TOPICS UP
18:47 asie instead of keeping it to myself
18:47 * sfan5 meows at asie
18:47 asie i go on IRC and say "hey, that's an issue"
18:47 asie and then everyone puts me on /ignore
18:47 blaise congratz
18:48 Calinou asie, the FSF isn't only about Richard Stallman though.
18:48 Calinou it would be sad to “simplify” it to only one man
18:48 erlehmann saying „free software“ is now „open source“ is like saying „rock n roll“ is now „new wave“
18:48 Calinou there's a guy behind the OSI too, Eric Raymond
18:53 maljac joined #minetest
18:53 blaise sfan5: do I set backend = redis before or after migration?
18:53 rubenwardy Awards update! Now uses HUD. https://github.com/rubenwardy/awards
18:53 blaise sfan5: my guess is after, so it knows where to find the current backend.. yes?
18:53 sfan5 blaise: ummm... minetestserver --migrate <backend> automatically updates the setting
18:54 rubenwardy (and removes easy awards)
18:54 rubenwardy like first join
18:54 Calinou rubenwardy, :O
18:54 Calinou nice
18:54 Calinou yes, remove redundant awards
18:54 Calinou but I probably won't re-add it to Carbone
18:54 rubenwardy See what happens when you prod when to update
18:54 rubenwardy XD
18:55 rubenwardy That's fine, I am doing it because it has come to my attention
18:55 blaise sfan5: is the directory map.db where the leveldb stuffs is stored?
18:56 rainbowdah joined #minetest
18:56 sfan5 blaise: yup
18:56 rainbowdah hi
18:57 rainbowdah stan5?
18:58 ImQ009 joined #minetest
18:58 sfan5 what?
18:58 blaise that's an f, not a t
18:58 rainbowdah oh sorry i thought my connetion went out
18:58 rainbowdah just testing
18:59 * blaise gives sfan5 a package of kipper snacks
18:59 * sfan5 noms them
19:00 sfan5 rainbowdah: just do MinetestBot! then
19:00 sfan5 MinetestBot!
19:00 MinetestBot sfan5!
19:00 rainbowdah what is minebot?
19:01 rainbowdah sorry minetestbot
19:02 sfan5 MinetestBot is a bot
19:02 Amaz joined #minetest
19:05 rainbowdah the server seems alot less inactive since i last been on
19:08 blaise lol
19:08 blaise when I went to migrate, pipeworks threw an error..
19:08 blaise so I had to disable pipeworks to migrate the database
19:09 blaise rainbowdah: what server?
19:09 Krock is there anything equivalent to   string foo = (bar? "Yes" : "No");    in Lua?
19:09 rainbowdah the freenode server
19:09 sfan5 Krock: no
19:09 Krock sfan5, okay.
19:09 blaise rainbowdah: the freenode irc server?
19:09 rainbowdah yes
19:10 blaise eh, I can't recall when it's ever been even close to inactive
19:10 blaise maybe the first few years freenode existed..
19:10 PenguinDad Krock: you could use "bar and 'Yes' or 'No'"
19:10 Krock mah hero.
19:10 erlehmann thanks asie i am reading your blog now!
19:10 rainbowdah anyways ive been having trouble finding the server on minetest called minetestville
19:11 blaise !server ville
19:11 MinetestBot blaise: Minetestville | 162.156.68.250 | Clients: 6/40, 5/6 | Version: 0.4.10-dev / minetest | Ping: 182ms
19:11 blaise that one?
19:11 Calinou * sfan5 wonders why asie is hated
19:11 Calinou the same reason I'm hated
19:11 Calinou not following popular, general opinion
19:11 rainbowdah yeah
19:11 blaise :)
19:11 blaise glad to be of service
19:11 * blaise steps outside for a few
19:12 Calinou smoking kills
19:13 tadni joined #minetest
19:13 PenguinDad Calinou: Life is 100% deadly
19:14 doomtron r u a bot then?
19:14 rainbowdah its been along time since i was on the minetest server
19:15 rainbowdah anyt wait too say hi to max and batman
19:17 rainbowdah !server ville
19:17 MinetestBot rainbowdah: Minetestville | 162.156.68.250 | Clients: 6/40, 5/6 | Version: 0.4.10-dev / minetest | Ping: 182ms
19:19 blaise wow, my remote redis server ran out of ram
19:19 blaise that's fscked
19:19 * PenguinDad fscks blaise
19:19 rainbowdah bad peguindad
19:20 * Jordach fcsks MinetestBot
19:20 Jordach ( ͡° ͜ʖ ͡°)
19:20 PenguinDad I can't check blaise's filesystem :(
19:20 blaise :o
19:20 sfan5 ( ͡° ͜ʖ ͡°)
19:20 blaise PenguinDad: it's btrfs
19:20 sfan5 ^
19:20 sfan5 btrfs yay
19:21 Hobodium ɿ(。・ɜ・)ɾⓌⓗⓐⓣ?
19:22 erlehmann asie nice http://blog.asie.pl/2014/05/how-i-​quit-minecraft-and-went-minetest/
19:22 erlehmann i made a rudimentary mod for a glider
19:22 erlehmann from PilzAdam's boat mod
19:22 erlehmann but i can only model very basically in wings3d
19:22 erlehmann and do not have an idea of nice flight physics
19:23 Calinou there are hovers in Carbone
19:23 asie well, i'm writing a magnum opus post now
19:23 asie https://docs.google.com/document/d/1H6tCCS​ko8X_H7_9X1vQX6yZ9_4VU9nTEEgXnrtTekjw/edit
19:24 Calinou Google docs :(
19:25 Jordach "As a person who has a Ph. D in drama generation"
19:25 sfan5 lol
19:25 * Jordach actually laughs a little
19:27 cities I want to play this Carbone thing
19:27 cities everywhere I read says its so good
19:28 PenguinDad cities: just play it then
19:28 cities Id like to do it on multiplayer but not sure which servers are using it
19:29 jojoa1997 joined #minetest
19:30 Calinou cities, http://servers.minetest.net
19:30 Calinou tells the gameids of servers
19:30 Calinou not many servers run it
19:30 Calinou <cities> everywhere I read says its so good
19:30 Calinou hey, cool :D
19:30 cities you mean the flags?
19:30 cities sorry
19:31 cities oh I see one
19:31 cities H20
19:32 Calinou unpopulated
19:32 cities I just did control+f and typed in carbone
19:33 alket where could i get a free minetest server xD
19:33 rainbowdah noboy remebes me on the server
19:33 cities Calinou  maybe you could help me out. What am I looking at wrong
19:34 sfan5 alket: nowhere?
19:34 Calinou no, there are really that few servers using it
19:34 rubenwardy Calinou, I back ported the mods from your (deleted) fork in Carbone. Do you mind if I change the license of Awards to GPL?
19:34 cities oh
19:34 Calinou yes, do that
19:34 alket :)
19:34 cities man
19:34 cities if its so awesome why is that
19:34 alket what about a cheap and good one ?
19:35 sfan5 alket: a 512mb digitalocean vps is probably enough
19:35 Miner_48er joined #minetest
19:36 Calinou 512 MB may be limited in player count
19:36 Calinou cities, it's not default
19:37 alket we are 4 players ?
19:37 Calinou ah
19:37 Calinou use Server performance settings anyway
19:37 rubenwardy s/mods/awards
19:37 alket it would be better if I could host , but it seems like it doesnt work
19:37 alket from home
19:37 sfan5 alket: what did you try so far?
19:38 cities omg I never realized you could hover over the version column
19:38 cities and see a list of mods
19:38 alket sudo nohup minetest --serveres , but i dont understand it
19:38 sfan5 alket: try running minetest --server first
19:38 doomtron does minetest accept ipv6 server addresses?
19:39 sfan5 doomtron: yes
19:39 alket sfan5, i did
19:39 sfan5 !server ping:least
19:39 MinetestBot sfan5: Clip Public Server | 188.40.69.134 | Clients: 15/24, 8/21 | Version: 0.4.10-dev / minetest | Ping: 18ms
19:39 sfan5 alket: what was the result?
19:39 alket sfan5, the game opened , and some irrlicht in cli
19:40 alket sfan5, http://pastebin.ubuntu.com/8435242/
19:40 sfan5 alket: did you start "minetest --server"
19:40 alket no
19:40 alket without --
19:41 alket sfan5, http://pastebin.ubuntu.com/8435246/
19:41 basse joined #minetest
19:42 zat No matter what I try... I just cant figure out what octaves and persist do in a perlin noise.
19:42 Calinou cities, when you hover underlined stuff, you see info
19:43 blaise so, I'm over here trying to migrate my server to a redis db on a remote machine
19:44 blaise and eh, it doesn't seem to notice if the redist server is up or down
19:44 Mati^1 joined #minetest
19:44 blaise so.. I'm not sure if this is actually  working
19:44 blaise and when I tail -f the redis.log in debug mode, I don't see any activity at all
19:45 blaise so, I'm not sure if it's even communicating with the remote machine
19:45 blaise I don't believe it is..
19:46 alket sfan5, what about now
19:46 alket i mean , what now
19:46 sfan5 alket: it's running
19:47 alket but they can't connect
19:47 sfan5 where are you hosting it?
19:47 alket sfan5, home
19:48 sfan5 alket: forward port 30000 udp on your router to the computer the server runs on
19:49 Krock wat. minetest fails to compile? eww. devs.
19:50 alket sfan5, from 3000 to ?
19:50 sfan5 alket: just 30000
19:51 blaise Krock: mine compiled just fine
19:51 alket sfan5, but it has Start Port End Port
19:51 Krock mine didn't. that's the problem. using the same setup as last week when it compiled fine
19:51 zlsa alket, 30000 to 30000?
19:51 zlsa or 30001?
19:52 sfan5 alket: from 30000 to 30000
19:52 blaise that's got to look like a complete mess in iptables
19:52 sfan5 blaise: routers always do a mess with iptablers
19:52 sfan5 -r
19:52 blaise what ever script you're using must suck big hairy whale poop
19:53 sfan5 blaise: it's probably the router config gui
19:54 blaise you have to specify a range? you can't specify a single port?!
19:54 blaise and are you sure it's not asking for something like /24 ?
19:55 blaise the /24 would be to allow forwarding of all ports
19:55 blaise not sure how to specify that
19:55 sfan5 thats called exposed host
19:55 blaise lol
19:56 blaise sfan5: whelp, I think the server which hosts my minetest server does not have the ram to migrate from leveldb to a remote redis server
19:57 blaise sfan5: I get to about half way, then it says 14:55:25: ERROR[main]: ERROR: An unhandled exception occurred: Failed to store block in Database
19:57 blaise but no error on the redis server
19:57 rubenwardy Added API support for players receiving prizes, such as blocks and items, when unlocking awards (not currently used by any awards)
19:57 blaise just [18588] 26 Sep 19:55:25.370 - Client closed connection
19:58 blaise rubenwardy: Yay!
19:59 blaise I wonder if I can transfer the leveldb folder to the redis server machine and migrate it from there
19:59 blaise I'm feeling like it might be the only way
20:00 rubenwardy The problem with prizes is their value varies depending on the economy of a server. (Not very valuable on creative, valuable on branch new survival where no big blocks are on circulation)
20:01 shadowzone joined #minetest
20:01 shadowzone joined #minetest
20:03 rubenwardy Bye all!
20:05 blaze joined #minetest
20:08 john_minetest joined #minetest
20:08 blaise as far as I can tell, it's not storing aything on the remote redis server
20:08 blaise I just tried to generate a new map with redis backend
20:08 blaise I'm in the game
20:09 blaise but redis log doesn't show anything but the client being connected
20:09 blaise definitly no changes when I dig/place blocks
20:10 Krock !up 108.60.192.69
20:10 MinetestBot 108.60.192.69:30000 seems to be down
20:10 PenguinDad !up do.wn
20:10 MinetestBot do.wn:30000 seems to be down
20:10 PenguinDad :(
20:12 Krock MinetestBot.attach_on_th_en​d_of_command_answer("!up", ":(")
20:12 * Krock gives sfan5 ^
20:13 Some_Donkus joined #minetest
20:20 Matrixiumn hi Calinou :)
20:20 zlsa joined #minetest
20:20 blaise guess it's back to leveldb
20:21 blaise till I can figure this out
20:21 blaise !up midnightsystems.net
20:21 MinetestBot midnightsystems.net:30000 is up (451ms)
20:27 john_minetest !up blackha.wk
20:27 MinetestBot blackha.wk:30000 seems to be down
20:27 john_minetest Black Hawk down!
20:28 Krock ehm. how can I restore a deleted file in GIT? The file should be in a "historical" state
20:33 blaise Krock: http://stackoverflow.com/questions/9534​81/restore-a-deleted-file-in-a-git-repo
20:34 Krock lol. wrote "ehm. wrong channel" in te wrong channel
20:34 Krock thx for googl'ing
20:34 blaise :)
20:36 blaise git log --diff-filter=D --summary
20:41 adidik joined #minetest
20:41 phantombeta joined #minetest
20:44 Amaz Any ideas why using minetest.register_on_leaveplayer to change settings doesn't work? I can change settings fine enough with: minetest.register_on_joinplayer
20:44 Amaz (With singleplayer.)
20:45 Krock ever tried to use .save()
20:46 Amaz Nope.
20:46 chchjesus joined #minetest
20:48 Amaz minetest.register_on_shutdown works though!
20:49 FreeFull joined #minetest
20:51 * Krock hits 1800 posts
20:51 Amaz Well done Krock!
20:51 Krock :)
20:52 * Amaz gives Krock a tin of cookies
20:52 Amaz Not quite good enough for a cake... Yet ;)
20:53 Krock tin as ore, tin as "cup" or tin as preserve?
20:53 Amaz :P 2nd one!
20:53 Krock oke.
20:53 zat sheet ore generation sux o I am using it bad......
20:54 Krock Y?
20:54 Krock 3 2 1
20:55 asie yes i am staying here sfan5
20:55 zat I get a flat 2d sheet and not a 3d noise as I ekpected
20:56 Jordach asie, <3
20:56 Jordach zat, no sheet
20:57 blaise Він мав на увазі очікується?
20:57 zat ?
20:57 Calinou has anyone worked on a prettier presentation of lua_api.txt? that is, HTML or Markdown?
20:58 john_minetest хахаха союз свет кинозал!
20:58 blaise john_minetest: XD
20:59 john_minetest And those are about all the words I know in russian.
20:59 blaise I was speaking ukranian..
20:59 zat so there is no 3d noise for ore generation?
20:59 john_minetest Well, cyrillic languages look pretty similar if you don't understand them :P
21:00 blaise zat: Так є три х мірне покоління руди.
21:01 crazyR joined #minetest
21:07 Calinou I read lua_api.txt, the API is actually pretty large
21:07 Yepoleb joined #minetest
21:07 Calinou zat, isn't scatter 3d noise?
21:07 Calinou you can change noise params
21:07 zat Calinou: really???
21:07 zat OMFG
21:10 Calinou lua_api.txt says so
21:10 Calinou the scatter generation is quite configurable
21:14 ImQ009 joined #minetest
21:17 Calinou http://paste.ubuntu.com/8435778/
21:18 rcmaehl joined #minetest
21:18 alket is there a free server hosting for 4 players ? :)
21:18 Calinou no
21:19 Calinou you can go on an unpopulated server and play, but you don't have a say on the server configuration
21:19 blaise alket: you're welcome on my server
21:19 blaise !server midnight
21:19 MinetestBot blaise: MidnightSystems | midnightsystems.net | Clients: 0/10, 0/1 | Version: 0.4.10 / minetest | Ping: 124ms
21:21 NakedFury joined #minetest
21:25 Pest joined #minetest
21:25 GhostDoge joined #minetest
21:38 jojoa1997 joined #minetest
21:43 doomtron joined #minetest
21:46 EvergreenTree joined #minetest
21:52 john_minetest left #minetest
21:57 Bo7a joined #minetest
21:58 ItsLuke joined #minetest
21:58 ItsLuke Do you guys accept doge as a donation?
21:59 Artemis3 joined #minetest
22:03 * PenguinDad slowly falls asleep
22:04 VanessaE ItsLuke: perhaps best to ask the individual you wish to tip, directly
22:04 ItsLuke I want to tip Minetest
22:04 VanessaE the Minetest donations page doesn't, per se, but there's a Paypal option, and I believe you can route your donations through coinbase now
22:05 tpe joined #minetest
22:05 VanessaE (coinbase et al. -> paypal -> minetest, if I understand paypal's new cryptocurrency deal correctly)
22:05 Bo7a Shot in the dark, but maybe one of the devs in the dev channel has a wallet already :)
22:06 ItsLuke Doge isnt coinbase
22:06 VanessaE I know, but you can trade it for BTC and use that.
22:06 Bo7a gocoin is the paypal dealy. But Only in north america right now
22:06 VanessaE Bo7a: they're also doing coinbase and one other.
22:06 Bo7a sweet
22:06 ItsLuke I'm going to tip Hundreds of thousands of doge
22:07 ItsLuke soo,,,
22:07 Artemis3 tip VanessaE with panda coins :3
22:07 VanessaE Artemis3: :)
22:07 VanessaE PND that is :)
22:09 VanessaE but seriously,
22:10 VanessaE that's your best route for now is to exchange them for BTC and use one of those two BTC/Paypal gateways
22:10 ItsLuke Id rather not
22:11 ItsLuke Have you seen the Cryptsy rates?
22:11 VanessaE Not for that service in particular, but I know cryptsy sucks :-/
22:11 VanessaE I stopped using them; if I need to trade I'll do it on mintpal
22:12 ItsLuke Their rates are the same
22:12 ItsLuke .help
22:12 ItsLuke !help
22:12 MinetestBot https://github.com/sfan5/minetestb​ot-modules/blob/master/COMMANDS.md
22:15 kaeza joined #minetest
22:15 kaeza evenings
22:15 VanessaE hey kaeza
22:17 PenguinDad Good night kaeza
22:28 Hirato joined #minetest
22:40 phantombeta joined #minetest
22:43 blaise seems like no one plays on my server anymore
22:44 shadowzone What is your server?
22:44 blaise !server midnight
22:44 MinetestBot blaise: MidnightSystems | midnightsystems.net | Clients: 0/10, 0/1 | Version: 0.4.10 / minetest | Ping: 594ms
22:44 shadowzone Oh.
22:44 blaise is it really that bad?
22:46 shadowzone https://github.com/sfan5/minetestbot-modules <--- is this the same bot we have here?
22:47 blaise yes
23:02 AldoBR joined #minetest
23:03 AldoBR hi all
23:03 AldoBR i want the inventory equivalent of ItemStack() object creato
23:03 AldoBR *creator
23:08 kaeza what do you mean?
23:09 AldoBR when you want to create a new stack from nowhere
23:09 AldoBR you do
23:09 AldoBR stack = ItemStack("name:qnt")
23:09 kaeza yes
23:09 AldoBR how can i create a inventory out of nowhere ?
23:09 AldoBR and later attach it to a node
23:10 doomtron joined #minetest
23:10 doomtron joined #minetest
23:10 roboman2444 joined #minetest
23:10 kaeza you just local meta = minetest.get_meta(nodepos) local inv = meta:get_inventory()
23:10 kaeza then inv:set_size("listname", 123)
23:11 AldoBR thats the problem the inventory is attached to a node in world
23:11 AldoBR i want one inv that is not attached to anything at all
23:11 kaeza https://github.com/minetest/minetes​t/blob/master/doc/lua_api.txt#L1551
23:11 kaeza ^ that then
23:12 AldoBR it has a name
23:12 AldoBR well, i will do another less elegant solution
23:12 paramat joined #minetest
23:12 AldoBR i will pass around a table of itemstacks and write two functions : one that translates from inventory to that table and other that translates from that table to inventory
23:13 AldoBR thanks
23:13 kaeza you still need an InvRef for it to be useful
23:13 kaeza (e.g. to show the inv in a formspec)
23:14 kaeza and for that, you need to name your inv something unique
23:14 AldoBR storeinventory = function(node, invtable)
23:14 Nascher joined #minetest
23:14 AldoBR it does not need to appear in a inv ref
23:14 AldoBR i am creating a util library for moving nodes
23:14 AldoBR nodes that can be moved around
23:14 AldoBR a kind of generalization of the approach taken on TBM
23:14 AldoBR to move, they must carry their inventory around
23:15 kaeza if you don't need to actually show the inventory, then yes, you don't NEED and InvRef
23:15 kaeza you can do that with regular tables
23:15 AldoBR i can save the target node inventory to a variable
23:15 AldoBR err
23:16 AldoBR i can save the source inventory to a variable
23:16 AldoBR move the node
23:16 AldoBR and write the inventory back to the target node
23:16 AldoBR and then move the node
23:17 AldoBR err another question, how to detect if a itemstack is a tool/something that wears and cannot be stacked ?
23:18 kaeza if itemstack:get_wear() ~= nil then ...
23:18 AldoBR hm
23:18 AldoBR so only tools have get_wear() defined ?
23:19 kaeza no, it's a call
23:19 AldoBR ah ()
23:19 kaeza if it returns nil, it's not a "tool"
23:19 AldoBR ok
23:19 AldoBR thanks
23:19 kaeza sure
23:19 * blaise explodes
23:21 AldoBR http://pastebin.com/tP6HbFxD
23:22 kaeza AldoBR, you can also use stack:to_table()
23:22 AldoBR api does not explain to_table() output format
23:23 kaeza AFAIK, ItemStack(stack:to_table()) is supposed to return a stack equal to the original stack
23:23 kaeza { name="foo:bar", count=1, metadata="asdf", wear=1234 }
23:24 AldoBR hm
23:24 kaeza ("wear" not set for not "tools", "metadata" not set if the stack has no metadata)
23:26 AldoBR thanks
23:26 RealBadAngel AldoBR, if you dont know the format use print(dump(x))
23:26 RealBadAngel where x is your table in question
23:27 RealBadAngel you will easily see how its organized then
23:27 blaise wow
23:27 blaise even my regulars are gone
23:27 blaise seems they haven't been on since right before I fixed the lag issues
23:34 AldoBR i have a lua question
23:34 AldoBR if I table.insert(table, "string")
23:34 AldoBR can "string" be duplicates ?
23:34 AldoBR i mean
23:34 AldoBR table.insert(table, "test")
23:34 AldoBR table.insert(table, "test") again
23:34 AldoBR will the table have two "test" entries ?
23:38 VanessaE it will.
23:38 VanessaE at two different, adjacent indexes
23:38 VanessaE if you did one right after the other that is
23:38 AldoBR i need a way to avoid duplication
23:39 VanessaE e.g. [1] = "test", [2] = "test", [3] = nil
23:39 AldoBR i am writing a inventory utility lib
23:39 AldoBR and i have a function named getstacksnames
23:39 AldoBR it returns the name of everything that is in a inventory
23:39 jin_xi or you can use the string as index and store a quantity for example
23:40 jin_xi then you can check if its in the table already easily
23:40 AldoBR if i understand correctly, i am doing it wrongly, becouse that function would return duplicate entries
23:40 frecel joined #minetest
23:41 kaeza AldoBR, https://gist.github.com/kaeza/a9aacd6163c922da326f
23:45 RealBadAngel before insterting check for key
23:45 RealBadAngel if its null then insert new entry
23:47 RealBadAngel if table["key"] == NULL then
23:47 VanessaE nil*
23:47 RealBadAngel erm i mean NIL ;)
23:47 AldoBR thanks
23:48 RealBadAngel ninja'd as usual ;)
23:49 tyteen4a03 joined #minetest

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