Minetest logo

IRC log for #minetest, 2021-04-02

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

All times shown according to UTC.

Time Nick Message
00:40 redneonglow joined #minetest
00:45 redneonglow joined #minetest
00:58 Sven_vB joined #minetest
01:15 redneonglow joined #minetest
01:16 redneonglow joined #minetest
01:24 Hawk777 joined #minetest
01:32 specing_ joined #minetest
02:12 Surfer2011_ joined #minetest
02:16 DivideByZero joined #minetest
03:03 dennisjenkins joined #minetest
04:00 MTDiscord joined #minetest
04:48 DivideByZero Is there a CSM that lets me send a command to a game on join?  Example when I join my server I type /immortal each time, but I would like to automate that process. (just for me though, not other players)
05:02 riff-IRC joined #minetest
05:21 DivideByZero I'm attempting to make my own mod to do this since I didn't find a solution already made.  Is there a command for minetest.register_on_connect to make it detect when I am connected to the server?
05:42 Flabb joined #minetest
05:50 TomTom joined #minetest
06:07 MTDiscord <jordan4ibanez> What exactly does "ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '??' in callback luaentity_Step(): createSector(): pos. over max mapgen limit" mean? I've been trying to replicate it and I can't seem to no matter what I do
06:13 absurb_ joined #minetest
06:44 MTDiscord <Jordach> it seems like the entity is being placed beyond what the mapgen is either being limited to, or its default setting
06:46 DivideByZero How do I send a message to minetest chat? minetest.send_chat_message('Hello World!') doesn't seem to work.
06:46 DivideByZero specifically i'm looking to send a / command
06:49 DivideByZero this doesn't work either, even though the modding books suggest it: minetest.chat_send_all("Hello World!")
06:49 DivideByZero Are the docs all out of date and there is a new syntax for this?
06:52 hlqkj joined #minetest
06:54 rubenwardy Chat send all is correct
06:55 rubenwardy When are you calling it? You should call only the player is online
06:55 rubenwardy Calling it when players are offline is fine, but there will be no one to see it
06:56 rubenwardy So use a callback rather than running during load time
06:58 MTDiscord <Danil_2461> rubenwardy becomes a bot
06:59 rubenwardy 🙄
07:00 DivideByZero Ruben I'm trying to get my script to send the chat command /immortal
07:01 DivideByZero minetest.chat_send_all("/immortal")
07:02 DivideByZero send_chat_all (a nil value)
07:04 DivideByZero I also tried this: minetest.run_server_chatcommand('/immortal', 'on')
07:04 DivideByZero I'm calling it from a client side script
07:05 DivideByZero I'm practicing with it in the .dte
07:05 MTDiscord <Danil_2461> is there a way to supply a custom texture for the blocks with drawtype = "allfaces_optional" if the leaves type in settings is set to opaque?
07:09 rubenwardy Oh right, the client side API is different from the server side
07:09 rubenwardy Also, the slash is not part of the chat command name
07:09 rubenwardy So run server chatcommand without the slash
07:09 rubenwardy The modding book only documents the server API
07:09 DivideByZero minetest.run_server_chatcommand('/immortal', 'on')
07:10 DivideByZero like that?
07:10 rubenwardy The client API is unstable
07:10 DivideByZero oops
07:10 rubenwardy No, you still have a slash
07:10 DivideByZero minetest.run_server_chatcommand('immortal', 'on')
07:10 rubenwardy Yeah
07:10 DivideByZero ill give it try
07:10 MTDiscord <Danil_2461> wait if you add a slash doesnt that mean youd have to type "//immortal on"
07:10 rubenwardy You should also make sure you've connected by this point. The way to tell is checking for minetest.localplayer
07:10 DivideByZero it doesnt error, but the command isn't being run.
07:10 DivideByZero ok
07:18 smugler5 joined #minetest
07:28 FeXoR joined #minetest
07:28 DivideByZero This is what I have so far. It's not giving any errors, but it's not working either:  https://pastebin.com/h2y8P92K
07:38 search_social joined #minetest
08:00 ShadowNinja joined #minetest
08:05 Flabb joined #minetest
08:12 nuala joined #minetest
08:15 unixbsd On Windows10, does Minetest running on Windows 10 can be played like a XBOX, with gamepads + a 4 player split screen ?
08:33 Fixer joined #minetest
08:48 galex-713 joined #minetest
09:31 sfan5 no
09:56 calcul0n_ joined #minetest
09:58 proller joined #minetest
10:06 MTDiscord <Danil_2461> no
10:16 hlqkj joined #minetest
10:33 galex-713 joined #minetest
10:47 Splyncryth_ joined #minetest
10:49 calcul0n__ joined #minetest
10:54 smugler5 joined #minetest
11:42 hlqkj joined #minetest
11:51 proller joined #minetest
12:02 Peppy joined #minetest
12:21 SwissalpS joined #minetest
12:40 MinetestBot [git] nerzhul -> minetest/minetest: fix(ci): ensure we build on docker only modifications 8878367 https://git.io/JY6Bj (2021-04-02T12:40:22Z)
12:40 MinetestBot [git] nerzhul -> minetest/minetest: fix(docker): reduce the number of required libraries on build 5de8497 https://git.io/JY6Re (2021-04-02T12:40:22Z)
12:40 MinetestBot [git] nerzhul -> minetest/minetest: fix: use irrlicht fork instead of the standard library 78da79b https://git.io/JY6Rv (2021-04-02T12:40:22Z)
12:40 MinetestBot [git] nerzhul -> minetest/minetest: fix: don't send the whole local context to the docker image c4b048f https://git.io/JY6Rf (2021-04-02T12:40:22Z)
13:00 olliy joined #minetest
13:23 leo_rockway joined #minetest
13:25 Sven_vB joined #minetest
13:30 kamdard joined #minetest
13:32 specing_ joined #minetest
13:42 VanessaE repeating from earlier: am I the only one for whom server favorites aren't working anymore? (specifically, they are either not being saved, or just not appearing at the top of the list) -- 5.4.0 and 5.5.0-dev (024d47e0).
13:44 expert975 joined #minetest
13:44 sfan5 works for me
13:45 MTDiscord <Jonathon> works for me
13:45 expert975 Is the base game the intended experience or am I supposed to have mods to play?
13:45 MTDiscord <Jonathon> if base game == mtg, then you should really play with mods
13:46 expert975 MTDiscord: what's "mtg"?
13:46 sfan5 in that sense the base game (Minetest Game) is not the "intended experience"
13:46 MTDiscord <Jonathon> mtg == minetest game
13:46 MTDiscord <Jonathon> mte == minetest engine
13:46 sfan5 you should give mods and other games a try
13:47 MTDiscord <Jonathon> ^
13:47 MTDiscord <Jonathon> content.minetest.net if you havent found it yet for a decent selection of mods
13:48 VanessaE sfan5: how can I diagnose it?
13:48 sfan5 hm
13:48 sfan5 if you temporarily move your favoriteservers.json away, does it work?
13:48 VanessaE where's that file located?
13:48 VanessaE (this is a global install so I'd assume ~/.minetest)
13:49 sfan5 should be .minetest/client/serverlist/favoriteservers.json
13:50 VanessaE there is no ~/.minetest/client dir.
13:51 VanessaE ownership and permissions on ~/.minetest are correct
13:51 sfan5 surely that file must be somewhere
13:51 sfan5 I only have a run_in_place install so I don't know the exact location
13:52 VanessaE vanessa@rainbird:~$ find /home/vanessa/|grep favoriteservers.json
13:52 VanessaE vanessa@rainbird:~$
13:52 VanessaE (no results)
13:52 VanessaE (yeah I know I didn't have to go through grep.  force of habit)
13:53 sfan5 https://github.com/minetest/minetest/blob/5.4.0/builtin/mainmenu/serverlistmgr.lua#L93-L109
13:53 sfan5 ¯\_(ツ)_/¯
13:54 VanessaE no reference to serverlist_file in my .conf
13:54 * VanessaE tries moving .minetest out of the way
13:55 VanessaE vanessa@rainbird:~$ ~/Scripts/run-Minetest.sh
13:55 VanessaE 2021-04-02 09:55:12: ERROR[Main]: Could not read configuration from "/home/vanessa/.minetest/minetest.conf"
13:55 VanessaE seriously?
13:55 sfan5 the older name was favoriteservers.txt but if you've ever used 5.4.0 you shouldn't have that
13:55 VanessaE oh wait, my script explicitly specifies a config file.
13:56 erstazi find $HOME -iname "favoriteservers*"
13:58 VanessaE ok, empty ~/.minetest, fresh new config (made no changes)..  started, connected to one of my servers.
13:58 VanessaE vanessa@rainbird:~$ find $HOME -iname "favoriteservers*"
13:58 VanessaE no results.
13:58 VanessaE (after quitting)
13:59 erstazi Did you install minetest through snap or something?
13:59 sfan5 hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
13:59 VanessaE no, compiled and installed normally.
13:59 sfan5 try mkdir ~/.minetest/client/serverlist and see if it works
13:59 VanessaE vanessa@rainbird:~$ find $HOME -iname "favoriteservers*"
13:59 VanessaE vanessa@rainbird:~$ ls .minetest
13:59 VanessaE debug.txt  minetest.conf
13:59 VanessaE vanessa@rainbird:~$ which minetest
13:59 VanessaE /usr/bin/minetest
13:59 VanessaE so that much is correct.
14:00 VanessaE sfan5: mkdir -p, incidentally.
14:01 VanessaE ah HAH
14:01 VanessaE sfan5: creating that dir fixed itr.
14:01 VanessaE -r
14:01 sfan5 we have a bug then
14:01 VanessaE so evidently MT fails to create it.  probably assumes Run-in-place?
14:01 VanessaE or
14:02 sfan5 I think it doesn't try at all
14:02 VanessaE more precisely, it probably assumes to use the source dir's client/ dir
14:02 VanessaE (which IS present there, but well, that's useless if you're using a global install ;) )
14:05 sfan5 hm it calls fs::CreateAllDirs before though so ...
14:11 VanessaE well considering it created .minetest after I moved my usual out of the way, that part at least gets *started*
14:13 sfan5 aha the sandbox prevents the directory from being created
14:14 VanessaE haha
14:14 sfan5 and because the sandbox doesn't apply to safe_file_write it works if the folder already exists
14:16 sfan5 (should've said ""sandbox"", the mainmenu is unsandboxed but some filesystem functions have a few sanity checks)
14:16 VanessaE ext4 here, fwiw.
14:18 olliy joined #minetest
14:23 hlqkj joined #minetest
14:28 VanessaE sfan5: so we have two issues -- not creating that tree, and not creating a config file if needed, if it's specified on the command line
14:29 VanessaE (though as corner cases go, that one's so deep into the corner that it's practically on the other side of the wall :P )
14:33 Wuzzy joined #minetest
14:43 galex-713 joined #minetest
14:49 sfan5 #11152
14:49 ShadowBot https://github.com/minetest/minetest/issues/11152 -- Fix server favorites not saving when client/serverlist/ does not exist already by sfan5
14:55 delta23 joined #minetest
15:18 Peppy joined #minetest
15:45 Noisytoot left #minetest
15:45 Pie-jacker875 joined #minetest
15:48 hlqkj question: if two mods defines two textures with the *same* file name, which of the two the engine will take? depends on mod loading order, or something else?
15:50 absurb joined #minetest
15:52 rubenwardy Depends on mod loading order. Latter one wins
15:53 rubenwardy Means you can override textures from mods
15:53 nuala joined #minetest
15:55 hlqkj ok, thanks for this. seems some mod devs doesn't like to stick to the modname_nodename.png convention (@VanessaE and @Tenplus1 lol)
16:01 smugler5 joined #minetest
16:02 Noisytoot joined #minetest
16:02 MTDiscord <appguru> There are reasons not to stick to that convention.
16:09 hlqkj idk.. i just joined the server, and all bamboo suddenly were brown. some grepping showed that both ethereal and youngtrees haves a "bamboo.png" file in them: no clue if this is one of your reasons, but being dunce i'd say it's not
16:10 VanessaE hlqkj: um, in general I do stick to that convention :P
16:11 hlqkj np, once found it's quickly fixed ;)
16:12 hlqkj no real clue of what happened, all was working till today though
16:12 VanessaE I'll make a point to fix the image filenames for that mod
16:12 VanessaE though idk who originally wrote it *checks forum*
16:12 hlqkj neither me nor the admin pulled mods, nor changed anything
16:13 VanessaE looks like Mossmanikin
16:13 VanessaE but he's been gone from MT since forever
16:15 hlqkj now this is interesting: i renamed the ethereal one to ethereal_bamboo.png and changed the def accordingly, now it's still taking a wrong texture but not the youngtrees anymore!... o.O WTH
16:20 hlqkj i'm so very funnily confused.. lol
16:21 hlqkj any advice on how to check which texture is applied to a node? i recall in 0.4 that was shown in the debug, doesn't seem to show anymore. need to enable something for that?
16:22 MTDiscord <y5nw> I think there is a global table with the list of registered nodes. IIRC you can find the node textures there
16:23 hlqkj okies thanks so much! this is driving me mad :/
16:28 hlqkj ahh! back to normal!!! yay. thanks y'all for your help ;]
16:30 Taoki joined #minetest
16:33 Gustavo6046 joined #minetest
16:33 emacsomancer joined #minetest
16:36 emacsomancer joined #minetest
16:45 Hawk777 joined #minetest
16:58 ronoaldo joined #minetest
16:58 Verticen joined #minetest
17:02 SwissalpS I have been under the assumption that nodes, mapblocks and mapchunks all share the same origin at 0 0 0. Player is telling me that chunks are offset by 32. Is this true or is he seeing some blending effects in biome overlap? Also do biomes strictly end at chunk borders?
17:06 Taoki joined #minetest
17:06 MTDiscord <Warr1024> I once tried to predict where the boundaries of a world would be based on mapgen_limit and only ever got it partially working.  It seems that mapchunks are offset by ... something; I'm just not sure what all the corner cases actually are.
17:06 MTDiscord <appguru> I think 0,0,0 is in fact the center of a mapblock
17:08 hlqkj are you sure? that may be the case for chunks, not block afaik. but i may be wrong
17:08 hlqkj also mapblocks are 16x16x16, how could they have a center?
17:10 MTDiscord <Warr1024> I think -0.5, -0.5, -0.5 is a corner of a mapblock, but the mapblock that contains 0,0,0 is the center of a mapchunk...
17:11 specing joined #minetest
17:12 hlqkj makes sense
17:12 Krock use the simple_protection mod to show up the mapblock boundaries :3
17:12 Krock (advertisement end)
17:13 hlqkj lol
17:15 MinetestBot [git] An0n3m0us -> minetest/minetest_game: Add specific groups to different types of grass (#2852) 42baede https://git.io/JYis1 (2021-04-02T17:13:44Z)
17:20 specing I have a patch for F5 debug info to show them
17:27 SwissalpS Krock: the grid shown by simple_protection does not seem to show top and bottom of mapblock. The other sides are identical to what I have in postool
17:27 Krock ah right
17:28 Krock only x/z
17:28 Krock forgot that I removed the upper and lower textures
17:30 benrob0329 joined #minetest
17:30 Sven_vB joined #minetest
17:39 SwissalpS tried to make a minimal world with mapgen_limit = 1 but that seems to not be enough
17:47 proller joined #minetest
18:09 aleksvor joined #minetest
18:12 dabbill joined #minetest
18:13 sagax joined #minetest
18:18 EvergreenTree joined #minetest
18:44 proller joined #minetest
18:49 SwissalpS with chunksize = 5 mapgen_limit = 80 and static_spawn at 0 0 0, I get a playable area of 47 -32 47 to -32 47 32
18:50 SwissalpS oops, last coordinate is negative -> -32 not 32
18:50 SwissalpS -32 -32 -32 to 47 47 47 would be nicer way to express that
18:52 DivideByZero joined #minetest
19:01 Pie-jacker875 joined #minetest
19:09 Peppy joined #minetest
19:24 SwissalpS thanks all, postool will now calculate offset from chunksize setting
19:47 GreenXenith joined #minetest
19:53 homthack joined #minetest
20:09 MTDiscord <GreenXenith> So uh, how do I undo a make install for minetest?
20:11 sfan5 https://web.archive.org/web/20200916234829/https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake
20:11 sfan5 well that looks like much the relevant part here is:
20:11 sfan5 >    xargs rm < install_manifest.txt
20:11 MTDiscord <GreenXenith> Ah, yes, lovely
20:12 I_am_6r1d joined #minetest
20:12 MTDiscord <GreenXenith> Huzzah, thank you
20:14 Fixer_ joined #minetest
20:17 x2048 joined #minetest
20:19 qj joined #minetest
20:42 Gustavo6046 joined #minetest
20:54 Talkless joined #minetest
21:14 redneonglow joined #minetest
21:17 redneonglow joined #minetest
21:27 MTDiscord <GreenXenith> Did running make install change some cmake config or something so the executable looks for scripts in /usr/local/share/minetest ?
21:34 MTDiscord <GreenXenith> Hm, guess not. I suppose its a byproduct of not using RUN_IN_PLACE
21:35 MTDiscord <GreenXenith> But what if I want to have a run in place that uses the .minetest dir 🤔
21:36 MTDiscord <GreenXenith> I guess its time for some symlinks :/
21:37 sfan5 o.O
21:38 MTDiscord <GreenXenith> I was under the impression that run_in_place was solely to make it use the data directories inside the build dir
21:38 MTDiscord <GreenXenith> However it seems that is not the case
21:39 sfan5 isn't that what it does?
21:40 MTDiscord <GreenXenith> If you dont compile as run in place it seems to expect all the builtin stuff to be in /usr/local/share/minetest
21:42 MTDiscord <GreenXenith> Which I suppose makes sense
21:43 MTDiscord <Warr1024> run_in_place is basically the opposite of assume_installed_system_wide
21:45 erlehmann joined #minetest
21:57 x2048 joined #minetest
22:00 Sven_vB joined #minetest
22:12 Extexo6 joined #minetest
22:24 galex-713 joined #minetest
23:24 x2048 left #minetest
23:41 Extexo6 New phone, what's this?
23:41 Extexo6 https://cdn.discordapp.com/attachments/736028416741998593/827688805963399218/Screenshot_20210402-163846.png
23:43 Hawk777 wat
23:43 Hawk777 looks like a cactus fish
23:43 Extexo I tried changing the screen width in advanced settings but It didn't work
23:43 Extexo Uhh ignore the cactus fish lol, look to the far right
23:44 Extexo My new phone is being... Weird
23:44 Hawk777 Oh, blue area? Dunno, never tried Minetest mobile myself.
23:44 Extexo Got a coloured bar that changes cause my screen is too big

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