Lua error in raid invites. Version 9.0.2.190
kh4zad opened this issue · 4 comments
Hello!
This error pops when I set my raid schedule and it starts the invites:
4x RaidAssist\plugins\invite-Invitar.lua:1044: attempt to call global 'GuildRoster' (a nil value)
[string "@RaidAssist\plugins\invite-Invitar.lua"]:1044: in function <RaidAssist\plugins\invite.lua:1039>
[string "=(tail call)"]: ?
[string "@SharedXML\C_TimerAugment.lua"]:16: in function <SharedXML\C_TimerAugment.lua:14>Locals:
{
self =
menu_on_click = defined @RaidAssist\plugins\invite.lua:47
CheckForAutoInvites = defined @RaidAssist\plugins\invite.lua:1121
menu_popup_hide = defined @RaidAssist\plugins\invite.lua:42
OnInstall = defined @RaidAssist\plugins\invite.lua:60
DoInvitesForPreset = defined @RaidAssist\plugins\invite.lua:944
CheckRaidLeaderForPreset = defined @RaidAssist\plugins\invite.lua:880
CHAT_MSG_WHISPER = defined @RaidAssist\plugins\invite.lua:149
CHAT_MSG_BN_WHISPER = defined @RaidAssist\plugins\invite.lua:153
BuildOptions = defined @RaidAssist\plugins\invite.lua:230
OnProfileChanged = defined @RaidAssist\plugins\invite.lua:96
StartInvites = defined @RaidAssist\plugins\invite.lua:1097
version = "v0.1"
DeletePreset = defined @RaidAssist\plugins\invite.lua:207
CheckMasterLootForPreset = defined @RaidAssist\plugins\invite.lua:890
menu_text = defined @RaidAssist\plugins\invite.lua:30
SetRaidDifficultyForPreset = defined @RaidAssist\plugins\invite.lua:869
popup_frame = RAInvitePopupFrame {
}
_eventFrame = {
}
GROUP_ROSTER_UPDATE = defined @RaidAssist\plugins\invite.lua:925
GetScheduleCores = defined @RaidAssist\plugins\invite.lua:214
GetAllPresets = defined @RaidAssist\plugins\invite.lua:199
db ={
}
SendInviteAnnouncementMsg = defined @RaidAssist\plugins\invite.lua:1156
GetPreset = defined @RaidAssist\plugins\invite.lua:203
StopAutoInvites = defined @RaidAssist\plugins\invite.lua:1020
menu_popup_show = defined @RaidAssist\plugins\invite.lua:38
NextCheckTimer ={
}
db_default ={
}
main_frame = RAInviteMainFrame {
}
PARTY_INVITE_REQUEST = defined @RaidAssist\plugins\invite.lua:179
OnEnable = defined @RaidAssist\plugins\invite.lua:86
_eventsCallback ={
}
pluginname = "Invites"
AutoInviteTick = defined @RaidAssist\plugins\invite.lua:990
OnDisable = defined @RaidAssist\plugins\invite.lua:91
StartInvitesAuto = defined @RaidAssist\plugins\invite.lua:1039
OnShowOnOptionsPanel = defined @RaidAssist\plugins\invite.lua:225
}
preset ={
difficulty = 16
masterloot = ""
name = "Raid diaria"
autostartcore = "Core 1"
keepinvites = 10
autostart = true
raidleader = ""
ranks ={
}
}
remaining = 600
(*temporary) = nil
(*temporary) = "attempt to call global 'GuildRoster' (a nil value)"
Invite ={
menu_on_click = defined @RaidAssist\plugins\invite.lua:47
CheckForAutoInvites = defined @RaidAssist\plugins\invite.lua:1121
menu_popup_hide = defined @RaidAssist\plugins\invite.lua:42
OnInstall = defined @RaidAssist\plugins\invite.lua:60
DoInvitesForPreset = defined @RaidAssist\plugins\invite.lua:944
CheckRaidLeaderForPreset = defined @RaidAssist\plugins\invite.lua:880
CHAT_MSG_WHISPER = defined @RaidAssist\plugins\invite.lua:149
CHAT_MSG_BN_WHISPER = defined @RaidAssist\plugins\invite.lua:153
BuildOptions = defined @RaidAssist\plugins\invite.lua:230
OnProfileChanged = defined @RaidAssist\plugins\invite.lua:96
StartInvites = defined @RaidAssist\plugins
Hello again @Tercioo
I managed to fix this issue with the code in this pull request: #3
But after that fix, there is another error when the addon tries to change the group size to raid:
131x ...dOns\RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:872: attempt to concatenate local 'charges' (a nil value)
[string "@RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua"]:872: in functionSendCooldownUpdate' [string "@RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua"]:755: in function
?'
[string "@RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua"]:467: in function `TriggerEvent'
[string "@RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua"]:507: in function <...dOns\RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:506>Locals:
{
spellId = 212552
cooldownTimeLeft = nil
charges = nil
(*temporary) = "U"
(*temporary) = ","
(*temporary) = 212552
(*temporary) = ","
(*temporary) = nil
(*temporary) = ","
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'charges' (a nil value)"
CONST_COMM_COOLDOWNUPDATE_PREFIX = "U"
raidStatusLib =
GetPlayerSpecId = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:57
GetPlayerTalents = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:90
commHandler ={
}
IsInGroup = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:182
IsCommAllowed = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:142
gearManager ={
}
specAttribute ={
}
UnpackTable = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:152
TCopy = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:107
playerAlive = true
playerInfoManager ={
}
cooldownManager ={
}
publicCallback ={
}
PackTable = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:115
RegisterCallback = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:407
internalCallback ={
}
CanReceiveComms = true
UnregisterCallback = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:419
inGroup = true
UpdatePlayerAliveStatus = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:67
mainControl ={
}
Schedules ={
}
isNearlyEqual = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:136
}
diagnosticComm = defined @RaidAssist\Libs\LibRaidStatus\LibRaidStatus.lua:50If you manually change the group size to raid, the invites work flawlessly.
If you have time to take a look at this, thanks in advance!