| Time |
Nick |
Message |
| 02:25 |
|
queria joined #minetest-dev |
| 04:00 |
|
MTDiscord joined #minetest-dev |
| 04:01 |
|
olliy joined #minetest-dev |
| 06:49 |
|
olliy1or joined #minetest-dev |
| 06:55 |
|
olliy1or joined #minetest-dev |
| 07:06 |
|
ssieb joined #minetest-dev |
| 08:16 |
|
olliy joined #minetest-dev |
| 09:47 |
|
calcul0n_ joined #minetest-dev |
| 09:56 |
|
Fixer joined #minetest-dev |
| 10:31 |
|
specing_ joined #minetest-dev |
| 11:38 |
MTDiscord |
<josiah_wi> 5.4.0 AppImage, I can't move camera with touchpad while walking. Has this been reported? |
| 11:38 |
MTDiscord |
<josiah_wi> Or is it maybe a setting on the laptop I need to change? |
| 11:38 |
MTDiscord |
<josiah_wi> False alarm, looks like it's the latter. |
| 12:22 |
|
specing joined #minetest-dev |
| 12:58 |
|
appguru joined #minetest-dev |
| 13:03 |
|
longerstaff13 joined #minetest-dev |
| 14:31 |
|
queria joined #minetest-dev |
| 15:50 |
|
tech_exorcist joined #minetest-dev |
| 16:03 |
|
Extex joined #minetest-dev |
| 16:43 |
|
tech_exorcist_ joined #minetest-dev |
| 16:44 |
|
tech_exorcist joined #minetest-dev |
| 17:45 |
sfan5 |
merging #11581, #11592 in 10m |
| 17:45 |
ShadowBot |
https://github.com/minetest/minetest/issues/11581 -- Build message information on how to build with in-tree Irrlicht by 20kdc |
| 17:45 |
ShadowBot |
https://github.com/minetest/minetest/issues/11592 -- Fix movement in random_input mode by NeroBurner |
| 18:09 |
|
kuklinistvan joined #minetest-dev |
| 19:10 |
|
YuGiOhJCJ joined #minetest-dev |
| 19:26 |
|
longerstaff13 joined #minetest-dev |
| 20:40 |
Extex |
I've run into a problem. In my code I've made it so that when a player holds a tool and right-clicks a node it will do something. So I used on_rightclick in the node's definition, but when the player rightclicks with another node (to place it on the node) it doesn't place. |
| 20:40 |
Extex |
There is a way around this however |
| 20:41 |
Extex |
Just check the itemstack and if it's a node place it. But with this method it won't register as a player that's placing it |
| 20:43 |
Extex |
So maybe put it in the tool's on_place. But it's checking for a tool group for compatibility (e.g. rightclick with a tool with crumbly caps makes gravel into a slab) so it'd need to be put into every single tool |
| 20:44 |
Extex |
And minetest.register_on_placenode only works for nodes (to my knowledge) |
| 20:45 |
sfan5 |
defining on_rightclick on a node will mark it as "rightclickable" which prevents normal placing from taking place on the client |
| 20:46 |
sfan5 |
though that's not necessarily a problem here |
| 20:46 |
sfan5 |
why not call minetest.item_place in on_rightclick? |
| 20:50 |
|
specing joined #minetest-dev |
| 20:59 |
Extex |
Well yes but wouldn't that break any node's on_place? |
| 20:59 |
Extex |
Well not run on_place I mean |
| 21:06 |
|
Extex joined #minetest-dev |
| 21:14 |
sfan5 |
you mean other tools' on_place? call it manually first |
| 21:14 |
sfan5 |
oh also item_place will call on_rightclick so go directly for minetest.item_place_node |
| 21:49 |
Extex |
sfan5: oh thank you, I finally got it working |
| 23:24 |
|
Alias joined #minetest-dev |