KOOKIIEStudios / PalCON-Discord

A Python-based Discord bot for PalWorld server administration via RCON
MIT License
18 stars 3 forks source link

[BUG] after patch 1.5 (palworld) #23

Closed kokiwixx closed 8 months ago

kokiwixx commented 8 months ago

This script will now launch the program. Please select the environment to run the source code with: A: Virtual Python Environment (Default) B: Global Python Environment What is your choice [A,B]?A You have selected A: Virtual Python Environment 2024-02-29 15:44:03,628 - client - DEBUG - Fetching logger for client 2024-02-29 15:44:03,629 - client - INFO - Fetching configuration file 2024-02-29 15:44:03,630 - main - DEBUG - Fetching logger for main 2024-02-29 15:44:03,671 - client - INFO - Setting up RCON connection 2024-02-29 15:44:03,671 - client - DEBUG - Fetching online players 2024-02-29 15:44:05,711 - main - ERROR - Error updating bot status: [WinError 10061] No connection could be established because the target computer expressly refused it

Korefox commented 8 months ago

This is not an issue with the PalCON-discord bot, and there is a workaround for this issue to get RCON working again in v1.5.0.

The palworld devs broke RCON functionality in v1.5.0. The cause is due to the server no longer referencing the PalWorldSettings.ini file when setting the RCON port.

In Palworld v1.5.0, you need to add a new command line argument when starting the server. The CLI argument is: -RCONPort=25575 where the 25575 integer is whatever port you configured your RCON bot to talk with.

In some instances, you may also need to add the CLI argument -RCONEnabled=True along with the above argument.

If you are in the official Palworld discord server, I made a post about how to fix it in the palworld dedicated-server-help channel: https://discord.com/channels/505994577942151180/1200387813317812304/1211875662395088986

or in the discord announcements section at: https://discord.com/channels/505994577942151180/855784007722598451/1212572464589312001 "・Fixed an issue where the settings to enable RCON were not loaded from the configuration file"

kokiwixx commented 8 months ago

tks

Bratah123 commented 8 months ago

Thanks for the catch, and the provided workarounds!