BIMSbot http://bimsbot.ru/forum/ |
|
вовциркл 9.2.7 бдк http://bimsbot.ru/forum/viewtopic.php?f=65&t=12450 |
Страница 1 из 1 |
Автор: | lexavatarsky [ 24 дек 2023, 23:39 ] |
Заголовок сообщения: | вовциркл 9.2.7 бдк |
Ошибка Lua подскажите как исправить (никаких других аддонов нет) Message: [string " Cosm_UpdateViews_Shop = function(frame) ..."]:1: attempt to index local 'frame' (a nil value) Time: Sun Dec 24 23:37:38 2023 Count: 4 Stack: [string " Cosm_UpdateViews_Shop = function(frame) ..."]:1: attempt to index local 'frame' (a nil value) [string " Cosm_UpdateViews_Shop = function(frame) if ACCOUNT_FS_BALANCE["GOLD"] == nil then frame.accountBalance:SetText("") return else frame.accountBalance:SetText(ACCOUNT_FS_BALANCE["GOLD"]) end for i=1,Cosm_TabNumber do frame.TabButtons[i]:SetChecked(frame.currentTab == i) frame.TabButtons[i].HighlightTexture:SetShown(frame.currentTab == i); end local startIndex = (frame.currentPage - 1) * 4 for i=1,4 do if Cosm_Previews[i] ~= nil then Cosm_Previews[i]:Hide() Cosm_Previews[i].Id = 0 end end local i = 0 local datas = {} local displayFunction = nil for id, data in pairs(Cosm_Datas[frame.currentTab]) do if data.Active == 1 and data.Owned == 0 then i = i + 1 if i > startIndex and i <= startIndex + 4 then local frameIndex = i - startIndex Cosm_DisplayFunction[frame.currentTab](frame, frameIndex, id) Cosm_Previews[frameIndex].priceText:SetText(data.Price) Cosm_Previews[frameIndex].Id = id Cosm_Previews[frameIndex].Data = data Cosm_Previews[frameIndex].purchaseButton:SetEnabled(ACCOUNT_FS_BALANCE["GOLD"] >= data.Price) Cosm_Previews[frameIndex]:Show() end end end frame.pageText:SetFormattedText(COLLECTION_PAGE_NUMBER, frame.currentPage, ceil(i / Cosm_StorePreviewCount)); _G[frame:GetName().."NextPageButton"]:SetEnabled(i > startIndex + 4) _G[frame:GetName().."PrevPageButton"]:SetEnabled(frame.currentPage > 1) end "]:1: in function `Cosm_UpdateViews_Shop' [string " Cosm_UpdateViews = function(frame) if frame == nil then Cosm_UpdateViews_Shop(_G["CosmeticatorFrame"]) Cosm_UpdateViews_Use(_G["FlaskOfAppearanceFrame"]) elseif frame:GetName() == "CosmeticatorFrame" then Cosm_UpdateViews_Shop(frame) elseif frame:GetName() == "FlaskOfAppearanceFrame" then Cosm_UpdateViews_Use(frame) end end "]:1: in function `Cosm_UpdateViews' [string " Cosm_SetActiveCosmetic = function(type, id) Cosm_CurrentCosmetic = { Type = type, Id = id} Cosm_UpdateViews(_G["FlaskOfAppearanceFrame"]) end "]:1: in function `Cosm_SetActiveCosmetic' [string "Cosm_SetActiveCosmetic(1, 0)"]:1: in main chunk [string "@Interface\FrameXML\InsanityBar.lua"]:90: in function `filterFunc' [string "@Interface\FrameXML\ChatFrame.lua"]:3557: in function `ChatFrame_MessageEventHandler' [string "@Interface\FrameXML\ChatFrame.lua"]:3118: in function `ChatFrame_OnEvent' [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1> Locals: frame = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index local 'frame' (a nil value)" Message: [string "FS_SetFreePremadeMountAvailable(0)"]:1: attempt to call global 'FS_SetFreePremadeMountAvailable' (a nil value) Time: Sun Dec 24 23:28:01 2023 Count: 1 Stack: [string "FS_SetFreePremadeMountAvailable(0)"]:1: attempt to call global 'FS_SetFreePremadeMountAvailable' (a nil value) [string "FS_SetFreePremadeMountAvailable(0)"]:1: in main chunk [string "@Interface\FrameXML\InsanityBar.lua"]:90: in function `filterFunc' [string "@Interface\FrameXML\ChatFrame.lua"]:3557: in function `ChatFrame_MessageEventHandler' [string "@Interface\FrameXML\ChatFrame.lua"]:3118: in function `ChatFrame_OnEvent' [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1> Locals: (*temporary) = nil (*temporary) = 0 (*temporary) = "attempt to call global 'FS_SetFreePremadeMountAvailable' (a nil value)" |
Автор: | MrSergey [ 25 дек 2023, 15:24 ] |
Заголовок сообщения: | Re: вовциркл 9.2.7 бдк |
Так это ошибка не в аддоне программы... |
Страница 1 из 1 | Часовой пояс: UTC + 2 часа [ Летнее время ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |