Luanti logo

IRC log for #minetest, 2022-06-17

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
5 more elements. Show/hide.
02:44 ghoti_ I see on https://dev.minetest.net/minetest.get_player_by_name that this method is proposed for deletion. It seems to be used all over the place, though. What should we be using to get a player object instead? And will it work with players who are not currently logged in?
02:46 MTDiscord <Jonathon> "method is proposed for deletion" i dont see this
02:47 Kilroy joined #minetest
02:47 MTDiscord <Jonathon> anyways the whole dev wiki api methods docs are proposed for deletion due to lua_api.txt super seeding it, and it generally being wrong, missing information, etc
02:48 ghoti Jonathon, do you not see the two red boxes at the top of the page? First one says this is "unofficial", the second that it is proposed for deletion. It is also in the "Proposed for deletion" category, presumably because of the {{UnofficialLua}} included at the top.
02:49 MTDiscord <Jonathon> yes, i see them, your just misinterpreting them
02:49 ghoti Oh, my bad. How?
02:49 MTDiscord <Jonathon> "anyways the whole dev wiki api methods docs are proposed for deletion due to lua_api.txt super seeding it, and it generally being wrong, missing information, etc"
02:50 ghoti Okay, but that wasn't clear from reading the wiki. "This page has been proposed for deletion for the following reason" doesn't mention "the whole wiki". :)
02:51 ghoti So .. my goal here was to improve the "jail" mod so that it would be possible to unjail players who were no longer online. But I fell down a small rabbit hole.
26 more elements. Show/hide.
15:09 tzf Hello/ guys !  I want to make my own mods on GNU/Linux... can I use Inkscape? or am I forced to use Blender ?
15:09 rubenwardy inkscape and blender are very very different tools
15:10 rubenwardy inkscape is for 2d vector art, blender is for 3d models and animations
15:10 rubenwardy you don't really tend to use vector art in minetest - usually blender, in which case you can use gimp/aseprite/libresprite
15:11 rubenwardy and most of modding is Lua coding, where you use VSCode
15:11 rubenwardy *you use a code editor, like VSCode
15:12 rubenwardy (I use VSCodium, it removes the MS-ness)
15:12 tzf well thank you
15:13 rubenwardy oops
15:13 tzf yep
15:13 rubenwardy you don't really tend to use vector art in minetest - usually pixel art, in which case you can use gimp/aseprite/libresprite
15:14 tzf well
15:15 tzf i will search for tutorials then as we me and my son are very new in Blender... one tutorial with blender is available on YouTube
15:15 tzf my son wants to make fishing rods
15:16 rubenwardy there are lots of good blender tutorials, you don't need to use a Minetest-specific one
15:16 rubenwardy to learn blender that is
15:16 tzf yes
15:16 proller joined #minetest
15:18 tzf thanks lot
15:39 independent56 joined #minetest
15:51 MTDiscord <Meowie Gamer> wait
15:51 MTDiscord <Meowie Gamer> there's an irc channel?
15:52 ROllerozxa_ #minetest on libera.chat, join us sometime
16:05 jluc joined #minetest
16:17 MTDiscord <Meowie Gamer> ok
16:19 Meowie_Gamer joined #minetest
16:19 Meowie_Gamer aaand im in
16:19 Meowie_Gamer this strangley looks familliar
16:20 Meowie_Gamer but its still cool
16:22 Meowie_Gamer anyways
16:22 Meowie_Gamer ima start working on installing debian later
10 more elements. Show/hide.
18:23 Meowie_Gamer aaand ive setup hexchat
18:38 ROllerozxa *waves*
18:42 Meowie_Gamer_ joined #minetest
18:42 Meowie_Gamer_ ho
18:42 Meowie_Gamer_ hi*
18:49 x2048 joined #minetest
18:52 MinetestBot [git] sfan5 -> minetest/minetest: Fix updating glow on entities a83d81f https://github.com/minetest/minetest/commit/a83d81ff45fda9a93a7e35f8921e826069c843d0 (2022-06-17T18:50:24Z)
4 more elements. Show/hide.
20:20 Meowie_Gamer im building a tower
20:23 Krock the babel one?
20:23 Meowie_Gamer ?
20:23 Meowie_Gamer no
20:23 Meowie_Gamer im building a tower to look out from on minetest
20:24 Meowie_Gamer im also building it in singleplayer
20:36 sec0nd joined #minetest
20:44 ghoti So just to be clear, the "Proposed for deletion" at the top of https://dev.minetest.net/minetest.get_player_by_name is just for the documentation, not for the method itself?
20:44 rubenwardy yes
20:44 sfan5 yes
20:45 ghoti Thank you. That was unclear to me. :)
20:45 sfan5 for the reference that really counts read lua_api.txt
20:45 sfan5 tho it may have less examples or explanations
20:47 ghoti I have noticed that too. What I was hoping to do was figure out how to modify the jail mod so that players who are not logged in could be jailed. It seems that get_player_by_name only works for players online.
20:47 ghoti How would I go about gathering a player object for a player who is offline?
20:48 FreeFull joined #minetest
20:48 ghoti Or is an ObjectRef only really possible for a player who is online because it depends on things not stored in the db?
20:53 sfan5 yes
20:54 sfan5 in principle you could change up a bunch of stuff even for offline players but the engine doesn't implement that and if it did it'd probably not work via the ObjectRef interface
20:54 Meowie_Gamer is there a way to hide playernames
20:55 Meowie_Gamer nevermind
20:55 ghoti I mean, I guess I could rewrite /unjail so that it manually modifies JSON data in mod_storage/jail, but that would be wrong; who knows if storage is backed by something else in the future.
20:57 sfan5 uh
20:57 sfan5 mod storage is not bound to an ObjectRef
20:57 sfan5 so you should be able to write that fine?
20:57 rubenwardy mod_storage json has already been replaced by SQLite, but you don't need to access directly - mod storage is always available
4 more elements. Show/hide.
21:09 ghoti Okay, I think I understand what I need to do. Thanks, guys.
12 more elements. Show/hide.

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