AspireMint reports: Destroying lead with electrume ... #6578
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#6578
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?
AspireMint reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
wait, what? per #6462, leashes aren't protected from explosions even in (other players') protection areas! did someone fix that somehow? i wrote a fix for that but haven't even PR'ed upstream yet.
i can't replicate this.
AspireMint showed me that it requires having the explosion hit the middle of the leash not the attached ends. in that case, i get the protection violation message, and the leash ends up in my inventory
rheo can blow it up w/out the message though.
figured it out, more or less.
3fad55a571/util.lua (L248-L262)
https://gitea.your-land.de/your-land/leads/src/branch/main/internal.lua#L87-L93
when a player breaks the lead, the mod temporarily causes everything to be protected for that player. my suspicion is that the explosion isn't yet done causing damage ... though it should only affect entities after trying to destroy the nodes, so that shouldn't be it? and the only other entity in the area would be the bullet itself, which doesn't do any protection checks?
oh, this only happens if the explosion is large enough to also damage the "knots" after damaging the "lead" (the rope between the knots). thanks,
debug.traceback()
.also this happens even in unprotected areas.