Luanti logo

IRC log for #minetest, 2016-02-17

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
3 more elements. Show/hide.
00:27 Hijiri what is the best way to draw a line between two points on a formspec, which you don't know beforehand (e.g. when you are making the line texture)
00:27 Hijiri currently what I am trying is to stretch a line image between the two points, with special cases for vertical or horizontal
00:27 Hijiri but the problem I can see happening is the thickness of the line will change if the points are farther apart
00:27 Hijiri another option might be to generate an image using some image lib
2 more elements. Show/hide.
00:47 Hijiri this has been painful, but hopefully it will look ok
00:47 Hijiri when I get home to check
4 more elements. Show/hide.
02:10 Hijiri how precise are the width/height/x/y parameters in image and image_button?
02:10 Hijiri I can't get things to line up nicely
02:11 Hijiri actually no, I think I see what I did wrong
02:11 Hijiri actually I don't
02:12 Hijiri maybe I'll print things
02:16 Hijiri in image and image_button, x,y denotes the top left corner, right?
02:17 Lugal joined #minetest
02:17 Lugal hy guys
02:18 Lugal how can I register an object for my mod which is just a sprite located on a block, pls give me script line
02:52 Hijiri here are more details about my formspec troubles: https://forum.minetest.net/viewtopic.php?f=47&t=14077
03:11 kaadmy Hijiri: https://github.com/minetest/minetest/blob/master/src/guiFormSpecMenu.cpp#L2005
03:19 Hijiri kaadmy: thank you
3 more elements. Show/hide.
03:59 kaadmy yw
04:22 MyTeke_ChrisWMas left #minetest
04:30 jordan4ibanez can place_on for decorations be a table with multiple nodes?
04:33 jordan4ibanez Also any way to make the decoration overwrite existing nodes?
04:34 sofar all possible and documented
04:34 sofar best to look at:
04:34 sofar https://github.com/minetest/minetest_game/blob/master/mods/default/mapgen.lua
04:35 sofar e.g. line 944 has a table of place_on nodes
04:36 jordan4ibanez sofar, any example of overwriting other nodes?
04:36 jordan4ibanez I'm trying to get my deco to spawn in water
04:37 jordan4ibanez I'm seeing something about the flags using the schematic flags
04:37 sofar look at the water lily
04:38 sofar https://github.com/minetest/minetest_game/blob/master/mods/flowers/mapgen.lua#L125
04:42 jordan4ibanez sofar, I'm trying to spawn a node at the bottom of the ocean essentially, like in the water
04:42 jordan4ibanez I'm seeing flags, but there are no documents on it
04:42 jordan4ibanez flags = "force_placement", is the closest I've got, but that doesn't do anything
04:43 jordan4ibanez Wait
04:43 jordan4ibanez hold on, I think this might be my mistak
04:43 jordan4ibanez mistake*
04:45 jordan4ibanez sofar, http://i.imgur.com/50srxBi.jpg This is what's happening
04:45 jordan4ibanez I'
04:45 jordan4ibanez I'm trying to get the nodes to spawn in the water
04:46 sofar can I see your decoration code ? gist.github.com?
04:47 ShadowNinja joined #minetest
04:47 jordan4ibanez http://pastie.org/pastes/10725088/text
04:47 jordan4ibanez sofar, it's just a basic deco
04:48 sofar so use y_min = -3000 and y_max = -5
04:48 sofar so use y_min = -30000 and y_max = -5
04:48 LazyJ joined #minetest
04:48 sofar remove spawn_by
04:48 sofar and num_spawn_by
04:55 LazyJ joined #minetest
04:56 jordan4ibanez sofar, it seems like the only time a decoration can spawn underwater is when there's an air node above it when generating
04:58 kaadmy iirc decos can't spawn underwater
04:59 jordan4ibanez kaadmy, anything like decos that can?
05:01 sofar ahh yes
05:01 sofar the 'sea' mod has underwater decos
05:03 jordan4ibanez Oh I see, thank you
6 more elements. Show/hide.
08:26 paramat !tell jordan4ibanez simple decos can't be force-placed in order to replace water, it has to be a schematic with the 'force-place' flag
08:26 MinetestBot paramat: yeah, yeah
10 more elements. Show/hide.
09:52 JamesTait Good morning all!  Happy Wednesday, and happy World Human Spirit Day! 😃
131 more elements. Show/hide.
13:41 Megaf Hello everyone.
13:41 Samson1 VanessaE, Erm, could you right or eddit MoreTrees mod for me please?  I know this is asking a lot as you are busy
13:41 Samson1 Hello Megaf
13:41 Samson1 :)
13:41 Megaf minetest/MegafServer/worlds/world/map.sqlite
13:41 Megaf 1,526,724,760  34%   49.56MB/s    0:00:56
13:41 Samson1 Or some one else could help :)
13:41 Megaf Backing up my world over 3G
13:42 Megaf ssh compression magic + rsync magic
13:42 Megaf Samson1, how can I help you?
13:43 Samson1 Megaf, well, I want my MInetest server to be as much like MC as possible,
13:44 Megaf hm, why Minetest then?
13:44 Samson1 Megaf, In MoreTrees there should be a file some where, I want to change the tree structure to a Minecraft tree, (Witch I can build)
13:45 Megaf I see
13:45 Megaf Samson1, well, just pay attention to file names in the mod
13:45 Megaf it shouldn't be too diffcult to find the right files
13:45 Samson1 Megaf, because there are one or two things you can't do in Minecraft and I only know one person who plays it:\
13:46 Samson1 Okay:)
13:46 Megaf I have to go already, will change the kernel, brb
5 more elements. Show/hide.
13:58 Megaf # uname -a
13:58 Megaf Linux ToshSam 4.4-1.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Debian 4.4-7 (2016-02-17) x86_64 GNU/Linux
13:58 Megaf :)
3 more elements. Show/hide.
14:17 Megaf Hi?
14:24 giho Hi?
2 more elements. Show/hide.
14:41 Samson1 Megaf, Hello :)
14:42 kaadmy joined #minetest
14:42 Samson1 kaadmy, Hello:)
14:44 kaadmy hey Samson1 :)
14:45 ElectronLibre Guessing the format of Minetest's schematics doesn't seem that complicated. But thankfully I have found this : https://github.com/minetest/minetest/blob/master/src/mg_schematic.cpp#L339
3 more elements. Show/hide.
15:14 VanessaE Samson1: what you want requires new tree models.
15:14 VanessaE moretrees uses the L-system code in the engine, so you will have to learn that
15:14 VanessaE I have no interest in making it MC-like.
15:17 alket joined #minetest
15:34 Megaf giho, my XEN Xeon core is much much much faster/powerful than my laptop's dual core CPU
15:34 Megaf I downloaded my server and ran it on this laptop, completely sluggish
15:40 Player_2 joined #minetest
15:42 Samson1 VanessaE, Thank you:)
15:43 hmmmm joined #minetest
15:43 Samson1 VanessaE, The only reason why I want to make my server as much like Minecraft as poss is because I don't really know anyone who is willing to play MC, or has MC on there machine
15:45 kaadmy Samson1: pixture is similar to MC in survival, but sucks at creative :D
15:46 kaadmy Samson1: btw latest git version of pixture nos has a "creative" tool, which allows anybody with the /giveme priv to dig at creative speeds in survival
15:52 Samson1 kaadmy, Oh
15:52 Samson1 kaadmy, I will take a look
15:53 Samson1 kaadmy, in fact I am using a few of your mods for my server ;)
15:53 Samson1 I was going to ask you but after I found out you were IsTank I forgot about it
15:53 xnrand joined #minetest
15:58 kaadmy hehe
15:59 kaadmy in case you haven't found out, any of pixture's mods that utilize formspecs will completely break with vanilla
6 more elements. Show/hide.
16:32 sloantothebone Hi
16:32 sloantothebone Click and dragging items in minetest sucks
16:33 kaadmy afaik it doesn't work
16:34 lambda-11235 kaadmy: How do you use the crafting area?
16:35 lambda-11235 If not by clicking and dragging?
16:35 sloantothebone kaadmy: it works, but only on every other click
16:35 sloantothebone lambda-11235: by plain clicking?
16:37 lambda-11235 sloantothebone: Oh, right. I forgot you don't have to keep your finger down.
2 more elements. Show/hide.
16:39 sloantothebone lambda-11235: what do you mean? I clicked once and dragged and nothing happened. This is in version 0.4.13
16:39 Taurith joined #minetest
16:42 sloantothebone 2964
16:42 sloantothebone ~2964
16:42 sloantothebone !help
16:42 MinetestBot https://github.com/sfan5/minetestbot-modules/blob/master/COMMANDS.md
16:42 sloantothebone !2964
16:43 sloantothebone @help
16:43 sloantothebone ~help
16:43 ShadowBot sloantothebone: help [<plugin>] [<command>]
16:45 sloantothebone Well anyway, https://github.com/minetest/minetest/issues/2964
16:45 nanovad joined #minetest
16:49 sloantothebone Also, the android version sucks
16:51 lambda-11235 sloantothebone: I must be on a different build of 0.4.13 or something, or just not understanding the problem. Is this only an issue on Android?
16:52 nrzkt joined #minetest
16:58 ElectronLibre Just tried to import a handmade schematic -> crashed the server after throwing a std::bad_alloc
16:59 sloantothebone lambda-11235: Android is worse than just the click & drag issue. You can walk on top of blocks without jumping???? Why isn't there a menu to choose my subgame? And it could use some extra experimental control schemes
16:59 ElectronLibre sloantothebone, it's android.
17:00 ElectronLibre And it runs on a phone. Just running minetest on Android drains the battery at full speed, you cannot expect a phone to render the same gameplay as a computer, especially for such a game as Minetest.
17:00 ElectronLibre (nor can you expect the same performances)
17:01 sloantothebone I know: add some buttons to turn left and right
17:01 sloantothebone Idk, performance seems fine even on my $50 tablet, it'
17:01 sloantothebone it's just the controls and the not needing to jump thing
17:02 ElectronLibre I think the choice to not jump is deliberate. The jump button is quite hard to use and constantly pressing it would be a pain.
17:02 ElectronLibre The controls I agree. However, just looking at the GUI, you can see there isn't much space left for button..
17:03 ElectronLibre s/button/buttons
17:03 sloantothebone Well put it in as a check box in the setting, I don't mind jumping.
17:03 ElectronLibre That could be coded yes.
17:03 Obani That would be a good idea, and easy to include
17:04 ElectronLibre Now just submit a request and wait until someone is interested in doing it. There are not many people working especially on the android version.
17:04 sloantothebone What's the github for minetest android?
17:05 kaadmy sloantothebone: the same repo afaik
17:05 sofar there is no separate git for android
17:05 Obani As there are not many changes between both versions
17:06 Obani Excepted the use of packs/base/ textures
17:06 Obani ElectronLibre, did you except an answer ?
17:07 ElectronLibre I was lagging, sorry.
17:07 ElectronLibre My PC couldn't stand MT and froze for a minute or so.
17:08 ElectronLibre I wasn't expecting anything in particular.
17:09 Out`Of`Control joined #minetest
17:14 ElectronLibre Well, that is strange. My schematic keeps crashing the server even though it doesn't contain loads of unknown nodes. That sounds like bad news..
17:16 jordan4ibanez joined #minetest
17:26 ElectronLibre Could anybody tell me if I failed somewhere and didn't see it, please? http://zerobin.qbuissondebon.info/?f68cc40819e0a9ed#8qN9HJUt/Bb3FAbbV7LItsnyt0yoSUotFHKVoK+ZQ9g=
17:28 ElectronLibre It seems to fail regardless of the schematic and the input parameters, always with a bad allocation error.
5 more elements. Show/hide.
17:38 sofar ElectronLibre: does the print(dump(k)) return OK?
17:38 ElectronLibre It returns <userdata>
17:38 ElectronLibre So I assume it means OK.
17:38 sofar you could check err
17:38 sofar irregardless, have you tried an actually working schematic?
17:38 ElectronLibre I tried with my handmade schematic file, one from saveschem, and one from default.
17:39 Nitori joined #minetest
17:39 ElectronLibre All three crashed, same error : std::bad_alloc.
17:39 Robby joined #minetest
17:39 ElectronLibre I tried in dev version (compiled about 40min ago) and 0.4.13-stable, same error everywhere.
23 more elements. Show/hide.
19:14 kaeza o/
19:32 Taoki joined #minetest
19:43 Krock o/
2 more elements. Show/hide.
19:54 Out`Of`Control 0/
19:57 lambda-11235 o\
19:59 codehero joined #minetest
20:23 Hijiri Is there a function taking a tool capabilities and a group table, and returning a boolean saying whether it can dig
20:36 yasdefk joined #minetest
20:36 yasdefk Hello, i saw on github that you want to make an insta run version for linux?!?!
20:36 ElectronLibre joined #minetest
20:41 RealBadAngel yasdefk, what?
2 more elements. Show/hide.
20:48 yasdefk an no install minetest
20:52 sofar appimage
20:56 Hijiri A mod providing a global(server-wide) item exchange would be pretty cool
20:56 Hijiri and it would be a chance to experiment with using sqlite in mods
20:58 alket joined #minetest
20:59 Hijiri At some point I should rewrite monoidal_effects to use sqlite instead of hacky in-memory relational structure
20:59 Hijiri well it could have been less hacky
12 more elements. Show/hide.
23:15 Fixer o_0
23:15 Fixer 0_o
23:16 sofar O_O
23:27 iio7 joined #minetest
23:27 iio7 Does anyone know whether the mod "pipeworks" creates a lot of lag?
23:29 Out`Of`Control i think it does
23:32 sofar yes, pipeworks causes lots of block updates
23:42 iio7 Thanks!
23:45 Fixer 3361
23:46 Fixer RBA has unfinished patch for fixing those kind of issues
23:48 iio7 Is it better to run with 0.4.13 or with the latest dev version?
23:50 fling joined #minetest
23:53 sofar depends, latest dev may not be stable

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