Administrator reports: Add to log which items a playe ... #6366
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#6366
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?
Administrator reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
done:
fa78f3975c
note that the logic is a bit complicated, because technically items can define their own on_pickup logic which might replace one item with another.
QA
I can't see the new log messages. That's all I get:
2024-03-07 11:42:37: ACTION[Server]: [yl_commons] "AliasAlreadyTaken" dropped "bucket:bucket_empty 3" at pos "(2006.7409667969,14.5,1153.2839355469)"
2024-03-07 11:42:37: ACTION[Server]: [yl_commons] AliasAlreadyTaken takes "bucket:bucket_empty 3" from {"name":"AliasAlreadyTaken","type":"player"} [main]
2024-03-07 11:42:39: ACTION[Server]: [yl_commons] [__builtin:item] removing "ghost of bucket:bucket_empty 3" dropped by AliasAlreadyTaken @ (2007,15,1152) 1.9s ago
2024-03-07 11:42:39: ACTION[Server]: player AliasAlreadyTaken (id=2, hp=20) punched LuaEntitySAO "__builtin:item" at (2007,15,1152) (id=12350, hp=1), damage=0
are you checking debug.txt and not the console output? you recently mentioned that as a reason why we saw different results.
That explains. It does appear in the debug.txt.
Unfortunately we don't store debug.txt, we only store terminal. Can you please make it that it appears in the console output?
Looks like it IS logged to the terminal, but not always?
whosit discovered that when I pick items up with empty hand, I don't see the log message. If I pick it up with some item in hand, I do get the log message.
that's... really weird. i can replicate the issue locally, let me see if i can figure it out.
apparently the
on_punch
callback is never even called when i've got an empty hand?! oh, i have an idea....fixed
4e0d2bf2f1
, ready to QA againQA
Now works with empty hand :)
i can't check this on main due to lack of access
This works on main and was already used. Fixed!