Monolith DKP

Monolith DKP

687k Downloads

/dkp causing lua errors

Dezcarath opened this issue ยท 13 comments

commented

Hi Roeshambo,

Monolith DKP is loading fine and I'm able to bring up other backslash commands, however when I use /dkp to bring up our guildies totals I keep getting lua errors. Would you have a solution to this because I'm out of my element when fixing these.

commented

Can you post what errors you're getting? If there are multiple (arrows on the bottom), the first one is usually the most helpful.

commented

I copied it all, I hope its not too much.
Date: 2019-12-12 19:38:22
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\MonolithDKP\init.lua line 270:
attempt to index field 'DKP' (a nil value)
Debug:
MonolithDKP\init.lua:270:
MonolithDKP\init.lua:248
Locals:
(*temporary) = nil
(*temporary) = "Earthenbull"
(*temporary) = "player"
(*temporary) = "Earthenbull"
(*temporary) = nil
(*temporary) = defined @interface\AddOns\DBM-Core\Libs\AceComm-3.0\AceComm-3.0.lua:87
(*temporary) =

{
SetDefaultModuleLibraries = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
Enable = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
baseName = "MonolithDKP"
EnableModule = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules =
{
}
GetModule = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
IsModule = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:468
UnregisterComm = defined @interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
defaultModuleLibraries =
{
}
SendData = defined @interface\AddOns\MonolithDKP\Modules\comm.lua:1779
UnregisterAllComm = defined @interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
SetEnabledState = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
OnCommReceived = defined @interface\AddOns\MonolithDKP\Modules\comm.lua:528
enabledState = true
OnEnable = defined @interface\AddOns\MonolithDKP\Modules\comm.lua:482
SendCommMessage = defined @interface\AddOns\DBM-Core\Libs\AceComm-3.0\AceComm-3.0.lua:87
RegisterComm = defined @interface\AddOns\DBM-Core\Libs\AceComm-3.0\AceComm-3.0.lua:60
GetName = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
defaultModuleState = true
Disable = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:314
IterateModules = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
name = "MonDKP"
SetDefaultModulePrototype = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
IsEnabled = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules =
{
}
SetDefaultModuleState = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:387
DisableModule = defined @interface\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
}
(*temporary) = "MDKPQuery"
(*temporary) = "start"
(*temporary) = "GUILD"
(*temporary) = nil
(*temporary) = "NORMAL"
(*temporary) = nil
(*temporary) = nil
(*temporary) = 5
(*temporary) = 255
(*temporary) = "attempt to index field 'DKP' (a nil value)"
MonDKP =
{
CurrentIndex_Set = defined @interface\AddOns\MonolithDKP\Core.lua:804
DKPHistory_Update = defined @interface\AddOns\MonolithDKP\Modules\DKPHistory.lua:262
StartTimer = defined @interface\AddOns\MonolithDKP\Core.lua:467
MigrationFrame = defined @interface\AddOns\MonolithDKP\Modules\Migration.lua:211
StartBidTimer = defined @interface\AddOns\MonolithDKP\Modules\Bidding.lua:714
ValidateDKPTable_DKP = defined @interface\AddOns\MonolithDKP\Modules\Validate.lua:200
PurgeDKPHistory = defined @interface\AddOns\MonolithDKP\Core.lua:344
RaidTimerPopout = MonDKP_RaidTimerPopout {
}
SortLootTable = defined @interface\AddOns\MonolithDKP\Modules\LootHistory.lua:11
ConfigTab3 = {
}
UIConfig = MonDKPConfig {
}
GetGuildRankGroup = defined @interface\AddOns\MonolithDKP\Core.lua:208
BroadcastTimer = defined @interface\AddOns\MonolithDKP\Core.lua:428
ConfigTab6 = {
}
RequestSync = defined @interface\AddOns\MonolithDKP\Modules\comm.lua:399
ClassGraph = defined @interface\AddOns\MonolithDKP\Modules\ClassGraph.lua:7
BroadcastStopBidTimer = defined @Inter

commented

Looks like your Meta table is corrupted. Can you please post your saved variables file. It's located @ WTF\Accounts\ACCOUNT_NAME\SavedVariables\MonolithDKP.lua

commented

I cant post or open a lua file

commented

copy it to your desktop and put .txt on the end of it. then post that.

commented

I'm still having trouble. I had changed the name to include .txt but it's still not letting me

commented

Should be able to drag and drop into the chat box. Is it giving you an error?

commented

I can open it in word, though its a 32 page document.

Yes, it's saying it doesn't support the file type.

commented

Ah ok. You're probably not showing file extensions. If you can zip it you can post it with that format.

commented
commented

Replace your MonolithDKP.lua file that you just sent me with the file in this Zip. Make sure your WoW client is completely closed when you do or else it won't take.
MonolithDKP.zip

commented

whew yes that worked, thank you so much!

commented

No problem.