Strona 2 z 4

Re: Lua Error

: 18 lip 2018, 13:01
autor: Gary
natis pisze: 18 lip 2018, 12:40 Jak włączyć Lua Error?
/console scriptErrors 1 aby wyświetlić błędy LUA
/console scriptErrors 0 aby ukryć błędy LUA

Re: Lua Error

: 18 lip 2018, 13:43
autor: natis
Dziękuję :)

Re: Lua Error

: 18 lip 2018, 17:49
autor: Platine
Borygo pisze: 18 lip 2018, 10:00 W jednym z dungeonów znalazłem taki błąd
Dodatkowo powiem, że w linijce Count wartość liczbowa rośnie bardzo szybko i niemożna zamknąć okienka Lua Error.
Spróbuję coś zaradzić i zabezpieczyć pracę dodatku w takim miejscu.
Wygląda na to, że nie wykonuje się komenda: child = select(i, WorldFrame:GetChildren());

Komunikat błędu lua wskazuje, że ramka child ma status "zabroniony"
i będę musiał to w dodatku stale sprawdzać i pomijać takie ramki.

Re: Lua Error

: 18 lip 2018, 22:04
autor: Gary
Moje błędy z dzisiaj:

Kod: Zaznacz cały

Message: Interface\AddOns\WoWpoPolsku_Books\Book_PL.lua:244: unfinished string near '"Ferren Marcus#1#Ferren Marcus'
Time: Wed Jul 18 20:58:20 2018
Count: 1
Stack: Interface\AddOns\WoWpoPolsku_Books\Book_PL.lua:244: unfinished string near '"Ferren Marcus#1#Ferren Marcus'

Locals: 

Kod: Zaznacz cały

Message: ...rface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:177: attempt to concatenate global 'BT_base' (a nil value)
Time: Wed Jul 18 20:58:20 2018
Count: 1
Stack: ...rface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:177: attempt to concatenate global 'BT_base' (a nil value)
...rface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:177: in function `BookTranslator_BlizzardOptions'
...rface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:335: in main chunk

Locals: BookTranslatorOptions = BookTranslatorOptions {
 0 = <userdata>
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:623
 name = "WoWpoPolsku-Books"
 refresh = <function> defined @Interface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:167
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:622
 default = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:624
}
BookTranslatorOptionsHeader = <unnamed> {
 0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "WoWpoPolsku-Books, ver. "
(*temporary) = "1.02"
(*temporary) = " ("
(*temporary) = nil
(*temporary) = ") by Platine © 2017-2018"
(*temporary) = <table> {
 1 = <unnamed> {
 }
 2 = <unnamed> {
 }
 3 = <unnamed> {
 }
 4 = <unnamed> {
 }
 5 = BookTranslatorOptions {
 }
}
(*temporary) = nil
(*temporary) = BookTranslatorOptions {
 0 = <userdata>
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:623
 name = "WoWpoPolsku-Books"
 refresh = <function> defined @Interface\AddOns\WoWpoPolsku_Books\WoWpoPolsku_Books.lua:167
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:622
 default = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:624
}
(*temporary) = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:83
(*temporary) = 0
(*temporary) = <table> {
 1 = InterfaceOptionsFrameCategoriesButton1 {
 }
 2 = InterfaceOptionsFrameCategoriesButton2 {
 }
 3 = InterfaceOptionsFrameCategoriesButton3 {
 }
 4 = InterfaceOptionsFrameCategoriesButton4 {
 }
 5 = InterfaceOptionsFrameCategoriesButton5 {
 }
 6 = InterfaceOptionsFrameCategoriesButton6 {
 }
 7 = InterfaceOptionsFrameCategoriesButton7 {
 }
 8 = InterfaceOptionsFrameCategoriesButton8 {
 }
 9 = InterfaceOptionsFrameCategoriesButton9 {
 }
 10 = InterfaceOptionsFrameCategoriesButton10 {
 }
 11 = InterfaceOptionsFrameCategoriesButton11 {
 }
 12 = InterfaceOptionsFrameCategoriesButton12 {
 }
 13 = InterfaceOptionsFrameCategoriesButton13 {
 }
 14 = InterfaceOptionsFrameCategoriesButton14 {
 }
 15 = InterfaceOptionsFrameCategoriesButton15 {
 }
 16 = InterfaceOptionsFrameCategoriesButton16 {
 }
 17 = InterfaceOptionsFrameCategoriesButton17 {
 }
 18 = InterfaceOptionsFrameCategoriesButton18 {
 }
 19 = InterfaceOptionsFrameCategoriesButton19 {
 }
 20 = InterfaceOptionsFrameCategoriesButton20 {
 }
 21 = InterfaceOptionsFrameCategoriesButton21 {
 }
 22 = InterfaceOptionsFrameCategoriesButton22 {
 }
 23 = InterfaceOptionsFrameCategoriesButton23 {
 }
 24 = InterfaceOptionsFrameCategoriesButton24 {
 }
 25 = InterfaceOptionsFrameCategoriesButton25 {
 }
 26 = InterfaceOptionsFrameCategoriesButton26 {
 }
 27 = InterfaceOptionsFrameCategoriesButton27 {
 }
 28 = InterfaceOptionsFrameCategoriesButton28 {
 }
 29 = InterfaceOptionsFrameCategoriesButton29 {
 }
 30 = InterfaceOptionsFrameCategoriesButton30 {
 }
 31 = InterfaceOptionsFrameCategoriesButton31 {
 }
}
(*temporary) = nil
(*temporary) = 31
(*temporary) = 10
(*temporary) = nil
(*temporary) = 31
(*temporary) = "attempt to concatenate global 'BT_base' (a nil value)"
BT_version = "1.02"
BT_Font = "Interface\AddOns\WoWpoPolsku_Books\Fonts\frizquadratatt_pl.ttf"

Kod: Zaznacz cały

Message: Interface\AddOns\WoWpoPolsku_Books\Book_PL.lua:244: unfinished string near '"Ferren Marcus#1#Ferren Marcus'
Time: Wed Jul 18 20:58:22 2018
Count: 3

Kod: Zaznacz cały

Message: ...e\AddOns\WoWpoPolsku_Bubbles\WoWpoPolsku_Bubbles.lua:78: Attempt to access forbidden object from code tainted by an AddOn
Time: Wed Jul 18 22:03:32 2018
Count: 47172
Stack: ...e\AddOns\WoWpoPolsku_Bubbles\WoWpoPolsku_Bubbles.lua:78: Attempt to access forbidden object from code tainted by an AddOn
[C]: in function `GetNumRegions'
...e\AddOns\WoWpoPolsku_Bubbles\WoWpoPolsku_Bubbles.lua:78: in function <...e\AddOns\WoWpoPolsku_Bubbles\WoWpoPolsku_Bubbles.lua:75>

