Comments (9)
Good catch!
I expect that this is an encoding issue; should be solvable by switching to wchars everywhere. I will be looking further into this later today.I suspect this is an inherent characteristic of the RCON protocol. If you have a read in the RCON document, it states that the RCON packet body is encoded in ASCIIZ. However, within the same document, it also linked to a Java library which supports Chinese that non-ASCIIZ.
Palworld's RCON support for non-English or non-Japanese characters has bugs.
The RCON documentation says The packet body field is a null-terminated string encoded in ASCII (i.e. ASCIIZ).
, NOT ALL body content needs to be ascii encoded.
For example, Simplified Chinese can be output normally, but this problem occurs because the game developer made an error in the coding and packaging calculation method.
RCON SUPPORT ALL LANGUAGES AND ALL CHARACTERS ˘¿˘
from arrcon.
Chinese also
from arrcon.
@ntanis-dev currently working on this, but it'll take a little while.
from arrcon.
Good catch!
I expect that this is an encoding issue; should be solvable by switching to wchars everywhere.
I will be looking further into this later today.
from arrcon.
Hi there, experiencing the same issue in Palworld where if a player has non-ASCII characters in their name "ShowPlayers" command will just hang indefinitely. Please let us know if we can assist you somehow in debugging this, or testing a dev branch. @radj307
Thank you!
from arrcon.
@ntanis-dev currently working on this, but it'll take a little while.
I think this is something that tools cannot solve. We can only hope that game developer group will be more compatible with non-English or non-Japanese characters.
from arrcon.
Good catch!
I expect that this is an encoding issue; should be solvable by switching to wchars everywhere. I will be looking further into this later today.
I suspect this is an inherent characteristic of the RCON protocol. If you have a read in the RCON document, it states that the RCON packet body is encoded in ASCIIZ.
However, within the same document, it also linked to a Java library which supports Chinese that non-ASCIIZ.
from arrcon.
Related: #20
from arrcon.
As @liasica said, the bug is most likely in PalWorld and not ARRCON in this case - at least partially, that is.
While the RCON protocol specifies that the packet body must be ASCII-encoded, there's no reason that the server/client can't correct it once received as any data sent over TCP is just bytes. TCP has no concept of encoding. For instance, if both the server and client support unicode over RCON, unicode characters can absolutely be sent and received.
After some testing that I did regarding #20, I discovered that even when non-ASCII text is forcibly sent via ARRCON, it appears as garbage text in-game.
from arrcon.
Related Issues (18)
- [BUG] dyld[12869]: Symbol not found HOT 16
- macOS 10.9 and newer require `libstdc++` to be installed HOT 4
- [BUG] Program locks after RCON response from Team Fortress 2 server HOT 5
- Conan Exiles request HOT 4
- [BUG] ARRCON shows previous response for current command HOT 3
- Ubuntu 22.04 installation step [DOC] HOT 6
- [NEW] Add logging to a file HOT 2
- [BUG] Command files not working HOT 2
- Add a config option (disabled by default) to enable handling of minecraft terminal colors using the section sign delimiter. (0xC2, 0xA7) HOT 2
- [BUG] Does not support Cyrillic HOT 5
- [QUESTION] Does not work on centos 7.6 HOT 2
- [BUG] Missing Libraries HOT 2
- [QUESTION] linux installation HOT 1
- [BUG] Connection lost HOT 7
- [BUG] Socket Error Code: 10093 Socket Error Message: Uma aplicaþÒo nÒo chamou o WSAStartup ou o WSAStartup falhou. HOT 5
- Add the ability to save multiple hostnames/ports/passwords similar to ssh hostname config HOT 1
- [BUG] write-ini fails when ~/.config/ARRCON directory doesn't exist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrcon.