Errors in Shadowlands/Pre Patch
drejjmit opened this issue ยท 1 comments
Getting this error when speaking to any NPC with Gossips. Many API calls changed for Shadowlands. Here are some examples:
C_GossipInfo.GetOptions
C_GossipInfo.CloseGossip
C_GossipInfo.GetNumOptions
C_GossipInfo.SelectOption
C_GossipInfo={
GetPoiInfo=<function>,
GetAvailableQuests=<function>,
SelectAvailableQuest=<function>,
ForceGossip=<function>,
GetNumAvailableQuests=<function>,
GetNumActiveQuests=<function>,
GetOptions=<function>,
SelectOption=<function>,
GetPoiForUiMapID=<function>,
CloseGossip=<function>,
GetActiveQuests=<function>,
SelectActiveQuest=<function>,
RefreshOptions=<function>,
GetText=<function>,
GetNumOptions=<function>
}
Time: Fri Oct 2 08:01:15 2020
Count: 8
Stack: Interface\AddOns\InteractiveWormholes\addon.lua:124: attempt to call global 'GetNumGossipOptions' (a nil value)
[string "@Interface\AddOns\InteractiveWormholes\addon.lua"]:124: in function <Interface\AddOns\InteractiveWormholes\addon.lua:116>
Locals: self = <unnamed> {
0 = <userdata>
}
event = "GOSSIP_SHOW"
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumGossipOptions' (a nil value)"
lines = <table> {
}
showCallbacks = <table> {
1 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Footholds.lua:32
2 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\MoleMachine.lua:60
3 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Stormflight.lua:15
4 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\UnderbellyPortals.lua:14
5 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Vethir.lua:12
6 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Warfronts.lua:49
7 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Wormholes.lua:40
}
addon = <table> {
LibBabble-SubZone-3.0-LoadingLib = <table> {
}
GetLines = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:94
SelectGossipLine = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:105
Remove = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:36
GetMapName = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:83
SetMapID = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:56
GetNPCID = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:72
L = <table> {
}
NewMarker = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:47
Add = <function> defined @Interface\AddOns\InteractiveWormholes\addon.lua:19
}
origGossipHide = <function> defined *:OnHide:1
markerPool = <table> {
numActiveObjects = 0
inactiveObjects = <table> {
}
ReleaseAll = <function> defined @Interface\SharedXML\Pools.lua:74
activeObjects = <table> {
}
OnLoad = <function> defined @Interface\SharedXML\Pools.lua:30
IsActive = <function> defined @Interface\SharedXML\Pools.lua:92
GetNumActive = <function> defined @Interface\SharedXML\Pools.lua:96
resetterFunc = <function> defined @Interface\AddOns\InteractiveWormholes\marker.lua:241
GetNextInactive = <function> defined @Interface\SharedXML\Pools.lua:88
creationFunc = <function> defined @Interface\AddOns\InteractiveWormholes\marker.lua:196
EnumerateActive = <function> defined @Interface\SharedXML\Pools.lua:80
Release = <function> defined @Interface\SharedXML\Pools.lua:59
Acquire = <function> defined @Interface\SharedXML\Pools.lua:40
GetNextActive = <function> defined @Interface\SharedXML\Pools.lua:84
EnumerateInactive = <function> defined @Interface\SharedXML\Pools.lua:100
}
hideCallbacks = <table> {
1 = <function> defined @Interface\AddOns\InteractiveWormholes\modules\Wormholes.lua:73
}```