Minetest logo

IRC log for #minetest, 2020-06-09

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

All times shown according to UTC.

Time Nick Message
00:06 FrostRanger joined #minetest
00:43 behalebabo joined #minetest
01:00 Lone_Wolf joined #minetest
01:12 ANAND joined #minetest
01:15 skyliner_369 I'm thinking about making a mod but I have a question... does minetest have any utilities for making multiblock structures?
01:16 skyliner_369 More accurately, seeing if they're built.
01:28 galex-713 joined #minetest
01:56 comrad joined #minetest
02:14 ANAND joined #minetest
02:22 Hawk777 joined #minetest
02:31 Miner_48er joined #minetest
03:07 swift110 joined #minetest
03:15 Ritchie joined #minetest
04:15 MDead joined #minetest
04:50 Conradish006 joined #minetest
04:56 Wuzzy joined #minetest
05:00 galex-713 joined #minetest
05:08 freelikegnu skyliner_369: I think those are called schematics in MT
05:10 freelikegnu take a look at https://forum.minetest.net/viewtopic.php?f=11&t=18515
05:13 freelikegnu you can add metadata to nodes to keep track of structures
05:13 freelikegnu I don't know much more than that.
05:58 calcul0n joined #minetest
06:02 ANAND joined #minetest
06:10 Flabb joined #minetest
06:35 oil_boi joined #minetest
06:42 mizux joined #minetest
06:52 TomTom joined #minetest
06:56 scr267 joined #minetest
07:08 NetherEran joined #minetest
07:22 swift110 joined #minetest
07:25 Ritchie joined #minetest
07:50 oil_boi What is the difference between a* and a*_noprefetch?
07:50 oil_boi Cost data, hmmm
07:50 galex-713 joined #minetest
08:00 ShadowNinja joined #minetest
08:17 FrostRanger joined #minetest
08:21 galex-713 joined #minetest
08:35 Beton joined #minetest
08:41 galex-713 joined #minetest
08:47 galex-713 joined #minetest
08:52 galex-713 joined #minetest
08:52 oil_boi sfan5, I just made a rather, interesting discovery. With a*_noprefetch even with the interesting way it's implemented you can use it and cut corners making mob ai extremely intelligent
09:01 Miniontoby joined #minetest
09:02 Miniontoby hey
09:02 iamweasel mew... i mean, hi!
09:03 Miniontoby moo
09:03 Miniontoby ye
09:03 Miniontoby thats cows for hello
09:03 * iamweasel does the characteristic weasel sound
09:04 sfan5 oil_boi: by "cut corners" do you mean literally taking a straight path when the pathfinder would walk around a corner?
09:05 Miniontoby pathfinder? Is there a pathfinder?
09:05 oil_boi The pathfinding does not account for diagonal movement when there is an opportunity to and I have to fix that after the path data is unloaded into lua
09:05 Miniontoby btw
09:06 Miniontoby I need an spectator mode/account mod
09:07 oil_boi I need to make the ai check if it's a walkable regular collisionbox node
09:07 Miniontoby just an kind of replay mod in MC
09:07 Miniontoby *a
09:07 Miniontoby just you can record what on the whole server is happening
09:07 Miniontoby or just
09:08 sfan5 might be worth adding diagonal walking to the engine pathfinder in the long term
09:08 sfan5 s/might/would/
09:08 Miniontoby an spectator mode
09:08 Miniontoby an spectator mode where you are invisible and you can fly though blocks and things
09:09 Miniontoby !up forum.minetest.net
09:09 MinetestBot forum.minetest.net:30000 seems to be down (IPv4)
09:10 Miniontoby !title forum.minetest.net
09:10 MinetestBot That's not a valid URL
09:10 Miniontoby !title https://forum.minetest.net/
09:10 MinetestBot socket.timeout: The read operation timed out (file "/usr/lib/python3.6/ssl.py", line 631, in read)
09:10 oil_boi Yes that's very true, I noticed that pathfinding prefers one axis over the other as well
09:11 oil_boi Very interesting
09:11 Miniontoby !title https://forum.minetest.net/
09:11 Miniontoby hmm
09:11 Miniontoby 504 Gateway Time-out
09:11 oil_boi !title google.com
09:11 MinetestBot That's not a valid URL
09:11 MinetestBot socket.timeout: The read operation timed out (file "/usr/lib/python3.6/ssl.py", line 631, in read)
09:11 oil_boi oh my gawd I broke it
09:11 iamweasel i never used it, but is that something like you want Miniontoby? https://github.com/minetest-mods/spectator_mode
09:11 Miniontoby that is not what I want
09:17 Emerald2 Nah the forum is down.
09:19 Miniontoby ye
09:27 illwieckz joined #minetest
09:31 sec^nd joined #minetest
09:38 SwissalpS joined #minetest
09:40 galex-713 joined #minetest
09:53 Miniontoby hmm
09:56 Miniontoby !up craft.ircnow.org:30003
09:56 MinetestBot craft.ircnow.org:30003 is up (134ms) (IPv4)
09:57 Miniontoby !server addr:craft.ircnow.org port:30003
09:57 MinetestBot Miniontoby: Wishful Springtime | craft.ircnow.org:30003 | Clients: 1/20, 0/2 | Version: 5.1.0 / minetest | Ping: 240ms
10:02 comrad joined #minetest
10:02 galex-713_ joined #minetest
10:16 NetherEran joined #minetest
10:31 proller joined #minetest
10:37 proller joined #minetest
10:48 Fixer joined #minetest
11:25 NetherEran joined #minetest
11:26 Miniontoby rubenwardy:
11:28 Miniontoby rubenwardy: what channel is your server connected with
11:29 Miniontoby !server port:30001 addr:vps.rubenwardy.com
11:29 MinetestBot Miniontoby: Capture the Flag [v2] - Test server with classes | vps.rubenwardy.com:30001 | Clients: 15/30, 8/23 | Version: 5.3.0-dev / capturetheflag | Ping: 22ms
11:29 Miniontoby 5.3.0?
11:29 Miniontoby wow
11:30 Miniontoby btw
11:30 Miniontoby I more like other irc servers than this one
11:31 Ritchie joined #minetest
11:44 Miniontoby hmm
11:44 Miniontoby comrad, how ya have a custom host
11:45 comrad registered an opensource project with the freenode staff
11:45 Miniontoby ok
11:45 Miniontoby cool
11:45 Miniontoby
11:45 Miniontoby btw
11:45 Miniontoby this ircserver is not able to do it the simplest way so yeah
11:45 Miniontoby cy
11:47 comrad what a nice pleasant minion
11:56 Miniontoby joined #minetest
11:57 oil_boi :O
11:58 oil_boi I'm not sure what registering a project with the freenode staff means
12:01 oil_boi Hmm, you know, I thought about that for a second and I think my brain has finally burnt out
12:23 kamdard joined #minetest
12:32 oil_boi How do you set a texture animation with "upright_sprite"
12:34 erlehmann joined #minetest
12:42 sfan5 I think the set_sprite call can do that
12:45 oil_boi sfan5, self.object:set_sprite({x=1,y=math.random(1,8)}, 8, 0.05, false) on_activate yields: https://i.imgur.com/qhGtn3b.png
12:46 oil_boi Maybe I'm running the call incorrectly?
12:46 sfan5 do you have spritediv set correctly?
12:47 oil_boi Yes sir
12:48 oil_boi initial_sprite_basepos = {x = 1, y = 1},
12:50 oil_boi I think I'll have to run through a manual call to change the textures at this point oof oof
12:51 sfan5 i'd try with {x = 1, y = 1} for both set_sprite and initial_sprite_basepos
12:51 sfan5 other than that it sounds like it should work
12:54 sfan5 ...meant to say {x = 0, y = 0}
12:55 oil_boi Oooooh, upright sprites don't act like upright sprites when they're attached anyways https://i.imgur.com/R2uZiAI.png
12:55 calcul0n_ joined #minetest
12:55 oil_boi damn
12:56 sfan5 huh? sounds like you want the "sprite" visual instead
13:02 oil_boi Well yes but also no because where as it looks good here https://i.imgur.com/NzaUUMX.png above it uhhhh https://i.imgur.com/9HYsLXl.png
13:03 sfan5 isn't that how it works in minecraft too?
13:05 oil_boi No, it's an upright sprite that follows the camera like the sprite does in MTE but it is upright, like the same style of particles in MTE "upright"
13:08 sfan5 hm
13:08 sfan5 I don't see the problem then
13:09 Fixer joined #minetest
13:10 sfan5 in mc -> https://a.uguu.se/XSK2vYJmyyhO_.09.02.png
13:10 oil_boi Yessir
13:11 sfan5 another fun idea would be to use the wielditem visual with fire
13:11 Out`Of`Control joined #minetest
13:16 oil_boi That gives me an idea
13:24 craigger joined #minetest
13:35 lisac joined #minetest
13:45 NetherEran joined #minetest
14:03 macc24 joined #minetest
14:20 awell joined #minetest
14:34 gorbachev_pizza joined #minetest
14:41 Lone_Wolf joined #minetest
15:18 Pest joined #minetest
15:27 oil_boi So sfan5 I took your idea and ran crazy with it https://youtu.be/aiP9hLVLF70
15:27 oil_boi !title
15:27 MinetestBot oil_boi: YouTube
15:27 oil_boi Well, that's technically correct
15:33 SwissalpS joined #minetest
15:34 sfan5 :D
15:36 sfan5 burning mobs setting the player on fire sounds worth keeping if it isn't too laggy
15:42 Pie-jacker875 joined #minetest
15:43 lisac joined #minetest
15:52 oil_boi I just spawned 150 mobs all on fire and it seems to not lag too bad
16:07 lisac joined #minetest
16:13 Flabb joined #minetest
16:13 Taoki joined #minetest
16:33 galex-713 joined #minetest
16:39 Pie-jacker875 joined #minetest
16:55 iamweasel is fire only in singleplayer? i can't figure it out when i host game
16:55 Lone_Wolf You need to set enable_fire for multiplayer IIRC
16:57 sfan5 you do yes
16:57 sfan5 same for tnt
16:57 iamweasel in, like.... config? where do i do it for "host game" in gui?
16:58 Lone_Wolf Setiings menu
17:21 LoneWolfHT joined #minetest
17:35 MinetestBot [git] MoNTE48 -> minetest/minetest: TouchScreenGUI: fix some bugs, cleanup b9f6187 https://git.io/JfyPP (2020-06-09T17:35:25Z)
17:35 MinetestBot [git] MoNTE48 -> minetest/minetest: TouchScreen Control: fix some bugs, cleanup 0d8e5bf https://git.io/JfyP1 (2020-06-09T17:35:25Z)
17:36 MinetestBot [git] MoNTE48 -> minetest/minetest: Fix real keyboard movements on touchscreen devices 756dc89 https://git.io/JfyPM (2020-06-09T17:35:25Z)
17:36 MinetestBot [git] MoNTE48 -> minetest/minetest: Hide tooltip after ETIE_LEFT_UP (for touch control) 3cee55f https://git.io/JfyPD (2020-06-09T17:35:25Z)
17:36 Seirdy one more technic question: does anybody know what the "constructor" machine does? can't find any docs...
17:38 MinetestBot [git] pauloue -> minetest/minetest: LuaItemStack: Add __tostring metamethod (#8785) b16f841 https://git.io/JfyP9 (2020-06-09T17:37:25Z)
17:38 MinetestBot [git] hecktest -> minetest/minetest: Fix player-to-object attachment teleport bug (#10008) 09e285f https://git.io/JfyPH (2020-06-09T17:36:47Z)
17:40 MinetestBot [git] NetherEran -> minetest/minetest: Some vector functions useful for working with rotations (#9572) 7148834 https://git.io/JfyPb (2020-06-09T17:38:39Z)
17:45 Krock meerrringg
17:45 Krock Seirdy: constructs nodes
17:45 Krock put in stuff it should place in front of it
17:46 Krock use mesecons pistons to create an automated builder
17:46 Krock or movestones, perhaps?
18:02 Seirdy Krock: how does it compare with the pipeworks autocrafter?
18:02 Krock incomparable
18:02 Krock autocrafter crafts like you're doing it in the inventory
18:02 Krock but the constructor only places them. no crafting.
18:06 Verticen_ joined #minetest
18:06 Seirdy Krock: got it
18:07 Krock !next
18:07 MinetestBot Another satisfied customer. Next!
18:26 yrungr https://github.com/random-geek/MapEdit < this looks very cool. modify the game sqlite database from the command line.
18:31 FrostRanger joined #minetest
18:52 gorbachev_pizza joined #minetest
19:05 SwissalpS joined #minetest
19:09 iamweasel !cookie
19:09 iamweasel !trout
19:10 oil_boi !fortune
19:10 Lone_Wolf !parrot
19:10 oil_boi !dankmemes
19:10 SwissalpS joined #minetest
19:10 Lone_Wolf I guess this is the reason why those dont exist lol
19:12 Emerald2 !botsnack
19:12 Emerald2 lol
19:14 Lone_Wolf joined #minetest
19:19 SwissalpS joined #minetest
19:38 MinetestBot [git] dcbrwn -> minetest/minetest: Fix broken coloring of wielditems (#9969) fe3e69e https://git.io/Jfyyc (2020-06-09T19:38:09Z)
19:39 Verticen joined #minetest
19:51 Verticen joined #minetest
19:56 Zughy joined #minetest
19:56 sfan5 oil_boi: btw since the current crafter tagline is "multiplayer update": there are multiple places where optimization is needed to avoid multiplayer networking issues (these are invisible in singleplayer)
19:56 sfan5 simple example: crafter apparently sets the eye offset 25 times a second, I don't think it changes at all though
19:56 sfan5 I can give you advice and/or help with this ofc
20:02 Zughy hey there people. How can I block someone to receive a message? I saw there is register_on_chat_message, but is there something similare like on_receive? I can't find it
20:02 Zughy *from receiving
20:02 sfan5 is this CSM?
20:03 Zughy on a server
20:03 sfan5 register_on_chat_message can return true to eat the message, you can then manually deliver to message to everyone *except* the target
20:11 Verticen joined #minetest
20:16 appguru joined #minetest
20:22 swift110 joined #minetest
20:25 NetherEran joined #minetest
20:33 oil_boi Of course sfan5
20:33 oil_boi I'd be happy to hear them
20:33 oil_boi I'll take a look at the offset
20:42 oil_boi Oooookay I see what you mean
20:43 oil_boi I think the ideology now is "listen, and don't speak until spoken to" server wise
20:46 mntmn joined #minetest
20:46 Lunatrius` joined #minetest
20:52 sfan5 hm, upright_sprites really do not support animation
21:00 illwieckz joined #minetest
21:01 oil_boi That's life
21:04 oil_boi Would you look at that, zoom now works smoother
21:10 SwissalpS joined #minetest
21:22 oil_boi Ok sfan5 I implemented that one, I didn't actually realize that the zoom was that smooth actually
21:24 oil_boi I noticed that the player moves smoother as well in 3rd person, maybe I can link a global function to tell a local function in player api when to update the mesh, I'll check the data usage
21:24 sfan5 interesting
21:31 oil_boi I reviewed the data usage in singleplayer with player api and I nearly choked on my vape
21:57 sfan5 alright I made animations work for upright_sprite \o/
22:02 sfan5 oil_boi: here's some debug output https://0x0.st/iVWr.txt
22:03 oil_boi It's a miracle!
22:03 sfan5 apart from TOCLIENT_ACTIVE_OBJECT_MESSAGES (which is further broken apart in the second table), AO_CMD_UPDATE_POSITION and AO_CMD_ATTACH_TO you might want to investigate why those other values are so high
22:04 oil_boi Because the server step is 0.01 methinks
22:05 sfan5 !c 748 * 0.01
22:05 MinetestBot 7.48
22:05 sfan5 hm
22:06 oil_boi Ooooh eye offset!
22:06 oil_boi I just pushed an update client and server mod for that
22:06 sfan5 i didn't git pull yet so don't worry about that
22:06 sfan5 in fact I'm still on the "Overhaul fire" commit
22:07 oil_boi set_animation_speed 11890 holy moly
22:19 sfan5 oh that reminds me
22:19 oil_boi I implemented proactive data conservation into player_api
22:20 sfan5 for that test run I didn't enable the client mod so it doesn't show up in there
22:20 oil_boi It can be used in MTG
22:21 oil_boi Also: Well hopefully you see way less local network usage in a singleplayer/local server
22:22 sfan5 nice
22:22 oil_boi I'll try to cobble together a pr for MTG
22:37 illwieckz joined #minetest
22:40 oil_boi #2698
22:40 ShadowBot https://github.com/minetest/minetest/issues/2698 -- Show default text-based header in main menu when header.png is not present
22:40 oil_boi Wat
22:40 oil_boi https://github.com/minetest/minetest_game/pull/2698
22:41 oil_boi Much better seeing "sending data" when I press/let go of a button rather than seeing nothing but that in my console
22:45 sfan5 using a global table would be simpler than meta
22:46 sfan5 making it local to api.lua like player_sneak is probably enough in fact
22:46 oil_boi ¯\_(ツ)_/¯
22:46 oil_boi Time to try again!
22:48 sfan5 hm actually
22:49 oil_boi Oh my, I already demolished it
22:49 sfan5 player_api.set_animation only calls player:set_animation if the animation name is different
22:49 sfan5 is that different in Crafter's copy of player_api?
22:49 proller joined #minetest
22:52 oil_boi Oh you're right actually
22:52 oil_boi It's about to be
22:53 oil_boi I think I'm thinking too many steps ahead in my own game
22:57 est31 joined #minetest
22:57 Elouin joined #minetest
22:58 Guest97377 joined #minetest
23:17 Thomas-S joined #minetest
23:17 Thomas-S joined #minetest
23:35 galex-713 joined #minetest

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