Minetest logo

IRC log for #minetest-dev, 2021-07-13

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

All times shown according to UTC.

Time Nick Message
00:14 Kimapr8 joined #minetest-dev
00:22 ssieb joined #minetest-dev
01:57 v-rob joined #minetest-dev
02:44 YuGiOhJCJ joined #minetest-dev
02:59 specing_ joined #minetest-dev
03:22 Extex joined #minetest-dev
04:08 v-rob joined #minetest-dev
04:54 Extex joined #minetest-dev
06:54 olliy joined #minetest-dev
07:38 tech_exorcist joined #minetest-dev
09:34 calcul0n_ joined #minetest-dev
10:04 entuland joined #minetest-dev
11:24 Foz joined #minetest-dev
12:02 book` joined #minetest-dev
12:33 book` joined #minetest-dev
12:39 book` joined #minetest-dev
12:47 MTDiscord <Warr1024> I managed to get the android apps to build, but I can't get either of them to install.  I made sure I didn't have old versions installed already, and have side-loading enabled for the files app I'm using for installation.  I'm on a Pixel 2 with plain Android 11.  The error I get is just the unhelpful "App not installed" one.  Anyone know what I can do here?
12:50 sfan5 how are you installing them
13:13 MTDiscord <Warr1024> Download the APK, open it in the Files app.  I also tried right from the FF downloads tab and using Amaze file manager.
13:23 rubenwardy screenshot of the message when opening the APK?
13:24 rubenwardy If the app crashes, you can use adb to get more info
13:24 rubenwardy but it sounds like it's refusing to install the app
13:24 rubenwardy you may need to enable dev tools -  go to Settings > About > Build Number. Tap 10 times until it says dev tools unlocked
13:25 rubenwardy in android, it should ask to enable unknown sources when attempting to install, I don't think you need to do that first anymore
13:25 rubenwardy but perhaps you could look at Settings > Security > Unknown sources
13:35 MTDiscord <Warr1024> If I had unknown sources turned off then I wouldn't have been able to use F-Droid, would I?
14:10 Krock why does the wieldhand deal 10 damage?
14:14 Krock happens in vanilla MTG and devtest, but not in the old minimal
14:17 MTDiscord <Warr1024> I checked again and there is no developer option to enable/disable side loading, it must be controlled entirely thru the app permissions, which I definitely have turned on, and the error I got was after an actual progress dialog (albeit short) so it at least passed some check.
14:17 MTDiscord <Warr1024> This is why we should always have specific error messages.  Shit, even just "App install failed, error 47" would give me something to go on.
14:21 Krock rubenwardy: (different topic) what's this supposed to? https://github.com/minetest/minetest/blob/master/games/devtest/mods/unittests/player.lua#L4-L22 why would set_hp() magically modify this table?
14:22 rubenwardy register_on_player_hpchange
14:22 rubenwardy https://github.com/minetest/minetest/blob/master/games/devtest/mods/unittests/player.lua#L53
14:22 Krock oh!
14:23 rubenwardy that mod should probably be called `integtests` tbh
14:24 Krock dear god
14:24 Krock this lua reference is apparently really needed to pass down custom values
14:25 Krock i.e. PlayerHPChangeReason::lua_reference
14:25 Krock this makes async player deaths really a pain in the ass
14:28 jonadab joined #minetest-dev
14:29 m42uko joined #minetest-dev
14:41 sfan5 if l_set_hp serialized the extra stuff it was passed that'd also work fine, I think
14:49 tech_exorcist joined #minetest-dev
14:50 Krock okay. found a solution. It's gonna be a bit hacky tho
14:59 specing_ joined #minetest-dev
15:02 Foz joined #minetest-dev
15:43 Extex joined #minetest-dev
16:52 appguru joined #minetest-dev
16:53 Fixer joined #minetest-dev
17:03 Krock ffs
17:20 Krock this entire thing turned out ugly af but was the only reasonable solution I could find
20:03 v-rob joined #minetest-dev
20:52 freshreplicant[m joined #minetest-dev
20:54 appguru joined #minetest-dev
21:02 wsor4035 joined #minetest-dev
21:02 Guest5286 joined #minetest-dev
22:00 v-rob joined #minetest-dev
22:19 entuland joined #minetest-dev
23:02 Extex joined #minetest-dev
23:31 v-rob joined #minetest-dev
23:37 Alias2 joined #minetest-dev

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