azerothcore-wotlk
azerothcore-wotlk copied to clipboard
The text bubble spoken by the NPC is displayed in different languages, and the text time is different
Current Behaviour
When displaying the characters of zhCN/zhTW, the duration of the bubble is particularly short, only 3 seconds, and under normal circumstances, the duration should be calculated according to the number of characters This is bubble display time in English
https://user-images.githubusercontent.com/131920522/234871233-781f39cb-a712-48d5-bfb9-13cac021cf2b.mp4 This is ruRU https://user-images.githubusercontent.com/131920522/234871064-6da1af91-5367-4861-b95f-9f15269cf163.mp4 this is koKR https://user-images.githubusercontent.com/131920522/234871823-07e07c5c-0a50-4942-92d1-96c339212383.mp4 this is zhCN https://user-images.githubusercontent.com/131920522/234871336-603d2302-24fc-405b-932c-77c5bc358050.mp4 this is zhTW https://user-images.githubusercontent.com/131920522/234871611-1f3c93a9-ccfd-4c68-9de4-2d9389060620.mp4
From the above videos, it can be seen that when displaying the text content of broadcast_text_locale id12471, or copying the text content of the corresponding language to creature_text 16640, the text bubble display time of zhCN/zhTW is particularly short, about 3.5 seconds, but en/ruRU/koKR (missing font display "?? )The bubbles all lasted more than 10 seconds This issue also exists on the conversational text bubble of other NPCs
Expected Blizzlike Behaviour
Both zhCN and zhTW should show the appropriate time by counting the number of strings
Source
No response
Steps to reproduce the problem
1.creature_text Found CreatureID IN (16440) group (2) 2.Replace the character in text with the zhCN/zhTW maleText character in broadcast_text_locale (id 12471). 3.additem 22691 4.Equip Corrupted Ashbringer 5.tele smcath 6.MOVE TO MOGRAINE TO TRIGGER THE ASHMAKER DIALOGUE This problem also exists in other NPC chat copies, where text bubbles with a lot of characters in the zhcn/zhtw language do not seem to calculate the display time according to the number of characters, only according to the shortest time
Extra Notes
No response
AC rev. hash/commit
c2f6f5b88153
Operating system
windows10
Custom changes or Modules
No response