chancedj / LockedOut

wow raid and dungeon lockouts
8 stars 2 forks source link

Having Keystone in inventory causes crash #129

Closed emersonrp closed 6 years ago

emersonrp commented 6 years ago
LockedOut\Instances.lua:198: attempt to call upvalue 'C_GetMapInfo' (a nil value)
LockedOut\Instances.lua:198: in function `Lockedout_BuildInstanceLockout'
LockedOut\Character-Character.lua:154: in function `Lockedout_GetCurrentCharData'
LockedOut\Minimap.lua:457: in function `ShowInfo'
LockedOut\Configuration.lua:457: in function `OnEnter'

"GetMapInfo" wants to be "GetMapUIInfo" now but it doesn't seem to be a drop-in replacement.

chancedj commented 6 years ago

thanks. i'll look into it. on vacation atm but get back sunday and should be able to see whats going on. it may be an api change i need to take care of.

ThiefMaster commented 6 years ago

Without a keystone I get an error as well:

Date: 2018-07-21 22:40:20
ID: 1
Error occured in: Global
Count: 12
Message: ..\AddOns\LockedOut\Instances.lua line 217:
   attempt to call upvalue 'C_GetMapPlayerStats' (a nil value)
Debug:
   LockedOut\Instances.lua:217: Lockedout_BuildInstanceLockout()
   LockedOut\Character.lua:154: Lockedout_GetCurrentCharData()
   LockedOut\Configuration.lua:590: ?()
   ...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:145:
      ...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:145
   [string "safecall Dispatcher[2]"]:4:
      [string "safecall Dispatcher[2]"]:4
   [C]: ?
   [string "safecall Dispatcher[2]"]:13: ?()
   ...ibDataBroker\CallbackHandler\CallbackHandler-1.0.lua:90: Fire()
   ...dOns\Bazooka\libs\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120:
      ...dOns\Bazooka\libs\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119
chancedj commented 6 years ago

this is fixed with the lastest commits. releasing shortly. 1.8.5 should be the version you're looking for to fix this.