Baganator

Baganator

1M Downloads

Adding support for Chinese WotLK version?

vorsh-cell opened this issue · 7 comments

commented

Currently, this add-on that loads on Chinese WotLK version looks like this:

Screenshot 2024-07-26 050746

Bugsack grabbed two errors:

13x Syndicator/Search/CheckItem.lua:992: attempt to call field 'GetItemClassInfo' (a nil value)
[string "@Syndicator/Search/CheckItem.lua"]:992: in function InitializeSearchEngine' [string "@Syndicator/Search/Initialize.lua"]:2: in function Initialize'
[string "@Syndicator/Core/Main.lua"]:12: in function `cb'
[string "@Syndicator/Core/Utilities.lua"]:12: in function <Syndicator/Core/Utilities.lua:9>

Locals:
(for index) = 0
(for limit) = 19
(for step) = 1
i = 0
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to call field 'GetItemClassInfo' (a nil value)"
AddKeyword = defined @Syndicator/Search/CheckItem.lua:340

12x ...Ons/Baganator/UnifiedViews/CollapsingBagSections.lua:42: attempt to call field 'GetItemInfoInstant' (a nil value)
[string "@Baganator/UnifiedViews/CollapsingBagSections.lua"]:42: in function GetCollapsingBagDetails' [string "@Baganator/UnifiedViews/BackpackView.lua"]:235: in function AllocateBags'
[string "@Baganator/UnifiedViews/BackpackView.lua"]:548: in function UpdateForCharacter' [string "@Baganator/UnifiedViews/Main.lua"]:51: in function <Baganator/UnifiedViews/Main.lua:45> [string "@Baganator/UnifiedViews/Main.lua"]:108: in function <Baganator/UnifiedViews/Main.lua:101> [string "=[C]"]: in function ToggleBackpack'
[string "TOGGLEBACKPACK"]:1: in function <[string "TOGGLEBACKPACK"]:1>

Locals:
character = "狂暴的韦恩-巫妖王"
section = "bags"
indexes =

{
1 = 0
2 = 1
3 = 2
4 = 3
5 = 4
6 = -2
}
slotsCount = 4
characterInfo =
{
containerInfo =
{
}
details =
{
}
bags =
{
}
auctions =
{
}
void =
{
}
currencies =
{
}
mail =
{
}
money = 3106757
equipped =
{
}
bank =
{
}
}
containerInfo =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
}
mainBags =
{
}
inSlots =
{
}
seenIndexes =
{
}
(for index) = 1
(for limit) = 4
(for step) = 1
index = 1
(*temporary) = defined =[C]:-1
(*temporary) = 6
(*temporary) = nil
(*temporary) = 9587
(*temporary) = "attempt to call field 'GetItemInfoInstant' (a nil value)"
ContainerTypeToIcon =
{
7 =
{
}
1 =
{
}
2 =
{
}
4 =
{
}
8 =
{
}
9 =
{
}
5 =
{
}
10 =
{
}
3 =
{
}
6 =
{
}
}
keyedTextures =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
quiver =
{
}
10 =
{
}
keyring =
{
}
9 =
{
}
reagentBag =
{
}
}

Is it possible to add support for Chinese WotLK version? Thanks!

commented

Use https://www.curseforge.com/wow/addons/baganator/files/5312294

well, that's exactly the version that shows this bug, along with Syndicator version of 26-wrath.

commented

I have same problem on WotLK version. By buggrabber I've collected the following error

1x Baganator-GW2UI/Main.lua:4: Usage: hooksecurefunc([table,] "function", hookfunc)
[string "=[C]"]: in function `hooksecurefunc'
[string "@Baganator-GW2UI/Main.lua"]:4: in main chunk

Locals:
(*temporary) = <table> {
 UpdateOnBarHighlightMarksBySpell = <function> defined @FrameXML/ActionButton.lua:70
 ERR_OUT_OF_CHI = "真气不足"
 DH_HAVOC_CORE_ABILITY_2 = "强大的近战攻击,消耗恶魔之怒。如果攻击造成爆击,将恢复部分恶魔之怒。"
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 SettingsSliderOptionsMixin = <table> {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "彩色标记单位名。"
 SetTrainerServiceTypeFilter = <function> defined =[C]:-1
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 793
 SPELL_FAILED_CUSTOM_ERROR_71 = "这名聚会者想要和你一起跳舞。"
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 410
 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "此群组无法再创建更多邀请链接。"
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "你无法交易已经装备的包裹。"
 PVP_RANK_6_1 = "下士"
 MultiBarLeftButton7 = MultiBarLeftButton7 {
 }
 InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
 }
 VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
 }
 MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
 }
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "在按下快捷键时施法,而不是在松开快捷键时施法。"
 BINDING_NAME_NAMEPLATES = "显示敌方姓名板"
 CHAT_HEADER_SUFFIX = ": "
 MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
 }
 IsReferAFriendLinked = <function> defined =[C]:-1
 MAIL_LETTER_TOOLTIP = "点击这里来获得一份这封信
