s0h2x / Immersion-WotLK

Immersive questing addon for World of Warcraft (WotLK-3.3.5a Backport)
https://discord.gg/xpmAYHdzAm
MIT License
37 stars 9 forks source link

Issues when using zhCN language client #6

Open wutote opened 2 weeks ago

wutote commented 2 weeks ago

Hi, I am playing with zhCN language client and the addon didn't show any dialog when I talk to any NPCs.. Aslo, it report a Lua erro:

Message: Interface\AddOns\Immersion\Logic\Frame.lua:223: ImmersionFrameTalkBoxNameFrameName:SetText(): Font not set Time: 11/03/24 19:46:24 Count: 1 Stack: [C]: in function SetText' Interface\AddOns\Immersion\Logic\Frame.lua:223: in functionUpdateTalkingHead' Interface\AddOns\Immersion\Logic\Frame.lua:162: in function HandleGossipOpenEvent' Interface\AddOns\Immersion\Logic\Events.lua:7: in function?' Interface\AddOns\Immersion\Logic\Frame.lua:11: in function <Interface\AddOns\Immersion\Logic\Frame.lua:7>

Locals: (temporary) = ImmersionFrameTalkBoxNameFrameName { 0 = FadeIn = { } } (temporary) = "旅店老板法雷"

屏幕截图 2024-11-03 201259

Could you fix that please? I really need this addon!

Thanks in advance for your time.

s0h2x commented 2 weeks ago

@wutote hi, make sure you have original game font in the directory Fonts: "Fonts\MORPHEUS.TTF". Otherwise, just make a copy of the supported game font (or download MORPHEUS.TTF from google), put it in your fonts folder (Your_Game_Directory\Fonts) and name it MORPHEUS. If you don't have such a folder, then create it and do the same.

wutote commented 2 weeks ago

@s0h2x Hi, I am sorry for the late reply and thanks for you time!

I did as you instructed and it work! But the title of the dialog box shows just a question mark. 屏幕截图 2024-11-05 192307

Then I used 'nowar-fonts/Warcraft-Font-Merger' to complete the font and it work nicely! 屏幕截图 2024-11-05 192014

However, when I change the scale value, the dialog scaled but fronts didn't.

What am I supposed to do now?

ALL the best.

s0h2x commented 2 weeks ago

@wutote can you show FrameXML.log from Logs folder?

wutote commented 2 weeks ago

@s0h2x Hi, here it is.

11/5 19:14:36.554 Loading add-on Immersion 11/5 19:14:36.554 ** Loading table of contents Interface\AddOns\Immersion\Immersion.toc 11/5 19:14:36.554 Font Fancy22Font: Unable to load font file Fonts\MORPHEUS.TTF

wutote commented 2 weeks ago

Something is weird. I try to remove the FrameXML.log file and login game again, the addon works nicely, just without scaling. Also, the FrameXML.log file was not created. Then I remove the MORPHEUS.TTF file and login game again, the addon shows same bug and the FrameXML.log file created with same content.