Minetest logo

IRC log for #minetest, 2019-12-24

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

All times shown according to UTC.

Time Nick Message
00:05 stormchaser3000 joined #minetest
00:15 Markow joined #minetest
00:28 Pie-jacker875 joined #minetest
00:31 Pie-jacker875 joined #minetest
00:36 realzies joined #minetest
00:42 eukara joined #minetest
00:57 grzesiek11 joined #minetest
01:29 namespace joined #minetest
03:06 Miner_48er joined #minetest
04:27 YuGiOhJCJ joined #minetest
04:53 Unarelith joined #minetest
05:37 ssieb joined #minetest
06:27 Flabb joined #minetest
06:44 TomTom joined #minetest
06:49 fluxflux_ joined #minetest
07:23 CWz joined #minetest
08:27 HDMI_STECKDOSE joined #minetest
08:38 ShadowNinja joined #minetest
08:53 proller joined #minetest
09:07 tomraceror joined #minetest
09:10 Volgaar joined #minetest
09:19 proller joined #minetest
09:43 grzesiek11 joined #minetest
09:45 proller joined #minetest
09:52 grzesiek11 joined #minetest
10:05 fruitsnack joined #minetest
10:15 fruitsnack Hello, can somebody help me with building the android version?
10:16 fruitsnack I'm trying to package 5.1.0 for fdroid, using the same build environment as for previous builds (0.4.16, 5.0.0, etc)
10:17 fruitsnack The native part builds fine, however java part gives errors
10:17 fruitsnack https://pastebin.com/FbPjtTG1
10:17 fruitsnack Here's the build log
10:17 fruitsnack I'm using repo version at 5.1.0 tag, both minetest and mtg
10:18 fruitsnack (my connection might drop but I'm checking chat logs regularily)
10:19 sfan5 that's not your fault, the code is actually broken
10:20 sfan5 you'll need to cherry-pick the commit that fixed this
10:25 fruitsnack https://github.com/minetest/minetest/commit/7f023de5cb2299f9ef9e1363afde414fe14ede51
10:25 fruitsnack this one?
10:55 ektor joined #minetest
11:36 Fixer joined #minetest
11:37 df458 joined #minetest
11:40 proller joined #minetest
11:50 nowhere_man joined #minetest
12:06 proller joined #minetest
13:02 mizux joined #minetest
13:02 illwieckz joined #minetest
13:16 SwissalpS joined #minetest
13:29 anon987321 joined #minetest
13:44 stormchaser3000 joined #minetest
13:55 proller joined #minetest
13:55 stormchaser3000 joined #minetest
14:07 ronsor joined #minetest
14:11 illwieckz joined #minetest
14:13 Taoki joined #minetest
14:17 proller joined #minetest
14:27 HDMI_STECKDOSE joined #minetest
14:30 stormchaser3000 joined #minetest
14:33 HDMI_STECKDOSE left #minetest
14:40 Persi joined #minetest
14:57 FriendlyPerson18 joined #minetest
14:57 CWz joined #minetest
15:13 testman joined #minetest
15:15 testman joined #minetest
15:30 stormchaser3000 joined #minetest
15:34 milkt joined #minetest
15:45 fluxflux_ joined #minetest
16:10 FreeFull joined #minetest
16:20 SwissalpS joined #minetest
16:21 Pie-jacker875 joined #minetest
16:24 Andrey01 joined #minetest
16:30 Andrey01 hello, it`s strange 'minetest.get_meta(clickednode_pos):get_string("origin") or minetest.pos_to_str(clickednode_pos)' expression results nil when first operand is actual nil and other is string returned from that function
16:32 Andrey01 string represents true value and hence the operation should return that string
16:34 Andrey01 minetest.pos_to_string* just
16:34 Andrey01 not minetest.pos_to_str
16:46 Flabb joined #minetest
16:59 Ruslan1 joined #minetest
16:59 Ruslan1 ?
17:04 df458 joined #minetest
17:11 Fixer_ joined #minetest
17:36 mizux joined #minetest
17:37 Krock joined #minetest
18:01 Andrey01 please maybe anyone knows a solution of my problem above?
18:03 rubenwardy I don't understand your problem
18:06 Andrey01 as I already wrote a line with the logical expression 'minetest.get_meta(clickednode_pos):get_string("origin") or minetest.pos_to_string(clickednode_pos)' returns nil
18:06 Andrey01 but the first operand actually returns nil and other a string
18:07 Andrey01 and I don`t understand why that operation returns nil, if second operand is string, it should return string as a result, right?
18:09 Andrey01 'minetest.get_meta(clickednode_pos):get_string("origin")' returns nil and  'minetest.pos_to_string(clickednode_pos)' does string, but why does 'or' operation return nil eventually?
18:10 rubenwardy so   `minetest.get_meta(nil):get_string("origin")`  ?
18:10 rubenwardy there should be a nil access error on   `nil:get_string("origin")`
18:11 Andrey01 'clickednode_pos' in the case is a table with coords, bot nil
18:12 Andrey01 but*
18:13 MinetestBot [git] Montandalar -> minetest/minetest: Use appropriate LC_ locale macro for Windows (#9230) 4445889 https://git.io/JeFAW (2019-12-24T18:13:22Z)
18:13 MinetestBot [git] Wuzzy2 -> minetest/minetest: Fix item eat sound not played if last item (#9239) 876a15b https://git.io/JeFAl (2019-12-24T18:12:46Z)
18:13 MinetestBot [git] Wuzzy2 -> minetest/minetest: Document permissible group ratings (#9236) 7199dc7 https://git.io/JeFA8 (2019-12-24T18:12:31Z)
18:17 Andrey01 local clickednode_pos = {x=pos.x, y=pos.y+1, z=pos.z}, so minetest.get_meta(clickednode_pos) returns meta and in my case get_string("origin") returns nil, because it doesn`t exist and therefore the first operand is nil, second is coords in string form
18:19 rubenwardy ahh
18:19 rubenwardy get_string() returns "" when it does not exist
18:20 rubenwardy you want `get()`, which returns nil when it does not exist
18:22 Krock get() returns the default value if it's a Minetest setting
18:22 Andrey01 ah, yes, I didn`t know there is so method, thanks!
18:25 rubenwardy Krock: this ismeta
18:26 Krock oh. context matters.
18:29 nepugia joined #minetest
18:59 drummyfish joined #minetest
18:59 df458 joined #minetest
19:01 fluxflux_ when running a local server via the client GUI, would it be possible to not crash the entire client, when the server crashes due to a lua exception?
19:01 fluxflux_ i mean, if it crashes during startup, the client reports the error just fine. if it crashes after startup, the client just freezes and has to be killed.
19:21 nepugia depends on the lua error
19:23 fluxflux_ it does? how so?
19:28 Krock fluxflux_: well yes. error handling in callbacks isn't great - and there's already an issue about that
19:28 Krock *a reported issue
19:28 fluxflux_ ok cool.
19:29 Krock solution: don't crash the server
19:30 fluxflux_ yeah, not easy to do sometimes. it's only a minor annoyance, was curious if anyone else wished for better behavior as well.
19:32 nepugia fluxflux_: i know severall failure modes that happen with lua errors, some crash the client, some make the screen go blank and some just kick you to the title screen (although argueably this last one can be correct)
19:33 fluxflux_ i mean, if it segfaults, it segfaults. i'm talking about when lua actually reports an error in the debug log.
19:33 fluxflux_ the last one is the behavior i wished for, but it seem to happen after the server has started.
19:37 ssieb joined #minetest
19:43 nepugia that is still a bug :), it certainly should not segfault or blank the client
19:43 nepugia both are rather unhelpfull for debugging
19:43 illwieckz joined #minetest
19:47 Fixer joined #minetest
20:00 GeHa joined #minetest
20:09 Unarelith joined #minetest
20:13 proller joined #minetest
20:17 tomraceror joined #minetest
20:22 AntumDeluge joined #minetest
20:22 NoctisLabs joined #minetest
20:46 FriendlyPerson18 joined #minetest
21:01 Fixer_ joined #minetest
21:04 df458 joined #minetest
21:12 Emperor_Genshin joined #minetest
21:14 Genshin Hello
21:53 tomraceror joined #minetest
22:11 Fear joined #minetest
22:11 Fear joined #minetest
23:07 NoctisLabs joined #minetest
23:21 ssieb joined #minetest
23:52 NoctisLabs joined #minetest

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