永久性的副本。"
 UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @FrameXML/UnitFrame.lua:623
 CALENDAR_RAID_RESET_DESCRIPTION = "%1$s将在%2$s重置。"
 CHAT_CONFIG_OTHER_COMBAT = <table> {
 }
 CONSOLIDATED_BUFFS_PER_ROW = 4
 MoneyFrame_OnEvent = <function> defined @FrameXML/MoneyFrame.lua:224
 BN_UNABLE_TO_RESOLVE_NAME = "无法向'%s'发送悄悄话。暴雪游戏服务也许暂时不可用。"
 LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 1009
 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
 }
 LFGTeleport = <function> defined =[C]:-1
 LE_GAME_ERR_ONLY_ONE_QUIVER = 33
 SpellButton6Cooldown = SpellButton6Cooldown {
 }
 LOSS_OF_CONTROL_DISPLAY_FEAR = "恐惧"
 Graphics_QualityText = Graphics_QualityText {
 }
 OverrideActionBarButton6Shine11 = OverrideActionBarButton6Shine11 {
 }
 ROGUE_COMBAT_CORE_ABILITY_4 = "射程延长的近战攻击,消耗连击点数。"
 JoinSkirmish = <function> defined =[C]:-1
 Advanced_GraphicsAPIDropDownButtonHighlightTexture = Advanced_GraphicsAPIDropDownButtonHighlightTexture {
 }
 MultiBarRightButton7Shine9 = MultiBarRightButton7Shine9 {
 }
 BankFrameItem17SearchOverlay = BankFrameItem17SearchOverlay {
 }
 AUCTIONATOR_L_DEFAULT_LIST_HEADER = "默认购物清单"
 DMG_LCD = "伤害"
 RaidGraphics_EnvironmentalDetailSlider = RaidGraphics_EnvironmentalDetailSlider {
 }
 PetPaperDollFrameTab3Right = PetPaperDollFrameTab3Right {
 }
 Is64BitClient = <function> defined =[C]:-1
 SecureCmdItemParse = <function> defined @FrameXML/ChatFrame.lua:1151
 SLASH_STOPATTACK1 = "/stopattack"
 MultiCastActionButton4HotKey = MultiCastActionButton4HotKey {
 }
 CompactRaidFrameManagerDisplayFrameFilterOptionsFilterRoleTankMiddleMiddle = CompactRaidFrameManagerDisplayFrameFilterOptionsFilterRoleTankMiddleMiddle {
 }
 SortQuestWatches = <function> defined =[C]:-1
 ContainerFrame4Item16Cooldown = ContainerFrame4Item16Cooldown {
 }
 MINIMAP_TRACKING_TRAINER_CLASS = "职业训练师"
 SLASH_DISMOUNT2 = "/dismount"
 DUNGEON_FLOOR_DRAGONBLIGHTCHROMIESCENARIO2 = "安多哈尔"
 TokenFrameContainerButton15Stripe = TokenFrameContainerButton15Stripe {
 }
 PlayerFrame_UpdateReadyCheck = <functi
1x ...Ons/Baganator/UnifiedViews/CollapsingBagSections.lua:42: attempt to call field 'GetItemInfoInstant' (a nil value)
[string "@Baganator/UnifiedViews/CollapsingBagSections.lua"]:42: in function `GetCollapsingBagDetails'
[string "@Baganator/UnifiedViews/BackpackView.lua"]:235: in function `AllocateBags'
[string "@Baganator/UnifiedViews/BackpackView.lua"]:548: in function `UpdateForCharacter'
[string "@Baganator/UnifiedViews/Main.lua"]:51: in function <Baganator/UnifiedViews/Main.lua:45>
[string "@Baganator/UnifiedViews/Main.lua"]:108: in function <Baganator/UnifiedViews/Main.lua:101>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `ToggleBackpack'
[string "TOGGLEBACKPACK"]:1: in function <[string "TOGGLEBACKPACK"]:1>

