Ly-sec / PalBot

PalBot - Whitelist, RCON, Server management Palworld Discoord Bot
20 stars 3 forks source link

Added support for Thai language #19

Open squidmaeki opened 9 months ago

squidmaeki commented 9 months ago

Can you help add support for the Thai language?

Ly-sec commented 9 months ago

You mean for the whole bot?

squidmaeki commented 9 months ago

You mean for the whole bot?

Just show your name in /players in bot.

Ly-sec commented 9 months ago

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 :/

squidmaeki commented 9 months ago

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.

Ly-sec commented 9 months ago

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

Ly-sec commented 9 months ago

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

squidmaeki commented 9 months ago

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

image

image

Ly-sec commented 9 months ago

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

likecyber commented 8 months ago

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.