daydream reports: suspect ghosts killed more ch ... #4131
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#4131
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:
daydream reports: susptect ghosts killed more ch ...to daydream reports: suspect ghosts killed more ch ...L2 runes are very very expensive to make and they should work! It's not like it can be shrugged off as "ugh petz" cuz it's not petz.
i protected a flower cow with an L2 rune at ... "i forget" pastures, and it's gone. i swear ghosts didn't attack animals in the past. maybe it was a disguised mime?
Even mimics shouldn't spawn in protected areas.
Also mimics shouldn't kill anything that's protected with a L2 rune.
Let's make experiments.
mimics can't spawn in protected areas, but they absolutely can kill things that are protected. that's a relatively easy change i can make, as hamlet abandoned the mod and i'm effectively the maintainer.
i'm testing a fix, but there's a confound - i've discovered that if you protect a mob, and the server crashes before the mob is properly unloaded, the protection status may be lost.
and the fix doesn't work, the "do_custom" code doesn't always get called, and so can't abort attacks on protected mobs. blech, eat kitty.
think i've got it working now:
76e857a459
ok, ghosts attack cows too, need to fix them as well
fixed the ghost too:
ceaf3308bf
other mobs which attack animals:
Hostiles attacking animals is a game mechanic, so that people have a reason to shelter them from harm. I would not want them to stop that. However, ghosts killing animals is bad, since the animals do not have any defense and a shelter does nothing against ghosts. Therefore, we should stop ghosts from killing animals and go after players only.
Could be done via
in
https://gitea.your-land.de/your-land/mobs_ghost_redo/src/branch/master/init.lua#L127
QA
Should we deploy both solutions?
Either the one in do_custom OR the
attack_animals = false
part of the fun of mimes is that they mimic and attack wild animals, that was intentional.
it wasn't intentional to have them target protected animals.
ghosts no longer attack protected animals. mimes seem to disappear whenever they target an animal?