PalBot icon indicating copy to clipboard operation
PalBot copied to clipboard

Added support for Thai language

Open squidmaeki opened this issue 1 year ago • 9 comments

Can you help add support for the Thai language?

squidmaeki avatar Feb 06 '24 18:02 squidmaeki

You mean for the whole bot?

Ly-sec avatar Feb 06 '24 19:02 Ly-sec

You mean for the whole bot?

Just show your name in /players in bot.

squidmaeki avatar Feb 06 '24 20:02 squidmaeki

You mean for the whole bot?

Just show your name in /players in bot.

Okay, going to try and add that tomorrow, it's getting late :/

Ly-sec avatar Feb 06 '24 20:02 Ly-sec

You mean for the whole bot?

Just show your name in /players in bot.

Okay, going to try and add that tomorrow, it's getting late :/

Thank you.

squidmaeki avatar Feb 06 '24 20:02 squidmaeki

@squidmaeki https://github.com/Ly-sec/PalBot/releases/tag/release-0.0.5-thai-fix try this one :)

Ly-sec avatar Feb 07 '24 12:02 Ly-sec

@squidmaeki if you tried that, please download it again. Tried something else now :)

Ly-sec avatar Feb 07 '24 16:02 Ly-sec

I still can't read the name in Thai and I still can't type the broadcast in Thai.

image

image

squidmaeki avatar Feb 08 '24 07:02 squidmaeki

At this point I'm unsure what the issue could be. The regex seems to be working correctly :/. I'll look around and see if I can find someone that knows what's going on

Ly-sec avatar Feb 08 '24 08:02 Ly-sec

The Thai language uses multi-byte characters which break RCON packet. It can be partially read if we change encoding from "ascii" to "utf8" on RCON's communication part. but if the player sets the name to 20 multi-byte characters, then playeruid and steamid will not be returned.

likecyber avatar Feb 27 '24 07:02 likecyber