Locals:
character = "柑菜-祈福"
section = "bags"
indexes = <table> {
 1 = 0
 2 = 1
 3 = 2
 4 = 3
 5 = 4
 6 = -2
}
slotsCount = 4
characterInfo = <table> {
 containerInfo = <table> {
 }
 details = <table> {
 }
 bags = <table> {
 }
 auctions = <table> {
 }
 currencies = <table> {
 }
 money = 410239421
 void = <table> {
 }
 mail = <table> {
 }
 equipped = <table> {
 }
 bank = <table> {
 }
}
containerInfo = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
}
mainBags = <table> {
}
inSlots = <table> {
}
seenIndexes = <table> {
}
(for index) = 1
(for limit) = 4
(for step) = 1
index = 1
(*temporary) = <function> defined =[C]:-1
(*temporary) = 6
(*temporary) = nil
(*temporary) = 38082
(*temporary) = "attempt to call field 'GetItemInfoInstant' (a nil value)"
ContainerTypeToIcon = <table> {
 7 = <table> {
 }
 1 = <table> {
 }
 2 = <table> {
 }
 4 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 5 = <table> {
 }
 10 = <table> {
 }
 3 = <table> {
 }
 6 = <table> {
 }
}
keyedTextures = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 quiver = <table> {
 }
 10 = <table> {
 }
 keyring = <table> {
 }
 9 = <table> {
 }
 reagentBag = <table> {
 }
}
1x Baganator-GW2UI/Main.lua:1 (null)

image
Using Bagantor-247-warth , Syndicator-25-warth, GW2 _UI-2.2.10-Warth and Baganator-GW2UI-0.2. Game version is 3.4.3 (56030) cn.ver x64.

commented

Try https://www.curseforge.com/wow/addons/syndicator/files/5301999

Use bagantor-247 and syndicator -25,still have tthe same problem.Game version is 3.4.3 (56262) cn.ver x64.

commented

Same problem here, using bagantor-247 and syndicator -25 or 26.
Very excellent addons btw, I recently change ArkInventory to this in retail version, hoping support Chinese WotLK version.
Here is the log by BugSack I've collected:

8x Baganator/API/ItemButton.lua:6: attempt to call field 'GetItemInfoInstant' (a nil value)
[string "@Baganator/API/ItemButton.lua"]:6: in function <Baganator/API/ItemButton.lua:5>
[string "@Baganator/API/ItemButton.lua"]:60: in function `cb'
[string "@Baganator/UnifiedViews/ItemButton.lua"]:70: in function `callback'
[string "@Baganator/UnifiedViews/ItemButton.lua"]:121: in function `OnCached'
[string "@Baganator/UnifiedViews/ItemButton.lua"]:127: in function <Baganator/UnifiedViews/ItemButton.lua:83>
[string "@Baganator/UnifiedViews/ItemButton.lua"]:913: in function `SetItemDetails'
[string "@Baganator/UnifiedViews/Layouts.lua"]:532: in function `ShowCharacter'
[string "@Baganator/UnifiedViews/BackpackView.lua"]:601: in function `UpdateForCharacter'
[string "@Baganator/UnifiedViews/Main.lua"]:51: in function <Baganator/UnifiedViews/Main.lua:45>
[string "@Baganator/UnifiedViews/Main.lua"]:108: in function <Baganator/UnifiedViews/Main.lua:101>
[string "=[C]"]: in function `ToggleBackpack'
[string "TOGGLEBACKPACK"]:1: in function <[string "TOGGLEBACKPACK"]:1>

Locals:
details = <table> {
 hasNoValue = false
 itemCount = 6
 itemID = 117
 isBound = false
 isJunk = false
 tooltipGetter = <function> defined @Baganator/UnifiedViews/ItemButton.lua:915
 itemLink = "|cffffffff|Hitem:117::::::::2:::::::::|h[硬肉干]|h|r"
 quality = 1
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = 6
(*temporary) = nil
(*temporary) = "|cffffffff|Hitem:117::::::::2:::::::::|h[硬肉干]|h|r"
(*temporary) = "attempt to call field 'GetItemInfoInstant' (a nil value)"
commented

I don't support Wrath - multiple reasons - one of which is the service is inaccessible outside China, so I can't test (or fix) anything.