Minetest logo

IRC log for #minetest, 2015-06-22

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

All times shown according to UTC.

Time Nick Message
00:20 tranquilliam joined #minetest
00:21 tranquilliam hi.
00:21 Pilcrow182 hello again tranquilliam  :)
00:21 VanessaE wb
00:21 tranquilliam :)
00:21 tranquilliam so, on the creative server, do I have to request for building permission or what?
00:21 VanessaE yeah
00:22 VanessaE or just say the password
00:22 VanessaE (it's on one of the signs in the spawn area)
00:22 VanessaE (write it in the server chat and the server auto-grants)
00:23 tranquilliam yeah, I said the password, but is there a specific place where I build?
00:26 VanessaE oh, just anywhere is fine
00:26 VanessaE try to kinda fit the style of your surroundings and build in good taste
00:26 VanessaE if an area is protected, it *should* tell you
00:28 Pilcrow182 hey VanessaE, I feel like exploring others' awesome creations rather than building anything new right now. Is there a specific server you'd recommend for that?  :)
00:30 VanessaE probably my vanilla server maybe
00:30 VanessaE it has some nice stuff
00:30 VanessaE but so does creative
00:35 Pilcrow182 I assume you mean the one called "Mostly-Vanilla" on the forums? If I may ask, what in it is _not_ vanilla?  :P
00:35 Pilcrow182 ah, never mind. just looked it up.  :P
00:42 Taoki https://forum.minetest.net/viewtopic.php?f=11&t=9240&p=182443#p182443 Creatures mod getting support for 3D wielded items, as well as inventory items exposed on the belt :)
00:43 Pilcrow182 Taoki, are you the same person as MirceaKitsune?
00:43 Taoki Pilcrow182: Yep
00:45 Pilcrow182 ah. that's what I figured, but didn't know for sure. why the different name on irc, if I may ask?  :)
00:45 Taoki MirceaKitsune was the first I had. I got Taoki several years later. So I ended up using the two in separate places
00:46 Taoki Might also be best that I'm less known as MK in chats... for reasons =)
00:47 Pilcrow182 lol
00:48 Pilcrow182 well, I'm Pilcrow or some varient everywhere. came up with that name long ago, and it stuck...  :)
00:49 Taoki Not a bad one :)
00:50 Taoki You might be brothers with Pilzadam
01:02 tranquilliam gtg
01:02 Pilcrow182 lol that joke has been made before. But a pilcrow is actually a grammatical symbol. https://en.wikipedia.org/wiki/Pilcrow
01:08 Taoki Ah, cool. I saw the symbol before, but didn't know its name.
01:08 Taoki And damn... I thought I might have been first :P
01:12 Pilcrow182 lol. I think it was est31 that actually went so far as to ask me if I were an alt name, and actually Pilzadam in disguize...  :P
01:29 technomancy Pilcrow182: hey
01:30 Pilcrow182 hi technomancy! I'm exploring VanessaE's vanilla server, lol. lots of interesting places here. one wonders how to -get- minegeld though...  :P
01:30 Taoki BTW: Anyone know if there's an easy way to not persist a Lua entity on the server? So basically drop it when the server is shut down, don't store it with the world database
01:33 VanessaE Pilcrow182: by digging and building.
01:33 VanessaE it's your salary for playing :)
01:34 Pilcrow182 VanessaE: I just meanm is there a place to sell items for minegeld? I only see shops that do the other way 'round...  :P
01:34 Pilcrow182 *mean
01:35 VanessaE OH
01:35 VanessaE well I dunno :)
01:35 VanessaE good question
01:35 VanessaE you could always build one :)
01:37 Pilcrow182 maybe I will sometime. right now I'm just content to explore.  :)
01:42 VanessaE ok :)
01:56 OldCoder Taoki, "boo"
01:56 OldCoder ^ Ghost
01:56 OldCoder Ghostes is the mostes
01:57 OldCoder Taoki, will we have a ghostworld soon?
02:02 Hijiri joined #minetest
02:03 Wayward_Tab joined #minetest
02:13 technomancy Pilcrow182: had someone ask me what is up with calandria; wrote up a summary here if you are interested http://www.reddit.com/r/Minetest/comments/31c2vs/im_using_minetest_to_teach_a_high_school/csed80s
02:13 technomancy I just split out the subgame into its own repo so each mod can be used independently
02:14 Pilcrow182 cool, technomancy. I'll look at it later.
02:18 LedInfrared joined #minetest
03:15 Viper168 joined #minetest
03:31 behalebabo joined #minetest
03:42 zat joined #minetest
04:14 blaise joined #minetest
04:16 blaise joined #minetest
04:23 blaise joined #minetest
04:59 blaise sup?
05:11 blaise I wonder if minetest will ever be able to use the console framebuffer in linux instead of relying on X
05:11 blaise has anyone tried running minetest under wayland?
05:12 est31 blaise, I dont get you, it doesnt use x
05:13 est31 err
05:13 est31 it does use x
05:13 est31 but it uses console framebuffer
05:13 est31 you want an ascii-art blocky game?
05:17 blaise no, but there are plenty of games that can run in console...
05:17 blaise hell, mplayer can play movies from the console
05:18 blaise and I can't seem to get minetest to run on the console
05:18 blaise est31: does it use libsdl?
05:18 est31 dunno
05:19 blaise est31: so you can run the client via console without x and play?
05:19 est31 blaise, no
05:19 est31 blaise, would be a cool thing though
05:19 est31 can you code?
05:20 blaise mildly
05:20 blaise I recall freedoom and q3a could run from console
05:20 est31 you'd need to re-do the client I guess
05:20 blaise well, not entirely..
05:21 blaise I'm pretty sure errligch or what ever it's called can use the console framebuffer
05:21 DusXMT est31: It's not libsdl, but there is a library that accesses the framebuffer called svgalib
05:21 blaise I'll have to check in to it.......
05:22 est31 ah you mean fullscreen and so on?
05:22 blaise yes,
05:22 blaise svgalib is the old way..
05:22 * DusXMT thinks est31 doesn't get what you mean to say
05:22 blaise I believe libsdl would be much more efficient.
05:22 est31 I've thought you meant ascii art and so on
05:23 blaise nah, I mean without using X or an X server/client
05:23 blaise quite a bit of overhead with that
05:24 est31 does the linux framebuffer even have a mouse?
05:24 DusXMT But X also provides an uniform acceleration interface, or no? With low-level libraries, do you have much acceleration?
05:24 blaise I mean, I suppose it could be pretty bad ass to have a libcaca setting for console
05:24 est31 or do we have to open some /proc file to get mouse input
05:24 blaise usXMT I think
05:24 DusXMT est31: there's the event devices
05:24 est31 or /dev
05:24 est31 whatever
05:24 DusXMT /dev/input/eventX
05:25 blaise DusXMT: I think all that's handled with modesetting in the kernel now..
05:25 est31 "binary, even before systemd"
05:25 blaise I don't use systemd
05:25 * DusXMT neither
05:25 blaise I'm an OpenRC/evdev user
05:26 DusXMT Fun fact: I put Gentoo on my Raspberry Pi because I don't want to use Deb Jessie x3
05:26 blaise udev can go fsck itself
05:26 est31 printf $(whatis fsck)
05:27 blaise est31: man fsck
05:28 est31 I know what fsck is
05:29 blaise lmao
05:29 DusXMT From the SDL forums: "The framebuffer console isn't supported, but SDL 2.0.1 natively supports the Raspberry Pi."
05:29 DusXMT It used to be in SDL 1.2
05:29 blaise DusXMT: nice
05:30 blaise so sdl doesn't support the framebuffer console?
05:30 blaise isn't that what libsdl is for?!
05:30 est31 blaise, do you plan to make a minetest initrd?
05:30 DusXMT Nah, SDL is for general-purpose media displaying
05:30 blaise est31: possibly...
05:31 DusXMT For example, mplayer and qemu can use it to display graplics in X
05:31 blaise have a nice little minetest caffee..
05:31 blaise serve various beverages and food..
05:31 blaise and a bunch of minetest consoles scattered around the place
05:31 blaise XD
05:32 blaise could be a money maker
05:33 blaise I won't charge for the use of minetest or the machines running minetest.. but to use them you must procure food or beverage..
05:33 blaise ;)
05:33 blaise I suppose I could use wayland
05:34 blaise it's become pretty mature at this point
05:34 blaise I was just wanting to be able to start up the client on the machine that hosts my server without having to start up X
05:35 blaise that way the minetest server machine wouldnt take a massive hit on resorces...
05:36 blaise but now that I think about it, that minetest caffee idea seems like it could be a winner.....
05:36 est31 X isnt that massive
05:37 est31 yes its its own OS
05:37 est31 but still, originally its quite old
05:37 blaise exactly..
05:37 est31 old == runnable on old machines
05:37 blaise meh, wayland doesn't require anywhere near the overhead X does
05:38 est31 yes
05:38 blaise a lot of the services that the xorg-server provides arn't even needed for most people
05:38 est31 but you have to add the compositor
05:38 est31 and that is needed by everybody
05:39 sofar euh? I run X on my htpc's without any compositing enabled
05:39 est31 wayland's principle is "hurr  durr ima display server, no OS"
05:39 blaise x isn't an os
05:39 MinetestBot joined #minetest
05:39 est31 it has as much complexity as one
05:39 est31 ofc it isnt one
05:40 sofar wayland isn't the shit as people make it out to be either folks
05:40 blaise it's just a graphical client
05:40 blaise x has a server and a client
05:40 blaise you don't need both....
05:40 sofar in the end, wayland and X are pretty close in memory usage, performance. wayland just cuts out some features most people don't need and make things better debuggable
05:41 blaise the server part is for accepting connections via network to login remotely
05:41 sofar wayland can do that too
05:41 blaise yeah..
05:41 est31 you can place a video camera in front of the screen and add a robo hand which moves the mouse
05:41 est31 thats basically what RDP does
05:42 blaise a lot of the developers forked off becuase of how dated the code was in X and they just didn't wanna mess with it
05:42 est31 X remoting is deeper down inside the structure
05:42 sofar nah I mean, technically, the wayland protocol can just be forwarded over a network
05:42 blaise xdmcp, not rdp
05:42 blaise rdp is something entirely different
05:42 est31 if it is so simple then why did the people not implement it?
05:43 sofar well Christian explained to me that there's a few things left to do before that's actually achievable
05:43 roboman2444 est31, no, i dont do that
05:43 roboman2444 my hand is not for rent
05:43 est31 rdp is the way you do network forwarding with linux
05:43 est31 roboman2444, then I want to buy it
05:43 sofar est31: and that was two years back, he's been too busy lol
05:44 est31 err not linux but wayland
05:44 roboman2444 not for sale
05:45 est31 wayland doesnt even run on solaris or mac
05:45 est31 X has been designed with portability in mind
05:45 est31 its sound software
05:46 est31 who will want to write for wayland if its linux only?
05:46 est31 its like writing one of these "universal windows" apps
05:46 est31 or c# with WPF
05:47 est31 wayland is just some corporate linux stuff
05:47 est31 even linux on the desktop
05:47 est31 who uses linux on the desktop besides total idiots like me?
05:49 blaise me?
05:49 blaise everyone I know, or respect?
05:50 blaise est31: who do you know uses HURD ?
05:50 blaise lmao
05:50 blaise and I doubt wayland isn't portable, it's just wrote for posix compliant systems
05:50 blaise I'm fairly sure it can be used on bsd
05:51 blaise iOS is unix...
05:52 blaise and microsoft is slowly turning into posix compliance becuase of market demand and relyability
05:53 blaise I don't think they'll achieve it in time to save their ship from sinking, but they made the move quite a while ago
06:11 Naked joined #minetest
06:37 CWz joined #minetest
06:42 nore joined #minetest
06:45 Pilcrow182 well, I'm going to bed. g'night, all!  o/
06:57 barrydk joined #minetest
06:59 meldrian joined #minetest
07:01 Trustable joined #minetest
07:01 bobomb joined #minetest
07:03 barrydk joined #minetest
07:20 mazal joined #minetest
07:23 TheWild joined #minetest
07:28 Cryterion joined #minetest
07:28 Fritigern joined #minetest
07:36 Haudegen joined #minetest
07:46 technomancy blaise: iirc the windows posix certification happened years ago?
07:52 aheinecke joined #minetest
08:00 Yepoleb_ joined #minetest
08:01 Darcidride joined #minetest
08:01 Viper168 joined #minetest
08:05 blaise technomancy: not that I'm aware of
08:06 blaise but I know they've been moving towards being more posix like over the last 3-5 years
08:07 blaise I know they stole their network stack from bsd..
08:07 technomancy https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem
08:08 nore joined #minetest
08:08 technomancy "POSIX compliance is to the aftermath of the UNIX wars what restrictions on naval tonnage and manufacture of warships was to the aftermath of World War I. A good idea, perhaps, but nobody is abiding by the rules anyway"
08:09 blaise lol
08:09 blaise I always thought OS/2 was closer to posix compliancy than MS-DOS/Win
08:12 blaise the file hirarchy and what not, the way devices are accessed and identified..
08:13 bobomb NICE SIMILE
08:13 Etzos joined #minetest
08:13 technomancy I wish I could claim it was my own
08:14 Lunatrius joined #minetest
08:15 bobomb yah, but the hammer hasn't changed for hundreds of years
08:15 bobomb and it sure beats a windows registry
08:16 bobomb and anyway, you wouldn't be so frustrated about it if i could just get a girlfriend...
08:17 bobomb end... of... line...
08:25 MinetestBot joined #minetest
08:25 MinetestBot joined #minetest
08:26 Megaf Morning
08:28 Megaf !server Megaf
08:28 Megaf !up mt.megaf.info
08:28 Megaf No bot?
08:29 VanessaE MinetestBot!
08:29 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/11, 1/5 | Version: 0.4.12-Megaf / MegafXploreNext | Ping: 8ms
08:29 VanessaE ShadowBot!
08:29 VanessaE well they're both here...
08:29 VanessaE wow, lag
08:29 Megaf yep, long lag
08:29 MinetestBot mt.megaf.info:30000 is up (7ms)
08:29 MinetestBot VanessaE!
08:29 Megaf There we go
08:30 CWz maybe i should post my keyword for interact mod on the forums at some point
08:30 Megaf MinetestBot!
08:30 VanessaE CWz: yes indeed.  did you add that configurable-via-minetest.conf set of privs?
08:31 CWz ...no...
08:31 CWz not yet
08:31 MinetestBot Megaf!
08:31 VanessaE ok
08:31 CWz i need to figure out how to do that.
08:33 RealBadAngel joined #minetest
08:33 CWz might need some kind of for loop thingy
08:34 VanessaE nah
08:34 VanessaE there's a get-setting function you can use
08:35 VanessaE just do something like keyword_interact_privs = foo,bar,baz
08:35 VanessaE and use the get-setting function followed by string.split()
08:35 VanessaE (or whatever it was called)
08:36 VanessaE with the delimiter set to a comma
08:36 VanessaE I believe it returns a table of values.
08:36 Amaz joined #minetest
08:37 Haudegen joined #minetest
08:39 VanessaE just make sure you sanitize the results :)
08:53 MinetestBot joined #minetest
08:58 mazal joined #minetest
09:00 JamesTait joined #minetest
09:00 JamesTait Good morning all; happy Monday and happy Onion Rings Day! 😃
09:02 VanessaE mmmm onion rings :)
09:07 JamesTait Indeed. ☺   How are you, VanessaE?
09:07 VanessaE I'm ok
09:12 Jousway joined #minetest
09:14 CWz i failed
09:17 tranquilliam joined #minetest
09:26 CWz might have been able to figure it out needed that loop in the end
09:29 nore joined #minetest
09:29 CWz VanessaE: ok managed to get the mod working with minetest.conf
09:32 kittypower joined #minetest
09:34 kittypower joined #minetest
09:36 Tux[Qyou] joined #minetest
09:38 leroy123 joined #minetest
09:59 TheWild will anyone take a look on this before it gets covered by dust? https://github.com/minetest/minetest_game/pull/541
09:59 TheWild it's just single file
10:21 Megaf !server Megaf
10:21 Megaf bot still quite laggy
10:21 MinetestBot Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 0/11, 0/0 | Version: 0.4.12-Megaf / MegafXploreNext | Ping: 6ms
10:22 Megaf By the way, I'm writing documentation in markdown for the first time now :)
10:22 Megaf The generated HTML page looks pretty neat
10:22 Megaf using ReText to write markdown and pandoc to convert to HTML
10:43 Ritchie joined #minetest
10:43 technoma` joined #minetest
10:43 Robby joined #minetest
10:43 nore joined #minetest
10:43 Tux[Qyou] joined #minetest
10:43 nolsen joined #minetest
10:43 Darcidride joined #minetest
10:44 Haudegen joined #minetest
10:48 Amaz joined #minetest
10:51 realbadangel__ joined #minetest
10:55 daswort joined #minetest
11:00 Haudegen joined #minetest
11:10 RealBadAngel joined #minetest
11:27 ecutruin joined #minetest
11:27 Calinou joined #minetest
11:38 behalebabo joined #minetest
12:32 greenman_ joined #minetest
12:32 blaze joined #minetest
12:36 FreeFull joined #minetest
13:53 PjotrOrial joined #minetest
13:53 PjotrOrial joined #minetest
14:12 behalebabo joined #minetest
14:13 Viper168 joined #minetest
14:13 zat joined #minetest
14:13 DusXMT joined #minetest
14:20 sd1001_ joined #minetest
14:22 CraigyDavi joined #minetest
14:25 Cryterion joined #minetest
14:42 sd1001 joined #minetest
14:44 behalebabo joined #minetest
14:49 Taoki OldCoder: I wanted to talk to you about ghostworld, that's why I poked you last time
14:50 Taoki Ugh... working with mobs can be a little funny at times, since I don't understand all layers of objects and entities. At first there is self... then there is self.object... then there is self.object:get_luaentity(). Hard to tell which means what :P
14:51 alket joined #minetest
14:57 blaise joined #minetest
15:01 Matrixiumn joined #minetest
15:05 CraigyDavi Uhh the title of the Voxus game now says "canceled" :(
15:05 CraigyDavi https://forum.minetest.net/viewtopic.php?f=50&t=10895
15:06 blaise CraigyDavi: no bueno?
15:06 hmmmm joined #minetest
15:07 CraigyDavi sí
15:07 blaise hmmmm: guten morgen!
15:13 Calinou just tried F-Droid Minetest on LG G3 (2560x1440 screen), runs great
15:13 Calinou where can I find the minetest.conf?
15:14 blaise ~/.minetest/
15:15 sfan5 Calinou: /sdcard/Minetest i think
15:15 sfan5 (note that /sdcard does not always mean sd card)
15:18 blaise oh wow
15:18 blaise it is in /sdcard/Minetest/
15:18 blaise lmao
15:19 blaise I wonder why they didn't use ~/.minetest/ ?
15:21 DusXMT blaise: Where exactly would you consider ~ to be on android?
15:21 DusXMT Sure, one could put it in /data, but in /sdcard, it's readily available.
15:22 blaise I would say it's /home/$USER/
15:23 DusXMT blaise: You obviously haven't done much with android...
15:23 blaise holy balls, there's no cwd
15:23 blaise lmao
15:23 DusXMT To say the very least, each program has its own user associated with it, and they usually store their data into /data. There is no such thing as a "unix-style user that's supposed to be person"
15:24 Calinou Google would make it "The cloud"
15:24 blaise DusXMT: that's how I run minetestserver.. as user minetest..
15:24 blaise and my minetest.conf is located in /home/minetest/.minetest/
15:24 blaise lmao
15:25 Zytum joined #minetest
15:26 DusXMT blaise: Well, Android works differently. There is no /home, there are no person-users, etc.
15:26 blaise there is with android-5.1.1
15:26 blaise yay multiuser support!
15:26 blaise :D
15:27 Dartmouth joined #minetest
15:27 Calinou I wish Android followed UNIX philosophy more... :/
15:28 Calinou it's not real multiuser
15:28 Calinou as in GNU/Linux
15:29 blaise it really should, in it's current state it's no where near posix compliant..
15:30 DusXMT Many people think that "because Android is Linux-based, it's like (GNU/)Linux" (which they'd call "standard desktop linux", or something like that), that it's unixy... but no. Android has no interest in even looking like a Unix system. It's just the kernel that's unixy.
15:34 TheWild joined #minetest
15:35 blaise Bastardized linux
15:35 blaise Damn You Google!!!
15:35 blaise DAMN YOU!!!
15:35 DusXMT No, linux is there untouched... except for the additional blobs
15:36 blaise basicly the same thing Apple did to MACH UNIX to make iOS
15:37 DusXMT Once again, Mach is a kernel... It's not a full OS... If it powers iOS, then that's fine.
15:37 blaise I'm gonna put funtoo on my Motorola atrix HD
15:37 blaise lmao
15:39 blaise hey, uhrm..
15:39 blaise how can I tell what kind of ram a machine has installed aside from opening up the box to look?
15:39 blaise dmidecode shows it's ddr, but I dunno which ddr
15:42 blaise meh, the specs for the sony vaio VGN-FS790B on cnet show it supports ddr2
15:43 blaise I guess that's what I need...
15:47 Telesight joined #minetest
15:48 mazal joined #minetest
15:49 * CWz finished install the VanessaE peeking in detector
15:50 ElectronLibre joined #minetest
16:01 CWz well rip https://forum.minetest.net/viewtopic.php?t=10895&p=182480#p182480
16:02 ElectronLibre Moved to Unity? Wow.
16:07 RealBadAngel CWz, she went to sleep quite a while ago
16:08 Calinou it means I won't play it
16:08 Calinou "the source code of Voxus (Minetest) won't be." what a waste...
16:08 Calinou Kenney should work at Samsung Disappointment Department
16:08 Calinou he'd be great there
16:08 Calinou was kicked by ShadowBot: Paste flood detected. Use a pastebin like pastebin.ubuntu.com or gist.github.com.
16:08 CWz Lol
16:08 RealBadAngel in a bad mood, she found out that shes GPU has bad drivers
16:09 ElectronLibre This is what happens when you have latency and get all your messages sent at once.
16:09 CoconutOfDeath joined #minetest
16:12 Cryterion joined #minetest
16:19 Jordach joined #minetest
16:20 Ataron joined #minetest
16:21 rubenwardy joined #minetest
16:24 Krock joined #minetest
16:25 zat joined #minetest
16:28 Jordach found a nice open source image uploader
16:28 Jordach http://veuwer.com/
16:29 rubenwardy Is there any work on distributed image hosts? Not sure how it would work effectively
16:29 Jordach there probably is, but the issue is bandwidth and items of questionable nature
16:30 est31 joined #minetest
16:30 rubenwardy true
16:30 rubenwardy Is the problem bandwidth or storage?
16:32 rubenwardy https://forum.minetest.net/viewtopic.php?p=182476#p182476
16:38 mutrax joined #minetest
16:39 mutrax Hi all, mind if I ask a question?
16:39 rubenwardy sure
16:39 rubenwardy ask, don't ask to ask
16:40 ElectronLibre Don't ask to ask.
16:40 mutrax Is the mod reposotory temporary down?
16:40 rubenwardy yes
16:40 rubenwardy it never really worked
16:40 rubenwardy just download from the forum
16:40 rubenwardy !mods
16:40 rubenwardy https://forum.minetest.net/viewforum.php?f=11
16:41 mutrax or is it a permanent thing (need to install zip) Weel', I'm not fond of dependency shassling.
16:41 rubenwardy It will be back up soon. It hasn't been working for about 5 months
16:41 mutrax okeydokey... wil do it the manual way ;)
16:41 rubenwardy (you could use it ingame, but you couldn't add mods or update mods on it)
16:41 mutrax whoops.. five months...
16:41 mutrax thanks guys!
16:42 rubenwardy I am a mmdb developer, btw, although not the main one (I mostly do the User Interface)
16:43 mutrax joined #minetest
16:43 mutrax anyhoo... thanks, I'll be managing the inhouse lan party atm. (6-6-9 yrs old)
16:46 Krock "Why do you KILL MEEE?????" - "I didn't do it" - "No, you did!" - "WAAAaaAAA!" <- kids playing minetest
16:48 ElectronLibre "TNT!"
16:48 CWz Krock:  very true
16:48 ElectronLibre The TNT is a very important part in the killing process.
16:49 ElectronLibre Too bad it's disabled in multiplayer.... :°
16:49 Krock Mesecon pressure plates are also very helpful for getting full HP again
16:49 ElectronLibre And command blocks.
16:56 greenman_ joined #minetest
16:57 rubenwardy Does anybody know how to do this: https://github.com/rubenwardy/mtpm/issues/6
17:02 Gethiox joined #minetest
17:02 TBC_x joined #minetest
17:03 Taoki Hi. How do I get the capabilities of a tool from its item name? get_tool_capabilities() seems to rely on an item stack.
17:04 Taoki And I don't know how to obtain a fake stack from an item name... which is probably a bad idea even if I can
17:04 Miguel2706 joined #minetest
17:04 Miguel2706 joined #minetest
17:06 JZTech101 joined #minetest
17:07 Taoki Ah... maybe I can simply do ItemStack("default:dirt") Would that be correct?
17:07 est31 just do ItemStack(toolname)
17:07 est31 yea
17:07 alket joined #minetest
17:07 Taoki Thanks :)
17:07 blaise joined #minetest
17:08 Gethiox left #minetest
17:08 JZTech101 joined #minetest
17:13 Gethiox joined #minetest
17:15 Taoki One more thing: Can I add an item stack to a table? I'm actually working on mob inventories, but IIRC you cannot create real inventories for Lua entities (only detached inventories which I don't think are as stable). So maybe I can add them my table?
17:15 Taoki Actually, CAN you create inventories for Lua entities? Like you can for nodes, eg: chest and furnace
17:15 OldCoder Taoki, I'd assume they'd comment in the -dev channel or individually here if you poked them here
17:15 OldCoder If they say this is not core dev...
17:15 Krock rubenwardy, get Windows and you don't need to try to get it working :)
17:16 Taoki OldCoder: -dev isn't for questions, wondering about modding now
17:16 OldCoder tell them the -dev channel is an appropriate place to ask -dev code questions
17:16 OldCoder If one wants to know
17:16 OldCoder about the -dev code structures
17:16 Taoki Hmm... IIRC this is for questions, -dev just for development
17:16 OldCoder Yes, go on
17:16 OldCoder Let us say
17:16 Taoki ok. Probably not related to this though :)
17:16 OldCoder you are thinking
17:16 alket joined #minetest
17:16 OldCoder of writing a layer
17:16 OldCoder in the core
17:16 OldCoder related to a mobs API
17:17 OldCoder is that, or is it not, core dev?
17:17 Taoki Ah. Currently I was wondering if Lua entities can have inventories. I don't know if they can.
17:18 Taoki If I'm to suggest adding this as a feature, sure, I can ask in -dev
17:18 OldCoder Yes
17:18 OldCoder It is sensible
17:20 est31 lua entities can't have inventories I think
17:20 OldCoder Unless this is in fact added
17:21 blaise joined #minetest
17:21 Gethiox joined #minetest
17:21 est31 yea
17:22 blaise MEH!
17:22 rubenwardy !mod terraria
17:23 rubenwardy I'd be interested in a mod that added the range and variety of tools and weapons in Terraria
17:24 Taoki est31: Ok. Is it then ok to have a table of item stacks? I'm going to set inventory items for mobs to be added as table.insert(mob_inventory, ItemStack("default: dirt 1"))
17:24 Taoki Is this a valid way?
17:24 Taoki I assume it should be good really, but just making sure
17:24 Taoki IIRC you can add anything to tables
17:25 Taoki So then, using self.mob_inventory[1] retirurns the first itemstack, and so on
17:25 est31 Taoki, yes it is valid
17:25 Taoki Awesome :) Going with that then
17:25 est31 but you will have to deal with serialisation yourselves I think
17:26 Taoki Ah, for persistence?
17:26 est31 yes
17:26 VanessaE joined #minetest
17:26 Taoki I already serialize all staticdata. I assume it's ok to have serialization in serialization however?
17:26 est31 yourself*
17:26 est31 wb VanessaE
17:26 est31 lol
17:26 Taoki Or does "Yo dawg" not work in this case ;)
17:27 Taoki "Yo dawg, I heard you like minetest serialization. So we put serialization in your serialization"
17:27 est31 heh
17:29 rubenwardy Taoki, if it isn't possible serialisation is broken
17:29 Taoki ok
17:35 OldCoder You put chocolate in my serialisation
17:38 Calinou joined #minetest
17:51 alket joined #minetest
17:54 Zytum joined #minetest
17:55 Zytum @Krock How's your server?
17:55 nolsen woohoo, I have 54,223 total views and 76 subs :D
17:55 * nolsen needs to turn his server back on
17:55 Krock Zytum, "Because lol" is online.
17:56 nolsen https://www.youtube.com/user/NateTenn512 I'm the master at making -g major videos.
17:56 Zytum I can't connect since 2 months
17:56 nolsen or also known as Demonic videos :D
17:57 Calinou GunshipPenguin no longer hosts Hunger Games?
17:58 Calinou I got on the International Survival games one
17:58 Calinou (someone took my name...)
17:58 Calinou someone is called rainbow-dash :D
17:58 Calinou oh it's a standard boring server...
17:59 nolsen BetterMTServer is back online!
17:59 CWz one of those crap servers?
17:59 nolsen !server BetterMTServer
17:59 nolsen heh bot is broken
17:59 nolsen !check
17:59 nolsen !ping
18:00 behalebabo bot is not here
18:00 nolsen I notice that now
18:01 ElectronLibre At least, MinetestBot isn't here.
18:01 ElectronLibre But we still have ShadowBot.
18:04 Elinvention joined #minetest
18:06 claudia_ joined #minetest
18:06 Krock nolsen, the MLP avatar looks like the one from a kid
18:06 Elinvention is it possible to get player speed and acceleration in a minetest mod?
18:07 Krock Elinvention, I do not know about any wa to do it
18:08 Krock *way
18:09 Krock getvelocity() is for LuaEntitySAO only
18:11 behalebabo joined #minetest
18:16 nolsen Krock: explain?
18:17 Krock nolsen, I think you need a special avatar :)
18:17 Krock something individual
18:17 nolsen nah.
18:17 nolsen Mine's original.
18:18 nolsen Someone probably stoled my OC
18:28 Haudegen joined #minetest
18:32 TheWild I just say my word about entities and their inventories
18:32 TheWild or rather ask
18:33 TheWild is there something like entity:get_id()?
18:34 TheWild having some kind of unique identifier could allow us to: table_for_entities[id] = {... arbirtary data for mod interest ...}
18:35 Calinou "stoled" is a word? hmm... I thought there was only "stole" and "stolen"
18:35 Calinou (my spellcheck says it's a word)
18:37 ThatGraemeGuy urgh
18:37 ThatGraemeGuy my client has been randomly segfaulting for a good while now, anyone got some help for a noob?
18:38 ThatGraemeGuy guessing not much will show up in debug.txt
18:38 * ThatGraemeGuy looks
18:38 ThatGraemeGuy nope, nothing there
18:38 ThatGraemeGuy what other magical incantation can i do to try and figure out what's causing it
18:41 Elinvention joined #minetest
18:44 zat joined #minetest
18:44 ElectronLibre ThatGraemeGuy, launch minetest in a debugger, like gdb.
18:45 Sokomine ThatGraemeGuy: mine does as well from time to time. it happens more frequently when i'm testing a mod i'm working on...so perhaps there's a connection. doesn't happen when playing on a server
18:45 ElectronLibre When it crashes, use a command like bt full to locate the segfault, and then report it if it's not already known.
18:46 ThatGraemeGuy ElectronLibre: thanks, so just "gdb /path/to/minetest" ?
18:47 ElectronLibre Enter gdb,
18:47 ElectronLibre Using this indeed ^
18:47 ElectronLibre then you have the gdb shell, enter run, and minetest will start. Play, and when it crashes, go back to the shell, and enter bt full to have a full back trace of what happened.
18:48 ThatGraemeGuy awesome will give that a go, thanks
18:49 est31 joined #minetest
18:50 fusion44 joined #minetest
19:08 ThatGraemeGuy nice it did it again while i was afk
19:08 * ThatGraemeGuy pokes gdb with a stick
19:08 ThatGraemeGuy lets do this thing
19:13 Amaz joined #minetest
19:16 ThatGraemeGuy ElectronLibre: anything look useful: http://pastebin.com/raw.php?i=H514mW8M
19:16 ElectronLibre Well, not for me, maybe for a core dev.
19:16 ThatGraemeGuy mmmkay
19:21 FreeFull joined #minetest
19:26 Robert_Zenz joined #minetest
19:32 Hirat0r joined #minetest
19:34 Trustable joined #minetest
19:34 Shackra joined #minetest
19:53 luizrpgluiz joined #minetest
19:54 luizrpgluiz hi
20:14 Viper168_ joined #minetest
20:27 nolsen left #minetest
20:36 Taoki Interesting... it seems that item stacks (userdata) cannot be serialized by minetest.serialize. Any workaround to that?
20:36 Taoki At worst, I can get the name and count of each item and serialize just that... I'd prefer not to however
20:43 Taoki Actually no. It seems I can simply do stack:to_string(), then ItemStack(theString) to get it back. Awesome!
20:43 Taoki or ToTable
20:47 ElectronLibre left #minetest
20:55 Sokomine Taoki: yes, that userdata serialization is sometimes a problem
20:56 Taoki Sokomine: Fixed it by converting each entry to a table then back. Tested and it works fine :)
20:56 Taoki It was intuitive to add stack:to_string() and stack:to_table(), then allowing ItemStack() to convert them back.
21:05 TheWild there actually is stack:to_string()
21:06 TheWild ^ oops, I just went out of sync
21:17 Taoki Ok, one last thing to know before my latest addition to Creatures is ready: Is there a way to make a Lua entity not be persisted after server shutdown? Currently I have to manually delete it under the on_initialize function.
21:23 AnotherBrick joined #minetest
21:41 alket joined #minetest
21:43 TheWild joined #minetest
21:50 Haudegen joined #minetest
21:53 deltib_ joined #minetest
21:55 Taoki lol, who brought down the forums
21:55 Taoki Ah, works now. Was down for several minutes
21:56 Lunatrius joined #minetest
21:56 AnotherBrick joined #minetest
21:59 Freejack joined #minetest
22:11 Lunatrius joined #minetest
22:12 alket joined #minetest
22:15 Lunatrius` joined #minetest
22:15 sythe joined #minetest
22:36 frecel_ joined #minetest
22:47 LedInfrared joined #minetest
22:49 Hirato joined #minetest
22:52 frecel_ joined #minetest
22:52 LedInfrared Hirato, when did you into minetest?
22:52 LedInfrared :P
22:53 Hirato lol
22:53 Hirato ages ago
23:35 Lunatrius joined #minetest
23:56 VanessaE joined #minetest

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