gorcon / rcon-cli

RCON client for executing queries on game server.
MIT License
497 stars 46 forks source link

Is it really work with Palwolrd? #35

Open Miuzarte opened 10 months ago

Miuzarte commented 10 months ago

Both Single mode and Interactive mode will report i/o timeout and exit after executing THE FIRST command and printing the output in 10 seconds. image

rcon.yaml

palworld:
  address: "192.168.1.110:25575"
  password: "xxx"
  log: "palworldRCON.log"
  type: "rcon"
  timeout: "1s"
JoewAlabel commented 10 months ago

It works, i used today on my server and i did not get this timeout error. It's something on your own.

Try increases this timeout.

Miuzarte commented 10 months ago

It works, i used today on my server and i did not get this timeout error. It's something on your own.

Try increases this timeout.

I tryed 60s, Still exit in 10s.

XBisATrouble commented 10 months ago

对中文支持有问题,如果都是英文用户就不会有这个问题

Miuzarte commented 10 months ago

对中文支持有问题,如果都是英文用户就不会有这个问题

我还以为你说的是系统环境,刚刚看了下似乎是因为数据中有中文字符

Miuzarte commented 10 months ago

It seems to be caused by non-ascii characters in the data.

image


Confirmed, but I can't tell if it's gorcon or palworld. image

zaigie commented 10 months ago

仔细研究了一下,应该是PalWrold服务器的问题,packet size与实际的不符

ntanis-dev commented 10 months ago

Experiencing the same issue with non-ASCII characters in ShowPlayers command, seems like the few last bytes are being cut-off (the Steam UID of the last player is not fully formed) and the command times-out. Any ideas on how to overcome this issue?

zaigie commented 10 months ago

Experiencing the same issue with non-ASCII characters in ShowPlayers command, seems like the few last bytes are being cut-off (the Steam UID of the last player is not fully formed) and the command times-out. Any ideas on how to overcome this issue?

It can be confirmed that it is a problem with the palworld server, and we should only have to wait for the official to fix this bug for the time being. However, if it needs to be used in the business, I made a tool palworld-server-tool to alleviate this problem through exception handling and database.

Trekkan commented 10 months ago

Just to confirm, I'm having the same issue with the high ascii characters, etc.