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: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 08:35 Krock https://i.redd.it/6h69q8qp6jd91.jpg 08:37 MTDiscord hahaha 08:37 MTDiscord this was posted in the minetest discord server a while back 08:37 MTDiscord 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:34 Goobax[m]1 AFCM tes la 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 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 Welcome Whanake, better late than never ! 11:13 definitelya Atlantas: or post debug.txt 11:14 MTDiscord Yes also ^^ 11:43 Goobax[m]1 cc 11:57 sfan5 all I need is a blank func yeah? <- you absolute do need more than a stub 13:17 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: HUD: Fix wrong minimum scale since 051181f 13c14b753 https://github.com/minetest/minetest/commit/c14b7536a460899701f7694dbf95225a39307b51 (152022-07-31T12:57:19Z) 13:20 MinetestBot 02[git] 04rollerozxa -> 03minetest/minetest: Fix Android blank screen (#12604) 13de509d0 https://github.com/minetest/minetest/commit/de509d05e629566daa6953b4845077e8ad07d98a (152022-07-31T13:18:04Z) 13:20 MinetestBot 02[git] 04jeremyshannon -> 03minetest/minetest: Apply NetBSD string conversion workaround to OpenBSD as well (#12618) 1395d7fcb https://github.com/minetest/minetest/commit/95d7fcb9499d7f51a660847a5b5671925206883f (152022-07-31T13:18:19Z) 13:20 MinetestBot 02[git] 04grorp -> 03minetest/minetest: Fix rotation of falling facedir nodes (#12587) 1370b71c5 https://github.com/minetest/minetest/commit/70b71c501332521b05173bc8e1d505720d0187c5 (152022-07-31T13:18:29Z) 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:48 MTDiscord 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 Ah well I tried XD 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 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 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 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 /s/minetest.get_connected_players() 15:56 rubenwardy yeah, working that book this weekend 15:57 arielaw[m] Ahh that makes sense! Thanks guys 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 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 Yad: I suspect there's a vector conflict with the new version 17:33 MTDiscord Hmm.. or not 17:33 MTDiscord Oh duh 17:33 MTDiscord Yad: change your variable name. I need to fix the example 18:06 MinetestBot 02[git] 04waxtatect -> 03minetest/minetest: Translated using Weblate (French) 13a4b1e0d https://github.com/minetest/minetest/commit/a4b1e0d124bcaaa4a052648914e5e7f9032379d7 (152022-07-31T17:35:57Z) 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 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 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 Thats better 19:51 Yad :D 19:51 MTDiscord 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 I just did it as a //lua command and it worked fine 19:53 MTDiscord 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 I would recommend print(dump(lvae, LVAE)) 19:54 MTDiscord er 19:54 MTDiscord print(dump(lvae), dump(LVAE)) 19:59 MinetestBot 02[git] 04x2048 -> 03minetest/minetest: Use legacy image implementation (no NNAA filter) when not using 9-sli… 13839600e https://github.com/minetest/minetest/commit/839600ed703ccffbdb71bd2f04fb379d0920da95 (152022-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 MTDiscord on both? 20:09 MTDiscord actually lvae should be nil 20:09 MTDiscord LVAE is the only external facing method 20:10 MTDiscord lvae is an entity prototype, LVAE is supposed to return the object itself 20:10 MTDiscord Yad: chat_send_all only takes one param 20:10 MTDiscord print takes any 20:11 MTDiscord So chat send wont show your dump(LVAE) 20:11 MTDiscord 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: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 `` in the chat. 20:28 MTDiscord Yad: No, I mean print 20:28 MTDiscord The lua function 20:28 MTDiscord it sends output to the terminal 20:28 MTDiscord But anyway, that means LVAE does in fact exist 20:29 MTDiscord 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. 21:00 MTDiscord Yad: It doesnt, but I know it works there 21:00 MTDiscord 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 Correct 21:04 Yad GreenXenith: So is your use-case having me put the mod in the mods folder for all games? 21:07 MTDiscord Yes 21:07 MTDiscord And testing it with a test mod 21:08 Yad GreenXenith: Where do I put the print command? 21:08 MTDiscord in a mod 21:08 MTDiscord but 21:08 Yad Ahha 21:08 Yad the test mod, i see what you mean 21:08 MTDiscord not much reason to print, we know it exists 21:08 MTDiscord better to just test the function itself 21:09 MTDiscord like actually spawning the LVAE 21:09 Yad okay :) 21:10 Yad GreenXenith: I get `-!- Invalid command: LVAE({x` 21:10 MTDiscord 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 actually I do have a test command 21:15 MTDiscord I dont remember if its still in the mod though 21:15 MTDiscord 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 `` I get the whole bunch of lua-entity table data 21:17 MTDiscord 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 Yad: On 241 in your game version of lvae, could you try separating the get_luaentity from the add_entity 21:22 MTDiscord 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 cool 21:27 Yad Yeah that modification to the code still outputs `nil` and `` 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 Sorry what? 21:28 Yad I'm saying I get the same results as before. 21:28 MTDiscord Can you try running it? 21:28 Yad I did. 21:28 MTDiscord 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 in your game 21:29 Yad Correct. 21:29 MTDiscord so now it works?.. 21:29 MTDiscord 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 `` in the chat. 21:30 Yad Could there be some basic dependency such as in the mapgen aliases? 21:31 MTDiscord Ok I dont mean the chat thing 21:31 MTDiscord That debug isnt useful any more 21:31 Yad Indeed. :) 21:32 Yad afk 21:33 MTDiscord Yad: When you get back, I would like to know if spawning a LVAE still crashes in your game. 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: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 Does running LVAE(pos) still crash like it did before? 23:59 MTDiscord (on your game I mean 23:59 MTDiscord ) 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?