Specific Dungeon not Loading
abpandanguyen opened this issue · 2 comments
When I try to set the dungeon to Freehold specifically, the map for it doesn't load and I am unable to map a route for it at all. All other dungeons work, just Freehold is unable to load.
I am also having trouble clicking on routes from others specifically when they are from my server. I am able to open routes from others just fine.
While I'm not terribly versed in Lua, I think I've found the cause of this issue.
-- current code
[16] = {
[0]= "KulTirasPirateTownDungeon",
[1]= "KulTirasPirateTownDungeon",
},
-- proposed change
[16] = {
[0]= "KulTirasPirateTownDungeon",
[1]= "KulTirasPirateTownDungeon",
[2]= "KulTirasPirateTownDungeon",
},
Here's where these lines exist in the codebase for reference.
The reason for this change is that the currentSublevel returned for Freehold is 2 while there is no key/value pair in the current table for the 2 key. The line that causes this error is here
So what does this mean for me exactly ? Thanks for replying by the way and
happy holidays!
…On Wed, Dec 26, 2018 at 12:01 AM Endoze ***@***.***> wrote:
While I'm not terribly versed in Lua, I think I've found the cause of this
issue.
-- current code
[16] = {
[0]= "KulTirasPirateTownDungeon",
[1]= "KulTirasPirateTownDungeon",
},
-- proposed change
[16] = {
[0]= "KulTirasPirateTownDungeon",
[1]= "KulTirasPirateTownDungeon",
[2]= "KulTirasPirateTownDungeon",
},
Here's
<https://github.com/nnogga/MethodDungeonTools/blob/da96b33dde80dc2cce25d644563e91220a9a5df1/MethodDungeonTools.lua#L430-L433>
where these lines exist in the codebase for reference.
The reason for this change is that the currentSublevel returned for
Freehold is 2 while there is no key/value pair in the current table for the
2 key. The line that causes this error is here
<https://github.com/nnogga/MethodDungeonTools/blob/da96b33dde80dc2cce25d644563e91220a9a5df1/MethodDungeonTools.lua#L1566>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArzkfKDPJe_0uQBbaVEZN_eHFrHFf3Rlks5u8yzjgaJpZM4ZV3KG>
.