Minetest logo

IRC log for #minetest, 2015-01-19

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

All times shown according to UTC.

Time Nick Message
00:00 est31 shall I build a nuke now?
00:01 VanessaE it's worth a try I guess
00:01 est31 how large is your survival server?
00:01 VanessaE at this point I'm just confused.
00:01 VanessaE the map?
00:01 est31 yes
00:01 est31 where is it
00:01 VanessaE about 7 GB
00:01 VanessaE http://digitalaudioconcepts.com/vanessa/hob​bies/minetest/worlds/Survival_World.tar.bz2
00:02 est31 17 min
00:03 est31 unless... my hdd has constant spindown/spinups. during that time my whole system lags out.
00:03 Enke joined #minetest
00:05 est31 can be a power issue can be sth else
00:06 * VanessaE shrugs
00:06 VanessaE you mean the quarries, or your HDD?
00:06 est31 my hdd :D
00:06 VanessaE oh heh
00:07 VanessaE no idea there :)
00:07 est31 got .5 g
00:07 Johnsen2 joined #minetest
00:07 VanessaE fast pipe
00:07 est31 ?
00:07 est31 ah yea
00:08 est31 your server too
00:08 VanessaE mmhmm, and I've been eyeing a newer server (faster disk, more RAM, faster CPU with more cores also) if I can actually manage to get one while they're in stock
00:08 Sokomine ah :-) sounds fine
00:09 jojoa1997 joined #minetest
00:09 est31 now my firefox claims to have finished download
00:09 Sokomine though setting view range to a fixed value helped a lot, especially on your server
00:13 TriBlade9 joined #minetest
00:13 est31 more cores means more servers?
00:14 VanessaE in this case faster servers, as before I had 2 HT-capable cores (=4 almost-cores).  now it'll have 4 HT-capable.
00:14 VanessaE and it'll run off SSD instead of spinning rust
00:14 acerspyro my laptop has 2+HT
00:14 LandMine vanessaE can i pm you?
00:14 VanessaE no
00:14 acerspyro LandMine: No
00:15 acerspyro Punishable by law
00:15 VanessaE I don't like pms
00:15 LandMine why :(
00:15 est31 I can always almost hear the HDD seaking when walking long distances
00:15 LandMine hmm ok i guess
00:15 est31 :D
00:15 VanessaE est31: haha
00:15 acerspyro lol
00:15 acerspyro My dvd drive is the worst
00:17 est31 seeking
00:20 TriBlade9 Trying to understand the mechanics of [colorize: is like trying to understand the secrets of the universe.
00:22 Sokomine that sounds very fine, vanessa
00:22 Sokomine the servers also ought to regain popularity. they're very nice servers with excellent service for players
00:22 Sokomine servers as they ought to be
00:22 TriBlade9 ^
00:23 Sokomine problem is just the low speed around spawn :-( that kills fps. the signs really need a better solution...
00:24 VanessaE they'll get a better solution some day
00:24 exio4 VanessaE, which GPU did you have?
00:24 VanessaE but what I have in mind is server stuff, won't affect client performance, only overall user experience.
00:24 est31 I've played on VE servers in the past, but VE-S was very laggy, and VE basic was too basic for me. Now lag is down.
00:25 VanessaE exio4: I used to have an AMD HD 6870. I have an R9 280X now.
00:25 exio4 evil
00:25 exio4 what did you do with that cute 6870?
00:26 VanessaE it's sitting on the shelf behind me.
00:27 Johnsen2 joined #minetest
00:31 DFeniks joined #minetest
00:33 acerspyro has anyone tried Minetest on the NVIDIA shield?
00:35 VanessaE hadn't heard of it
00:37 acerspyro How
00:37 acerspyro What
00:37 acerspyro Impossible :D
00:40 DMackey joined #minetest
00:43 jojoa1997 XD so my profile says 3.74 posts per day but i havent posted much anything in ages
00:45 n4x a proof that you were a spammer
00:46 acerspyro LOL
00:46 acerspyro #rekt
00:47 n4x you posted so much stuff in a short time that the forum still thinks you are an active, based on average posts
00:47 n4x an active user*
00:47 imawaffle hey give me a break. I didnt know about spam and stuff. It was my first time on any social media. That and I also checked the forums like every 10 minutes
00:48 imawaffle in and out of school
00:48 acerspyro lol
00:48 acerspyro reminds me of myself
00:49 imawaffle Now there is nothing for me to really comment on
00:57 phantombeta joined #minetest
01:01 phantombeta joined #minetest
01:07 TriBlade9 joined #minetest
01:12 deltib joined #minetest
01:14 est31 joined #minetest
01:15 est31 joined #minetest
01:17 phantombeta joined #minetest
01:20 Viper168_ joined #minetest
01:26 phantombeta_ joined #minetest
01:32 jordan4ibanez bloop
01:32 acerspyro meep
01:33 Polsaker beep
01:33 acerspyro bup
01:34 VanessaE blip
01:34 TriBlade9 blurp
01:40 Polsaker moop
01:43 DMackey joined #minetest
01:46 stormchaser3000 joined #minetest
01:57 Enke joined #minetest
01:58 compunerd joined #minetest
02:00 nnooplo joined #minetest
02:13 jordan4ibanez Oh snap, carts are public domain? That's perfect
02:13 DMackey joined #minetest
02:14 jojoa1997 joined #minetest
02:14 DMackey joined #minetest
02:19 jordan4ibanez http://i.imgur.com/8moykPP.png
02:20 jordan4ibanez Pilzadam would either very cross or very delighted lol
02:22 VanessaE I....think you better adjust the size of the tracks a bit :)
02:23 jordan4ibanez I need to make the model higher :(
02:23 VanessaE that's easy to do in blender
02:24 VanessaE load model, G Z 0.1 enter
02:24 VanessaE if you want the position to be precise that is
02:24 jordan4ibanez How do I export a textured cube
02:24 VanessaE you don't
02:24 VanessaE minetest supplies the textures
02:24 VanessaE you can UV-map it though
02:24 jgeboski joined #minetest
02:24 VanessaE then you just draw your texture in gimp or so
02:25 VanessaE take a look at slope_test
02:25 VanessaE there are "tutorial" images there, sorta
02:26 VanessaE but basically, once you have the model created (without the textures), then you unwrap the UV pieces and place them on your grid, and you make an image in GIMP to match where you put those pieces
02:26 VanessaE then you do Image -> Open Image  in the UV editor, and point it at the image you made
02:26 VanessaE then in the 3d view, do Shading -> Textured Solid
02:26 VanessaE (it's in the properties dialog that you get when you hit "n")
02:27 VanessaE it's easy to understand once you do it a couple of times
02:28 est31 VE-S downloaded
02:28 VanessaE est31: now you get to spend half an hour untaring it :)
02:29 est31 hehe
02:30 est31 or no it still needs to download
02:32 VanessaE lol
02:38 tmanyo joined #minetest
02:38 est31 ok downloaded extracting...
02:40 TriBlade9 VanessaE, how exactly do you get UV unmapping right?
02:40 TriBlade9 I can't get my brain to wrap around all the crazy edges
02:40 VanessaE a hell of a lot of trial and error
02:40 VanessaE selecting only the few faces I want to unwrap
02:41 VanessaE setting seams where I want them (select edges -> Ctrl E -> Mark Seam)
02:41 VanessaE lots of scale...move...scale...move until a particular island is the right size and position
02:41 VanessaE a lot of snap-to-pixel to make some of them square
02:42 tmanyo left #minetest
02:42 VanessaE (but not always)
02:42 est31 nooooo corrupt bz2 file
02:42 TriBlade9 Eugh
02:42 VanessaE est31: recovery/repair tool?
02:43 TriBlade9 I've done a total UV map of a plane successfully once
02:43 TriBlade9 (Yesterday)
02:43 est31 sorry, I couldn't find any block boundaries.
02:43 VanessaE TriBlade9: it's not as bad as it sounds.  it's just time-consuming because I'm new at it
02:43 TriBlade9 You're new?
02:43 TriBlade9 The queen of meshnodes?
02:44 VanessaE and mine is an older version of Blender, so between lack of skills and that, I'm sure I'm missing some ways to streamline stuff
02:44 TriBlade9 And figurehead of useful mods?
02:44 TriBlade9 Lol, which version?
02:44 VanessaE yep, when it comes to meshes I'm a noob
02:44 VanessaE 2.69
02:44 TriBlade9 2.69 is old?
02:44 TriBlade9 2.73 is latest
02:44 VanessaE yeah, 2.7x is out now
02:44 VanessaE see? :)
02:44 TriBlade9 I see we have a similar definition of old x]
02:44 VanessaE I've read that it's rather more advanced than 2.69
02:45 TriBlade9 Meh
02:45 TriBlade9 Not much
02:45 VanessaE I've just been too lazy to update itr
02:45 VanessaE it*
02:45 TriBlade9 I use 2.72 myself, have yet to download 2.73
02:45 jordan4ibanez Damn, blender just keeps crashing
02:45 est31 oh the file is empty... have to re-download it
02:45 VanessaE let's see....they got a PPA here maybe?
02:45 * VanessaE looks
02:46 VanessaE bleh.  .tar.bz2?  come on guys
02:46 VanessaE not even a .deb?
02:46 TriBlade9 PPA?
02:46 TriBlade9 Lrn2Downloadstuff
02:46 VanessaE :P
02:46 VanessaE I don't like relying on non-packaged builds
02:46 TriBlade9 Seriously. I rarely install stuff as root. I have a custom ~/Software/usr folder
02:46 VanessaE I always mess up.
02:47 TriBlade9 And use wget scripts to automatically download updates
02:47 TriBlade9 Lol
02:47 VanessaE heh
02:48 VanessaE I think you missed the part about being lazy ;)
02:48 TriBlade9 Then again, I think centralized package managers are a step back
02:48 est31 why that
02:48 Zeno` joined #minetest
02:48 TriBlade9 I like the browsing the web and downloading/compiling stuff way better, 'cause you get the latest versions and can fix stuff easier without using root.
02:48 est31 who has said that package managers should require root?
02:49 TriBlade9 I heard of one that didn't.
02:49 TriBlade9 But you always get more information on the source website than the package manager
02:49 * VanessaE sighs and downloads the .tar.bz2
02:49 VanessaE I guess I can install it locally.
02:49 VanessaE "install"
02:49 TriBlade9 lol
02:51 VanessaE yep, that works.
02:53 est31 It seems my hdd does that spindownspinup stuff when its hot
02:54 VanessaE hm, interface is a tad different with these tabs on the left.  I'll have to remember that.
02:54 VanessaE est31: not good...
02:55 TriBlade9 Hmm
02:55 TriBlade9 Does minetest need a [tint: texture modifier?
02:56 TriBlade9 [colorize: is a bit hard to use to tint textures reliably.
02:56 Thenextlevel joined #minetest
03:04 stormchaser3000 joined #minetest
03:05 younishd joined #minetest
03:07 jgeboski joined #minetest
03:08 VanessaE TriBlade9: I don't use those two because imho it's better to tint the textures manually, and those operations still create new textures in memory anyway
03:08 TriBlade9 I'm aware of that VanessaE, however for a clothing mod...
03:08 TriBlade9 When you want one master copy of the image, tinted in a dying machine
03:09 VanessaE fair enough
03:09 est31 now I start extracting
03:09 VanessaE don't forget there's that texture generator script in unified dyes.
03:09 VanessaE might be useful here too :)
03:09 TriBlade9 IK, I'm using Unified Dyes actually :)
03:10 TriBlade9 Still, I'm adding an API, and I'd prefer to make it as simple and automated as possible.
03:12 TriBlade9 Make one white/grey master copy image and tint it for each item
03:12 fling TriBlade9: try gentoo?
03:12 TriBlade9 fling I have. :) Don't use it at the moment because of my work, and Unity is quite productive.
03:13 TriBlade9 Boy, I'm quite opinionated and pushy today. :L
03:13 TriBlade9 Sowwy.
03:13 fling TriBlade9: and use /usr/local/ for local install instead of ~/Software/usr
03:14 TriBlade9 I'll keep that in mind, though that doesn't make it user-specific
03:14 est31 still extracting
03:14 fling TriBlade9: ~/.local is user specific :P
03:15 TriBlade9 Ja
03:15 fling jajaja
03:15 TriBlade9 jajaja
03:15 TriBlade9 ja
03:16 TriBlade9 First clothes test, colors are washed out due to the way I used [colorize:
03:16 TriBlade9 https://lut.im/1Ea8BzXW/y5qQfmpJ
03:16 VanessaE brb
03:16 TriBlade9 That's a vest, tie, and belt, different colors.
03:17 est31 a bit more noise on that?
03:17 est31 its so "one color"
03:17 TriBlade9 They're test textures :P
03:17 Zeno` hehe, he's very well dressed
03:17 TriBlade9 I also suck at art
03:17 TriBlade9 The dying basin looks a lot better x]
03:17 TriBlade9 That's why I'm considering writing a [tint: modifier, so it looks less washed out and more tinted
03:18 TriBlade9 WB kaeza
03:18 kaeza o/
03:18 Zeno` TriBlade9, the alpha on colorize doesn't help?
03:19 TriBlade9 Zeno`, no, instead it changes the alpha of the whole layer.
03:19 TriBlade9 So with alpha, the tie becomes transparent.
03:19 TriBlade9 So I use a solid color layer, then a partially transparent white copy over it, to keep the noise/shading
03:19 est31 and still extracting
03:19 TriBlade9 Hence the wash-out
03:19 Zeno` ahhh... ok
03:20 DFeniks can i minetest.override_item("air"  ?
03:22 VanessaE joined #minetest
03:22 TriBlade9 DFeniks Yes, that's ":"
03:22 TriBlade9 I think
03:22 VanessaE there, that's better.
03:23 TriBlade9 WB 'nessa
03:23 VanessaE thanks
03:23 VanessaE just had to reboot for some kernel updates
03:23 VanessaE air isn't :
03:23 VanessaE it's air.
03:23 VanessaE : is the hand
03:24 TriBlade9 Oh
03:24 TriBlade9 Mybad
03:25 TriBlade9 So much to re-learn
03:26 roboman2444 joined #minetest
03:27 est31 oooh extraction complete
03:28 VanessaE est31: ok have fun :D
03:28 est31 VanessaE: anything else than dreambuilder?
03:28 VanessaE nope, that'll be enough to get the map going
03:28 VanessaE there's some additional mods on the server like IRC but you obviously don't need that here
03:29 est31 y
03:29 stormchaser3000 joined #minetest
03:33 est31 what():  Unknown map backend
03:33 est31 compile with leveldb
03:33 est31 VanessaE: ?
03:38 VanessaE yes
03:38 VanessaE sorry I shoulda mentioned it
03:43 DaveTheModder joined #minetest
03:44 DaveTheModder_ joined #minetest
03:44 DaveTheModder_ Hey
03:45 TriBlade9 Hey Dave!
03:45 DaveTheModder_ New to irc, just checking it out
03:46 jojoa1997 joined #minetest
03:47 DaveTheModder_ Wow
03:47 sofar lol
03:48 DaveTheModder_ Didn't expect to be online at  the same time as jojoa
03:48 DaveTheModder_ :-D
03:48 DaveTheModder_ That's awesome
03:48 DFeniks minetest.override_item("air"  well it sorta worked . but i failed to make it textured?
03:48 est31 VanessaE: where were cheapie's quarries at?
03:49 VanessaE lemme check
03:49 est31 like the "central cafe opening soon"
03:49 VanessaE est31: -441,-151,-401
03:49 DaveTheModder_ What server are you playing in?
03:50 VanessaE DaveTheModder_: he's testing something that happens on my Survival server, but with a local copy of the map
03:50 DaveTheModder_ Ah
03:50 VanessaE problem with the Technic quarry eating CPU
03:50 rickmcfarley joined #minetest
03:50 bduk joined #minetest
03:50 Zeno` quarries are known to be hungry beasts
03:50 DaveTheModder_ I haven't tried technic much, although I keep meaning to
03:50 VanessaE est31: the map you have is from last Tuesday so it should show all ~20 quarries
03:51 est31 how can I enable creative mode for me
03:52 VanessaE creative_mode = true
03:52 VanessaE in minetest.conf
03:52 VanessaE or give yourself creative priv
03:52 est31 ingame to lazy :D
03:52 jojoa1997 joined #minetest
03:52 est31 /set ...
03:52 VanessaE I don't think you can do that.
03:52 VanessaE /grant singleplayer all
03:52 VanessaE ":_)
03:52 VanessaE :)
03:54 est31 cabling wasnt done yet
03:54 VanessaE damn it.
03:54 VanessaE all that time wasted :-/
03:54 est31 oh but yes CPU at 100
03:54 VanessaE OH
03:54 VanessaE good
03:54 VanessaE you mean server CPU I guess
03:55 est31 yea
03:55 est31 lemme disconnect power
03:55 VanessaE it'll take a while for it to register the disconnect
03:55 VanessaE due to lag
03:56 est31 yea lag so bad it re-loaded the chunk/mapblock from the server before dig was applied
03:57 VanessaE and see, there's really nothing about this rig that should, visibly, lag the server like that
03:57 VanessaE I mean, given what each of these devices does
03:57 est31 true
03:57 est31 they dont mine bitcoins ;)
03:57 fmcd joined #minetest
03:57 VanessaE haha
03:58 VanessaE this one mines altcoins:  http://digitalaudioconcepts.c​om/vanessa/extra/P1130351.JPG
03:58 VanessaE :"D
03:58 VanessaE :D
03:59 bduk joined #minetest
03:59 DaveTheModder_ Just curious,  whenever I use minetest.get_node({x = pos.x, y = pos.y + 1, z = pos.z}, {name = "test:fooblock"}) or something similar, it always checks all around instead of just one block up. Does anyone know if I did something wrong?
03:59 est31 I'll disconnect the lava ones
04:00 VanessaE DaveTheModder_: get_node() only takes a pos parameter.
04:00 VanessaE and it only reads the exact position you asked for.
04:00 VanessaE mynode = minetest.get_node(pos)
04:00 VanessaE mynode.name would be the name of the node you just read
04:00 VanessaE .param2 its facedir, etc.
04:01 DaveTheModder_ so in other words, the code is correct, and it's probably something else in the code?
04:01 VanessaE the code is incorrect.
04:02 VanessaE if you did it as you described above anyway
04:03 VanessaE est31: when you said the cabling was incomplete, how much was missing?
04:03 est31 1 node
04:03 VanessaE oh
04:03 VanessaE that's how cheapie cuts power to the rig
04:03 est31 seems so
04:04 est31 I'll try whether its the power or the devices.
04:04 est31 I'll set their demand low
04:05 DaveTheModder_ ok, thanks, Vanessa!
04:05 DaveTheModder_ Appreciate it
04:06 est31 man I got scared got this in log: cheapie digs default:papyrus at (-223,12,-470)
04:06 est31 his ghost is inside the mapfile :)
04:06 VanessaE haha
04:06 est31 (guess its a machine)
04:06 VanessaE that's the owner of the machine yeah
04:07 VanessaE wait
04:07 VanessaE wtf is there papyrus doing down in that mine?
04:07 VanessaE or just another quarry elsewhere?
04:07 VanessaE or some other machine I guess
04:07 est31 forceloaded papyrus machine
04:07 VanessaE automated farm maybe
04:07 VanessaE yeah
04:07 est31 node breaker
04:07 est31 not quarry
04:07 VanessaE damn world anchors :P
04:07 est31 (my guess)
04:12 * VanessaE reaches into the aether fishing around for the lost Zeno`
04:13 DaveTheModder joined #minetest
04:13 VanessaE oh, he's out due to a storm.  so much for my joke :P
04:16 est31 ok setting demand to 1 didnt help
04:20 est31 getting lots of LuaEntity name "mobs:rat" not defined
04:20 VanessaE ignore them
04:22 est31 ok its independent from the energy as I thought
04:22 est31 gonna count the iterations
04:22 VanessaE so it IS the quarries then?
04:25 est31 yes
04:25 est31 100% as the cpu load its the quarries
04:25 VanessaE jeez
04:25 VanessaE I wonder if the quarries are hitting the lava and getting hung up on what to do?
04:26 est31 no
04:26 est31 ive tried cutting off power to the lava quarries and no difference
04:26 VanessaE huh.
04:26 VanessaE maybe the vertical checking loop?
04:26 Viper168 joined #minetest
04:27 * est31 is currently trying possibilities
04:27 est31 currently I cant log due to lag in as Ive closed the server in a lagging state
04:27 est31 disabled them retry
04:27 VanessaE ouch
04:28 VanessaE that sounds consistent with what happened on my server also
04:34 est31 so measuring results: iteration count for loop is < 200 each (most <10 only a few around 150 or so), and the time most times around 2 ms
04:35 VanessaE 2ms each
04:35 est31 yea
04:35 VanessaE so anywhere from 40 to 4000 ms
04:36 VanessaE (for this particular rig)
04:36 est31 no
04:36 VanessaE well 3000 ms (150ms * 20 quarries)
04:36 est31 always around 2 ms, for the 150 ones a bit more (scales up)
04:36 VanessaE ok
04:37 VanessaE what is running these anyway?  an ABM probably?
04:37 * VanessaE looks
04:39 VanessaE https://github.com/minetest-technic/technic/blob/m​aster/technic/machines/switching_station.lua#L177
04:39 VanessaE here (see line 228 specifically)
04:40 est31 ok
04:41 VanessaE so there's really nothing egregious about the controlling ABM
04:46 jordan4ibanez joined #minetest
04:48 chchjesus joined #minetest
04:53 Zeno` joined #minetest
04:54 TriBlade9 Welcome back jordy and Zeno`!
04:54 Zeno` thank thee!
04:55 TriBlade9 I've almost got a half-working tint modifier going
04:55 jordan4ibanez Thank you!
04:55 sofar neat
04:56 TriBlade9 Do you guys know if any mods use the [colorize: modifier in practice?
04:57 TriBlade9 [tint uses almost the same code, but with some different parameters. Perhaps the colorize modifier could be re-purposed or extended with extra options
04:59 Zeno` it's fairly new
04:59 TriBlade9 Alright then, could I try adding an extra option to it?
04:59 Zeno` I wrote the named colours :3
04:59 TriBlade9 (Whoever wrote it decided that the ratio should be controlled by the alpha of the color, which does not work well at all.)
05:00 Zeno` but not the [colorize modifier itself
05:00 TriBlade9 Since the alpha is also interpolated by itself
05:00 TriBlade9 Hmm
05:00 Zeno` I dunno. What's the source code look like?
05:00 TriBlade9 How about [colorize:#RGBA(#RRGGBBAA):Ratio?
05:01 TriBlade9 dst_c = src_c.getInterpolated(dst_c, (float)src_c.getAlpha()/255.0f); # The line in question
05:01 Zeno` file?
05:01 TriBlade9 tile.cpp
05:01 TriBlade9 Lemme get the line
05:01 TriBlade9 1680
05:02 VanessaE Zeno`: how was the storm? :)
05:02 Zeno` short and fierce :)
05:02 TriBlade9 What sort of storm? Snow? <3
05:03 Zeno` no, just lightning, thunder, rain, wind
05:03 Zeno` no hail today
05:03 TriBlade9 Aww.
05:03 Zeno` what does ratio do, TriBlade9?
05:03 Zeno` it doesn't snow here
05:03 Zeno` well, it did in 1983
05:03 TriBlade9 Yikes
05:03 TriBlade9 Where are you?
05:04 Zeno` Queensland, Australia
05:04 VanessaE mmm nice big thunderstorm, love it :)
05:04 TriBlade9 And ratio would be the second argument to src_c.getInterpolated()
05:04 TriBlade9 Ah, nice
05:04 Zeno` I don't understand what ratio would do though :(
05:04 TriBlade9 If unspecified, it would use the alpha as currently done
05:04 TriBlade9 It would specify the interpolation (location?) between the colors
05:05 TriBlade9 Eg, how much of each color to use
05:05 Zeno` isn'
05:05 Zeno` isn't that what alpha does?
05:06 TriBlade9 That's the problem
05:06 TriBlade9 Alpha does that, but it also sets the alpha for the color
05:06 TriBlade9 So low alpha means it's closer to the color, but also a lower alpha
05:06 TriBlade9 Making it nigh-unusable
05:10 Zeno` seems more like a bug
05:10 Zeno` I'm not familiar with this part of the code
05:10 jojoa1997 joined #minetest
05:10 est31 VanessaE: 90% of the time spent during a normal dig isn't due to the while and I suspect this line causes most of the lag: https://github.com/minetest-technic/techni​c/blob/7d610b7c80487cd7a6e66f55c9c3b1190e5​dfc7f/technic/machines/HV/quarry.lua#L91
05:10 koz_desktop joined #minetest
05:10 VanessaE est31: that just figures.
05:10 ]DMackey[ joined #minetest
05:10 est31 ?
05:11 VanessaE why the hell is it using a vmanip for such a simple operation?
05:11 Zeno` TriBlade9, write the code :)
05:11 TriBlade9 Zeno` On it :)
05:11 TriBlade9 Time to make a new branch
05:12 est31 dunno *facepalm*
05:13 Zeno` wth
05:13 Zeno` if(dst_c.getAlpha() == 255 && src_c.getAlpha() != 0)
05:13 Zeno` wtf does that mean?
05:13 Zeno` err I see
05:14 est31 and voila
05:14 TriBlade9 It keeps from overwriting transparent pixels
05:14 TriBlade9 Remove that and the whole image is tinted, not just the opaque parts
05:15 est31 remove the voxelmanip lines and the lag is gone :)
05:15 est31 or no sorry
05:15 est31 no nono
05:15 est31 still heavy laf
05:15 est31 lag
05:15 Zeno` I think that [colorize is kind of broken tbh
05:16 Zeno` and probably should be fixed rather than adding another paramater
05:16 TriBlade9 What's broken about it Zeno`?
05:16 Zeno` I dunno.. it seems weird lol
05:17 Zeno` I would have written a whole new function
05:18 Zeno` overlay_color or something like that and not used the blit_with_alpha_overlay()
05:18 TriBlade9 To me it seems fine if it interpolates the colors differently
05:18 TriBlade9 Okay, well, perhaps add a different function for that then?
05:18 Zeno` TriBlade9> So low alpha means it's closer to the color, but also a lower alpha
05:18 Zeno` <TriBlade9> Making it nigh-unusabl
05:19 Zeno` should it really do that?
05:19 TriBlade9 Well, it probably makes sense for the crack, which was it's original purpose
05:19 Zeno` it's not what I expected it would do
05:19 TriBlade9 Yeah, me neither
05:19 TriBlade9 It had me so confused yesterday
05:19 Zeno` I don't think [colorize was added for the crack
05:20 Zeno` So, anyway, that's why I think perhaps [colorize simply has a bug in it; it doesn't operate intuitively as far as I can tell
05:20 Zeno` not how I expected from the description anyway hehe
05:20 TriBlade9 ^
05:22 TriBlade9 blit_with_alpha_overlay was added for the crack
05:23 Zeno` oh ok
05:23 TriBlade9 Want me to add another function that works with an extra parameter? Or just modify blit_with_alpha_overlay to?
05:24 Zeno` so it seems to be interpolating the alpha as well
05:24 Zeno` you could add an extra parameter to blit_with_alpha_overlay() I guess
05:25 TriBlade9 Okay
05:25 TriBlade9 I'll just move the alpha part used in crack then
05:25 TriBlade9 Actually no, that won't work either.
05:25 Zeno` nah
05:26 Zeno` write a new function
05:26 TriBlade9 Perhaps a parameter of 0 or -1 means to use alpha, and higher than that means to use that for the interpolation?
05:26 TriBlade9 Okay
05:26 TriBlade9 Good idea
05:26 TriBlade9 But what to call it? :L
05:26 Zeno` Anything for now
05:26 Zeno` goop_blit()
05:26 Zeno` heh
05:26 TriBlade9 hehe
05:26 TriBlade9 how about blit_with_interpolation?
05:27 Zeno` >----    only modify fully opaque pixels in destinaion
05:27 TriBlade9 or blit_with_interpolate_overlay?
05:27 TriBlade9 decisions, decisions
05:27 Zeno` umm
05:27 Zeno` blit_with_interpolate_overlay sounds ok
05:27 TriBlade9 okay
05:27 TriBlade9 Gimme a bit to make a new branch and test
05:28 Zeno` only modify fully opaque pixels in destinaion <--- seems to me that's not wanted for an colour overlay
05:28 TriBlade9 No, that's quite wanted
05:28 TriBlade9 Otherwise you end up with transparent parts of the image being colorized/colored
05:28 Zeno` if you say so
05:28 Zeno` nah you wouldn't
05:28 TriBlade9 Perhaps not fully opaque
05:29 Zeno` yeah
05:29 Zeno` so ignore things that are fully transparent
05:29 TriBlade9 On it.
05:29 Zeno` i dunno. write the code and maybe all will become clearer :)
05:30 Zeno` the alpha of the destination image (each pixel therein) should be the same as the original alpha... surely
05:31 Zeno` but dst_c = src_c.getInterpolated(dst_c, (float)src_c.getAlpha()/255.0f);  actually interpolates the color AND the alpha
05:31 TriBlade9 Yep
05:31 TriBlade9 Since it's a color4
05:32 Zeno` yeah
05:32 Zeno` anyway, I'll leave you to it :)
05:32 est31 VanessaE:  ok if you remove the voxelmanip stuff, the time is now just .3 ms per while iteration... 50% of that is caused by the loop that injects the stuff into the tubes
05:33 VanessaE jeez
05:34 VanessaE think you can fix it?  this code is totally beyond me, I just don't understand this mess
05:34 VanessaE too much math, honestly
05:34 * est31 ignored that math too
05:35 VanessaE ^^^^^^^ apropos.
05:35 est31 ok next week gonna be busy, but I'll try to find time
05:35 VanessaE thanks
05:35 VanessaE zefram usually writes good code, I don't know what he was thinking here.
05:35 est31 I guess the math is just simple digit conversion
05:36 Zeno` where is the math :P
05:36 TriBlade9 VanessaE, he was probably thinking of world domination, ofc.
05:36 VanessaE Zeno`: https://github.com/minetest-technic/technic/b​lob/master/technic/machines/HV/quarry.lua#L72
05:36 est31 so convert a number into its single digity
05:36 est31 s/y/s/
05:36 Zeno` quarry_run() is a math?
05:36 bduk joined #minetest
05:36 VanessaE Zeno`: all the vector calculations in it, bunch of modulo and division that seems superfluous, etc.
05:36 bduk more almal
05:37 est31 ^
05:37 VanessaE hi bduk.
05:37 VanessaE (I thought the word was "alemaal" ?)
05:38 est31 gtg cat food > /me
05:38 VanessaE heh ok
05:38 VanessaE meow :3
05:39 Zeno` too hard
05:39 est31 note CPU is still high
05:39 * Zeno` closes the link
05:39 jordan4ibanez Hey guys, here's the latest train stuff, make sure you spawn them on at least a 7 long straight or it won't move haha
05:39 jordan4ibanez https://www.dropbox.com/s/tqvio3​i3skjz18a/trains0017.tar.gz?dl=0 tar
05:39 jordan4ibanez https://www.dropbox.com/s/hq9x9​b553knpulr/trains0017.zip?dl=0 zip
05:39 est31 ~.60
05:39 VanessaE jordan4ibanez: but...7-long isn't a standard length is it?  I thought standard scale started at 14? ;)
05:39 est31 (thats 60%)
05:39 VanessaE (HO scale)
05:40 jordan4ibanez I am lost haha
05:40 VanessaE jordan4ibanez: nevermind, stupid joke :)
05:40 TriBlade9 Downloading jordy, I loved the last DL
05:40 TriBlade9 Even if the tracks are weird
05:40 VanessaE model railroad HO scale has standard track lengths, I seem to remember straight sections being 13 or 14 inches standard :)
05:41 Zeno` VanessaE, excuse my ignorance, but what does that function actually do?
05:41 VanessaE Zeno`: digs a node every time the controlling ABM (run by the switching station) calls it
05:41 est31 once a sec
05:41 Zeno` a node where?
05:41 VanessaE well, tries to dig, and apparently does a lot of searching if it runs into a problem digging
05:42 VanessaE zeno in a max 17x100x17 volume below the qwuarry
05:42 VanessaE quarry*
05:42 Zeno` from a single location to another location?
05:42 VanessaE eh
05:42 VanessaE ?
05:42 Zeno` nvm
05:43 Zeno` my thinking *was* that all the modulo arithmetic was for some kind of error accumulation
05:43 Zeno` ala bresenham's line drawing algorithm but modified
05:43 Zeno` but apparently not
05:43 VanessaE naw
05:43 VanessaE this iterates through the volume
05:44 est31 it converts the "nth node to dig" variable into xyz.
05:44 est31 divisions make it slow
05:44 VanessaE est31: I'd have just had it directly remember the X,Y,Z values.
05:44 est31 yeah
05:44 est31 that saves time
05:44 Zeno` I dunno. A few comments in there wouldn't have gone astray hehe
05:45 est31 but still most time is spent inside minetest.remove_node(digpos), the following for and the preceeding if can_dig
05:45 TriBlade9 ...
05:45 TriBlade9 Reading through Strfnd.h
05:45 TriBlade9 Alien language or what?
05:45 est31 (when you disregard the voxelmanip stuff which takes 90% time)
05:47 bduk no VanessaE in afrikaans it is almal
05:47 jentron joined #minetest
05:47 VanessaE bduk: oh ok.  I knew someone years ago who usually greeted people with "hallo alemaal" or something of the like.
05:48 VanessaE I seem to recall him being of Nordic descent but I can't be more specific than that.
05:49 VanessaE anyway, hi :)
05:50 mazal joined #minetest
05:50 Zeno` lol @ strfind.h
05:51 bduk it could be . a lot of afrikaans come from europe, specialy holland  or netherland
05:52 VanessaE very interesting
05:53 Zeno` TriBlade9, Returns substr of tek up to the next occurence of plop that isn't escaped with '\'
05:53 Zeno` what's wrong with that?
05:53 TriBlade9 tek
05:53 TriBlade9 plop
05:53 TriBlade9 palautus
05:53 Zeno` palautus
05:53 Zeno` lol
05:53 VanessaE O_o
05:53 TriBlade9 niinq
05:53 est31 alemaal is the danish way of writing the german word allemal
05:54 TriBlade9 v
05:54 TriBlade9 realp
05:54 TriBlade9 What langauge is it written in?
05:54 Zeno` tek = niinq;
05:54 Zeno` makes perfect sense to me
05:54 VanessaE is this just the new foo = bar ? :P
05:54 Zeno` finnish I'd guess
05:54 TriBlade9 I like naming variables in a way that makes sense in some way
05:54 TriBlade9 I guess x]
05:55 Zeno` VanessaE, nah this is much better!
05:55 VanessaE oh, it has an equivalent of baz and quux too? :D
05:56 Zeno` yep, it's a hybrid
05:57 Zeno` if ((n = tek.find(plop, p)) == std::string::npos || plop == "")
05:57 Zeno` lol
05:57 Zeno` I need to calm down
05:57 VanessaE *shakes head*
05:57 VanessaE zeno, take your meds. :)
05:57 Zeno` the most trivial stuff is amusing me today
05:57 TriBlade9 Hehe
05:58 TriBlade9 I'm almost done, just need a reliable way to convert a string to a u8. (u8 is okay right, since the max value would be 255?)
05:58 Zeno` a string to u8?
05:58 TriBlade9 Wait.
05:58 Zeno` what for?
05:58 TriBlade9 u8 is byte.
05:58 TriBlade9 The ratio needs to be converted somehow
05:58 TriBlade9 From a string
05:59 TriBlade9 Oops, I've been in #minetest instead of -dev this whole time, sorry
05:59 TriBlade9 Still getting used to this IRC client
05:59 Zeno` oh
05:59 Zeno` check util/string.h
05:59 Zeno` there should be stoi in there
06:00 est31 TriBlade9: all the freeminer ppl angry to you now?
06:00 TriBlade9 Why est31?
06:00 TriBlade9 Not that I know of?
06:00 est31 wrong channel :D
06:00 Zeno` yep, line 290 of util/string.h
06:00 VanessaE haha
06:01 TriBlade9 I missed smth
06:01 VanessaE TriBlade9: not yet until your colored chat thing goes in ;)
06:01 est31 colored chat? where when who?
06:01 TriBlade9 VanessaE, at this rate, nothing is gonna happen with that soon. Perhaps a topic on the forums might help speed it up
06:01 est31 please please
06:01 TriBlade9 ...
06:01 VanessaE oh bummer :(
06:02 TriBlade9 IT'S BEEN SITTING AROUND FOR MONTHS PEOPLE
06:02 TriBlade9 lol
06:02 VanessaE I'd have liked to see IRC-like colored chat
06:02 Zeno` I haven't seen it
06:02 TriBlade9 https://github.com/minetest/minetest/pull/2136
06:02 Zeno` oh
06:02 Zeno` I tested that the other day
06:02 * Zeno` remembers now
06:02 TriBlade9 You having trouble Zeno`? x]
06:02 est31 per line color?
06:03 est31 why is the number of open pulls so large?
06:03 est31 is there a bottleneck somewhere?
06:03 Zeno` est31 because most of them need rebasing :(
06:03 TriBlade9 est31 it's not per-line.
06:03 TriBlade9 And Zeno`, that returns a s32, should I just use that? A u8 is all that's needed in this case
06:03 Zeno` yeah
06:04 Zeno` nah, use it
06:04 Zeno` it basically just calls atoi()
06:04 TriBlade9 k
06:04 Zeno` check out man atoi
06:05 Zeno` e.g. it does not check for errors
06:05 Zeno` so you may want to call is_number() first
06:07 TriBlade9 Done
06:08 TriBlade9 Working as expected :3
06:13 ThatGraemeGuy joined #minetest
06:22 koz_desktop joined #minetest
06:23 est31 VanessaE: the math only takes up only 20 microseconds. ~300 microseconds is spent inside this code: https://github.com/minetest-technic/technic​/blob/7d610b7c80487cd7a6e66f55c9c3b1190e5df​c7f/technic/machines/HV/quarry.lua#L121-135
06:23 est31 thats the actual digging
06:31 jordan4ibanez http://youtu.be/AU_6PdEjQ4Y woooooo
06:36 jordan4ibanez And goodnight
06:36 kaeza joined #minetest
06:53 Kalabasa joined #minetest
07:02 TriBlade9 Gonna do some real work, bye
07:02 CWz joined #minetest
07:21 ImQ009 joined #minetest
07:36 jin_xi joined #minetest
07:43 blaze joined #minetest
07:43 blaze joined #minetest
07:45 Haudegen joined #minetest
07:54 aheinecke joined #minetest
07:58 cabji joined #minetest
08:12 gregorycu joined #minetest
08:26 stakewinner00 joined #minetest
08:35 Trustable joined #minetest
08:48 koz_desktop joined #minetest
08:54 Tux[Qyou] joined #minetest
09:01 Yepoleb_ joined #minetest
09:03 MinetestForFun joined #minetest
09:21 barrydk joined #minetest
09:29 barrydk left #minetest
09:30 barrydk joined #minetest
09:33 FreeFull joined #minetest
09:46 T4im joined #minetest
09:48 Haudegen joined #minetest
09:54 Tux[Qyou] joined #minetest
09:58 TriBlade9 joined #minetest
10:01 FR^2 joined #minetest
10:04 JamesTait joined #minetest
10:05 koz_desktop joined #minetest
10:07 JamesTait Good morning all; happy Monday, and happy Tin Can Day! :-D
10:11 Player_2 joined #minetest
10:28 Viper168_ joined #minetest
10:30 Zeno` joined #minetest
10:32 Zeno` is TriBlade9 here?
10:33 TriBlade9 Zeno`, Nope. Not at all. Why?
10:33 Zeno` was just wondering
10:33 TriBlade9 O-o
10:33 TriBlade9 Now I'm curious. -_-
10:33 Zeno` you probably copy pasted, but fix up the formatting in the PR?
10:34 Zeno` e.g. for(u32 y0=0; y0<size.Y; y0++)   ==>  for (u32 y0 = 0; y0 < size.Y; y0++)
10:34 Zeno` if(dst_c.getAlpha() > 0 && src_c.getAlpha() != 0) ==> if (dst_c.getAlpha() > 0 && src_c.getAlpha() != 0)
10:34 Zeno` etc ;)
10:34 TriBlade9 Oh, spaces?
10:34 Zeno` yeah
10:34 TriBlade9 Sure. And yeah, copy-paste
10:35 TriBlade9 I might as well fix em for the whole file then, as having two different styles is even worse
10:35 Zeno` petty, I know. But we're trying to gradually get the src code consistent
10:35 TriBlade9 Heh yeah
10:35 TriBlade9 I found another weird bug
10:36 Amaz joined #minetest
10:37 TriBlade9 I need to go now, see ya
10:43 meldrian joined #minetest
11:02 crazyR joined #minetest
11:11 iqualfragile joined #minetest
11:16 rater193 joined #minetest
11:16 rater193 is there a way i can report a minetest bug?
11:18 T4im https://github.com/minetest/minetest/issues
11:18 T4im :)
11:18 T4im https://github.com/minetest/minetest_game/issues if it's a bug of the default game
11:20 crazyR_ joined #minetest
11:20 Trixar_za I note some mods have stopped working. Apparently they use global variables when they should be using local ones. I take it Minetest has become a lot more stricter on it's mods. Not that it's a hard thing to fix :P
11:22 theTroy joined #minetest
11:42 rater193 thanks tim
11:42 rater193 thanks T4im
11:43 rater193 sry i was afk earlier
11:44 Wuzzy joined #minetest
11:48 barry joined #minetest
11:52 iqualfragile joined #minetest
11:54 gregorycu Stopped working?
11:55 gregorycu That warning is from Lua, not minetest, the mods should continue to work?
11:58 Trixar_za Well, I'm messing with Blockman's Wasteland. Some work (like the Creature mod's zombie), others don't (like ruins). Well, it didn't until I fixed it.
11:59 SylvieLorxu joined #minetest
12:00 gregorycu You fixed that specific problem?
12:01 gregorycu Do you happen to know if the warning preventing the mods from working, or if the warning hinted at why the mods were not working?
12:01 gregorycu s/preventing/prevented
12:01 Trixar_za Yeah, it wasn't just global variables, but how he used some functions. I guess the usage of them changed like add_node and swap_node
12:08 DaveTheModder joined #minetest
12:08 exio4 left #minetest
12:09 exio4 joined #minetest
12:09 exio4 uhhh
12:09 exio4 hi
12:09 gregorycu Hello joe
12:09 The_Loko joined #minetest
12:10 exio4 wat
12:10 gregorycu You said hi, I said hello
12:10 gregorycu Is this your first time conversing? ;)
12:11 exio4 "joe"
12:11 exio4 gregorycu, yes
12:12 gregorycu Oh, one se
12:12 gregorycu c
12:12 gregorycu https://www.youtube.com/watch?v=jWR01xenttM
12:12 exio4 uh
12:12 exio4 I should watch the simpsons in english somewhen
12:13 exio4 southpark too
12:13 gregorycu What nationality are you?
12:13 exio4 Argentinian
12:14 gregorycu You sure?
12:14 exio4 I'd have thought my broken english gave it away
12:14 gregorycu Don't you mean Argentine?
12:14 exio4 both are valid
12:15 exio4 when I use Argentine, someone says "don't you mean Argentinian?" and when I use Argentinian, someone says "don't you mean Argentine?", so I say one randomly
12:16 Trixar_za I'd just slap somebody and say "Stop being stupid. It's what I say it is."
12:16 gregorycu To the first question, you can always so: "No, you're a fucking idiot"
12:16 exio4 gregorycu, no, you are a fucking idiot
12:16 exio4 am I doing this right?
12:17 gregorycu Yes, except you gotta do it when they say: "don't you mean Argentinian?"
12:17 exio4 I just wanted to call someone an idiot, and you were the one who suggested it
12:17 exio4 so, whatever ¯\_(ツ)_/¯
12:18 gregorycu Ya gotta do what ya gotta do
12:19 exio4 so much trouble in the world..
12:43 ThatGraemeGuy joined #minetest
12:43 ThatGraemeGuy joined #minetest
12:43 Trixar_za I call a lot of people idiot in my mind. Including the person in the mirror.
12:46 Kalabasa joined #minetest
12:54 khonkhortisan joined #minetest
12:55 gregorycu The only person who's opinion matters
13:07 PilzAdam joined #minetest
13:10 TriBlade9 joined #minetest
13:18 turtleman_ joined #minetest
13:19 twoelk joined #minetest
13:21 proller joined #minetest
13:27 Haudegen joined #minetest
13:47 Jousway joined #minetest
13:48 stakewinner00 joined #minetest
14:04 FreeFull joined #minetest
14:05 crazyR joined #minetest
14:28 shadowzone joined #minetest
14:32 shadowzone joined #minetest
14:33 Kalabasa texture transparency's not allowed D:
14:33 shadowzone joined #minetest
14:34 sfan5 Kalabasa: it is
14:35 Kalabasa How? I have a transparent png for a texture for a mob. The entity is invisible in-game.
14:35 Hirato I was about to say it's not, but then I realised this wasn't #tesseract
14:35 * sfan5 hugs Hirato
14:35 Hirato <3
14:35 sfan5 <3
14:35 Hirato tess uses the alpha channel of the diffuse to store the specularity map
14:36 sfan5 Kalabasa: transparent textures are supposed to work
14:36 Kalabasa okay I'll try something
14:36 Hirato the parallax is similarly folded into the normal; makes the rendering pipeline pretty efficient memory wise
14:36 zat joined #minetest
14:38 proller joined #minetest
14:39 sfan5 Kalabasa: the nodedef has this https://github.com/minetest/minetes​t/blob/master/doc/lua_api.txt#L2883
14:39 leat joined #minetest
14:41 leat1 joined #minetest
14:43 Kalabasa I found the problem
14:43 CWz_ joined #minetest
14:43 Kalabasa There was another object beside the main armature
14:44 Kalabasa not inside
14:44 Kalabasa I deleted it
14:45 Kalabasa Or, the main armature's name is not "Armature"
14:46 Kalabasa I guess theproblem was that the main armature's name was not "Armature"
14:53 NakedFury joined #minetest
14:53 stormchaser3000 joined #minetest
15:08 raffahacks joined #minetest
15:09 raffahacks left #minetest
15:21 proller joined #minetest
15:24 raffahacks joined #minetest
15:25 raffahacks left #minetest
15:27 leat1 joined #minetest
15:28 Polsaker Trixar_za, I still couldn't find where is alia deleting its dictionary <_<
15:36 Kalabasa joined #minetest
15:38 vitaminx joined #minetest
15:38 vitaminx hi everyone, I have a couple of questions about running a minetest-server
15:38 vitaminx first of all, some posts in the forum claim that the server is multithreaded
15:38 vitaminx however, the server doesn't seem to take advantage of a second CPU core, when there's heavy load on the CPU its always only one core that peaks, the other stays idle
15:38 vitaminx i'm running Debian stable/testing
15:39 PilzAdam vitaminx, there are things that can't run in parallel
15:39 vitaminx ok so I guess it would be useless to add a third CPU to boost performance...
15:39 PilzAdam but e.g. the map generator (except mods that modify mapgen) runs in multiple threads and should benefit from more cores
15:40 PilzAdam if mods slow down your server then adding more cores wouldn't help, since mods can't run parallel
15:41 vitaminx ok, so then it's probably some mod that peaks the CPU
15:42 PilzAdam what mods do you have?
15:43 PilzAdam anything that modifies the mapgen?
15:43 vitaminx yes, the landup mod
15:44 SopaXorzTaker joined #minetest
15:44 vitaminx maybe i should try without that one
15:48 vitaminx thats possible (but maybe not) related to my 2nd question - since i monitor the server lag i notice that it slowly but steadily increases
15:48 vitaminx until i restart the server - and the lag is normal again
15:48 vitaminx does someone experience the same? is this normal=
15:49 vitaminx is this maybe the reason why barely any server on servers.minetest.net has an uptime of more than a single day?
15:49 sfan5 no
15:49 sfan5 most people restart their servers once a day to make backups
15:50 Zeno` try lowering liquid_loop_max = 100000 to liquid_loop_max = 10000   (but then expect memory leaks)
15:51 Zeno` it *may* explain increasing max_lag (but it shouldn't continually increase)
15:51 vitaminx sfan5: ah right! now it makes sense - I also noticed that my backup complains about changed world sql file while reading it :P
15:52 vitaminx Zeno: it's going up and down all the time, depending on how much players are connected - but the overall trend goes slowly upwards
15:53 vitaminx I'll try the liquid_loop_max setting, lets see if this changes anything
15:54 CraigyDavi joined #minetest
16:00 Kalabasa Is there any way to determine if an entity is active? or a callback when the entity deactivates/dies/was removed
16:00 Kalabasa The only way I see is reading minetest.luaentities every step
16:01 Kalabasa which must be slow
16:03 Haudegen joined #minetest
16:05 jojoa1997 joined #minetest
16:07 Xenoth joined #minetest
16:12 roniz joined #minetest
16:17 vitaminx btw. i just found a method to safely backup map.sqlite *without* stopping the server
16:17 vitaminx create a file called "backup.sql" and put this inside:
16:17 vitaminx begin immediate;
16:17 vitaminx .shell cp $HOME/.minetest/worlds/world/map.sqlite $HOME/map.sqlite_backup
16:17 vitaminx rollback;
16:18 vitaminx then tell your backup script to execute this line:
16:18 vitaminx echo ".read backup.sql" | sqlite3 -echo .minetest/worlds/world/map.sqlite
16:19 vitaminx DB stays consistent and user stay logged in - they probably notice a short lag while the DB file is copied, thats all
16:19 jordan4ibanez joined #minetest
16:20 ImQ009 joined #minetest
16:22 Tuxedo[Qyou] joined #minetest
16:25 twoelk vitaminx: doesn't rollback freeze youre server?
16:26 vitaminx it gets a lock on the DB, so minetest has to wait with it's writes - thats what I mean with short lag
16:26 vitaminx i will test it today, lets see if its really noticeable
16:27 vitaminx having a short lag is probably still better then to disconnect all players
16:28 twoelk as far as I remember on a large map rollback freezes the server for too long
16:28 twoelk and may take very long
16:28 twoelk how large is your map?
16:29 twoelk or rather the db file
16:29 vitaminx around 400 MB
16:30 theTroy joined #minetest
16:31 twoelk might be wrong by now but I think rollback on VE servers or Landrush might easily take hours rather than minutes
16:32 vitaminx it takes 0.3s for my map file
16:33 twoelk sounds good
16:33 leat1 joined #minetest
16:33 vitaminx although its an offline copy, i'll test live later today
16:34 shadowzone joined #minetest
16:34 twoelk if it really works that well, please consider describing the method on the wiki
16:37 vitaminx twoelk: i'll do if performance is ok
16:37 gregorycu joined #minetest
16:39 Viper168 joined #minetest
16:40 Calinou joined #minetest
16:46 ShadowNinja twoelk: If you specify a limit of 1 it will take far less time if there are less than 5 changes to the node recently.
16:46 ShadowNinja I should probably lower that to reduce the apparent slowness.
16:47 twoelk so maybe quarrys sort of wreck the performance of rollback?
16:48 gregorycu ShadowNinja: Hi
16:48 gregorycu I noticed that all the LowPriority tags have been removed
16:48 CraigyDavi There should be some sort of timeout for the rollback, if it takes too long then it should stop checking the rollback
16:48 CraigyDavi It takes a really long time with my 1.5GB rollback file
16:49 twoelk numbers?
16:49 ShadowNinja gregorycu: sfan did that, and then added tge label back (but didn't restore issues AFAIK).
16:49 gregorycu Ok
16:49 ShadowNinja CraigyDavi: Try a limit of 1
16:50 gregorycu I was just going to say, it's useful to see what issues haven't been tagged
16:50 gregorycu With a priority
16:51 CraigyDavi That's what I usually do, but It takes about 2 mins just to check the rollback 48hours back and a limit of 1
16:52 stormchaser3000 joined #minetest
16:58 Krock joined #minetest
16:58 Krock hi
17:01 khonkhortisan joined #minetest
17:04 gregorycu hi Krock
17:04 Krock Krock.Read(GitHub(minetest/minetest));
17:04 the0loko joined #minetest
17:06 exio4 joined #minetest
17:07 the0loko joined #minetest
17:07 n4x joined #minetest
17:08 CraigyDavi joined #minetest
17:09 Johnsen2 joined #minetest
17:10 gregorycu Segfault
17:10 * Krock doesn't have segfaults and is happy about his BSoD's
17:12 gregorycu Sorry, segv
17:16 CraigyDavi joined #minetest
17:16 vitaminx twoelk, just did a live test: the file copy incl. rollback takes 10 sec., however i dont notice any lag whatsover ingame (while building, digging, etc.)
17:18 SopaXorzTaker joined #minetest
17:19 hmmmm joined #minetest
17:20 twoelk vitaminx: nice, now you just need to convince one of the big server owners to run a test on onbe of the old and large maps;-P
17:20 twoelk -b
17:20 vitaminx hehe, why nor
17:21 vitaminx not
17:21 gregorycu What crazy stuff are you doing?
17:22 vitaminx i just imagine myself how would be the performance if i have map.sqlite in ram disk :P
17:22 vitaminx i think i'm going to test that too later
17:23 twoelk VanessaE offers some of here backups for download. You could run a test on one of those monsters
17:24 twoelk -e (thick finger day )
17:24 vitaminx ok i probably ask her later
17:24 vitaminx see u, i'm going home :)
17:24 vitaminx left #minetest
17:25 turtleman_ joined #minetest
17:26 roniz joined #minetest
17:30 Pest joined #minetest
17:43 SopaXorzTaker joined #minetest
17:47 y joined #minetest
17:48 exio4 joined #minetest
17:54 nnooplo joined #minetest
17:55 Haudegen joined #minetest
17:59 rcmaehl joined #minetest
17:59 rcmaehl joined #minetest
18:01 leat1 joined #minetest
18:05 Johnsen2 joined #minetest
18:09 Johnsen2 joined #minetest
18:22 Brains c;ear
18:24 phantombeta joined #minetest
18:24 Polsaker b;ear
18:28 Krock a;ear
18:34 Calinou joined #minetest
18:37 exio4 y;ear
18:37 gregorycu p;ear
18:38 Megaf_ joined #minetest
18:39 Jordach joined #minetest
18:39 Sockbat joined #minetest
18:39 The_Loko joined #minetest
18:45 addaitech joined #minetest
18:46 roniz_ joined #minetest
18:53 crack joined #minetest
18:54 Johnsen2 joined #minetest
18:58 Polsaker n;ear
19:09 Garmine joined #minetest
19:11 nnooplo joined #minetest
19:17 Wuzzy joined #minetest
19:41 Poop_Eater joined #minetest
19:42 Poop_Eater Hey guys, how does one give users initial things. I've searched Google for "Give Initial stuff" and I'm coming up with a bunch of chatlogs.
19:43 gregorycu Probably a mod is your best approach
19:43 VanessaE the give_initial_stuff mod in minetest_game
19:43 VanessaE fiddle with that.
19:43 gregorycu Let's say he modifies that mod
19:43 gregorycu And then someone joins his server, will that overwrite their local copy
19:43 VanessaE no
19:44 VanessaE client mods are not even used when connecting to a server.
19:44 gregorycu Ahh ok
19:44 gregorycu So there is no prediction
19:44 gregorycu fair enough
19:45 Poop_Eater Where would minetest_game be located?
19:45 VanessaE <minetesr dir>/games/minetest_game/mods/give_initial_stuff
19:45 VanessaE minetest dir*
19:46 younishd joined #minetest
19:46 VanessaE by default I think it gives you a bunch of wooden tools and some cobble or something
19:46 Calinou Poop_Eater, add give_initial_stuff = true to your minetest.conf
19:46 Calinou then you can edit the contents of the give_initial_stuff mod
19:46 Calinou by default it gives you steel tools, 99 cobble, 99 torches
19:47 VanessaE ah, forgot about the torches
19:47 Poop_Eater OK thanks.
19:52 Taoki Hi. I was wondering something: Can a formspec have an automatic size? So if you don't specify a size[x, y] field, the size is automatically detected based on each element at each corner.
19:52 T4im since when does minetest run locally installed mods when joining a server? O_o I find logmessages from mods in my console and now even cannot join a server due to a lua error… D:
19:53 * T4im smells another bug with local save
19:53 T4im Taoki: no, sadly not :/
19:53 Taoki ok
19:54 leat1 joined #minetest
19:54 gregorycu T4im: Lua is also used for the menus and stuff
19:54 Wuzzy joined #minetest
19:55 T4im gregorycu: yea, but it shouldn't nag me about wrong mesecon versions or half-edited unstashed local changes
19:56 T4im I think though that's only after I run the local saved world with given mods
19:56 Krock T4im, don't connect to 127.0.0.1
19:56 T4im krock: as always not helping ;)
19:57 Krock so you want to tell me there's an error in mesecons when you join a server??
19:57 T4im yes
19:57 Krock picture or it didn't happen
19:58 T4im well not mesecons in this case, but I had that before with it.. in this case it nags about a local half-finished change with valid lua error
19:58 VanessaE well if you're starting a local saved world, of course it's gonna use your local mods then
19:58 T4im again, not helping,… I try to find the cause and open a bugreport with reproducable outcome instead
19:58 VanessaE you're no longer on a server then :)
19:58 T4im VanessaE: yea, but that's not what I mean
19:59 T4im I join a server, but it nags about mods, I think these are those I set up on the local save
19:59 T4im I'll try to test that atm
19:59 VanessaE that's impossible
19:59 T4im well for som reason it does nag about mods when I join a reallife remote server :p
19:59 VanessaE it can't possibly be warning you about mods when connecting to a server unless the server is sending those errors to you.
20:00 T4im let me test a bit to make it reproduceable
20:01 T4im and I guessed correctly it seems
20:01 T4im deactivating said mod in the local saved world lets me connect to the corresponding remote server again (from which that local save is originiating)
20:02 VanessaE wat
20:02 VanessaE that's a hell of a bug.
20:02 T4im so my guess is, this is reproduceable when: local saving a remote server, setting mods in the local save of that remoteserver, (possible starting it once), then connecting back to the remote server
20:04 VanessaE that's just plain weird.
20:04 VanessaE I think you better discuss this in -dev first...
20:05 VanessaE this sounds like it has security risks to me..
20:05 T4im well this only executes locally installed mods so far
20:06 T4im also reproduction works that way, even without starting the local world
20:06 proller joined #minetest
20:09 Megal_ joined #minetest
20:11 T4im VanessaE: it's possibly related to #2024
20:12 VanessaE could bne
20:12 VanessaE be*
20:13 tpe joined #minetest
20:17 roniz__ joined #minetest
20:17 Booger_Boy joined #minetest
20:18 Booger_Boy On make install, are the minetest files kept in the git directory or are they copied elsewhere?
20:18 Calinou they are copied in /usr/local
20:18 Calinou requires root
20:18 Calinou this is not Cube-like make install :P
20:19 Booger_Boy OK thanks. Just edited my give_initial_stuff mod and didn't see the changes.
20:19 hintss joined #minetest
20:20 butzel joined #minetest
20:21 Booger_Boy minetest doesn't show up in /usr/local.
20:22 Calinou /usr/share/games ?
20:24 Booger_Boy The directory /usr/local/share worked
20:29 VanessaE in my system they go into /usr(/bin, /share, ...) but that's because I set my prefix explicitly.
20:33 Booger_Boy Where does minetest.conf go?
20:33 VanessaE ~/.minetest
20:36 bleak_fire_ joined #minetest
20:37 Robert_Zenz joined #minetest
20:39 roniz joined #minetest
20:42 shadowzone joined #minetest
20:43 Jordach yus
20:43 Jordach glorious second monitor
20:44 Johnsen2 joined #minetest
20:50 Nytram joined #minetest
20:52 Jordach :O
20:52 Jordach 1.4MB/s
20:52 sfan5 <Jordach> glorious second monitor
20:52 Jordach BT y u <3 me
20:52 sfan5 2 monitors master race
20:52 Jordach sfan5, GTX 970 + nvidia surround master racew
20:52 sfan5 Jordach: >gtx 970 >much expensive
20:52 Jordach £270 here :D
20:53 sfan5 still expensive
20:53 sfan5 Jordach: I'll get a 750 ti when i need a new pc
20:53 Jordach wait for the 950
20:54 Nytram My 560Ti is perfectly good atm. 8P
20:54 sfan5 8P?
20:54 Nytram Open eyes and tongue out.
20:55 sfan5 hm
20:55 sfan5 Nytram: so : is eyes open with r=0.5?
20:55 Nytram You never use emotes?
20:55 sfan5 i do
20:55 Nytram ;)
20:55 sfan5 but i have never seen 8P
20:55 Nytram :P
20:55 sfan5 :3
20:55 Nytram I use 8 instead of :
20:56 VanessaE *insert sfan5 shrug here*
20:56 sfan5 Jordach: what I'll be getting (when i need a new pc): i5-4460, GTX 750 Ti, 8GB RAM, some cheap asrock mobo
20:56 sfan5 VanessaE: you mean ¯\_(ツ)_/¯
20:56 VanessaE that's the one
20:56 Jordach sfan5, weak sauce
20:57 Jordach my tower right now dominates that
20:57 Jordach MSI master race
20:57 sfan5 Jordach: >expecting me to spend much money on my pc
20:57 VanessaE "cheap asrock"... what's wrong with asrock? O_o
20:57 Jordach says the kitty who's parents have two cars
20:57 sfan5 Jordach: i don't need a high-end gaming pc
20:57 sfan5 <Jordach> says the kitty who's parents have two cars
20:57 sfan5 wait
20:57 sfan5 how did you know that
20:58 Jordach sfan5, you told me ~8 months ago
20:58 sfan5 i think i'm telling you too much
20:58 Jordach i can remember things like that but not the place where i left my phone
21:00 Jordach Nytram, what's on BBC 1 right now (i noticed you're in the UK with Sky)
21:03 Nytram I don't watch TV. That's for wifey. The 40mb fibres IS mine however. 8)
21:03 Jordach :P
21:03 Jordach Nytram, i only get 1.4MB/s
21:03 Jordach (megabytes)
21:05 Nytram I was on that about 2 years ago, then SKY offered me 20mb fibre for £10 per month. a year later I got a free upgrade to 40mb.
21:05 Jordach dude you got lucky
21:06 Jordach BT don't even love me that much
21:06 Nytram I think I've attempted to suck the Internrt dry of pron in the past 2 years.
21:06 Jordach Nytram, already tried and TPB is already empty
21:06 Nytram Dayum
21:07 Jordach >properties window still countin
21:07 Jordach >653 GB (702,151,645,461 bytes)
21:08 Jordach >338,162 Files, 12,223 Folders
21:08 sfan5 do you guys even not use all the storage
21:08 sfan5 /dev/sda7   [==================--]   86%     25,9G    189,1G /home
21:08 stakewinner00 joined #minetest
21:08 sfan5 /dev/sda1      [================----]   79%     92,7G    449,8G /media/ext
21:08 Jordach >1.03 TB free of 1.69 TB (my OS partition makes it 1.69 TB :D )
21:09 Polsaker o_o
21:10 * Jordach is getting slowly better at drawing]
21:10 sfan5 meanwhile on my pi:
21:10 sfan5 [pi@raspberry ext]$ find . -name "*.flac" -print0 | xargs -0 du -sch | tail -1
21:10 sfan5 5,6Ginsgesamt
21:11 sfan5 or all mkv's:
21:11 sfan5 [pi@raspberry ext]$ find . -name "*.mkv" -print0 | xargs -0 du -sch | tail -1
21:11 sfan5 172Ginsgesamt
21:11 sfan5 [pi@raspberry ext]$ find . -name "*.png" -print0 | xargs -0 du -sch | tail -1
21:11 sfan5 2,5Ginsgesamt
21:11 sfan5 i don't even
21:12 jgeboski joined #minetest
21:13 sfan5 oh look
21:13 sfan5 i reached 20000 mails in my inbox
21:13 sfan5 blame github
21:14 Jordach ^
21:14 Jordach i deal with more github mails than legit mail and spam
21:14 Jordach i usually read them on the bus :P
21:15 Viper168 joined #minetest
21:17 Hobodium joined #minetest
21:36 pandaro joined #minetest
21:38 Amaz joined #minetest
21:42 Spooner_street joined #minetest
21:43 Spooner_street What's a good way to protect one's reads on a server?
21:43 Spooner_street *roads
21:46 leat1 joined #minetest
21:51 leat2 joined #minetest
21:52 MichaelRpdx joined #minetest
22:17 SmileyRiley joined #minetest
22:18 SmileyRiley The bottom half of my wooden doors are all different colors on my server.
22:19 gregorycu That sounds... gay
22:20 SmileyRiley green, pink, and yello. . . Any suggestions?
22:20 leat2 joined #minetest
22:21 VanessaE SmileyRiley: missing textures.
22:21 VanessaE the server is creating dummy textures.
22:22 VanessaE are you using an old version of mesecons maybe?
22:22 VanessaE (it redefines doors and does it wrong, screwing up textures in certain cases)
22:22 acerspyro joined #minetest
22:22 acerspyro VanessaE: WHERE'S INCHRA??? D:
22:23 acerspyro Ah, there it is.
22:23 SmileyRiley I am using Mesecons. How would I update that?
22:24 SmileyRiley Just install the new version?
22:24 acerspyro SmileyRiley: sire
22:24 acerspyro sure*
22:24 VanessaE SmileyRiley: get it from git
22:25 acerspyro git it from git*
22:31 SmileyRiley Do steel doors get locked automatically or is that a mod? i've only played on one server and they were setup that way.
22:32 VanessaE they're locked automatically.
22:32 SmileyRiley That's awesome. Thanks.
22:54 Acerspyro joined #minetest
23:02 roboman2444 joined #minetest
23:09 TriBlade9 joined #minetest
23:18 OldCoder -    drawtype = "glasslike_framed_optional",
23:18 OldCoder +    drawtype = "glasslike_framed",
23:18 OldCoder compunerd recommends this patch to default/nodes.lua
23:30 Thenextlevel joined #minetest
23:31 kaeza joined #minetest
23:31 kaeza greetings
23:32 Thenextlevel hi
23:32 Thenextlevel is vanessaE here
23:32 Thenextlevel like active
23:32 gregorycu You don't look like her
23:36 VanessaE I am here, just busy.
23:47 dacth_000_ joined #minetest
23:48 dacthenextlevel sorry vanessa
23:48 dacthenextlevel i had to go afk and it shut down my computar
23:48 dacthenextlevel what i was gonna ask was what did you use when makeing your tecture pack
23:49 dacthenextlevel the hdx one
23:52 jojoa1997 joined #minetest
23:57 dacthenextlevel VanessaE
23:58 Hirato joined #minetest
23:59 VanessaE I just used GIMP
23:59 VanessaE and Inkscape in a few cases
23:59 dacthenextlevel thanks
23:59 VanessaE (when a rendered-looking object was needed - this was before I learned how to use Blender)

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