Xian55 / WowClassicGrindBot

Highly configurable and responsive World of Warcraft Classic pixel Grind Bot - No DLL injection or memory tampering, just screen capture and input simulation.
187 stars 127 forks source link

Multiple mobs not picking up on Asian servers #496

Closed ray-0000 closed 1 year ago

ray-0000 commented 1 year ago

Description

Hello, killing multiple monsters in the Asian server does not pick up, only the last monster that was killed will be picked up, and multiple monsters will only be picked up when the camera is zoomed in very close.

Addon Version

1.7.0

World of Warcraft Client

Wrath of the Lich King Classic

Reproduction Steps

N/A

Last Good Version

Works fine in China server

Screenshots

No response

Logs

out20230209.log

Xian55 commented 1 year ago

Hey 👋

With the provided limited context of the issue, i could only rely on past experiences with eastern game client languages.

In the past, there were numerous report such issues, please use the github issue search feature if you interested in what resolution they had. one example: #167

There's a known limitation what the current NpcNameFinder is capable of. Which might goes the following:

Certain Npc names in different languages can be described very few characters / glyphs. To be more specific, if you take a look at the following bear npc names in the English client, its decent sized for NpcNameFinder, while in other eastern languages they might be only a single Glyph / character.

In that case the NpcNameFinder unable to distinguish between "NPC name pixel" or anything else on the screen while having the color match. There's a lower bound which prevents detecting "false NPC Names".


All the previous testing was conducted in English client. If its possible, to change the game language to English. i would encourage to try it out!

ray-0000 commented 1 year ago

I changed the language to English and the problem still exists

https://user-images.githubusercontent.com/110283658/217993552-b24f59ea-dd25-4193-a410-9584cda69ac2.mp4

Only works properly if the npc name is big enough

https://user-images.githubusercontent.com/110283658/217993411-7a2f383a-ea9d-4dcd-9245-8c0cca45d2d3.mp4

My understanding is that the gray of the Asian server may be grayer, and the correct gray will only appear when the npc name is bigger

out20230210.log

Xian55 commented 1 year ago

Probably due the different font rendering theres transparency involved.

If you could provide more .bmp type screenshots i could do some testing at my end

ray-0000 commented 1 year ago

WoWScrnShot_021023_165228 This is a screenshot of the game, sorry I changed back to Chinese font. The font folder will be automatically generated in the Asian server. Even if the recommended font is used, it will not be picked up normally.

QQ图片20230210170039

The above is the file generated by the font folder

I try to modify private SearchMode searchMode = SearchMode.Fuzzy; It has been improved, but the mouse will click several times next to the monster name to correctly click on the monster

Xian55 commented 1 year ago

Its been a long time since ive touched on SearchMode.Fuzzy.

In the project theres a project called coretests

It has an npcnamefinder section where you can visualize what npc names are detected on screen. You may have to edit a few constants. Its called overlay

ray-0000 commented 1 year ago

My ability is limited to modifying the answers given, editing constants is beyond my knowledge,thank you for your help。

Xian55 commented 1 year ago

If you plan not using the skinning feature, you set KeyboardOnly

Xian55 commented 1 year ago

WoWScrnShot_021023_165228 This is a screenshot of the game, sorry I changed back to Chinese font. The font folder will be automatically generated in the Asian server. Even if the recommended font is used, it will not be picked up normally.

QQ图片20230210170039

The above is the file generated by the font folder

I try to modify private SearchMode searchMode = SearchMode.Fuzzy; It has been improved, but the mouse will click several times next to the monster name to correctly click on the monster

after doing a quick search about the provided file name it seems blizzard doing something with the fonts. https://us.forums.blizzard.com/en/wow/t/unable-to-change-fonts/1388615 https://eu.forums.blizzard.com/en/wow/t/crazy-fps-drops-when-panning-camera-since-prepatch/396350/22?page=2 https://www.reddit.com/r/WowUI/comments/yeav2h/help_how_do_i_change_wows_fonts_i_think_theyve/

ray-0000 commented 1 year ago

Deleted wow today, re-downloaded from the Asian server customer service, reinstalled win10, it has worked normally, thank you for your help.

Xian55 commented 1 year ago

I'm glad you found a solution, thanks for the detailed info. Closing