Minetest logo

IRC log for #minetest, 2020-04-02

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

All times shown according to UTC.

Time Nick Message
00:25 oil_boi_ joined #minetest
00:25 MinetestBot oil_boi_: Apr-01 21:38 UTC <texmex> iron ore fence?! :D
00:26 oil_boi_ texmex: Yes! Everything is a fence now :D
00:27 oil_boi_ MinetestBot: help
00:27 swift110 joined #minetest
00:27 oil_boi_ @MinetestBot Hi
00:27 oil_boi_ Hmm I dunno how to use it :P
00:40 oil_boi_ Also is this true? https://forum.minetest.net/viewtopic.php?p=370403#p370403
00:57 galaxie joined #minetest
00:57 Miner_48er joined #minetest
01:07 fluxflux joined #minetest
01:13 Taoki joined #minetest
01:29 fluxflux joined #minetest
01:38 nephele joined #minetest
01:50 nepugia joined #minetest
01:59 MistahDarcy joined #minetest
02:22 Hawk777 joined #minetest
02:34 galex-713 joined #minetest
02:52 Guest76919 joined #minetest
02:52 erlehmann joined #minetest
02:53 Pie-jacker875 joined #minetest
02:55 erlehmann joined #minetest
02:59 erlehmann joined #minetest
03:05 Verticen joined #minetest
03:29 Extex joined #minetest
03:45 orbea when dying and using the ethereal mod with minetest-5.1.1 it causes the player to respawn in the same exact coordinates that they died. I reproduced this with only the default game and no other mods, any ideas? https://notabug.org/TenPlus1/ethereal
03:53 orbea i made an issue explaining it more https://notabug.org/TenPlus1/ethereal/issues/9
04:04 Sodomon joined #minetest
04:23 fluxflux joined #minetest
04:28 fluxflux joined #minetest
04:29 erlehmann joined #minetest
04:35 * orbea grumbles at the error that vanishes without a trace just when I think I have a fix
04:36 orbea (not the same one as that issue I made)
04:43 galex-713 joined #minetest
04:59 disconnected joined #minetest
04:59 disconnected left #minetest
05:08 oil_boi_ orbea: Sometimes bugs are sentient
05:08 oil_boi_ "Ghost bug!" ūüĎĽ
05:10 cheapie Looks like in about three hours now (if I remember the time right), the update for mesecons_carts that adds digilines-controlled rails should go live on the server that I play on most... should be fun to see what all can be built with that.
05:10 oil_boi_ I say you keep running /kill until the mod breaks :D
05:11 cheapie Unfortunately I wasn't able to get said rails to switch cart directions under digilines control, but they are able to start/stop/accelerate/decelerate them as well as detect their speed and any players riding in them.
05:18 oil_boi_ Very fancy, cheapie
05:18 cheapie If you think that's fancy then clearly you've never been on that server :P
05:19 oil_boi_ I have no idea what the server is called
05:19 cheapie VanessaE's Dreambuilder creative server, daconcepts.com:30000
05:20 cheapie There's a survival one with more or less the same mods on port 30001.
05:29 Extex joined #minetest
05:33 QwertyDragon joined #minetest
05:39 oil_boi_ that was nice
05:40 * cheapie nods
05:40 erlehmann_ joined #minetest
05:40 cheapie There are probably better servers for building some things, but I imagine I'd probably be correct in saying that we have the most technology there.
05:40 * oil_boi_ wonders how to make a server
05:41 Extex joined #minetest
06:24 Extex joined #minetest
06:58 absurb joined #minetest
06:59 calcul0n joined #minetest
07:28 macc24 joined #minetest
07:39 absurb irc genocide!
07:39 galaxie joined #minetest
07:40 absurb freenode aught to be held responsible for these war crimes!
07:44 Unit193 Please note that 'Quit:' means it's a quit message.  Aka, Matrix quit everyone off the network.
07:44 Ingar it's a Holy Cleansing of matrix  users
07:57 Quiark joined #minetest
08:01 karamel joined #minetest
08:03 oil_boi_ Holy shit freenode is getting ddosed
08:07 SwissalpS joined #minetest
08:10 mizux joined #minetest
08:16 tomraceror joined #minetest
08:16 HDMI_STECKDOSE joined #minetest
08:23 snek joined #minetest
08:23 rendeko[m] joined #minetest
08:23 codic joined #minetest
08:23 silwol joined #minetest
08:23 jfred[m] joined #minetest
08:23 rschulman joined #minetest
08:24 Milan[m] joined #minetest
08:24 nalkri joined #minetest
08:24 Parnikkapore[m] joined #minetest
08:24 kollaps[m] joined #minetest
08:24 bhree[m] joined #minetest
08:24 DarylSun joined #minetest
08:24 texmex joined #minetest
08:24 tuxayo[m] joined #minetest
08:24 xose[m] joined #minetest
08:24 swedneck joined #minetest
08:24 mihagapiha[m] joined #minetest
08:24 kb1000[m] joined #minetest
08:37 ShadowNinja joined #minetest
08:44 karamel joined #minetest
08:46 macc24 joined #minetest
08:54 xSmurf joined #minetest
08:58 Beton joined #minetest
09:00 macc24 joined #minetest
09:01 oil_boi_ What makes a mob good?
09:01 oil_boi_ Like, quality wise
09:01 erlehmann joined #minetest
09:05 Flabb joined #minetest
09:05 erlehmann joined #minetest
09:11 proller joined #minetest
09:49 rubenwardy oil_boi_: interactions are believable and responsive, not an eyesore, not an ear sore
09:49 rubenwardy Mob redo is not a good mobs mod, the interactions are terrible
09:50 rubenwardy Mobkit is promising - the interactions are nice, but the code quality isn't
09:55 oil_boi_ hmm very interesting rubenwardy
09:55 oil_boi_ I also noticed the dtime varies based on how the player's moving on the level I'm utilizing it
09:56 oil_boi_ maybe I'm missing a way to set the mob's yaw smoothly without resorting to automatic_face_movement_dir
09:57 rubenwardy Entity yaw is smoothed in 5.0 and above
09:58 oil_boi_ rubenwardy: from what I'm seeing with set_yaw it is a literal instantanious action, aka, jittery when used to turn an entity
09:58 erlehmann joined #minetest
09:58 rubenwardy It's smoothed on the client though
09:58 rubenwardy So the client will rotate smoothly to the yaw
09:58 oil_boi_ Maybe it's broken from the github version I'm using?
09:59 rubenwardy If you're calling set yaw a lot, then you won't benefit from the smoothing so much
09:59 oil_boi_ Will automatic_face_movement_max_rotation_per_sec  smooth the yaw beyond what I can do server side?
10:00 oil_boi_ Also rubenwardy either way, if I called it when the mob changed direction state or if I'm utilizing it as a literal translation to smoothly turn the entity it does not seem to make a difference
10:00 oil_boi_ Very frustrating :<
10:00 erlehmann joined #minetest
10:05 galex-713 joined #minetest
10:09 calcul0n_ joined #minetest
10:13 oil_boi_ Yes it's very strange, that dtime seems to sleep when you stop moving then goes full speed when you're moving, I guess no one though anyone would utilize dedicated server step at 1e-05
10:23 macc24 joined #minetest
10:30 erlehmann joined #minetest
10:36 YuGiOhJCJ joined #minetest
10:42 sagax joined #minetest
10:42 HDMI_STECKDOSE joined #minetest
10:46 oil_boi_ But that's alright, time to work around it :D
10:57 FreeFull joined #minetest
10:59 Fixer joined #minetest
10:59 erlehmann joined #minetest
11:10 Flabb joined #minetest
11:13 Vargos joined #minetest
11:27 Vargos joined #minetest
12:23 Flabb joined #minetest
12:49 majochup joined #minetest
12:49 Wuzzy joined #minetest
12:50 turtleman joined #minetest
12:53 tomracer joined #minetest
13:06 nephele_ joined #minetest
13:06 minduser00 joined #minetest
13:08 tuedel_ joined #minetest
13:10 DusXMT joined #minetest
13:15 panwolfram joined #minetest
13:16 alket joined #minetest
13:16 alket joined #minetest
13:19 YuGiOhJCJ joined #minetest
13:20 tuedel joined #minetest
13:20 est31 joined #minetest
13:25 MinetestBot joined #minetest
13:26 oil_boi_ What is vector.angle used for?
13:28 turtleman joined #minetest
14:28 swift110 joined #minetest
15:08 majochup joined #minetest
15:09 Quiark ok I fixed my REPL plugin
15:09 Quiark and here's a little demo too https://asciinema.org/a/315964
15:10 Taoki joined #minetest
15:27 tomraceror joined #minetest
15:28 SwissalpS joined #minetest
15:31 jonadab joined #minetest
15:36 macc24 joined #minetest
15:42 HDMI_STECKDOSE joined #minetest
15:44 erlehmann joined #minetest
15:52 Andrey01 joined #minetest
15:53 erlehmann joined #minetest
15:57 erlehmann joined #minetest
15:58 macc24 joined #minetest
16:01 Extex joined #minetest
16:02 Flabb joined #minetest
16:02 erlehmann joined #minetest
16:05 turtleman joined #minetest
16:06 macc24 joined #minetest
16:21 erlehmann joined #minetest
16:21 SwissalpS joined #minetest
16:32 erlehmann joined #minetest
17:20 galex-713 joined #minetest
17:21 Sodomon joined #minetest
17:25 MinetestBot [git] ryvnf -> minetest/minetest: Fix texture distortion for flowing liquids (#9561) 3d6b55d https://git.io/JvFWW (2020-04-02T17:24:35Z)
17:35 fluxflux joined #minetest
17:40 erlehmann joined #minetest
17:48 erlehmann joined #minetest
17:52 Sodomon joined #minetest
17:52 erlehmann joined #minetest
18:00 erlehmann joined #minetest
18:02 jonadab joined #minetest
18:03 erlehmann joined #minetest
18:08 HDMI_STECKDOSE joined #minetest
18:08 erlehmann joined #minetest
18:27 calcul0n joined #minetest
18:33 Verticen joined #minetest
18:49 Fuchs joined #minetest
19:05 adfeno joined #minetest
19:07 adfeno Hi there, how do I make an edible item store its original recipient/vessel/container and when eaten replace that edible item with the container?
19:10 behalebabo adfeno: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4998 you can use `on_use = minetest.item_eat(value, "original_vessel")`
19:11 adfeno What if for example, I'm using an item group as original vessel?
19:11 adfeno In the recipe, I mean
19:11 behalebabo then you'll probably need to use minetest.register_on_craft to save which vessel you're using in the output metadata, then have a custom on_use function that restores it
19:12 behalebabo *in the output itemstack metadata
19:12 adfeno Hm I see.
19:14 troller joined #minetest
19:15 adfeno I asked because I know a server which uses xdecor, and this mod adds xdecor:bowl while the server already has ethereal:bowl, with same recipe for both. xdecor:cauldron however explicitly expects xdecor:bowl to give player a soup, which when eaten gives xdecor:bowl.
19:16 adfeno That outcome I'm trying to avoid, or at least have xdecor:bowl_soup a way to store the original member of group:food_bowl which was used to take soup.
19:17 behalebabo yeah, that's a bit tricky; it might be better to merge ethereal:bowl into xdecor:bowl through some mod modification
19:20 adfeno Hm, I think I know a way.
19:22 MDude joined #minetest
19:27 Soo_Slow joined #minetest
19:38 macc24 joined #minetest
19:39 testman joined #minetest
19:39 erlehmann joined #minetest
19:44 sagax joined #minetest
19:45 adfeno How do I convert nested Lua tables to stirng?
19:46 rubenwardy `minetest.serialise(tab, true)`   or   `minetest.write_json(tab)`
19:46 rubenwardy former supports recursive types
19:46 rubenwardy latter is more standard
19:49 sfan5 serialize*
19:50 rubenwardy bloody americans
19:51 rubenwardy I'm currently implementing a class called "ChunkSerialiser"
19:51 rubenwardy ok, that's a lie, I'm currently shitposting on reddit
19:51 rubenwardy but I was writing a class called that
19:52 adfeno rubenwardy: As a non-native English speaker, I always confuse "former" and "later", so by "former" you mean "minetest.write_json(tab)" ?
19:52 Krock former = 1st, latter = 2nd
19:52 rubenwardy former is before  =   minetest.serialize(tab)
19:52 rubenwardy latter is the later  = minetest.write_json(tab)
19:52 rubenwardy former,  beFore
19:52 rubenwardy latter, later
19:53 rubenwardy well, of those the latter is the more useful and correct way to remember
19:53 Vargos joined #minetest
19:55 adfeno Oh I see :D
20:06 galex-713 joined #minetest
20:10 FennecCode joined #minetest
20:10 HDMI_STECKDOSE joined #minetest
20:17 adfeno How do I make a new ItemStack but not add it to inventory, or how to refer to that recently added ItemStack? I want to add some metadata to the new ItemStack.
20:18 rubenwardy `local stack = ItemStack("default:dirt")`
20:22 tomracer joined #minetest
20:24 erlehmann joined #minetest
20:34 GreenDimond joined #minetest
20:34 scr267 joined #minetest
20:49 GreenXenith joined #minetest
20:58 calcul0n_ joined #minetest
20:59 turtleman joined #minetest
21:01 Soo_Slow joined #minetest
21:03 calcul0n joined #minetest
21:12 absurb joined #minetest
21:20 Foz joined #minetest
21:23 Krock joined #minetest
21:53 adfeno If ItemStack:set_metadata() is deprecated, how should I set metadata ?
21:57 sfan5 use the metadata object returned by get_meta()
21:57 rubenwardy ~book storage
21:57 rubenwardy !book storage
21:57 MinetestBot rubenwardy: Storage and Metadata - https://rubenwardy.com/minetest_modding_book//en/map/storage.html
21:58 rubenwardy specifically the meta data section
21:59 GreenXenith oh, IRC MinetestBot has that command now
21:59 GreenXenith :]
21:59 sfan5 it does since 2 years
21:59 rubenwardy it had it before MinetestBot on Discord existed, GreenXenith
21:59 GreenXenith damn ok
21:59 rubenwardy citation needed
22:00 GreenXenith let's fact check
22:00 GreenXenith darn
22:00 GreenXenith 6 months before
22:01 rubenwardy actually, it definitely had it first because I made the API for the IRC MinetestBot
22:01 rubenwardy the feed being https://rubenwardy.com/minetest_modding_book/sitemap.json
22:01 Ex joined #minetest
22:01 rubenwardy *API
22:02 adfeno hm, strange, for some reason the recipe I'm making works in regards to replacing the vessel/empty container with liquid/soup, but in the same nesting fails to set metadata just for every itemstring in the same group but one.
22:02 rubenwardy I need to fix that double slash at some point
22:02 rubenwardy adfeno: are you setting the stack back?
22:02 GreenXenith thankfully you gave the API a lot more functionality than IRC MB ever used
22:02 rubenwardy what callback are you in?
22:03 rubenwardy GreenXenith: the IRC bot uses all of it for searching, but doesn't display all of it
22:03 Extex joined #minetest
22:03 adfeno I'm trying to improve xdecor:cauldron, I'll give a paste link with my improvements so far
22:04 GreenXenith Hm, maybe I oughta take notes from MinetestBot IRC commands
22:12 adfeno rubenwardy: http://adfeno.mooo.com:8080/P%c3%bablico/Software/xdecor%202020-04-02.zip
22:12 adfeno The most significant change is in cooking.lua
22:12 adfeno Other files weren't touched
22:13 adfeno I meant /src/cooking.lua
22:13 adfeno I expect to take a soup from xdecor:cauldron
22:13 rubenwardy can't see any immediately obvious issues - have you tried using print statements to make sure things are called?
22:14 adfeno And that soup to carry a metadata called "container" containing the ItemString (string) of the original container.
22:16 fluxflux joined #minetest
22:21 adfeno rubenwardy: I did try sending some stuff to chat, particularly so far I printed the container (line 246), but for some reason, every soup that was not taken with xdecor:bowl returns nothing (while those taken with xdecor:bowl return this itemstring)
22:35 adfeno Hm, I think I found the bug
22:40 adfeno OK. That was solved, now the soup has the metadata related to  the container, regardless of the container used
22:40 Extex joined #minetest
22:43 adfeno Now I wonder, how to make the custom on_use function for minetest.register_craftitem("xdecor:bowl_soup", .. , work in such a way that the container is returned to the player inventory.
22:50 Extex joined #minetest
22:53 adfeno What does on_use should return?
22:56 Extex itemstack
22:56 adfeno Hm, OK
22:59 adfeno Strange, the on_use for the custom xdecor:bowl_soup I made doesn't seem to work, even if I put "return " before minetest.item_eat .
23:01 Extex Return has to be at the very end of the function
23:02 behalebabo adfeno: look up minetest.do_item_eat
23:02 behalebabo minetest.item_eat is a function that returns a function to be used for on_use
23:02 behalebabo https://github.com/minetest/minetest/blob/478e7532985320c5ddacc0280f77b67956715a65/builtin/game/item.lua#L503
23:15 adfeno Ah-ha! It worked :D
23:15 adfeno Thank you for everything :D

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