Minetest logo

IRC log for #minetest, 2017-02-02

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

All times shown according to UTC.

Time Nick Message
00:12 ptv joined #minetest
00:29 ptv joined #minetest
00:37 octacian joined #minetest
00:38 zorman2000 joined #minetest
00:38 zorman2000 Creating a good formspec in Minetest is really hard
00:39 octacian IK lol
00:39 zorman2000 But I guess not impossible :) http://imgur.com/eS9vszb
00:40 zorman2000 But yeah, have been like two hours closing and opening Minetest
00:40 octacian Yeah, that's the not fun part.
00:41 octacian Somebody made a tool that let you make formspecs via a formspec in-game, and preview without reloaded.
00:41 zorman2000 I saw that.... but haven't got to use it yet
00:42 octacian Do you know what it's called? I lost the link and could really do with it now.
00:42 zorman2000 In the meantime I just restart to see how it looks after I changed 0.05 in a number....
00:42 zorman2000 Let me see if I can find it
00:43 octacian this is amazing :rotfl: http://trumpdonald.org/
00:44 zorman2000 https://forum.minetest.net/viewtopic.php?f=14&t=13720#p215419
00:44 zorman2000 I think here the discussion starts
00:44 octacian thanks.
00:44 zorman2000 You welcome
00:45 zorman2000 Hmmm can't figure out how to do it...
00:46 zorman2000 I click everywhere and yet....
00:46 octacian What?
00:46 zorman2000 'That website you gave the link for
00:46 octacian oh :rotfl:
00:46 octacian click to blow the trumpet in his face :rotfl:
00:51 zorman2000 Where do I click? Lol
00:51 zorman2000 After two hours of formspec design I have no brain anymore
00:53 octacian I know how you feel... And I've just been messing with simple stuff on digicompute and turtleminer.
00:53 octacian Now, to do something fun. NodeJS plus some material design framework that I can't decide on.
00:55 cheapie VCR simulator is almost done: https://cheapiesystems.com/media/images/screenshot_20170201_185417.png
00:55 cheapie (the button in the middle of the slot is for loading a "tape")
00:56 octacian wth is going on with firefox..
00:56 Benrob0329[m] A few hours of editing will do that to you too
00:56 octacian My computer is warming up again! (which is ridiculous, aside from having 5 fans, it's watercooled)
00:58 octacian This is ridiculous.
00:59 octacian I think some websites just purposefully try to make firefox mess up.
01:00 octacian oh, probably was because the website was huge...
01:03 cheapie OK, the "pause" function works now...
01:04 Benrob0329[m] Unfortunately I have to get this video out tomorrow
01:05 Not_a_Robot joined #minetest
01:07 kaeza <octacian> wth is going on with firefox..
01:07 kaeza firefox
01:07 octacian oh no.
01:07 octacian Yeah, firefox. Why?
01:07 kaeza firefox is what's wrong with firefox
01:07 octacian Well, what do you prefer?
01:08 kaeza Chrom{e,ium}
01:08 octacian Thought so. :P
01:08 octacian I was going to switch to it. Like 2m ago.
01:08 kaeza tried PaleMoon yet?
01:08 octacian no. haven't heard of it.
01:08 cheapie I'm on Chromium here. FF's JS performance is way too slow.
01:09 kaeza it's a fork of Firefox without all the suck
01:09 swift110 joined #minetest
01:09 octacian huh.
01:10 redblade joined #minetest
01:11 kaeza don't ever ask what's the best browser/text editor on the internet
01:11 octacian I know. I asked what you preferred. I've already been there.
01:12 cheapie Anyone know what the highest (typical) cable TV channel number is? I'm trying to figure out what the highest available channel on the VCR should be.
01:13 octacian Switched over :D
01:14 Benrob0329[m] cheapie: digital or analog?
01:14 cheapie Analog.
01:14 cheapie (this is going on a VCR simulator, after all)
01:14 redblade joined #minetest
01:14 Benrob0329[m] 99
01:15 cheapie OK, I'll set it to that.
01:25 Tmanyo joined #minetest
01:29 whitephoenix kaeza, I tried it a while back it just seemed like old firefox that was better optimized
01:33 Zeno` cheapie, 83 I think (UHF)
01:34 cheapie I could have sworn I've seen an analog-only TV with more... maybe it varies by country?
01:34 cheapie I'll leave it at 99 until I see some more reliable data.
01:34 Zeno` probably does
01:34 Zeno` just looking at UHF TV now
01:34 Zeno` and hmm
01:35 Zeno` even the US changed
01:35 Zeno` https://en.wikipedia.org/wiki/UHF_television_broadcasting
01:35 Zeno` reassigned frequencies when other things became more important it seems
01:39 Zeno` hmm
01:40 Zeno` does PAL vs. NTSC come into the equation?
01:40 Zeno` PAL is much better btw
01:41 Zeno` yikes. MEssy. https://en.wikipedia.org/wiki/Television_channel_frequencies#/media/File:VHF_Usage.svg
01:49 sofar I have 30+ channels in HD over the air here where I am in the US (digital)
01:50 sofar there's no PAL vs NTSC anymore, they're both gone with digital
01:53 Benrob0329[m] but there is still 60 htz vs 50 htz
01:57 zorman2000 joined #minetest
01:59 cheapie OK, here's the finished front panel: https://cheapiesystems.com/media/images/screenshot_20170201_195739.png
01:59 cheapie And inside: https://cheapiesystems.com/media/images/screenshot_20170201_195807.png
01:59 Benrob0329[m] well dang!
02:00 Benrob0329[m] thats pretty cool
02:01 cheapie The inside doesn't do anything, of course, but the front panel is fully working.
02:01 cheapie (and yes, those are nixie tubes, since we don't have VF displays in MT)
02:02 zorman2000 Cheapie, channels on the VCR? What for? Controlling a TV from the VCR?
02:03 zorman2000 It is pretty cool btw
02:03 zorman2000 In other notes, is it possible to add a tooltip to a formspec item_image ?
02:03 cheapie It doesn't /do/ anything like show a picture, but you *can* flip through channels on the VCR's "tuner".
02:04 zorman2000 I see
02:04 zorman2000 Well, I'm old, so I have had like three pre-digital TVs
02:04 cheapie Like so: https://cheapiesystems.com/media/images/screenshot_20170201_200352.png
02:05 zorman2000 One of them went over a 100 channels... but it was only if you put it on "cable" mode
02:05 zorman2000 In antenna, I think the maximum was something similar to what Zeno said
02:05 zorman2000 83 channels more or less
02:06 zorman2000 I have to say that thing really looks cool
02:06 zorman2000 I had a VCR which had exactly the same character LCD display
02:07 cheapie I probably should have put a 5th digit in the counter (currenty maxes out at 99 minutes 59 seconds), but whatever.
02:07 zorman2000 I think that is ok as it is
02:09 cheapie Maybe I should see about connecting it to an rgblightstone screen and having it "play" random pixels...
02:12 zorman2000 That would be awesome
02:13 cheapie I think I can probably manage that, maybe even with an OSD too :P
02:32 Benrob0329[m] ok, first render
02:32 Benrob0329[m] i hope the only render too!
02:43 PsychoVision joined #minetest
02:47 ptv joined #minetest
02:57 Zeno` left #minetest
03:00 DonBatman joined #minetest
03:24 dabbill joined #minetest
03:32 ungali joined #minetest
03:32 ungali joined #minetest
03:50 morcon joined #minetest
03:52 morcon i'm having trouble finding info on running a server
03:52 morcon i'm installing mods with bower as the same user running the server, but they're not showing up
03:52 morcon also, how to i set myself as admin?
04:04 Benrob0329[m] grant yourself the nessesary privs by editing auth.txt i believe
04:05 morcon joined #minetest
04:05 octacian_ joined #minetest
04:06 DI3HARD139 joined #minetest
04:36 kaeza morcon, /grantme all
04:37 kaeza that should give you all privileges
04:37 kaeza also, put "name = morcon" in minetest.conf
04:38 kaeza I'm not sure how that bower thing works. never used it to install Minetest mods
04:40 kaeza installing mods is as easy as downloading a ZIP and unpacking it to ~/.minetest/mods
04:41 morcon ok cool
04:41 morcon that's what i thought, bower was being weird, installing to ~/mods
04:46 Taose restarting the server helps
04:47 Taose also...two mods named the same thing (even in different multi-packs)...can cause issues
04:47 Taose like: not damn loading -_-
05:10 cheapie The VCR simulator now has a TV, and it can "play" random pixels: https://cheapiesystems.com/media/images/screenshot_20170201_230754.png
05:10 cheapie It also has an OSD: https://cheapiesystems.com/media/images/screenshot_20170201_230807.png
05:10 cheapie ...and a view from the back: https://cheapiesystems.com/media/images/screenshot_20170201_230911.png
05:44 Freejack joined #minetest
05:46 morcon i just unzipped cme and put it in ~/.minetest/mods but i don't see it with /mods in-game
05:46 morcon nor to i see any animals
05:46 morcon i restarted the server
05:46 Freejack joined #minetest
05:49 morcon maybe run_in_place is disabled, is it just an environmental variable?
05:57 kimitux joined #minetest
06:10 Weedy joined #minetest
06:12 betterthanyou710 joined #minetest
06:12 ektor joined #minetest
06:14 TC02 joined #minetest
06:18 kattsmisk joined #minetest
06:19 Benrob0329[m] cheapie: how did you get the different colors?
06:25 tokage joined #minetest
06:28 kaeza morcon, it's a compile-time option. if you got Minetest from your package manager it's most likely off
06:28 kaeza morcon, see if debug.txt contains something related to unsatisfied dependencies
06:29 morcon so i just install in minecraft's main directory
06:29 kaeza oh wait
06:29 kaeza you also need to enable them
06:29 morcon in minecraft.conf? i used the example and didn't see anything for it
06:30 kaeza s/craft/test/g, and no, in worlds/yourworld/world.mt
06:30 morcon so there's a command to enable it?
06:30 morcon i'm using the headless server
06:31 kaeza you'll have to use your favorite text editor
06:31 morcon ok, would it be in minetest.conf
06:31 kaeza or you could jut drop your mods onto worlds/$world/worldmods
06:31 morcon i didn't see a lot of documentation for it
06:32 kaeza (probably easier)
06:34 morcon i have it in ~/.minetest/mods
06:34 morcon so i'll try putting it in the main folder
06:34 mangul joined #minetest
06:34 morcon wherever it installed
06:35 kaeza setting up a headless server could be easier :/
06:35 kaeza particularly the "create a world" and "configure mods" part
06:36 mangul joined #minetest
06:37 * cheapie reappears
06:38 cheapie Benrob0329[m]: https://github.com/cheapie/rgblightstone
06:41 morcon oh, i need to edit world.mt
06:45 morcon ...and it crashes lol, i'll play with it in the morning
06:45 kaeza Menche, https://gist.github.com/kaeza/83bf160f0f853e3f4130daa42caf76ee
06:45 kaeza bleh
06:45 kaeza morcon, ^
06:46 morcon thanks!
06:47 kaeza easier than mucking up with world.mt
06:47 kaeza replace 'gameid = minetest' with something else if you don't use the default game
06:48 kaeza e.g. 'gameid = dreambuilder' or something
06:50 behalebabo joined #minetest
06:50 cheapie dreambuilder isn't a game anymore (it's a modpack).
06:50 kaeza oh, right
07:14 Hawk777 joined #minetest
07:21 DonBatman joined #minetest
07:26 CWz joined #minetest
07:34 shangul joined #minetest
08:11 Hirat0r joined #minetest
08:32 Alcyone joined #minetest
08:38 aheinecke joined #minetest
08:55 ensonic joined #minetest
09:05 geir_ joined #minetest
09:05 Szkodnix joined #minetest
09:11 ektor joined #minetest
09:15 e1z0 joined #minetest
09:44 juhdanad joined #minetest
09:51 JamesTait joined #minetest
09:53 DonBatman joined #minetest
09:53 JamesTait Good morning all! Happy Thursday, and happy Crepe Day! 😃
09:54 red-001 hi JamesTait
09:54 JamesTait 👋 red-001
09:55 JamesTait Far too many options to choose from today, but I like crepes so that won.
10:21 bas1 joined #minetest
10:42 nowhereman joined #minetest
10:56 proller joined #minetest
11:18 The_Loko joined #minetest
11:40 Fixer joined #minetest
12:06 Markow joined #minetest
12:06 Pie-jacker875 joined #minetest
12:09 shamoanjac joined #minetest
12:23 YuGiOhJCJ joined #minetest
12:31 betterthanyou711 joined #minetest
12:33 rubenwardy joined #minetest
12:34 betterthanyou710 joined #minetest
12:36 betterthanyou710 joined #minetest
12:37 Darcidride joined #minetest
12:43 YuGiOhJCJ hello, I see that when I have more than 10 players on my server, things take time to be showed in the world. how to determine the max number of players of my player knowing my upload bandwidth? is there some options I can set to limit the bandwidth used by each player?
12:43 YuGiOhJCJ *shown
12:43 YuGiOhJCJ *of my server
12:46 agaran YuGiOhJCJ: that may also depend how active they are, what viewing distance they have set etc..
12:48 YuGiOhJCJ do you think there is a limit or a player can eventually consume all my bandwidth?
12:50 mangul joined #minetest
12:52 agaran not sure, you would need to examine settings and their influence on your upload capacity (and also cpu load too.. some maprelated ops are cpu intense)
12:52 proller joined #minetest
12:52 YuGiOhJCJ hmm I see they consume very small bandwidth: Only 50kbps max
12:53 YuGiOhJCJ yes I think it is more a CPU problem
12:53 juhdanad joined #minetest
12:53 YuGiOhJCJ yes 100% CPU used :\
12:54 YuGiOhJCJ so I think I should reduce the slots on my server
12:55 Fixer YuGiOhJCJ: 1 core CPU? what is your cpu?
12:55 YuGiOhJCJ Intel(R) Celeron(R) CPU  N3050  @ 1.60GHz (2 cores)
13:00 YuGiOhJCJ do you have doc about how to set max-players on a Minetest server?
13:01 Calinou YuGiOhJCJ: CPU is slow, not much can be done
13:01 Calinou max_users = 10
13:01 Calinou should set max number of players to 10
13:02 Calinou (does not affect administrators, you can join even if the server is full)
13:02 Calinou YuGiOhJCJ: people who are in the game server hosting businesses use more recent CPUs with a clock twice as high :)
13:03 Calinou like, https://www.soyoustart.com/en/essential-servers/
13:03 Calinou (a quad core isn't a necessity for a game server, efficient CPU cores are)
13:04 yusf[m] Is it possible to capture Shift+scroll in Lua?
13:04 Calinou yusf[m]: in a GUI? no, I don't think it's even defined in C++
13:05 YuGiOhJCJ lol it seems that it is my apache web server that is attacked
13:05 YuGiOhJCJ minetest server killed and my CPU is still 100% used
13:06 Calinou ah, good old DDoS
13:06 Calinou time to invest millions in DDoS protection :/
13:08 Fixer who on earth will ddos minetest server?
13:08 red-001 someone apparently
13:08 Fixer but why?
13:09 YuGiOhJCJ no no my apache web server is attacked not my minetest server
13:09 YuGiOhJCJ I guess this is because my apache is too old
13:09 Calinou Fixer: banned players who are angry, usually
13:09 YuGiOhJCJ I need to upgrade
13:10 Calinou I don't think upgrading Apache will prevent DDoS, too
13:10 Fixer Calinou: kids ddosing?
13:10 Calinou yeah
13:10 yusf[m] Calinou: Not sure what you mean by "in a gui" but basically I'd like a feature where I can scroll "vertically" through the hotbar, selecting items in the same inventory column.
13:11 Calinou very unlikely to be possible in the current state of things
13:15 yusf[m] Calinou: Needs to go into MT C++ code then? What do you think of such feature personally?
13:16 Calinou sounds good, but hotbar/inventory design is unlikely to change in minetest_game for legacy/compatibility reasons
13:17 Jordach joined #minetest
13:18 yusf[m] Calinou: But this could be on the engine side, just adding a shift+scroll event, beside the regular "scroll through hotbar" event?
13:18 Calinou I think it needs quite a bit of modification
13:18 YuGiOhJCJ hmm I stopped my apache web server then restarted it and no more 100% CPU usage
13:19 yusf[m] Yeah okay. Worth a thought at least :)
13:19 Jordach_ joined #minetest
13:19 YuGiOhJCJ maybe the DDoS attack process has been stopped too when my web server was stopped :)
13:20 mangul joined #minetest
13:20 yusf[m] Besides the key+mouse shortcut, I'm thinking the approach could be to shift the order of an inventory column rather than move a "cursor" inside of said inventory.
13:21 yusf[m] Maybe I'll create a Github Issue for it and hope I don't get my head chopped off.
13:25 Szkodnix joined #minetest
13:28 yusf[m] I have another question: Is it possible to override an existing recipe in a mod from another mod?
13:29 yusf[m] So that the recipe in mod A is modified by a new recipe in mod B?
13:44 younishd joined #minetest
14:05 STHGOM joined #minetest
14:14 SylvieLorxu joined #minetest
14:16 lumidify joined #minetest
14:22 Beerholder joined #minetest
15:08 Out`Of`Control joined #minetest
15:12 yusf[m] No one? :B
15:13 Player_2 joined #minetest
15:16 mmuller_ yusf[m]: if this is still accurate, it sounds like you can just overwrite existing ones: https://github.com/minetest/minetest/issues/4382
15:20 yusf[m] Thank you mmuller_!
15:20 Tux[Qyou] joined #minetest
15:20 Beerholder Using clear_craft and then register_craft again http://dev.minetest.net/minetest.clear_craft http://dev.minetest.net/minetest.register_craft
15:21 Beerholder But probably best to check first if the recipe actually exists with http://dev.minetest.net/minetest.get_craft_recipe
15:22 Beerholder Also the mod replacing the recipe should be loaded after the mod whose recipe you want to replace I guess
15:22 yusf[m] Beerholder: Thank you! I'm looking for a way to customize recipes without modifying existing mod code.
15:22 yusf[m] But how do I make sure it's loaded last?
15:24 Beerholder Putting the mod whose recipe you want to replace in your mod's depends.txt so that that mod is loaded first http://dev.minetest.net/depends.txt
15:25 Beerholder I think that should ensure your mod is loaded after the other mod
15:26 yusf[m] Awesome, thanks a bunch.
15:27 Beerholder yw, hth :)
15:27 STHGOM joined #minetest
15:28 yusf[m] By doing this I can modify recipes, yet still have a clean mod, git-wise. 💯
15:32 STHGOM_ joined #minetest
15:32 Jordach_ joined #minetest
15:41 red-001 also if you don't need the mod for anything else you might want to add a "?" after it's name in depends.txt
15:41 red-001 otherwise people won't be able to use your mod without the other one
15:42 lumidify joined #minetest
15:47 yusf[m] This would be for private server tweaks and such. I really like the idea of not having to maintain changes to other mods, instead simply git pull updating them in regular intervals
16:06 STHGOM joined #minetest
16:06 STHGOM joined #minetest
16:18 DonBatman joined #minetest
16:31 Fixer joined #minetest
17:14 Beerholder left #minetest
17:14 Benrob0329[m] https://www.youtube.com/watch?v=sbSHbxquCIc
17:21 DFeniks joined #minetest
17:22 strncpy joined #minetest
17:24 MinetestBot [git] paramat -> minetest/minetest_game: Mapgen: Dedicated registrations for mgv6 blob ores 2e950ac https://git.io/vD37o (2017-02-02T17:20:53Z)
17:27 DonBatman joined #minetest
17:37 cheapie It doesn't take much to make these nixie tubes resemble a vacuum fluorescent display: https://cheapiesystems.com/media/images/screenshot_20170202_113139.png
17:40 Benrob0329[m] that's pretty neat
17:45 rubenwardy joined #minetest
17:46 strncpy joined #minetest
18:02 garywhite That is pretty cool cheapie
18:06 cimbakahn joined #minetest
18:07 STHGOM joined #minetest
18:31 STHGOM joined #minetest
18:31 STHGOM joined #minetest
18:41 troller joined #minetest
18:46 Krock joined #minetest
19:20 Sires joined #minetest
19:22 WillMoogle joined #minetest
19:32 ensonic joined #minetest
19:35 MarcinK_ joined #minetest
19:35 ptv joined #minetest
19:46 Markow joined #minetest
19:48 ensonic joined #minetest
19:58 thefamilygrog66 joined #minetest
20:08 twoelk joined #minetest
20:10 betterthanyou710 joined #minetest
20:10 troller joined #minetest
20:19 Szkodnix joined #minetest
20:20 STHGOM joined #minetest
20:36 PsychoVision joined #minetest
20:36 STHGOM joined #minetest
20:41 Darcidride joined #minetest
20:53 strncpy joined #minetest
20:56 mercon joined #minetest
20:57 mercon this has been very trying
20:57 mercon nice game though
20:57 mercon but setting up a server has been hell so far
20:58 strncpy joined #minetest
21:02 strncpy joined #minetest
21:12 sfan5 mercon: which problems did you encounter?
21:12 mercon getting mods to work via the command line
21:12 mercon on ubuntu
21:13 sfan5 whats the problem
21:14 mercon i'll start over with a simple one
21:14 mercon so i can be sure
21:14 mercon i'm putting them in ~/.minetest/mods
21:18 mercon hm, well unified inventory worked lol
21:18 sfan5 if mods seem to randomly break maybe your minetest is outdated?
21:19 mercon i'm using the stable ppa now
21:19 sfan5 ubuntu likes to keep "stable" software in the repos
21:19 Benrob0329[m] And you have to rename mods
21:19 mercon i'll see if i have any other  problem
21:19 Benrob0329[m] The folder, specifically
21:19 mercon i just realized i was using --world instead of --worldname
21:20 mercon oh hey, there's a matrix channel? can you post the id?
21:20 sfan5 aren't they just using the matrix bridge?
21:20 Benrob0329[m] yes
21:24 mercon yeah but i prefer the matrix interface for the scrollback
21:26 mercon how do i reset a user password?
21:26 mercon i know it's right but it's not working suddenly
21:26 sfan5 /setpassword
21:27 mercon i guess it's working now
21:28 mercon of course i'd figure it out right after talking shit
21:36 DonBatman joined #minetest
21:41 ssieb joined #minetest
21:52 KaadmY joined #minetest
22:04 swift110 joined #minetest
22:05 swift110 joined #minetest
22:12 fwhcat joined #minetest
22:25 Yawin joined #minetest
22:25 Yawin Hi!
22:25 Yawin Some one about modding and manipulate player's inventory?
22:26 thePalindrome Er... what is the question?
22:26 ptv joined #minetest
22:26 Yawin I'm trying to take one item from the stack that the player have in his hand
22:27 Yawin i made two aproxximations of the funcions and not works
22:27 Yawin (sorry for my english, is very bad)
22:27 Yawin Here you can see my two possible functions: http://pastebin.com/VC7GyayE but i don't know why don't work
22:28 thePalindrome The itemstack functions have a weird quirk to them
22:28 thePalindrome After you set_count or take_item, you have to set the itemstack
22:29 Yawin but, i'm doing set count on the itemstack of the player
22:29 thePalindrome object:set_wielded_item(player:get_wielded_item().take_item(1))
22:29 thePalindrome player:set_wielded_item(player:get_wielded_item().take_item(1))
22:29 thePalindrome sorry
22:30 Yawin mmmm
22:30 thePalindrome That modifies a *copy* of the itemstack
22:30 Yawin i think that i understand
22:30 thePalindrome You have to take the copy you modified and replace the stack the player is holding
22:30 thePalindrome It's a quirk of Lua
22:31 thePalindrome That line I gave you might not work, I don't remember if take_item is a method or a function
22:31 Yawin it says: bad argument #1 to take_item: userdata expected got number
22:32 thePalindrome player:set_wielded_item(player:get_wielded_item():take_item(1))
22:32 thePalindrome I looked at the docs, forgot about that :P
22:32 Yawin don't crash but the stack don't change
22:32 QwertyDragon joined #minetest
22:37 thePalindrome Are you in creative?
22:37 thePalindrome take_stack does nothing in creative
22:37 Yawin nop
22:38 Yawin And I'm only with starting privileges
22:39 thePalindrome Doesn't matter
22:40 thePalindrome http://termbin.com/pxf6
22:40 thePalindrome A little PoC that shows how that function works
22:41 octacian joined #minetest
22:42 Yawin If i introduce /delve it says "issued command"
22:43 thePalindrome You have to be holding something to take :P
22:44 thePalindrome Also, that code won't take the last item from a stack
22:44 Yawin oh, wait
22:44 thePalindrome Point being is that you have to use set_wielded_item
22:44 Yawin says issued command but, takes all stack and gives only one
22:48 thePalindrome Oh, that's why
22:48 thePalindrome take_item returns an itemstack of what's been *taken*, not what's left
22:49 Yawin My question is, why it works on a command but no on a on_rightclick function?
22:49 Yawin For me it not have sense
22:49 thePalindrome It does work with an on_rightclick
22:49 thePalindrome I just didn't care enough to make a test item to bind it to :P
22:50 Yawin i copied the code of the command in muy function and it don't works
22:50 troller joined #minetest
22:50 Yawin at the moment my node is that: http://pastebin.com/ZMkerGVC
22:51 thePalindrome Yeah, I just said that take_item returns a stack of what you took
22:51 thePalindrome not what's left
22:51 Yawin yes, yes
22:51 Yawin but it don't works
22:51 thePalindrome Try this: http://termbin.com/5mes
22:51 Yawin it not modifies my stack
22:51 thePalindrome You didn't tell it to
22:52 Yawin your code works!
22:52 Yawin I don't understand the difference
22:52 thePalindrome Do you see the difference?
22:52 thePalindrome http://dev.minetest.net/ItemStack:take_item
22:52 thePalindrome take_item(1) returns an itemstack with only 1 item in it
22:53 thePalindrome For example, stack == stack:take_item(1) is false
22:53 thePalindrome take_item modifies stack, but returns a different itemstack
22:54 Yawin thanks you very much for all :)
22:54 thePalindrome yw, feel free to pm me again if you have any other questions, I'm looking forward to a decent magic mod :P
22:54 thePalindrome !next
22:54 MinetestBot Another satisfied customer. Next!
22:55 Yawin jajaja thanks!
22:55 Yawin I thing in one month mor or less it's gonna be prepared to be published
22:56 Yawin Here you can see a little video with the concept: https://www.youtube.com/watch?v=GmVIrzV5VDY
22:59 thePalindrome Good luck with the multiblock
23:01 Yawin I had make an api who recognices structures and compares it with registered "recipes"
23:01 Yawin So, multiblock is overcome hahahaha
23:06 proller joined #minetest
23:12 kaeza joined #minetest
23:14 kaeza greetings
23:17 DonBatman joined #minetest
23:17 thePalindrome hullo
23:17 twoelk left #minetest
23:23 proller joined #minetest
23:24 PsychoVision joined #minetest
23:26 Sires joined #minetest
23:29 Markow joined #minetest
23:31 STHGOM joined #minetest
23:31 STHGOM joined #minetest
23:31 emunand joined #minetest
23:34 emunand this might be the wrong place to ask this, but does anyone know how to autoconnect to a server on startup with Konversation?
23:35 emunand i cannot find it in the settings
23:35 thePalindrome I'd try #kde :P
23:35 thePalindrome As it is, I don't use Konversation, so I wouldn't know
23:35 sofar !mod flowerpot
23:35 MinetestBot sofar: flower pots [flowerpots] by pithy - https://forum.minetest.net/viewtopic.php?t=15265
23:36 emunand i use to use HexChat, but switched to this because it was preinstalled and fits the KDE theme better
23:36 sofar MinetestBot: forget that one, lol, it's been taken off
23:41 raymondillo joined #minetest
23:45 Fixer hexchat crashes so much
23:49 kaeza that's weird. never seen it crash
23:51 kaeza Fixer, Windows?
23:51 STHGOM joined #minetest
23:51 STHGOM joined #minetest
23:51 Fixer yes
23:51 kaeza ah
23:52 Benrob0329[m] Windows is weird
23:52 kaeza I had problems in Windows with Python enabled
23:52 whitephoenix joined #minetest
23:53 Fixer it crashes on network reconnect, issue is known, not fixed for years, fuck em
23:53 Fixer issue closed to collaborators only so people won't whine
23:53 Fixer ._.

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