Minetest logo

IRC log for #minetest, 2022-07-31

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

All times shown according to UTC.

Time Nick Message
00:08 skunky3 sfan5, thanks for the info, i dont really know how to do much with that but will look into it sometime
01:05 Lesha_Vel joined #minetest
01:35 Yad wallabra: Yeah there are a bunch of games which could benefit from that, especially Dokimi's Exile, on which I'm something of a developer.
01:35 Yad wallabra: because there we have a new character name generated each time re-spawn
01:58 lunearity_floss[ joined #minetest
01:58 lunearity_floss[ left #minetest
03:08 Juri left #minetest
03:15 stormchaser3000 joined #minetest
03:37 stormchaser3000 joined #minetest
03:37 wallabra joined #minetest
04:00 MTDiscord joined #minetest
04:45 Verticen joined #minetest
05:17 wallabra joined #minetest
05:32 Antimattur joined #minetest
05:39 calcul0n joined #minetest
06:02 cranezhou joined #minetest
06:19 TomTom joined #minetest
06:22 definitelya joined #minetest
08:18 behalebabo joined #minetest
08:19 specing_ joined #minetest
08:30 orwell96 joined #minetest
08:35 Krock https://i.redd.it/6h69q8qp6jd91.jpg
08:37 MTDiscord <ROllerozxa> hahaha
08:37 MTDiscord <ROllerozxa> this was posted in the minetest discord server a while back
08:37 MTDiscord <ROllerozxa> what's funny is not only how it starts with one but how there's an assumedly off-by-one error at the end as well
09:04 Warr1024 joined #minetest
09:05 bodiccea joined #minetest
09:08 Wuzzy joined #minetest
09:19 bodiccea joined #minetest
09:34 Goobax[m]1 AFCM tes la
09:52 bodiccea joined #minetest
10:03 sparky4 joined #minetest
10:46 Whanake joined #minetest
10:47 Whanake Hey guys! I just found out about this project from AntVenom's video, and I am so ashamed I have only just found out about this project! I use a 100% open-source workflow/environment for music producing and most of my content creation, so to find out about this incredible FOSS project is such a godsend!
11:01 ecraven hey ;) I get hangs and ultimately crashes on Batocera, using the flatpack of minetest, with some warnings about the i915 driver... I've tried turning down the graphics settings, but that just makes it take 1 minute instead of 15 seconds to crash :-/ anything I can do about this? or do I just have to get a better GPU
11:11 MTDiscord <!~ 𝞿 Λtlantλs~!> Hi, It's weird, Minetest is very light, I even run it on intel atom, maybe you can send a picture of the crash if you run it with the terminal
11:12 MTDiscord <!~ 𝞿 Λtlantλs~!> Welcome Whanake, better late than never !
11:13 definitelya Atlantas: or post debug.txt
11:14 MTDiscord <!~ 𝞿 Λtlantλs~!> Yes also ^^
11:43 Goobax[m]1 cc
11:48 Taoki joined #minetest
11:57 sfan5 <GreenXenith> all I need is a blank func yeah? <- you absolute do need more than a stub
12:16 CringyBoi42069 joined #minetest
12:30 skunky3 joined #minetest
12:47 natewrench joined #minetest
12:59 bodiccea joined #minetest
13:00 WhiskeyPotato joined #minetest
13:17 MinetestBot [git] SmallJoker -> minetest/minetest: HUD: Fix wrong minimum scale since 051181f c14b753 https://github.com/minetest/minetest/commit/c14b7536a460899701f7694dbf95225a39307b51 (2022-07-31T12:57:19Z)
13:20 MinetestBot [git] rollerozxa -> minetest/minetest: Fix Android blank screen (#12604) de509d0 https://github.com/minetest/minetest/commit/de509d05e629566daa6953b4845077e8ad07d98a (2022-07-31T13:18:04Z)
13:20 MinetestBot [git] jeremyshannon -> minetest/minetest: Apply NetBSD string conversion workaround to OpenBSD as well (#12618) 95d7fcb https://github.com/minetest/minetest/commit/95d7fcb9499d7f51a660847a5b5671925206883f (2022-07-31T13:18:19Z)
13:20 MinetestBot [git] grorp -> minetest/minetest: Fix rotation of falling facedir nodes (#12587) 70b71c5 https://github.com/minetest/minetest/commit/70b71c501332521b05173bc8e1d505720d0187c5 (2022-07-31T13:18:29Z)
13:25 lemonzest joined #minetest
13:43 orwell96 joined #minetest
14:06 natewrench joined #minetest
14:09 Fixer joined #minetest
14:32 Magnetar joined #minetest
14:38 Talkless joined #minetest
14:43 Yigidoo joined #minetest
14:43 Yigidoo Hello
14:43 rubenwardy hi
14:43 Yigidoo I really don't understand what Minetest is about
14:44 Yigidoo like what is different from MC?
14:44 Yigidoo joined #minetest
14:45 Yigidoo left #minetest
14:47 wallabra joined #minetest
14:48 MTDiscord <TMcSquared> It’s a game engine. A baseline for content creation rather than being an actual game.
14:48 rubenwardy (they've left)
14:48 MTDiscord <TMcSquared> Ah well I tried XD
14:55 orwell96 joined #minetest
15:04 MAGNETAR joined #minetest
15:24 TheAltHacker joined #minetest
15:28 MAGNETAR joined #minetest
15:29 MAGNETAR joined #minetest
15:30 MAGNETAR joined #minetest
15:46 arielaw[m] What would be a straightforward way to get a handle to the "current" player? Actually, does the concept of "current player" even makes sense in multiplayer worlds?
15:48 MTDiscord <ROllerozxa> depends on what you want to do, if you're doing it in a globalstep or after function you'd iterate over get_connected_players()
15:49 MTDiscord <ROllerozxa> otherwise for e.g. node and item callbacks there may be a player argument is a handle of the relevant player if applicable
15:49 MTDiscord <ROllerozxa> s/is a handle/, which is a handle/g
15:50 rubenwardy arielaw[m]: there is no current player, mods are multiplayer by default
15:51 rubenwardy mods run on the server-side. Even in singleplayer (the server only allows one player to join)
15:51 rubenwardy As Rol said, you're often passed a name or player objectref in a callback
15:51 rubenwardy so that's the "current" player in that context
15:51 rubenwardy but you can also use `minetest.get_connected_player()`
15:55 sfan5 this sounds like advice the modding book should have
15:56 MTDiscord <MisterE> /s/minetest.get_connected_players()
15:56 rubenwardy yeah, working that book this weekend
15:57 arielaw[m] Ahh that makes sense! Thanks guys
16:02 ___nick___ joined #minetest
16:26 DanielMaloschik[ joined #minetest
16:42 ___nick___ joined #minetest
16:45 ___nick___ joined #minetest
16:48 orwell96_ joined #minetest
17:25 Yad rubenwardy : I'm struggling a bit with getting started using GreenXenith 's lua voxel area entities mod... I followed the instructions from the mod's `README.md`, see: https://pastebin.com/zN9aYNER
17:26 ecraven MTDiscord: it seems to be a problem specifically with the GPU, cpu and memory are fine
17:26 ecraven I'll try to get some decent sort of log output, this is all running the flatpack inside batocera, I need to find my way around there...
17:27 MTDiscord <GreenXenith> Not sure why you keep asking ruben 🤔
17:27 rubenwardy :D
17:27 ecraven !~ 𝞿 Λtlantλs~! not sure how to actually mention you by name ;)
17:29 MTDiscord <GreenXenith> Yad: I suspect there's a vector conflict with the new version
17:33 MTDiscord <GreenXenith> Hmm.. or not
17:33 MTDiscord <GreenXenith> Oh duh
17:33 MTDiscord <GreenXenith> Yad: change your variable name. I need to fix the example
18:06 MinetestBot [git] waxtatect -> minetest/minetest: Translated using Weblate (French) a4b1e0d https://github.com/minetest/minetest/commit/a4b1e0d124bcaaa4a052648914e5e7f9032379d7 (2022-07-31T17:35:57Z)
18:06 MinetestBot joined #minetest
18:23 Guest516 joined #minetest
18:25 cation joined #minetest
18:38 FreeFull joined #minetest
18:48 proller joined #minetest
19:04 stormchaser3000 joined #minetest
19:10 proller joined #minetest
19:25 Yad joined #minetest
19:37 natewrench joined #minetest
19:46 Yad GreenXenith: Hmm, I'm still getting .`/mods/lvae/init.lua:236: attempt to index a nil value` when I change the variable name.
19:48 MTDiscord <GreenXenith> 236? That line has nothing on it
19:48 Yad GreenXenith: For me line 236 is `return minetest.add_entity(pos, "lvae:lvae"):get_luaentity()`
19:49 MTDiscord <GreenXenith> is your version modified?
19:50 Yad Must be. I think I removed the blank lines between functions. Sorry, I'll get a fresh copy from your repo.
19:51 Yad GreenXenith: `/mods/lvae/init.lua:241: attempt to index a nil value`
19:51 MTDiscord <GreenXenith> Thats better
19:51 Yad :D
19:51 MTDiscord <GreenXenith> Not that I know why its happening
19:51 Yad heheh
19:52 Yad GreenXenith: I'm using the thing where I'm using your mod as a dependency of my mod.
19:53 MTDiscord <GreenXenith> I just did it as a //lua command and it worked fine
19:53 MTDiscord <GreenXenith> Are you overwriting the lvae or LVAE variable anywhere?
19:54 Yad I'll give that a try, thanks. :)
19:54 Yad I don't think I am.
19:54 MTDiscord <GreenXenith> I would recommend print(dump(lvae, LVAE))
19:54 MTDiscord <GreenXenith> er
19:54 MTDiscord <GreenXenith> print(dump(lvae), dump(LVAE))
19:59 MinetestBot [git] x2048 -> minetest/minetest: Use legacy image implementation (no NNAA filter) when not using 9-sli… 839600e https://github.com/minetest/minetest/commit/839600ed703ccffbdb71bd2f04fb379d0920da95 (2022-07-31T19:57:13Z)
19:59 Yad GreenXenith: Yeah `minetest.register_on_joinplayer(function(player) minetest.chat_send_all(dump(lvae), dump(LVAE)) end)` prints `nil`
20:06 Verticen joined #minetest
20:06 MTDiscord <GreenXenith> on both?
20:09 MTDiscord <GreenXenith> actually lvae should be nil
20:09 MTDiscord <GreenXenith> LVAE is the only external facing method
20:10 MTDiscord <GreenXenith> lvae is an entity prototype, LVAE is supposed to return the object itself
20:10 MTDiscord <GreenXenith> Yad: chat_send_all only takes one param
20:10 MTDiscord <GreenXenith> print takes any
20:11 MTDiscord <GreenXenith> So chat send wont show your dump(LVAE)
20:11 MTDiscord <GreenXenith> Its more important to find out if LVAE is nil or not
20:17 Yad GreenXenith: Hmm, are you saying minetest.print exists? I don't think it does.
20:17 jpox joined #minetest
20:18 Yad Either way, I've simply separated into two chat_send_all calls, and with dump(lvae) I get `nil` and with dump(LVAE) I get `<function>` in the chat.
20:27 appguru joined #minetest
20:28 MTDiscord <GreenXenith> Yad: No, I mean print
20:28 MTDiscord <GreenXenith> The lua function
20:28 MTDiscord <GreenXenith> it sends output to the terminal
20:28 MTDiscord <GreenXenith> But anyway, that means LVAE does in fact exist
20:29 MTDiscord <GreenXenith> Next id try testing it in a vanilla MTG world
20:29 Yad GreenXenith: Ah yes, apparently print() works it simply puts quotation marks around the output
20:30 Yad But doesn't seem to like the double parameters either I had to use two print calls to get "nil" and "function" instead of just "nil"
20:31 Yad GreenXenith: Ohhh, does LVAE depend on anything from Minetest Game? Because I started with a blank game. There's basically nothing in this game but the bare minimum.
20:42 natewrench joined #minetest
20:48 sys4 joined #minetest
20:49 est31 joined #minetest
20:55 est31 joined #minetest
21:00 MTDiscord <GreenXenith> Yad: It doesnt, but I know it works there
21:00 MTDiscord <GreenXenith> I simply dont trust your "blank game", since I cant see it
21:02 Yad GreenXenith: A fair point, indeed. Similar to a checksum. :)
21:02 Yad GreenXenith: And your mod is unavailable on ContentDB, correct?
21:03 MTDiscord <GreenXenith> Correct
21:04 Yad GreenXenith: So is your use-case having me put the mod in the mods folder for all games?
21:05 sys4 joined #minetest
21:07 MTDiscord <GreenXenith> Yes
21:07 MTDiscord <GreenXenith> And testing it with a test mod
21:08 Yad GreenXenith: Where do I put the print command?
21:08 MTDiscord <GreenXenith> in a mod
21:08 MTDiscord <GreenXenith> but
21:08 Yad Ahha
21:08 Yad the test mod, i see what you mean
21:08 MTDiscord <GreenXenith> not much reason to print, we know it exists
21:08 MTDiscord <GreenXenith> better to just test the function itself
21:09 MTDiscord <GreenXenith> like actually spawning the LVAE
21:09 Yad okay :)
21:10 Yad GreenXenith: I get `-!- Invalid command: LVAE({x`
21:10 MTDiscord <GreenXenith> Did you depend on it in the test mod?
21:11 Yad I didn't make a test mod, because you said just run the command. But, I don't think there's a chat command in your mod.
21:11 Yad So I'll have to call this from the test mod.
21:11 Yad Which is probably what you were trying to tell me. xD
21:11 Yad To just skip the print part.
21:15 MTDiscord <GreenXenith> actually I do have a test command
21:15 MTDiscord <GreenXenith> I dont remember if its still in the mod though
21:15 MTDiscord <GreenXenith> maybe not
21:16 Yad GreenXenith: Well your zone-of-control (known codebase, i.e. Minetest Game) seems to be working more as expected
21:17 Yad Instead of just `<function>` I get the whole bunch of lua-entity table data
21:17 MTDiscord <GreenXenith> There are no MTG deps so this is odd
21:17 Yad Indeed.
21:18 Yad So I suppose I shall be experimenting with your mod using Minetest Game for the time being. :)
21:22 MTDiscord <GreenXenith> Yad: On 241 in your game version of lvae, could you try separating the get_luaentity from the add_entity
21:22 MTDiscord <GreenXenith> like saving add_entity to a variable, and returning var:get_luaent
21:23 Yad GreenXenith: Sure, happy to help with debugging :)
21:24 Yad Changing `return minetest.add_entity(pos, "lvae:lvae"):get_luaentity()` into `local this_entity = minetest.add_entity(pos, "lvae:lvae")   return this_entity:get_luaentity()`
21:24 MTDiscord <GreenXenith> cool
21:27 Yad Yeah that modification to the code still outputs `nil` and `<function>` without a function body
21:27 Yad I mean without a lua-entity table
21:27 Yad GreenXenith
21:28 Yad It's difficult to say what I might have done to cause that.
21:28 Yad But it does seem very odd since there are no Minetest Game dependencies.
21:28 MTDiscord <GreenXenith> Sorry what?
21:28 Yad I'm saying I get the same results as before.
21:28 MTDiscord <GreenXenith> Can you try running it?
21:28 Yad I did.
21:28 MTDiscord <GreenXenith> I want to know which line it crashes on
21:29 Yad It doesn't crash anymore, it just produces an empty lua entity?
21:29 MTDiscord <GreenXenith> in your game
21:29 Yad Correct.
21:29 MTDiscord <GreenXenith> so now it works?..
21:29 MTDiscord <GreenXenith> just changing those 2 lines all of a sudden made it work?
21:29 Yad In Minetest Game it works well, but in my game it puts `nil` and `<function>` in the chat.
21:30 Yad Could there be some basic dependency such as in the mapgen aliases?
21:31 MTDiscord <GreenXenith> Ok I dont mean the chat thing
21:31 wallabra joined #minetest
21:31 MTDiscord <GreenXenith> That debug isnt useful any more
21:31 Yad Indeed. :)
21:32 Yad afk
21:33 MTDiscord <GreenXenith> Yad: When you get back, I would like to know if spawning a LVAE still crashes in your game.
21:37 calcul0n joined #minetest
21:50 WhiskeyPotato joined #minetest
22:03 specing joined #minetest
22:11 op17 joined #minetest
22:24 wallabra joined #minetest
22:34 est31 joined #minetest
22:34 panwolfram joined #minetest
22:48 est31 joined #minetest
23:06 aidalgol I'm getting errors on the console log about the sound manager being unable to find menu theme sounds.  Where should "minetest_game/menu/theme" come from, because it's not in the minetest_game repo?
23:09 sparky4 joined #minetest
23:25 AgentePatogeno[m left #minetest
23:53 Lesha_Vel joined #minetest
23:57 Yad GreenXenith: I don't think it does, but I don't feel like I have enough control to speak scientifically.
23:58 MTDiscord <GreenXenith> Does running LVAE(pos) still crash like it did before?
23:59 MTDiscord <GreenXenith> (on your game I mean
23:59 MTDiscord <GreenXenith> )
23:59 Yad I don't think so, but would you like me to make a private GitHub repo so you can see what I'm doing?

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