Mythic Dungeon Tools - MDT

Mythic Dungeon Tools - MDT

67M Downloads

Specific Dungeon not Loading

abpandanguyen opened this issue · 2 comments

commented

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.

commented

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

commented