Luanti logo

IRC log for #minetest, 2020-08-21

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:01 snail68 Hi all. I'm a newbie. Downloaded minetest for andriod. Previosuly I've played minecraft. I can make worlds and mine stuff but can't work out how to craft stuff. The docs refer to a "Three dots icon " which doesn't appear on my screen. There's an "Aux' button that doesn't seem to do anything though.
00:01 specing step one: get a real computer
00:01 specing step two: press i
00:02 snail68 Oh, I'm playing 5.3.0
00:02 FeXoR joined #minetest
00:02 snail68 Are you saying that the andriod build is non-fucntional?
00:03 gry my younger brother managed to use the android app, but i haven't tried it, so can't comment
00:04 snail68 Is a bluetooth keyboard likely to work with an andriod device?
00:04 gry yes
00:05 snail68 OK, thanks.
00:07 FeXoR joined #minetest
00:10 rubenwardy snail68: https://i.imgur.com/0dkdPeM.png
00:11 rubenwardy it's on the left
45 more elements. Show/hide.
08:39 Argentus Hello guys, what would be the right way to set a block's param2 in its on_construct callback? If I use set node function on the position,  it understandably goes into an endless loop
08:42 Jhalman joined #minetest
08:46 calcul0n Argentus, use after_place_node + set_node i think
08:48 Argentus calcul0n I thought about that, but liked the universality of the construct function. But I guess it's either this or a conditional check in the construct function. Thanks
13 more elements. Show/hide.
11:08 bebebeko pyrollo: my congratulations!
11:08 pyrollo thx :)
9 more elements. Show/hide.
13:10 eeerungur i've got a mineclone survival server and i want to remove player names entirely.
13:10 eeerungur unlimited_player_transfer_distance = false
13:10 eeerungur that's doesn't seem to work.
13:11 rubenwardy you need to use a mod
13:11 rubenwardy !mod playertag
13:11 MinetestBot rubenwardy: Player Nametags [playertags] by LMD - https://forum.minetest.net/viewtopic.php?t=20339 - https://github.com/appgurueu/playertags
13:11 rubenwardy the other one
13:11 rubenwardy !mod [playertag]
13:11 MinetestBot rubenwardy: Entity based nametags [playertag] by sparky - https://forum.minetest.net/viewtopic.php?t=19401 - https://github.com/Elkien3/playertag
13:11 eeerungur it can't be done with config?
13:12 eeerungur rubenwardy: that looks more like a mod for adding name tags.
13:12 rubenwardy that removes nametags and makes them physically in game - you need to be right next to the player to see it
13:13 rubenwardy you can also remove them completely with a 3 line mod
13:13 eeerungur the 3 line mod sounds good.
13:14 eeerungur i want people to be able to hide from others.
13:14 rubenwardy minetest.register_on_joinplayer(function(player) player:set_nametag_attributes({ color = "#00000000" }) end)
13:14 ShadowBot rubenwardy: Error: That URL raised <HTTP Error 404: Not Found>
13:15 eeerungur thanks rubenwardy.
13:15 rubenwardy not tested
13:18 Calinou (note that a hacked client could still see nametags this way, there's not much you could do about it)
13:18 rubenwardy (yeah)
13:18 Calinou unless the server is made not to send player names at all if the color is fully transparent, which makes sense
13:19 Calinou I'd use that in conjunction with unlimited_player_transfer_distance = false to minimize the impact of an hacked client
28 more elements. Show/hide.
18:43 DS-minetest Does someone here know how to properly do benchmarking in lua?
18:45 DS-minetest Just measuring a small piece of code once would be pretty inaccurate. But if I execute it multiple times in a loop, it gets much more faster (in luajit at least).
18:46 DS-minetest ie. 2000 times faster
18:46 eeerungur wow
18:47 DS-minetest I could copy the code piece a few hundred times, maybe that will work.
18:47 Krock depends what you want to benchmark
18:48 DS-minetest I want to benchmark the new vectors in  #9612.
18:48 ShadowBot https://github.com/minetest/minetest/issues/9612 -- Add a metatable for vectors by Desour
18:51 tyler-2 left #minetest
18:55 DS-minetest Btw. https://dev.minetest.net/Lua_Optimization_Tips#Prefer_lua_newtable.28.29_to_lua_createtable.28.29 says to prefer lua_newtable() to lua_createtable(). But the opposite was done in  #9669.
18:55 ShadowBot https://github.com/minetest/minetest/issues/9669 -- scriptapi: Some small optimizations to value pushing by sfan5
18:59 sfan5 didn't even know we had that page
19:00 sfan5 > but it has a very negative effect on the cache for situations where the performance improvement would have otherwise made a difference.
19:00 sfan5 could mean "if you preallocate but the table ends up being empty, you have wasted time"
16 more elements. Show/hide.
19:50 Andrey hello
19:50 heavygale hi
19:50 Andrey what range of reach does the player hand have and is it possible to change that?
19:51 GreenXenith The default range of any tool is 4 nodes
19:51 sfan5 and yes it can be changed, both globally and per-player
19:51 Andrey ok, but how?
19:52 DS-minetest joined #minetest
19:56 DS-minetest Andrey: look into how creative does it for globally (idk how it can be done per player)
19:56 Andrey ok, thanks
9 more elements. Show/hide.
23:21 MinetestBot [git] pauloue -> minetest/minetest_game: Add simplified version of 'craftguide' mod, named 'mtg_craftguide' (#… 5d0e4ae https://git.io/JJjAA (2020-08-21T23:20:58Z)
2 more elements. Show/hide.
23:53 specing is there a client-side "worldedit"?
23:53 specing i.e. place two markers and material into inventory and let it loose?

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