Locals: (*temporary) = <unnamed> {
 0 = <userdata>
}
Z czego w tym ostatnim Count leci w nieskończoność, tak jak by się coś zapętliło.

Oczywiście patch najnowszy.

Re: Lua Error

: 18 lip 2018, 23:03
autor: Borygo
Gary pisze: 18 lip 2018, 22:04
Z czego w tym ostatnim Count leci w nieskończoność, tak jak by się coś zapętliło.

Oczywiście patch najnowszy.
To co opisujesz na samym końcu już naprawione, testowałem poprawki i już nie wyświetla tego błędu, niedługo Platine powinien zaktualizować addon.

Re: Lua Error

: 19 lip 2018, 15:01
autor: Platine
Dodatku Books jeszcze nie testowałem na najnowszym patchu.

A Bubbles, tak ja pisze Borygo, już naprawiałem wczoraj.
Do pobrania z naszej strony z dodatkami.

Re: Lua Error

: 15 sie 2018, 23:24
autor: natis
Po aktualizacji addona przetłumaczone dymki nie wyświetlają się nad postaciami, pozostają po angielsku, polski tekst jest jedynie widoczny i podmieniony w czacie

Re: Lua Error

: 16 sie 2018, 17:10
autor: Platine
Coś czarujesz kolego.
Właśnie wgrałem najnowszą paczkę ZIP (358208 bajtów) i odpaliłem grę. Wszystko działa, jak na zdjęciu.

Re: Lua Error

: 16 sie 2018, 17:39
autor: natis
Masz rację @Platine niektóre działają prawidłowo, chyba jedynie w instacjach(dungeonach) był ten błąd, zamieszczę screena jak uda mi się dostać na instancję

Re: Lua Error

: 16 sie 2018, 20:59
autor: Platine
Problem z instancjami był już wcześniej zgłaszany.
Dymki nie będą tam wyświetlane po polsku, bo jest to obszar nieobsługiwany standardowymi funkcjami lokacji.