Minetest logo

IRC log for #minetest, 2019-06-02

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

All times shown according to UTC.

Time Nick Message
00:31 indiana joined #minetest
00:54 Fritigern joined #minetest
01:15 Jordach joined #minetest
01:18 Copenhagen_Bram joined #minetest
02:09 Cornelia joined #minetest
02:48 Professionalmobi joined #minetest
02:49 Professionalmobi aa
02:49 Professionalmobi im gay
02:51 Professionalmobi SADASF
03:05 Professionalmobi left #minetest
03:06 ProMobilePlayer joined #minetest
03:07 ProMobilePlayer a
03:07 ProMobilePlayer left #minetest
03:09 ProMobilePlayer joined #minetest
03:10 ProMobilePlayer aaaaaaaaaaaaaaaa
03:10 ProMobilePlayer aaaaaaaaaaaaaaaaa
03:10 ProMobilePlayer aaaaaaaaaaaaaaaa
03:10 ProMobilePlayer aaaaaaaaaaaaaaaaaaaaaaaa
03:10 sofar that's enough, thanks
03:10 ProMobilePlayer aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
03:10 ProMobilePlayer no
03:11 ProMobilePlayer I am a professional mobile player you cannot tell me what to do
03:11 ProMobilePlayer you are a noob.
03:11 sofar from my experience, everyone with "pro" in their name is not a pro
03:12 sofar real pro's don't use webchat either and get a real IRC client
03:13 ProMobilePlayer tthis is a real IRC client you moron
03:13 sofar ProMobilePlayer (58980986@gateway/web/freenode/ip.88.152.9.134) has joined #minetest
03:13 sofar I guess you haven't figured out how to install software on your mom's PC
03:13 ProMobilePlayer No thats fake
03:14 ProMobilePlayer you install sofware by saying ALI BABA
03:14 sofar do you have any valuable contributions or on-topic questions? or are you just here to waste your own time?
03:16 ProMobilePlayer yes i have one question whats the piece of 1+1 that equals 7 with times 2 minetest 1 and a diamond and wooden block
03:19 cdde joined #minetest
03:38 bingfengfsx joined #minetest
03:39 Fritigern joined #minetest
04:21 Fritigern joined #minetest
05:39 AntumD joined #minetest
06:05 fwhcat joined #minetest
07:10 CWz joined #minetest
08:42 proller joined #minetest
09:24 ensonic joined #minetest
09:26 mensious joined #minetest
09:26 Volgaar joined #minetest
09:48 jluc joined #minetest
10:12 fwhcat joined #minetest
10:13 Pie-jacker875 joined #minetest
10:17 Beton joined #minetest
10:35 illwieckz joined #minetest
10:57 ensonic joined #minetest
11:14 Fixer joined #minetest
11:21 Krock joined #minetest
11:56 sy joined #minetest
11:57 sy Hi folks, having some trouble updating my minetest from the latest stable release on alpine
11:57 sy all goes well until this https://0x0.st/zMW3.txt
12:00 sy Currently trying with -DENABLE_GETTEXT=0
12:18 Krock did you install the development package for libgettext?
12:35 Ingar depends on your distro
12:37 Ingar apt-cache search libgettext might help you
12:38 Ingar oh alpine is weird
12:43 lllI1I joined #minetest
12:44 FreeFull joined #minetest
12:50 fwhcat apk search gettext
12:50 fwhcat should be the equivalent :3
13:11 indiana joined #minetest
13:17 pyrollo joined #minetest
13:40 cdde joined #minetest
13:43 illwieckz joined #minetest
13:55 OxE7` joined #minetest
14:10 Jordach joined #minetest
14:23 Unit193 joined #minetest
14:28 Niwla23 joined #minetest
14:28 Niwla23 https://i.postimg.cc/RVvBTXC8/grafik.png
14:28 Niwla23 What does that mean?
14:29 Niwla23 When a second player joins, i get these messages and than one client crashs
14:29 Niwla23 Its completely new compiled without mods
14:29 Niwla23 just mtg
14:30 Niwla23 5.0.1
14:30 cdde joined #minetest
14:32 Niwla23 pi@raspberrypi:~/minetest/bin $ ./minetestserver
14:32 Niwla23 .__               __                   __
14:32 Niwla23 _____ |__| ____   _____/  |_  ____   _______/  |_
14:32 Niwla23 /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
14:32 Niwla23 |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |
14:32 Niwla23 |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|
14:32 Niwla23 \/        \/     \/          \/     \/
14:32 Niwla23 2019-06-02 15:54:54: ACTION[Main]: World at [/home/pi/minetest/bin/../worlds/world]
14:32 Niwla23 2019-06-02 15:54:54: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30000.
14:32 Niwla23 2019-06-02 15:55:05: ACTION[Server]: ADMIN [192.168.178.49] joins game.
14:32 Niwla23 2019-06-02 15:55:05: ACTION[Server]: ADMIN joins game. List of players: ADMIN
14:32 Niwla23 2019-06-02 15:55:45: ACTION[Server]: ADMIN damaged by 13 hp at (-152.759,-3.7,-19.8)
14:32 Niwla23 2019-06-02 15:56:05: ACTION[Server]: Niwla [192.168.178.49] joins game.
14:32 Niwla23 2019-06-02 15:56:05: ACTION[Server]: Niwla joins game. List of players: ADMIN Niwla
14:32 Niwla23 2019-06-02 15:56:32: ACTION[Server]: ADMIN leaves game. List of players: Niwla
14:35 Volgaar joined #minetest
14:36 Jordach watch the spam, if it needs more than two lines, use a pastebin
14:41 Sketch2 joined #minetest
14:48 riff-IRC joined #minetest
14:48 BuckarooBanzai58 Niwla23: does anything else use the database file? Maybe a second server instance??
14:49 Niwla23 no, i do not think so
14:55 Niwla23 from mt discord:
14:55 Niwla23 Lone_Wolf heute um 16:48 Uhr
14:55 Niwla23 @Niwla Two clients online with mapsave enabled cause that
14:55 Niwla23 thats it
15:02 sfan5 Niwla23: thats a client side message
15:03 Niwla23 yep, i now thought so
15:04 Krock BuckarooBanzai58: backup scripts, minetestmapper. but really, those shouldn't access the file while the server is running
15:06 CWz joined #minetest
15:08 Jordach do those tasks between server reboot
15:09 Jordach *never* on a live server
15:11 Krock *happy file corruption noises*
15:12 BuckarooBanzai58 It was Niwla23's issue btw... :P
15:14 * BuckarooBanzai58 doesn't play with sqlite ;)
15:34 sy is it possible to sleep in a luacontroller program?
15:35 Wuzzy joined #minetest
15:36 BuckarooBanzai58 sy: no, but you can use interrupts. Otherwise with sleep your world wozld stop... :/
15:36 BuckarooBanzai58 *world
15:36 BuckarooBanzai58 *would
15:37 sy :(
15:37 sy there's an interrupt() call but I've not managed to figure out what it does
15:43 craigger joined #minetest
15:47 BuckarooBanzai58 sy: https://gist.github.com/thomasrudin/11ff23ae13c7531d24b7d78169c43cd0 something like this
15:52 Sketch2 that's not checking for the intrrupt ID
15:54 BuckarooBanzai58 Sketch2: but it works as a simple example...
15:54 BuckarooBanzai joined #minetest
16:04 Sketch2 sy -- https://git.io/fjEV4
16:22 DS-minetest joined #minetest
16:22 DS-minetest hi
16:23 DS-minetest hehe, looks like we have a formspec label now
16:39 ensonic joined #minetest
16:40 sy Sketch2: sorry, still not understanding
16:40 sy how might i have a delay between say, setting two ports
16:41 DS-minetest sy: have you read http://mesecons.net/luacontroller/ already?
16:42 sy yeah
16:43 Foz joined #minetest
16:43 DS-minetest interrupt(delay, iid) will trigger an event with event.type = "interrupt" and event.iid = iid after delay seconds
16:45 sy OH
16:45 sy that's not how i understood at all
16:45 sy okay, easy enough now, thanks
16:46 ircSparky joined #minetest
16:48 Nezrok joined #minetest
16:58 MicahTheTanker joined #minetest
16:58 MicahTheTanker Hello I need modding help
16:58 DS-minetest ask
16:58 MicahTheTanker I am trying to make a Sprinting Mod but I am not perfectly sure how to use global step
16:59 Krock hi
16:59 Krock You can register the callback like this: https://github.com/PilzAdam/item_drop/blob/master/init.lua#L1-L2
16:59 MicahTheTanker I think I need to use this: minetest.register_globalstep(function(dtime)
16:59 Krock -- code here
16:59 Krock end)
17:00 DS-minetest https://github.com/minetest/minetest/blob/7379aa74cf98c7e4c7aa5325ef1531d412a0abac/doc/lua_api.txt#L3692-L3693
17:00 MicahTheTanker well I dont think I know what that meens
17:00 MicahTheTanker ok I have that part
17:00 Krock you're passing register_globalstep your own function. that one is called each server step
17:01 Krock dtime is the time between the last call and now
17:01 MicahTheTanker But I want it to work like when I push E it enables sprint
17:01 Krock for that you need to iterate through the players as seen in the example
17:01 MicahTheTanker but when you release E it will stop
17:01 MicahTheTanker hmm ok
17:01 nowhere_man joined #minetest
17:01 Krock use player:get_player_controls().aux1 to determinate whether they press E (special/aux key)
17:02 Krock that function can also be found in the lua api file
17:02 MicahTheTanker ok
17:02 Krock afterwards, if that applies: change the player physics so they can run faster
17:02 DS-minetest you might want to override player physics to make the player faster: https://github.com/minetest/minetest/blob/7379aa74cf98c7e4c7aa5325ef1531d412a0abac/doc/lua_api.txt#L5301
17:02 Krock ninja'd
17:02 Krock :P
17:03 MicahTheTanker ok is this raw code or do I need to make the code myself?
17:04 Krock the code I pointed out is just one example of how to use the globalstep. there are already sprint mods around if you want to take a look at them
17:04 DS-minetest use your computer to write the files of the mod onto your hard drive
17:04 Krock of course, programming it yourself would be way more helpful
17:04 Krock DS-minetest: what if they don't have a hard drive?
17:04 MicahTheTanker yeah I know there is other sprint mods out there but they are WAY to complicated
17:05 DS-minetest Krock: then on any other mass medium memory device
17:05 MicahTheTanker I just want to know what to type
17:05 Krock https://github.com/everamzah/simple_sprint/blob/master/init.lua
17:05 MicahTheTanker i am on a harddrive
17:05 Krock still too complicated?
17:05 DS-minetest MicahTheTanker: first make the mod folder
17:06 Krock btw: the player ~= nil check there can be removed. it's superfluous.
17:06 MicahTheTanker I think I did it
17:06 DS-minetest https://github.com/minetest/minetest/blob/7379aa74cf98c7e4c7aa5325ef1531d412a0abac/doc/lua_api.txt#L130
17:06 Krock it doesn't get simpler than everamzah's version :D
17:07 * Krock mutes himself. Time to stop flooding
17:08 MicahTheTanker thanks
17:08 MicahTheTanker I think i did it
17:08 * MicahTheTanker Is gratefull
17:08 Krock !next
17:08 MinetestBot Another satisfied customer. Next!
17:08 DS-minetest MicahTheTanker: if you need help for lua, see http://www.lua.org/manual/5.1/
17:08 MicahTheTanker ok
17:09 MicahTheTanker hey wait
17:09 MicahTheTanker me and my friend Joseph13 wonder if there is a way to do sprint and stuff without globelstep
17:10 MicahTheTanker he is making a mod but doesnt want to you globalstep
17:10 DS-minetest no, this doesn't make sense
17:11 DS-minetest the problem is that the client doesn't send the server when the user presses a button
17:11 Krock DS-minetest: wrong
17:11 Niwla joined #minetest
17:11 DS-minetest sorry
17:12 DS-minetest the server doesn't call a lua callback when it gets controls sent
17:12 MicahTheTanker its fine
17:12 Krock DS-minetest: correct
17:12 MicahTheTanker hmmmm
17:15 sy how might i connect a mesecon to a ceiling block though another?
17:15 sy ie pressure plates
17:16 MicahTheTanker using a MESE block
17:16 DS-minetest I think, you can place a single vertical mesecons wire below the node under the pressure plate
17:16 MicahTheTanker ds Minetest
17:17 MicahTheTanker is there a way to make globalstep Not lag?
17:17 sy DS-minetest: thanks, will try
17:17 DS-minetest MicahTheTanker: yes, make the globalstep function as lightweight as possible
17:18 MicahTheTanker ok that what i am doing
17:18 MicahTheTanker And I still have lag
17:18 MicahTheTanker minetest.register_globalstep(function(dtime) for _, player in pairs(minetest.get_connected_players()) do if player ~= nil then if player:get_player_control()["aux1"] then player:set_physics_override({speed = 2.5}) else player:set_physics_override({speed = 1}) end end end end)
17:18 Krock singleplayer?
17:19 MicahTheTanker yes
17:19 Krock you might use other mods which take a lot time to compute, such as mapgen
17:19 DS-minetest you might want to not use player:set_physics_override if the aux1 key wasn't changed
17:19 MicahTheTanker I dont have anything but default enabled
17:19 Krock uhm.. computer specs?
17:20 MicahTheTanker intel core I3 hd 300 gfand 8 gigs ram
17:20 MicahTheTanker but I play on my brothers server but not a lag in sight
17:20 MicahTheTanker and the game is perfectly smooth
17:21 Krock interesting. what happens if you start a local server instead of singlepalyer?
17:21 MicahTheTanker its more like the game isnt registering that I push E or aux_1 untill a second later
17:21 MicahTheTanker i will check
17:21 Krock there's guaranteed a lag of 0.1s but that's acceptable I thinl
17:22 MicahTheTanker ik but its worse then that
17:22 DS-minetest try lowering the setting "dedicated_server_step" and see if that helps (but change it back later)
17:22 MicahTheTanker ok
17:23 Krock DS-minetest: only helps when they're playing on a server (remote or local)
17:23 Krock singleplayer runs faster than that, maybe frame-based, dunno.
17:24 MicahTheTanker wow that Almost fixed it
17:25 ensonic joined #minetest
17:30 MicahTheTanker so do you think that changing this setting will also cause mbs to go realy fast and furnaces to cook quick?
17:30 DS-minetest no
17:30 MicahTheTanker ok
17:30 DS-minetest but change the setting back
17:31 DS-minetest hm, on singleplayer, globalstep is indeed faster, 0.03 - 0.015
17:31 MicahTheTanker i dont get why I should turn it off if its helping?
17:32 DS-minetest well, the server sends packages more quickly and so on, ergo it will lag more
17:34 MicahTheTanker hmm i see
17:37 MicahTheTanker ok I will have the results of testing with about 70 mods including my sprint thing while the server is hosted and I will see how much lag we can have
17:37 DS-minetest try crafting with much lag
17:38 MicahTheTanker hmm ok lag isnt too bad
17:38 MicahTheTanker about adverage
17:38 DS-minetest also if you have the item_drop mod installed and item pickup enabled, try to hold the drop key (Q) while looking straight down, like this you can hear how much it lags
17:39 MicahTheTanker I cant detect ANY lag
17:39 MicahTheTanker crafting is awsome and my run mod works pretty good
17:40 cheapie ^ I've noticed something like this before - globalstep seems to run faster in singleplayer.
17:40 MicahTheTanker its hosted
17:40 DS-minetest but don't forget that you changed that setting if something weird happens or if you search for ways to reduce lag
17:40 MicahTheTanker ok
17:41 MicahTheTanker so far the lag is better then it usaly is
17:41 DS-minetest cheapie: did you get my forum pm btw?
17:42 cheapie DS-minetest: Not recently?
17:42 DS-minetest i mean the one from last tuesday
17:43 DS-minetest the new digistuff button rules are problematic
17:44 cheapie I don't seem to have any emails from then.... *looks at the forum itself*
17:44 cheapie Forum PMs are generally not a very good way to contact me :P
17:44 DS-minetest I'll resend it
17:44 cheapie Yeah, I have no messages after May 24.
17:45 cheapie Can't you just explain the problem here?
17:46 DS-minetest of course
17:46 DS-minetest before it was possible to connect a wire to the button over an edge
17:47 DS-minetest for example if you place the button to a node and the wire on top of the node, it connects
17:47 DS-minetest now this works nomore
17:47 DS-minetest the mesecons button has this rule, too
17:48 riff-IRC joined #minetest
17:48 MicahTheTanker ok
17:48 MicahTheTanker I got some more mods
17:48 cheapie DS-minetest: So you want a (0,1,1) rule added?
17:49 cheapie Or does it need to have this in all directions and not just towards the back of the button?
17:49 DS-minetest well, to not break old builds it would be best if the button had all the rules that it had before in addition to the new ones
17:49 cheapie I don't really want to have a whole bunch of extra rules that don't make a whole lot of sense.
17:50 cheapie Especially if any builds broken by this can probably be fixed by just moving one digiline.
17:50 DS-minetest yes, you are right
17:51 cheapie The lack of proper rules was kind of a bug in the first place anyway.
17:51 Volgaar joined #minetest
17:51 DS-minetest well, the connections should be to one node behind the button, one node behind and one above, one node behind and one node below, and two nodes behind
17:51 cheapie I'll go ahead and add (0,1,1) though. I'll push it later today when I get the final textures/mesh in place for the wall knob.
17:52 DS-minetest btw why is the button now a wire?
17:52 cheapie To make building large panels of them less of a pain.
17:52 MinetestBot [git] acmgit -> minetest/minetest_game: Prevent potential crash caused by moss growth ABM 61bfac0 https://git.io/fjErf (2019-06-02T17:50:20Z)
17:52 DS-minetest ah, i see
17:52 cheapie The vast majority of the builds I've seen with arrays of buttons had them all connected to the same bus anyway.
17:53 DS-minetest but can't one just place the buttons on a wall of digimese?
17:53 cheapie That was the original idea, but it's ugly as hell :P
17:53 cheapie Hence the receivers (that I need to disable collision on...)
17:54 cheapie I need to disable collision on the insulated and vertical digilines too, I think.
17:54 DS-minetest yes
17:54 MicahTheTanker bye
17:54 cheapie I think I might leave collision on for the top of the vertical digiline - vertical mesecons have always been kinda annoying in that you can fall down the hole they're in if you're not paying attention.
17:55 cheapie Or I can make the vertical digiline (or maybe just the top?) act like a ladder?
17:55 DS-minetest actually you don't even have to place the buttons on a digimese wall, as there are now receivers
17:55 cheapie Yes, I think I said that :P
17:56 cheapie This is what you wanted added to button rules, right? https://cheapiesystems.com/media/images/screenshot_20190602_125624.png
17:57 DS-minetest imo a solid plate would be better than climbability
17:57 cheapie to the button rules*
17:57 DS-minetest yes
17:57 cheapie OK, so collision on the top/bottom of vertical digilines, but not on the middle part, receivers, or insulated digilines?
17:58 DS-minetest everything else can be made not collision able, as there's not the problem of falling
17:59 DS-minetest it might make sense to make a mesecons PR to make the plates there solid, too
17:59 DS-minetest actually it's a bit odd that digilines connects with front of the button
17:59 DS-minetest there's no connection
18:00 cheapie I'm not about to try submitting a PR to mesecons again, but you're welcome to try :P
18:02 cheapie OK, receivers and insulated digilines no longer have collision. Vertical digilines have collision on the top, but not the middle, and the bottom has a custom collision box so that only the plate collides.
18:03 nowhere_man joined #minetest
18:03 cheapie The reason that digilines connect to the front of the button mostly just has to do with people seeming to expect that to work *shrug*
18:05 DS-minetest imo just having rules like the mesecons button and the button not being a wire would be good
18:05 cheapie Well, it's definitely staying a wire :P
18:05 DS-minetest could digistuff override the lcd to use the receiver?
18:06 cheapie Probably...
18:06 cheapie But at the same time, the LCD covers the whole node so it doesn't really matter so much.
18:06 cheapie (as in, you can just stick digimese behind it and it's not visible)
18:06 DS-minetest ah, yes
18:07 cheapie I mean, I can add receivers to arbitrary nodes pretty easily, actually, but it doesn't always make sense.
18:07 Niwla23 joined #minetest
18:07 cheapie FWIW, you may also notice that receivers don't get placed if the node they would be going through would be digimese - this allows people to still build button panels the old way if they want.
18:08 cheapie If you want a receiver going through digimese, place the digimese after the receiver is already there.
18:08 DS-minetest mhm
18:09 DS-minetest the insulated digiline wire could have a simpler selection box
18:09 DS-minetest just like the mesecons insulated
18:09 cheapie Probably, yeah. Same with the receiver.
18:10 DS-minetest and the nodebox of the insulated cross can be done with two overlapping boxes
18:11 cheapie I don't really trust MT to not screw that up :P
18:11 DS-minetest why?
18:12 DS-minetest I wonder if a corssover digiline would somehow be possible 🤔
18:12 cheapie Not from what I could see, otherwise I'd put one in.
18:12 * cheapie works on some selection boxes
18:13 jluc joined #minetest
18:13 cheapie Have you tried out the new timer or (WIP) wall knob yet?
18:14 DS-minetest actually I had the same idea about such a timer that uses node timer to send digiline
18:14 DS-minetest it was even on my todo list
18:14 DS-minetest the wall knob is not so pretty
18:15 DS-minetest I wonder what it is good for
18:15 cheapie I know, that's why it's a WIP :P
18:15 cheapie VanessaE is making a mesh and textures for it.
18:15 cheapie Right now it just has a placeholder nodebox and random texture.
18:17 cheapie It's mostly intended for controlling the lights.
18:17 DS-minetest_ joined #minetest
18:20 DS-minetest joined #minetest
18:24 DS-minetest the cross insulated could have a nodebox like this: {-0.5, -0.5, -1/16, 0.5, -3/8, 1/16},
18:24 DS-minetest {-1/16, -0.5, -0.5, 1/16, -3/8, 0.5}
18:25 DS-minetest the new selection boxes look good
18:27 AntumD joined #minetest
18:39 DS-minetest I think, I've found a way to do the crossing
18:40 DS-minetest no, sorry, false alarm
19:03 Proxboxplayer joined #minetest
19:11 DS-minetest joined #minetest
19:22 DS-minetest :/ I give up
19:22 Nezrok ?
19:23 DS-minetest I've searched a hacky way to make a digiline crossing wire like the mesecons crossing
19:23 Nezrok The crossover node?
19:24 DS-minetest yes, the insulated crossover
19:25 DS-minetest like this thing: https://cloud.githubusercontent.com/assets/7613443/21582175/bd110a62-d04d-11e6-95a3-c2282f9578dd.png
19:26 Nezrok Yes, that
19:29 Krock the greatest crossover in history, maybe ever.
19:29 DS-minetest you monster!
19:30 DS-minetest btw is there a way to easily turn the whole screen image in linux?
19:32 Nezrok Like flip it all upside down?
19:32 DS-minetest yes
19:33 Nezrok I dunno, maybe something like compiz can do that?
19:33 Nezrok Has a bunch of funny options
19:34 DS-minetest the xrandr command might be used to do this
19:39 DS-minetest ok, problem is fixed.
19:51 proller joined #minetest
19:52 DS-minetest bye
19:57 p_gimeno Nezrok: just tried, xrandr -x -y flips my screen
19:57 p_gimeno je, acabo de girar mi pantalla 180°
19:58 p_gimeno wrong channel, sorry
20:04 Pie-jacker875 joined #minetest
20:13 OxE7 joined #minetest
20:30 AntumD joined #minetest
20:42 Unit193 joined #minetest
21:26 NathanS21 joined #minetest
21:37 FrostRanger joined #minetest
21:46 Cornelia joined #minetest
21:49 illwieckz joined #minetest
22:47 Blo0D joined #minetest
23:36 nri_ joined #minetest
23:37 nri_ joined #minetest
23:38 nri_ joined #minetest
23:39 nri joined #minetest

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