Skip to content

Fix delayed world-to-map pawn timestamp conversion#949

Open
Kuinox wants to merge 1 commit into
rwmt:devfrom
Kuinox:fix-lend-colonist-return-timestamps-dev
Open

Fix delayed world-to-map pawn timestamp conversion#949
Kuinox wants to merge 1 commit into
rwmt:devfrom
Kuinox:fix-lend-colonist-return-timestamps-dev

Conversation

@Kuinox

@Kuinox Kuinox commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Disclaimer: I delegated the fix to codex but I don't know enough of the codebase to understand the fix.

The bug it fixes is that pawn that come back from a lending pawn quest, never sleep.
It's an issue with async time and the next sleep tick of the pawn is based on the world time tick.
I did tested on my own server and my pawn can sleep normally after coming back from a lending pawn quests with this patch

@Kuinox Kuinox marked this pull request as draft June 7, 2026 17:46
@Kuinox

Kuinox commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

There is maybe a desync issue caused by that...

@Kuinox Kuinox marked this pull request as ready for review June 7, 2026 18:08
@Kuinox

Kuinox commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

Nvm I was running debug build against a host in Release.

@notfood notfood added fix Fixes for a bug or desync. async Bugs or issues only in async time mode. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). labels Jun 8, 2026
@notfood notfood moved this to In review in 1.6 and Odyssey Jun 8, 2026

@notfood notfood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems simple enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). async Bugs or issues only in async time mode. fix Fixes for a bug or desync.

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants