Ly-sec / PalBot

PalBot - Whitelist, RCON, Server management Palworld Discoord Bot
20 stars 3 forks source link

Commands that dont work #23

Closed xblitz151 closed 7 months ago

xblitz151 commented 7 months ago

Feed back for all commands on Linux. Half of them dont work correctly. I checked all permissions/roles/channels in my config, checked the bots App Integrations. Let me know if im missing something for the setup of the bot??

/Broadcast (Bot returns saying No permissions) /Players (works but the return from bot mixes players info) /reload commands (Bot returns This command is only available to the developer) /Reload events (This command is only available to the developer.) /Save (No permissions) /Server (works good, pulls all the info and displays) /Whitelist Enalbe (works) /Whitelist Disable (works) /Whitelist-edit add (Bot returns saying You did not set up your config.json correctly!" /whitelist-edit remove (You did not set up your config.json correctly!) /shutdown (No permissions)

xblitz151 commented 7 months ago

players

Currently there is 3 players in the server (my self and 2 others) /server shows wrong player count /players only shows 1 and broken

Ly-sec commented 7 months ago

Sorry for the very late reply! Not entirely sure what's going on there since it seems to be working fine for me :/

xblitz151 commented 7 months ago

Sorry for the very late reply! Not entirely sure what's going on there since it seems to be working fine for me :/

Its ok. So you don't have any idea why? I've tried on both Linux and Windows. If you have a discord and wanna try trouble shooting with me lmk

Ly-sec commented 7 months ago

Uhm it does seem like there is something going on with your rcon connection. What I noticed, restarting the palworld server helps sometimes

MattyCanny commented 7 months ago

Hello!

In the screenshot xblitz151 has posted demonstrating the players command, you will see that it is not handing the data RCON is returning property.

The code line that handles the list of users is not separating the next line. IN xblitz151's screenshot the name of the second player is at the end of the first players Steam ID.

I am also having this issue.

Ly-sec commented 7 months ago

Hello!

In the screenshot xblitz151 has posted demonstrating the players command, you will see that it is not handing the data RCON is returning property.

The code line that handles the list of users is not separating the next line. IN xblitz151's screenshot the name of the second player is at the end of the first players Steam ID.

I am also having this issue.

I'll double check that tomorrow, it's quite late already :/

Oh also for the server command, there is not much I can do about it, that's data provided by gamedig.

//Edit: I can't sleep without trying to fix it lol, I'll push an update in a bit

Ly-sec commented 7 months ago

@xblitz151 @MattyCanny https://github.com/Ly-sec/PalBot/commit/94b84e7a7e7f060aa13c1900c2b23f51d0050a0e this (hopefully) fixes that issue. I sadly can't properly test it since I'm the only person on my server. Gonna upload a new release in a second too.

AWL-Gaming commented 7 months ago

@xblitz151 @MattyCanny 94b84e7 this (hopefully) fixes that issue. I sadly can't properly test it since I'm the only person on my server. Gonna upload a new release in a second too.

Facing the same error despite using the latest version that's supposed to fix the /players command. There are currently 9+ players at the time of taking the screenshot image

Ly-sec commented 7 months ago

@xblitz151 @MattyCanny 94b84e7 this (hopefully) fixes that issue. I sadly can't properly test it since I'm the only person on my server. Gonna upload a new release in a second too.

Facing the same error despite using the latest version that's supposed to fix the /players command. There are currently 9+ players at the time of taking the screenshot image

Hey, I'm still unsure on why that's happening. Would you mind adding me on discord (Lysec) so we can test it easier since I don't have many active people on my server lmao?

Ly-sec commented 7 months ago

https://github.com/Ly-sec/PalBot/releases/tag/release-0.0.7 Fixed