stpain / Guildbook_ClassicEra

Classic Guildbook for Era servers
zlib License
2 stars 3 forks source link

Plan to update it to the latest Cataclysm Classic? #7

Open Pocokk opened 6 months ago

Pocokk commented 6 months ago

Dear stpain/TheBoringDad,

Thank you for taking care about this addon, I myself really appreciate Your work!

However I got curious if is there a chance that you might able to update it for Cataclysm Classic as well? I think the community would love that!

Thank you and best regards, Pocok

Pocokk commented 6 months ago

Getting this lua error upon logging in, unfortunately it just doesn't work

2x Guildbook_ClassicEra/Database.lua:48: attempt to index global 'GUILDBOOK_GLOBAL' (a nil value) [string "@Guildbook_ClassicEra/Database.lua"]:48: in function Init' [string "@Guildbook_ClassicEra/Events.lua"]:362: in function?' [string "@Guildbook_ClassicEra/Events.lua"]:43: in function <Guildbook_ClassicEra/Events.lua:41>

Locals: self =

{ ResetKey = defined @Guildbook_ClassicEra/Database.lua:176 InsertCalendarEvent = defined @Guildbook_ClassicEra/Database.lua:226 DeleteCharacter = defined @Guildbook_ClassicEra/Database.lua:198 InsertCharacter = defined @Guildbook_ClassicEra/Database.lua:191 GetDailyQuestIDsForCharacter = defined @Guildbook_ClassicEra/Database.lua:307 SetConfig = defined @Guildbook_ClassicEra/Database.lua:286 DeleteCalendarEvent = defined @Guildbook_ClassicEra/Database.lua:237 GetConfig = defined @Guildbook_ClassicEra/Database.lua:293 Init = defined @Guildbook_ClassicEra/Database.lua:42 GetCharacterSyncData = defined @Guildbook_ClassicEra/Database.lua:351 SetCharacterSyncData = defined @Guildbook_ClassicEra/Database.lua:344 GetDailyQuestInfoForCharacter = defined @Guildbook_ClassicEra/Database.lua:323 GetCharacter = defined @Guildbook_ClassicEra/Database.lua:210 ImportData = defined @Guildbook_ClassicEra/Database.lua:182 GetDailyQuestInfo = defined @Guildbook_ClassicEra/Database.lua:300 GetCharacterNameFromGUID = defined @Guildbook_ClassicEra/Database.lua:216 GetCalendarEventsForPeriod = defined @Guildbook_ClassicEra/Database.lua:270 CleanGuilds = defined @Guildbook_ClassicEra/Database.lua:156 GetCalendarEventsBetween = defined @Guildbook_ClassicEra/Database.lua:252 Reset = defined @Guildbook_ClassicEra/Database.lua:166 } version = 2 (temporary) = nil (temporary) = 2 (temporary) = "Version" (temporary) = "2.0" (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = "attempt to index global 'GUILDBOOK_GLOBAL' (a nil value)" name = "Guildbook_ClassicEra" dbUpdates =
{ dailies =
{ } chats =
{ } calendar =
{ } } dbToRemove =
{ 1 = "worldEvents" 2 = "calendar.birthdays" } addon =
{ Database =
{ } Guild =
{ } api =
{ } ModBlizzUI = defined @Guildbook_ClassicEra/ModBlizzUI.lua:62 Comms =
{ } thisGuild = false dropdownWidgets =
{ } GenerateCallbackEvents = defined @Blizzard_SharedXML/CallbackRegistry.lua:216 TriggerEvent = defined @Blizzard_SharedXML/CallbackRegistry.lua:159 characters =
{ } RegisterCallback = defined @Blizzard_SharedXML/CallbackRegistry.lua:110 GuildFrame =
{ } SetUndefinedEventsAllowed = defined @Blizzard_SharedXML/CallbackRegistry.lua:77 UnregisterCallback = defined @Blizzard_SharedXML/CallbackRegistry.lua:185 contextMenu = GuildbookContextMenu { } itemIdToDataIndex =
{ } RegisterCallbackWithHandle = defined @Blizzard_SharedXML/CallbackRegistry.lua:154 Talents =
{ } Locales =
{ } LogDebugMessage = defined @Guildbook_ClassicEra/Globals.lua:106 GetCallbackTables = defined @Blizzard_SharedXML/CallbackRegistry.lua:81 GetCallbacksByEvent = defined @Blizzard_SharedXML/CallbackRegistry.lua:89 Character =
{ } initialGuildRosterScanned = false AddView = defined @Guildbook_ClassicEra/GuildbookMixin.lua:334 callbackTables =
{ } data =
{ } Tradeskills =
{ } itemData =
{ } DoesFrameHaveEvent = <function

Pocokk commented 6 months ago

and another one upon picking up a quest from an NPC

1x ...ddOns/Guildbook_ClassicEra/Views/Dailies/Dailies.lua:125: attempt to index field 'db' (a nil value) [string "@Guildbook_ClassicEra/Views/Dailies/Dailies.lua"]:125: in function `ScanQuestLog' [string "@Guildbook_ClassicEra/Views/Dailies/Dailies.lua"]:133: in function <...ddOns/Guildbook_ClassicEra/Views/Dailies/Dailies.lua:132>

[string "@Blizzard_SharedXML/CallbackRegistry.lua"]:178: in function <...rfaceBlizzard_SharedXML/CallbackRegistry.lua:177>

[string "@Blizzard_SharedXML/CallbackRegistry.lua"]:181: in function TriggerEvent' [string "@Guildbook_ClassicEra/Events.lua"]:52: in function?' [string "@Guildbook_ClassicEra/Events.lua"]:43: in function <Guildbook_ClassicEra/Events.lua:41>

Locals: self = GuildbookDailies { CheckQuestsCompleted = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:247 selectedCharacter = "" Quest_OnTurnIn = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:66 charactersListview = Frame { } filterFavorites = Button { } info = FontString { } filterButtonLabel = FontString { } OnLoad = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:15 UpdateLayout = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:59 Quest_OnAccepted = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:132 LoadQuests = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:195 background = Texture { } 0 = LoadCharacters = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:141 name = "Dailies" ScanQuestLog = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:89 filterFavoriteQuests = false UpdateHeaderInfo = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:37 Blizzard_OnInitialGuildRosterScan = defined @Guildbook_ClassicEra/Views/Dailies/Dailies.lua:137 questsListview = Frame { } } header = "Dalaran" (for index) = 2 (for limit) = 17 (for step) = 1 i = 2 title = "Proof of Demise: Threats to Azeroth" level = 80 suggestedGroup = "Heroic" isHeader = false isCollapsed = false isComplete = 1 frequency = 2 questId = 78753 questLink = "|cffffff00|Hquest:78753:80|h[Proof of Demise: Threats to Azeroth]|h|r" questData =

{ title = "Proof of Demise: Threats to Azeroth" link = "|cffffff00|Hquest:78753:80|h[Proof of Demise: Threats to Azeroth]|h|r" header = "Dalaran" level = 80 questId = 78753 frequency = 2 } (temporary) = nil (temporary) = "attempt to index field 'db' (a nil value)" currentQuestLog =
{ 78753 = true } Database =
{ ResetKey = defined @Guildbook_ClassicEra/Database.lua:176 InsertCalendarEvent = defined @Guildbook_ClassicEra/Database.lua:226 DeleteCharacter = defined @Guildbook_ClassicEra/Database.lua:198 InsertCharacter = defined @Guildbook_ClassicEra/Database.lua:191 GetDailyQuestIDsForCharacter = defined @Guildbook_ClassicEra/Database.lua:307 SetConfig = defined @Guildbook_ClassicEra/Database.lua:286 DeleteCalendarEvent = defined @Guildbook_ClassicEra/Database.lua:237 GetConfig = defined @Guildbook_ClassicEra/Database.lua:293 Init = defined @Guildbook_ClassicEra/Database.lua:42 GetCharacterSyncData = defined @Guildbook_ClassicEra/Database.lua:351 SetCharacterSyncData = defined @Guildbook_ClassicEra/Database.lua:344 GetDailyQuestInfoForCharacter = defined @Guildbook_ClassicEra/Database.lua:323 GetCharacter = defined @Guildbook_ClassicEra/Database.lua:210 ImportData = defined @Guildbook_ClassicEra/Database.lua:182 GetDailyQuestInfo = defined @Guildbook_ClassicEra/Database.lua:300 GetCharacterNameFromGUID = defined @Guildbook_ClassicEra/Database.lua:216 GetCalendarEventsForPeriod = defined @Guildbook_ClassicEra/Database.lua:270 CleanGuilds = defined @Guildbook_ClassicEra/Database.lua:156 GetCalendarEventsBetween = defined @Guildbook_ClassicEra/Database.lua:252 Reset = defined @Guildbook_ClassicEra/Database.lua:166 }