Giter Club home page Giter Club logo

Comments (9)

liasica avatar liasica commented on June 30, 2024 2

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.

SelfEnough avatar SelfEnough commented on June 30, 2024 1

Chinese also

from arrcon.

radj307 avatar radj307 commented on June 30, 2024 1

@ntanis-dev currently working on this, but it'll take a little while.

from arrcon.

radj307 avatar radj307 commented on June 30, 2024

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.

ntanis-dev avatar ntanis-dev commented on June 30, 2024

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.

liasica avatar liasica commented on June 30, 2024

@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.

AustinGYF avatar AustinGYF commented on June 30, 2024

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.

radj307 avatar radj307 commented on June 30, 2024

Related: #20

from arrcon.

radj307 avatar radj307 commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.