Skip to content

transport vanishing fix#300

Merged
billy1arm merged 1 commit intomangoszero:masterfrom
bozimmerman:transport_inzone_fix
Apr 20, 2026
Merged

transport vanishing fix#300
billy1arm merged 1 commit intomangoszero:masterfrom
bozimmerman:transport_inzone_fix

Conversation

@bozimmerman
Copy link
Copy Markdown
Contributor

@bozimmerman bozimmerman commented Apr 6, 2026

Transports that travel within a single zone have a problem where the client will silently drop the transport object when it goes out of visible range, making it invisible to a player the next time it comes around to the same dock. Presumably (because we are talking internal client logic here), this isn't a problem for Menethil harbor, etc style transports because they already send new Delete + Create packets whenever the transport crosses maps.

The proposed fix re-sends the delete + create packets for the transport to all in-zone players whenever the transport stops (docks). It seems to fix the problem, though I'm still suspicious as to why it works as well as it does.

P.S. I tried sending only create messages, and I tried sending delete+create only for players entering the zone -- nothing seemed to work, which is why I suspect it's about visbility range on the client side.


This change is Reviewable

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 4 complexity · 0 duplication

Metric Results
Complexity 4
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@AppVeyorBot
Copy link
Copy Markdown

@billy1arm billy1arm merged commit 58fce65 into mangoszero:master Apr 20, 2026
8 checks passed
@bozimmerman bozimmerman deleted the transport_inzone_fix branch April 21, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants