debiankaios reports: if you die and log out while y ... #1503
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#1503
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?
debiankaios reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
i'm pretty sure this is a dupe, but i'm not finding the other one. see the first part of this file for a "fix":
https://github.com/BlockySurvival/bls_custom/blob/master/fix_dead_on_login.lua
I tried to respawn out of map bounds, but I got reset to 0,0,0 wiht this log message:
Looks like the out of bound check is not necessary anymore, but unfortunately we are reset to 0,0,0 instead of the spawnpoint we want. This is the code responsible: https://github.com/minetest/minetest/blob/backport-5/src/serverenvironment.cpp#L602
Setting them to spawnpoint after they logged in with 0 HP is a good idea though. I added it to https://gitea.your-land.de/your-land/yl_commons/src/branch/yl_stable/bugfixes/bugfixes_logindeath.lua here:
a6c34e68fd
I was talking more about
the map boundary checking was for a different issue, and yeah it looks like that's been fixed upstream.
there's still possibly a problem where if you die and time out, you don't get sent to /spawn when you revive.
@flux How so?
I honestly have no idea how to replicate this, or what we could do to fix it properly. But I've heard other similar issues from other players for years, on occasion. That's the reason for that code block.
Then let's close until we can either reproduce or otherwise run into conditions where it frequently happens.