Morph21 / MercuryTrade-Community-Fork

An overlay application for Path of Exile(Tracking, Trading, Chat, etc)
MIT License
139 stars 24 forks source link

[BUG] - messages with non-english characters are ignored by MercuryTrade #133

Closed Legushka26 closed 2 years ago

Legushka26 commented 2 years ago

Describe the bug When someone sends you a trade message containing non-english characters (name of sender or their message itself, for example in korean, chinese, russian etc) MercuryTrade does not process it and does not activate its overlay trade window with the trade details and buttons.

Desktop (please complete the following information):

Morph21 commented 2 years ago

Please post here an example of that message from your Client.txt file which is located in poe folder

Default location is: C:\Program Files (x86)\Grinding Gear Games\Path of Exile\logs

Legushka26 commented 2 years ago

Here's a couple of examples I got today.

This one wasn't even in the log for some reason, I only made a screenshot. The username has a ñ in it. https://i.imgur.com/UnIctrS.png

Second one is in the log but the coding is all messed up. Here's how it is in the log:

@To ๑๑นางฟ้าประทาน๑๑: สวัสดี เราต้องการแลก 9 Exalted Orb ของเรากับ 540 _ ของคุณในลีก Standard

And this is the in-game message https://i.imgur.com/zzOAYLB.png

If you need more examples let me know.

Morph21 commented 2 years ago

It looks like game bug. Messages are logged into Client.txt file by Path of Exile itselft, Mercury Trade only reads from there so if you have message like that @to ๑๑___นางฟ้าประทาน___๑๑: สวัสดี เราต้องการแลก 9 Exalted Orb ของเรากับ 540 _ ของคุณในลีก Standard in your Client.txt file it wont be possible to convert it into real message. It's also the case for message which aren't logged there. You probably should find a solution in path of exile forums