Haleth / FreeUI

A World of Warcraft user interface
http://www.wowinterface.com/downloads/info17892-FreeUI.html
54 stars 29 forks source link

Free UI Chat not worked in 7.1 #121

Closed cbb356 closed 7 years ago

cbb356 commented 7 years ago

After game was loaded I received next Lua error message:

Message: Interface\AddOns\FreeUI\scripts\chat.lua:19: attempt to index local 'f' (a nil value) Time: 10/26/16 10:24:06 Count: 1 Stack: Interface\AddOns\FreeUI\scripts\chat.lua:19: in function `HideForever' Interface\AddOns\FreeUI\scripts\chat.lua:24: in main chunk

Locals: f = nil (_temporary) = nil (_temporary) = nil (_temporary) = nil (_temporary) = nil (*temporary) = "attempt to index local 'f' (a nil value)"

Zenjaa commented 7 years ago

workaround:

replace:
HideForever(FriendsMicroButton) with HideForever(QuickJoinToastButton)

comment out the following two lines: frame:HookScript("OnMessageScrollChanged", toggleDown) frame:HookScript("OnShow", toggleDown)

cbb356 commented 7 years ago

There is no Lua error now. But chat is Blizzlike (with buttons, line below window and etc)

Zenjaa commented 7 years ago

I'm using this. Only thing that doesn't work in the way it's supposed to is the "toggleDown" function.

http://pastebin.com/raw/z9YgCt3Q

cbb356 commented 7 years ago

It is working for me. Thanks.

P.S. Only you changed font for chat in your file. I changed back to C.media.font2 for me as in original FreeUI chat.lua file.

cbb356 commented 7 years ago

in FreeUI 9.0.3 issue solved