Текущее время: 27 апр 2024, 11:49

Часовой пояс: UTC + 2 часа [ Летнее время ]




 Страница 1 из 1 [ Сообщений: 2 ] 
Для печати Предыдущая тема | Следующая тема
Автор Сообщение
 Заголовок сообщения: вовциркл 9.2.7 бдк
СообщениеДобавлено: 24 дек 2023, 23:39 
Новичок

Зарегистрирован: 07 ноя 2019, 10:02
Сообщений: 2
Ошибка 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)"


Не в сети
 Профиль  
 
 Заголовок сообщения: Re: вовциркл 9.2.7 бдк
СообщениеДобавлено: 25 дек 2023, 15:24 
Администратор
Аватар пользователя

Зарегистрирован: 21 июн 2010, 22:50
Сообщений: 15996
Откуда: Запорожье
Так это ошибка не в аддоне программы...


Не в сети
 Профиль  
 
Показать сообщения за:  Сортировать по:  
 Страница 1 из 1 [ Сообщений: 2 ] 

Часовой пояс: UTC + 2 часа [ Летнее время ]


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти: