daydream reports: I was repairing my sword becau ... #2931
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#2931
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
daydream reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
from #2932:
anvil items are probably not explosion proof, though that's probably not what happened...
It just disappeared while I was repairing it. I looked everywhere and AspireMind also looked. Then we gave up and went back out (we were in base in lava in nether - so probably that matters) anyway a bit later I came back maybe half an hour - and my sword was just sitting there like nothing happened. Very odd but ended well at least.
the image of the sword on the anvil is not related to what the anvil thinks is actually there. it's an entity, like the text on signs, petz, and other such things. when you leave an area and come back, there's a bit of code to check to see whether the entity is still there, and re-creates it if it's not.
so what probably happened is the entity disappeared for some reason, you left, came back, and the entity re-spawned.
the real question, is why did it disappear in the first place. i've recently been fixing an issue where explosions destroy node-bound entities (like the anvil entity, signs, smartshop, itemshelves, etc.), but i'm pretty sure you would have noticed an explosion next to the anvil.
wait, looking @ the coords, you were in the nether at the time? hmmmm.
@AliasAlreadyTaken any chance you could grep the logs for lines containing both
anvil:item
anddamage
and see if anything shows up?Yes, there is! And by mere chance, a certain daydream also punched an anvil in the nether:
There are 30 similar logentries. Only in rare cases players "punched" the entity. In most cases, the entity punched the entity?? Doesn't necessarily need to be the same one though:
that's what gets logged when the entity is destroyed by an explosion.
the example you provided shows the same entity id for both the "puncher" and "punched" entity (27668). i'm slightly curious if there's actually cases where one item shows as punching another, but it's probably not due to anything actually interesting or relevant.
this part is really odd to me. the entity isn't "physical", the player shouldn't be able to interact w/ it directly, but that does appear to be what happened to the entity in this case.
in any event, the solution is easy enough.
prevent damage in
40d84183a4
this is live
Why were all labels removed? This was certainly a bug and it is now fixed, right?
I assume others might be interested as well, the anvil is one of the more famous mods.
in this case, i don't know why i removed the "kind/bug" label, nor why i didn't apply "resultfixed". i think those must have been an accident. the "upstream" fix is part of my cottages update, and not the stand-alone anvils mod, which is why i didn't include "upstream" here.
We're using https://gitea.your-land.de/mt-mirror/anvil
our anvil mod and the upstream (https://github.com/minetest-mods/anvil) have diverged quite a bit.
If our fixes are of public interest and not YL specific, is there a way to get them back together?
yes, but i'm not super interested in doing that at the moment. maybe some day.