Skip to content

prevent ship's ghost images#118

Merged
BuckarooBanzay merged 1 commit into
mt-mods:masterfrom
MCLV-pandorabox:patch-1
Feb 4, 2026
Merged

prevent ship's ghost images#118
BuckarooBanzay merged 1 commit into
mt-mods:masterfrom
MCLV-pandorabox:patch-1

Conversation

@MCLV-pandorabox
Copy link
Copy Markdown
Contributor

@MCLV-pandorabox MCLV-pandorabox commented Jan 12, 2026

If you jump the ship a further than 3 mapblocks, you see a ghost image of your ship due to the cache of the client. Once you get withing activation range of the ghost image, it disappears. To prevent this we force the mapblock of the source location to the players affected

…ocks

If you jump the ship a further than 3 mapblocks, you see a ghost image of your ship due to the cache of the client.
Once you get withing activation range of the ghost image, it disappears.
To prevent this we force the mapblock of the source location to the players affected
@OgelGames
Copy link
Copy Markdown
Contributor

Did you test this with ships split across multiple mapblocks? Also might be worth checking the distance traveled to avoid unnecessary sending.

@MCLV-pandorabox
Copy link
Copy Markdown
Contributor Author

I did not test it with ships spanning multiple map blocks, nor did I bother checking the distance since this would add more complexity to a an otherwise super simple fix. that does not cause very much more data to be sent to the client.
I would suggest to just implement it now and perhaps, if needed add more complexity to it later, if so desired.

@BuckarooBanzay BuckarooBanzay added the enhancement New feature or request label Feb 4, 2026
@BuckarooBanzay
Copy link
Copy Markdown
Member

looks sane, thanks 👍

@BuckarooBanzay BuckarooBanzay merged commit 6ee1d09 into mt-mods:master Feb 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants