-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] If an in-game setting that is not English is entered, the bot cannot output it. #6
Comments
I can check this out, can you provide images of the error and how to reproduce it? |
The RCON library we're using seems to be making assumptions about the encoding - this is something we can't do much about, unfortunately (unless we're looking into implementing our own Palworld RCON library from scratch) |
Possibly consider making this an issue post on the RCON repo? |
Technically we're appropriating a Minecraft-specific RCON client library so I'm not too keen on that. This is especially because the Palworld's RCON server implementation doesn't follow RCON specifications properly. Ideal solution is to wireshark and clean room RE (unless Pocketpair has published their spec somewhere) |
Oh my. i just got a same issue. |
I have a player that have special caracther in his name, and when he joins the server bot stops working, and gives same error |
This seems to be a limitation of the RCON library we are using, we have talks of creating our own RCON library for pal world usage, that may allow us to add multiple language support. Stay tuned |
I got the same issue. Is it possible let it show the PlayerUID or steamID when the name is not english, or we can point a newname to show up in discord when it comes to this specific steamID? Just use ifelse to give a new name to show. |
Let me clarify. The RCON library we're relying on assumes that the game server's response will contain only Latin characters, and freaks out when there's non-latin characters. As such it simply doesn't give a useable output when there's non-Englisb names. The fix for this is for us to write our own Palworld-specific RCON library instead of appropriating a Minecraft RCON library. Also ICYWW, we've tested other generic RCON libraries and found them unsatisfactory for Palworld. |
CircumventionI made an experimental build using a different RCON library. If anyone on this thread would like to help test it out here's how: Option 1: Fresh Clone
Option 2: Re-use Existing Clone
Technical Details for NerdsAs mentioned in the README, I initially used Richard Neumann's RCON client implementation, but switched to tama's implementation due to Palworld's RCON server not following the Source RCON spec (which resulted in constant timeouts). The former supports Unicode, whilst the latter assumes ASCII - this is the source of problems for non-Latin player names; the former recently received a PR that allowed ignoring of response IDs (which defaulted to 0 instead of the correct corresponding ID for everything except initial login) which resolved our issue with said library and is used in the aforementioned branch. This new Cursory Testing Details for NerdsI've done cursory testing on my testbench and verified that it works with Korean IGNs. It did, however, timeout when I was spamming announcements. I would appreciate if users who require non-Latin text compatibility test this new branch out, and see if it resolves your issues (and conversely if this introduces any new problems). |
2024-02-08 13:18:05,487 - client - DEBUG - Lines: [] The above exception was the direct cause of the following exception: Traceback (most recent call last): I'm getting an error. I've reinstalled it a few times. I'll try again on another computer for now. Maybe the Python is twisted. |
192.168.86.18212024-02-07 23:22:12,296 - client - DEBUG - Fetching online players The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): Me, too. The player name is in Chinese and using the new dependency caused error when calling /online and /save. |
discord.errors.NotFound: 404 Not Found (error code: 10062): Discord api seems to have timed out receiving information. I'm using an external rental server, not an internal server. Simple save commands work fine, but I think there's a problem with server-side delays in getting the data. |
For this one, I'm guessing it's timing out - I'll have to double check the timeout duration for RCON side, to make sure that it's kept within 3 seconds Although the proper way to handle this is probably to use the |
If there's a language other than English
We found a problem that server info or connection name is not output and time out.
I don't know if it's a server problem or a bot coding problem. It seems to be a text encoding problem. Can you check it?
For your information, I use KOREAN.
The text was updated successfully, but these errors were encountered: