EMA

EMA

19.6k Downloads

Issue on Looting - Interaction.lua:881

BarryBC opened this issue ยท 3 comments

commented

Hello,

Hope you are keeping well.

I keep getting the following errors when I attempt to loot mobs on Master and on Slaves.

I only play a few hours a day when I have some time, and mostly in the Dreamsurge Area's - not sure if something new added there is affecting it.

Here are the errors I get in game:

_Message: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Fri Oct 27 08:38:36 2023
Count: 12
Stack: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "=[C]"]: in function `GetContainerNumSlots'
[string "@Interface/AddOns/EMA/Modules/Interaction.lua"]:881: in function `?'
[string "@Interface/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...ce/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals: (*temporary) = <function> defined =[C]:-1_

_Message: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Fri Oct 27 09:08:48 2023
Count: 52
Stack: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "=[C]"]: in function `GetContainerNumSlots'
[string "@Interface/AddOns/EMA/Modules/Interaction.lua"]:881: in function `?'
[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...UI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals: (*temporary) = <function> defined =[C]:-1_

_Message: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Fri Oct 27 10:30:33 2023
Count: 40
Stack: Interface/AddOns/EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "=[C]"]: in function `GetContainerNumSlots'
[string "@Interface/AddOns/EMA/Modules/Interaction.lua"]:881: in function `?'
[string "@Interface/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua"]:55: in function <...ce/AddOns/Details/Libs/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals: (*temporary) = <function> defined =[C]:-1_

Thanks for any assistance you can give.

commented

Line 881 needs to be changed to:

for slotID = 1,C_Container.GetContainerNumSlots( bagID ),1 do

commented

Also seeing this, although mine:

`356x EMA/Modules/Interaction.lua:881: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@EMA/Modules/Interaction.lua"]:881: in function `?'
[string "@ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0-17.lua"]:55: in function <...rkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:50>

Locals:
self = <table> {
 moduleDisplayName = "Interaction"
 modules = <table> {
 }
 SettingsToggleTellBoEEpic = <function> defined @EMA/Modules/Interaction.lua:449
 SettingsSetMessageArea = <function> defined @EMA/Modules/Interaction.lua:393
 SecureHook = <function> defined @ArkInventory/Externals/Ace3/AceHook/AceHook-3.0.lua:335
 settingsDatabaseName = "InteractionProfileDB"
 TeamMount = <function> defined @EMA/Modules/Interaction.lua:715
 EMAOnSettingsReceived = <function> defined @EMA/Modules/Interaction.lua:460
 SetDefaultModulePrototype = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 LeavsTaxi = false
 IsEnabled = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 SettingsToggleDisMountWithTeam = <function> defined @EMA/Modules/Interaction.lua:424
 ScheduleTimer = <function> defined @ArkInventory/Externals/Ace3/AceTimer/AceTimer-3.0.lua:94
 SettingsToggleTakeTaxi = <function> defined @EMA/Modules/Interaction.lua:403
 AmNotMounted = <function> defined @EMA/Modules/Interaction.lua:779
 EMARegisterModule = <function> defined @EMA/Core/Module.lua:57
 EMAChatCommand = <function> defined @EMA/Core/Module.lua:109
 RegisterMessage = <function> defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
 UnregisterMessage = <function> defined @TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 SettingsCreateTaxi = <function> defined @EMA/Modules/Interaction.lua:223
 hooks = <table> {
 }
 db = <table> {
 }
 ReceiveRandomMountWithTeam = <function> defined @EMA/Modules/Interaction.lua:793
 SetEnabledState = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
 Hook = <function> defined @ArkInventory/Externals/Ace3/AceHook/AceHook-3.0.lua:273
 SettingsToggleMountInRange = <function> defined @EMA/Modules/Interaction.lua:434
 SettingsTogglerequestStop = <function> defined @EMA/Modules/Interaction.lua:408
 TaxiRequestEarlyLanding = <function> defined @EMA/Modules/Interaction.lua:597
 OnEnable = <function> defined @EMA/Modules/Interaction.lua:176
 TakeTaxiNode = <function> defined @EMA/Modules/Interaction.lua:573
 SettingsChangeTaxiTimer = <function> defined @EMA/Modules/Interaction.lua:413
 OnInitialize = <function> defined @EMA/Modules/Interaction.lua:151
 NewModule = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
 EMASendSettings = <function> defined @EMA/Core/Module.lua:66
 COMMAND_CLOSE_TAXI = "EMACloseTaxi"
 TAXIMAP_OPENED = <function> defined @EMA/Modules/Interaction.lua:515
 GetName = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:275
 EMASendCommandToTeam = <function> defined @EMA/Core/Module.lua:71
 name = "Interaction"
 SettingsPushSettingsClick = <function> defined @EMA/Modules/Interaction.lua:219
 settingsFrame = Frame {
 }
 Disable = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:310
 GetConfiguration = <function> defined @EMA/Modules/Interaction.lua:86
 Unhook = <function> defined @ArkInventory/Externals/Ace3/AceHook/AceHook-3.0.lua:417
 Print = <function> defined @ArkInventory/Externals/Ace3/AceConsole/AceConsole-3.0.lua:50
 OnMessageAreasChanged = <function> defined @EMA/Modules/Interaction.lua:388
 COMMAND_MOUNT_DISMOUNT = "EMAMountDisMount"
 TakesTaxi = false
 EnableAutoLoot = <function> defined @EMA/Modules/Interaction.lua:869
 UPDATE_BINDINGS = <function> defined @EMA/Modules/Interaction.lua:980
 TAX`
commented

@nancikennedy Absolute legend, thank you very much, all fixed!