fix(scene): unlock teleport pillars on maps missing from mapDefaultEntranceMap
The user report: pillars visible on the map but locked, and clicking a teleport does nothing (client never sends EnterScene). Root cause: mapDefaultEntranceMap covers only 115 of 371 floors - the GetSceneMapInfo reply had no unlocked teleports for the missing floors (mostly new-region 2xxxxx maps), so the client locked the pillars and never initiated the teleport. - findEntryForFloor: resolve entry by searching config names P*_F<floor> directly, with mapDefaultEntranceMap as the first chance - GetSceneMapInfo: use the new resolver and merge teleports.json keys into unlocked_teleport_list for every floor - EnterScene: floor ids resolve through the same path; a teleport id arriving via scene_identifier (MDAIDPPKOPO.PLIDNBMCIJH) now also resolves the destination entry - loadScene: exact teleport position from teleports.json when the res config has no inline teleport with that id
This commit is contained in:
1 parent
72861c3028
commit
d364b9616f
4 files changed
+90
-12
No files matched your search
@@ -2,3 +2,4 @@
|
||||
gameserver.log
|
||||
server_debug.log
|
||||
*.log
|
||||
*.exe~
|
||||
Reference in new issue
Block a user