| Time |
Nick |
Message |
| 00:08 |
MTDiscord |
<.zenonseth> so i checked out the latest code, then happened to jump in-game on Inside The Box and suddenly pressure plates don't work. Tested locally, without/with just this commit: fa956d13e7c1173d82763ebcedfc226fad6aacf4 : Collision: Update position based on collisionbox faces - Without commit pressure plates work fine - With commit, pressure plates no longer work as expected (simply walking over them won't trigger them) This probably needs |
| 00:08 |
MTDiscord |
fixing within the mod code, it's using custom code like this: Detection code (mods/player/init.lua, globalstep): local ppos = player:get_pos() -- player feet position local pos = vector.round(ppos) -- nearest node center (integer coords) if ppos.y - pos.y <= 0.1 then -- feet in lower ~60% of nearest node space local node1 = core.get_node(pos) if node1.on_walk_over then node1.on_walk_over(pos, node1, |
| 00:08 |
MTDiscord |
player) end end But worth mentinoing that the client-udpate alone will break some parts of some mods, potentaily more |
| 00:29 |
MTDiscord |
<.zenonseth> btw the root cause is that before it seems the server got a position of the player as 'just above the full node' they were standing on, while now it returns the position exactly on boundary, so rounding this way puts their position in the node below, not above. Not necessarily wrong, but a type of logic that other mods may rely on |
| 00:34 |
MTDiscord |
<.zenonseth> also i already fixed that code, a small epsilon fixes the check - if the change will remain, i'll suggest that as a fix that makes it work on both new and old clients |
| 01:57 |
|
Pexin joined #luanti-dev |
| 04:00 |
|
MTDiscord joined #luanti-dev |
| 07:59 |
|
YuGiOhJCJ joined #luanti-dev |
| 08:05 |
|
YuGiOhJCJ joined #luanti-dev |
| 08:49 |
|
YuGiOhJCJ joined #luanti-dev |
| 13:51 |
MTDiscord |
<luatic> merging #16653 #17298 #17260 in 10m |
| 13:51 |
ShadowBot |
https://github.com/luanti-org/luanti/issues/16653 -- Support multi-track animations by appgurueu |
| 13:51 |
ShadowBot |
https://github.com/luanti-org/luanti/issues/17298 -- Correctly convert node pos to block pos in findSunlight by j-r |
| 13:51 |
ShadowBot |
https://github.com/luanti-org/luanti/issues/17260 -- [no squash] Misc hardening + less Irrlicht UB by appgurueu |
| 15:02 |
|
turtleman joined #luanti-dev |
| 17:10 |
sfan5 |
merging #17293 later |
| 17:10 |
ShadowBot |
https://github.com/luanti-org/luanti/issues/17293 -- Add logging to Android java parts by sfan5 |
| 18:30 |
|
YuGiOhJCJ joined #luanti-dev |
| 19:05 |
|
YuGiOhJCJ joined #luanti-dev |
| 20:34 |
pgimeno |
The GitHub wiki is a repository. You can upload files by commiting them and pushing to it. |
| 22:26 |
|
sugarbeet joined #luanti-dev |
| 22:32 |
|
panwolfram joined #luanti-dev |
| 22:57 |
[MatrxMT] |
<Juensis Chrishalom (@juensis_chris:matrix.org)> hey, i would like you to add features where we can switch gamemode to creative or survival during gameplay, i said when its during gameplay, that would help me, thank you |
| 22:59 |
Sheriff_U3 |
It is possible with /grantme creative in MTG and that would be implemented as a mod instead of as a mod. |
| 22:59 |
Sheriff_U3 |
*as a part of the engine |
| 23:42 |
|
mmww_ joined #luanti-dev |