| Time |
Nick |
Message |
| 00:11 |
apteryx |
hello! anyone knows what mcl_serverplayer.send_shieldctrl does ? |
| 00:12 |
apteryx |
and is 'not control.RMB' the right way to detect a touch screen? |
| 00:12 |
apteryx |
or best way available? |
| 00:12 |
apteryx |
oh, I'm looking at the mineclonia source code... maybe this is mineclonia-specific, I'm not sure |
| 00:15 |
apteryx |
looks like I should also look for a touch_controls = true, from core.get_player_window_information(player_name) |
| 00:15 |
MTDiscord |
<wsor4035> yes |
| 00:15 |
MTDiscord |
<wsor4035> you can also get screen size |
| 00:16 |
MTDiscord |
<wsor4035> (if needed) |
| 00:18 |
apteryx |
thanks |
| 00:21 |
apteryx |
is it a reasonable assumption to make that if touch screen is detected, a mouse probably isn't used? or could a bluetooth mouse connected to android break this perhaps? |
| 00:21 |
apteryx |
I need to add some code that should activate only if a mouse is *not* used. |
| 00:22 |
apteryx |
for more context/background I'm looking into fixing this mineclone issue for touch device, where it's not possible/reliable to use a shield: https://codeberg.org/mineclonia/mineclonia/issues/3939 |
| 01:32 |
apteryx |
would this kind of game scripting mods/ITEMS/mcl_shields/init.lua (from mineclonia) run on the server on on the client? |
| 01:32 |
apteryx |
I want to test my fix, hopefully I don't need to build an .apk |
| 01:38 |
|
illwieckz joined #luanti |
| 01:50 |
apteryx |
this is what I came up with: https://codeberg.org/mineclonia/mineclonia/pulls/3973/files |
| 03:25 |
|
stormchaser3000 joined #luanti |
| 03:32 |
|
mazes_80 joined #luanti |
| 03:33 |
|
amfl joined #luanti |
| 03:45 |
|
Noisytoot joined #luanti |
| 05:00 |
|
MTDiscord joined #luanti |
| 05:16 |
|
SFENCE joined #luanti |
| 07:06 |
|
FeXoR joined #luanti |
| 08:02 |
|
mrkubax10 joined #luanti |
| 10:09 |
|
sparky4 joined #luanti |
| 10:23 |
|
___nick___ joined #luanti |
| 10:53 |
|
Wuzzy joined #luanti |
| 10:53 |
Wuzzy |
What is the difference between core.EMERGE_CANCELLED and core.EMERGE_ERRORED? |
| 10:54 |
sfan5 |
cancelled only happens at shutdown I think |
| 10:56 |
Wuzzy |
strange. |
| 10:56 |
sfan5 |
why? |
| 10:56 |
Wuzzy |
in Lazarr! I suddenly get many EMERGE_CANCELLED in 5.15-dev when a new level is spawned |
| 10:56 |
Wuzzy |
did not happen in 5.14 |
| 10:57 |
Wuzzy |
i dont know if this is bad or normal |
| 10:57 |
Wuzzy |
the levels still generate normally tho |
| 10:59 |
sfan5 |
i checked and what I said was true |
| 10:59 |
Wuzzy |
huh |
| 11:00 |
Wuzzy |
seems like I can just safely return out of the function when I receive an EMERGE_CANCELLED? |
| 11:01 |
Wuzzy |
(we should probably document the meaning of those vars in lua_api eventually) |
| 11:03 |
sfan5 |
https://github.com/luanti-org/luanti/blob/master/src/emerge.cpp#L584 nvm there's one more possibility |
| 11:04 |
Wuzzy |
strange. the comment "All attempts failed" suggests it should be EMERGE_ERRORED ... hmmm |
| 11:08 |
sfan5 |
i don't see a reasonable way this should happen. please open a bug. |
| 13:18 |
|
___nick___ joined #luanti |
| 14:40 |
|
tzenfore joined #luanti |
| 14:57 |
|
jaca122 joined #luanti |
| 15:02 |
|
___nick___ joined #luanti |
| 15:05 |
|
___nick___ joined #luanti |
| 15:17 |
|
PoochInquisitor joined #luanti |
| 15:31 |
MinetestBot |
[git] CrazyladMT -> luanti-org/luanti: Add missing "Y" to string in 3D noise settings ee83eb4 https://github.com/luanti-org/luanti/commit/ee83eb4b4a37752c4bc12244ebd94bc334c9a7b5 (2026-01-09T15:31:43Z) |
| 15:31 |
MinetestBot |
[git] Wuzzy2 -> luanti-org/luanti: Update builtin locale files 92c987c https://github.com/luanti-org/luanti/commit/92c987c04e5808424dcd2e3654207a3e38361886 (2026-01-09T15:31:54Z) |
| 15:31 |
MinetestBot |
[git] Wuzzy2 -> luanti-org/luanti: Update German translation of builtin 055f886 https://github.com/luanti-org/luanti/commit/055f886e277b431e75e236f5cfbafb4b7ac63cb4 (2026-01-09T15:31:54Z) |
| 16:04 |
|
birdlover32767 joined #luanti |
| 16:05 |
birdlover32767 |
invref:set_lists() seems to change list size even though it is mentioned to not in the docs |
| 16:05 |
birdlover32767 |
well, at least "main" inventory list |
| 16:05 |
birdlover32767 |
and for some reason invref:set_list() doesn't change the held item |
| 16:05 |
birdlover32767 |
great, now i got a segfault |
| 16:35 |
Wuzzy |
segfault? |
| 16:35 |
Wuzzy |
how? |
| 16:35 |
Wuzzy |
you should report a bug for any segfault you find |
| 16:35 |
birdlover32767 |
setting "hand" inventory list without creating it first |
| 16:36 |
birdlover32767 |
1 sec, lemme try something |
| 16:36 |
|
dudz joined #luanti |
| 16:37 |
birdlover32767 |
only if you try set_list with "hand" |
| 16:40 |
birdlover32767 |
oh, i get why the hand is being persisted, it's because i was doing the manipulation in on_place without returning |
| 16:41 |
birdlover32767 |
how do i make it... not do that |
| 16:41 |
Wuzzy |
for me set_list with non-existing hand makes the game freeze... so i guess it is now confirmed |
| 16:42 |
Wuzzy |
please report the segfault bug |
| 16:42 |
birdlover32767 |
i would do it if github wouldn't take ages to load |
| 16:42 |
Wuzzy |
birdlover32767, what exactly do u want to do? |
| 16:42 |
Wuzzy |
HAHA |
| 16:42 |
Wuzzy |
ur not the only one hating GitHub :D |
| 16:43 |
birdlover32767 |
reset player's inventory in on_place, save it and add some other things |
| 16:43 |
birdlover32767 |
but the hand is persisted because of on_place |
| 16:44 |
birdlover32767 |
in practice, the modification should appear a bit after the on_place but this is just how it is currently |
| 16:44 |
Wuzzy |
from the documentation i guess you must return nil in on_place to "not modify the inventory" |
| 16:44 |
birdlover32767 |
well i am already doing that |
| 16:45 |
birdlover32767 |
it's overriding my changes |
| 16:46 |
Wuzzy |
strange |
| 16:46 |
Wuzzy |
i wonder if ur even supposed to touch the inventory directly in this function |
| 16:47 |
birdlover32767 |
i guess i have to implement what i originally thought |
| 16:47 |
Wuzzy |
so if you do me:get_inventory():set_list("main", {}) in on_place, what happens? |
| 16:54 |
birdlover32767 |
everything except the hand gets reset |
| 17:08 |
|
Bombo joined #luanti |
| 17:08 |
|
Bombo joined #luanti |
| 17:19 |
|
Bombo joined #luanti |
| 17:19 |
|
Bombo joined #luanti |
| 17:40 |
cheapie |
Random screenshot of the Springfox Ave. station on the Bonnthal Metro, basically indistinguishable from the other three so far: https://cheapiesystems.com/media/images/screenshot_20260109_113917.png |
| 17:40 |
cheapie |
But with that being built it does mean that line 1 is now complete :D |
| 17:47 |
sfan5 |
way too clean, add some dirt everywhere |
| 17:55 |
cheapie |
It's brand new, give it time |
| 17:57 |
cheapie |
Now I just need to work on line 2... perhaps I can have that finished by the end of the month |
| 18:09 |
|
___nick___ joined #luanti |
| 18:22 |
|
Bombo joined #luanti |
| 18:22 |
|
Bombo joined #luanti |
| 18:44 |
|
mrkubax10 joined #luanti |
| 18:57 |
|
Bombo joined #luanti |
| 18:57 |
|
Bombo joined #luanti |
| 19:12 |
|
InFerNo_ joined #luanti |
| 19:15 |
|
ralfwause joined #luanti |
| 19:48 |
* user333_ |
creates account on the luanti forums |
| 20:50 |
|
sys4 joined #luanti |
| 21:06 |
|
fluxionary joined #luanti |
| 21:09 |
|
sys4 joined #luanti |
| 21:09 |
|
qqq joined #luanti |
| 21:14 |
|
ireallyhateirc joined #luanti |
| 21:50 |
|
birdlover32767 joined #luanti |
| 21:56 |
|
birdlover32767 joined #luanti |
| 22:14 |
|
mrcheese joined #luanti |
| 22:14 |
|
mrcheese joined #luanti |
| 22:17 |
|
sys4 joined #luanti |
| 23:33 |
|
panwolfram joined #luanti |
| 23:57 |
|
sys4_ joined #luanti |