fix: map blackscreen after teleport from differing height levels - #1096
fix: map blackscreen after teleport from differing height levels#1096DesecratedTree wants to merge 1 commit into
Conversation
|
This is lovely. I am amazed. |
|
Hmm I've never encountered this before, would it trigger using ladders to change levels? |
Good question, I've never tested ladders. I'm assuming its just teleports since the same map square is already loaded on level changes (ladders). Test on live by going up to lumbridge castle and teleporting to camelot or another area. You will see the bug. |
|
I'm unable to replicate this issue, can you test with the normal client rather than the runelite one? Need to rule that out. Also it doesn't make sense to me how this fix helps. If you're teleporting from lumbridge castle to camelot the region coordinates will change and The only time a player changes level but not region is when going up/down stairs |
|
I can't replicate it either on the latest client in standalone form. |
Root cause identified: Client's method3157 has a guard condition that states if zoneX == storedZoneX && zoneY == storedZoneY && !forceRefresh, the body is skipped, leaving scene data cleared by method3120 but never repopulated → black map.
Fix applied: Added Z-level check to inViewOfZone in RegionLoading.kt:99 which previously only checked X/Y, so teleports to the same zone coordinates but different plane (e.g., surface↔dungeon) would NOT trigger a region reload, causing the player to have a black map.
