Closed yoshimo closed 3 years ago
I think the existsClassic definition might be best to be expanded so instead of that one line two things should happen:
existsClassicBasic = (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC),
existsClassicBurningCrusade = (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC),
and then just before the code that looks like:
if self.existsClassic then
self.environment = "_classic_"
end
the following can be added:
self.existsClassic = self.existsClassicBasic or self.existsClassicBurningCrusade,
I believe the issue with the _SendQuestChoiceList
error is fixed with the code I pushed today.
Having a separation between self.existsClassicBasic
and self.existsClassicBurningCrusade
might allow detecting things that are appearing in the Burning Crusade version such that both the normal classic and BC classic code can be the same with proper detections as needed.
So I tried this, and it didn't seem to work. Do you have a working fix you can upload and link?
https://github.com/yoshimo/Grail/tree/bcc Not completely done yet but it should be able to record things
Still getting an issue where Wholly complains that it needs Grail version 110 or later to work
The branch should give you 115 if I made no mistake when rebasing.
So is wholly at fault then? Coz I swapped out my existing Grail for a copy from your link.
Still getting the following errors in game:
Date: 2021-05-30 06:44:35 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\Wholly\Wholly.lua line 3852: attempt to call method 'SetBackdrop' (a nil value) Debug:
string "@Wholly\Wholly.lua":3852: _SetupSearchFrame() string "@Wholly\Wholly.lua":686: ?() string "@Wholly\Wholly.lua":2526: _OnEvent()
Wholly\Wholly.lua:4427
Locals:
Um, hang on a sec..
Regarding Wholly's lua, I added:
else if not frame.SetBackdrop then Mixin(frame, BackdropTemplateMixin) end
Just before
frame:SetBackdrop({
This got the frame to display at least, but there's no quest text, and now it's throwing up the following issues which are beyond me XD
Date: 2021-05-30 07:10:29 ID: 2 Error occured in: Global Count: 1 Message: ..\AddOns\Wholly\Wholly.lua line 2605: attempt to index field 'color' (a nil value) Debug:
string "@Wholly\Wholly.lua":2605: _PrettyQuestCountString() string "@Wholly\Wholly.lua":1839: _FilterQuests() string "@Wholly\Wholly.lua":1871: _FilterPanelQuests() string "@Wholly\Wholly.lua":3494: ScrollFrame_Update() string "@Wholly\Wholly.lua":3381: ScrollFrame_Update_WithCombatCheck() string "@Wholly\Wholly.lua":1883: _ForcePanelMapArea() string "@Wholly\Wholly.lua":2769: _ProcessInitialUpdate() string "@Wholly\Wholly.lua":2539: OnShow()
Wholly\Wholly.lua:4022
string "@Wholly\Wholly.lua":4362: ToggleUI() string "@Wholly\Wholly.lua":4185: SlashCommand() string "@Wholly\Wholly.lua":1993: ?() string "@..\FrameXML\ChatFrame.lua":4825: ChatEdit_ParseText() string "@..\FrameXML\ChatFrame.lua":4488: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:2909
[string "@..\FrameXML\SecureTemplates.lua"]:338: handler() [string "@..\FrameXML\SecureTemplates.lua"]:616: SecureActionButton_OnClick()
[string "*:OnClick"]:1
Locals:
=================================================================
and
Date: 2021-05-30 07:10:22 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\Wholly\Wholly.lua line 3697: hooksecurefunc(): QuestMapLogTitleButton_OnEnter is not a function Debug:
string "@Wholly\Wholly.lua":3697: _SetupBlizzardQuestLogSupport() string "@Wholly\Wholly.lua":723: ?() string "@Wholly\Wholly.lua":2526: _OnEvent()
Wholly\Wholly.lua:4431
Locals:
=============================================================
and
Date: 2021-05-30 07:15:48 ID: 3 Error occured in: Global Count: 4 Message: ..\SharedXML\HybridScrollFrame.lua line 67: bad argument #1 to 'min' (number expected, got nil) Debug:
..\SharedXML\HybridScrollFrame.lua:57
Locals:
[edited] removed all the addon references to clean it up
I believe this is no longer happening with the latest GitHub code based on comments in https://github.com/smaitch/Grail/issues/278
Yup, you can go ahead an close the issues I believe
BC Classic is some sort of hybrid between classic and 9.1 api, so right now it is a nasty
I made the following changes to process
existsClassic = (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC),
in Grail.luai removed everything inside
_SendQuestChoiceList
to avoid an errormight be my own fault in my local patched version though.
Now we have
which might have to do with Bloodelfs being new in that expansion