Jump to content

Server seed and worldsize don't get updated

Closed 1.4.2

When performing a server wipe, the bot successfully generates the wipe message containing map information. However, upon subsequent server wipes, although the message is still generated, the seed and world size information remain unchanged. This discrepancy is evident in the attached screenshot, where the seed "21725" remains constant even after a server wipe. This is incorrect, as running the "server.seed" command through RCON yields a different, updated seed that doesn't correspond to the seed displayed in the console output.

To elaborate, the issue arises when the bot is initially started and the server is wiped. At this point, the functionality works as intended. Yet, upon subsequent server wipes without restarting the bot, the displayed seed becomes inaccurate—it retains the previous value rather than reflecting the updated seed. This problem has been investigated, revealing that within the "server.rcon.on("message")" event, the seed is appropriately updated. However, this updated information fails to propagate to the content of the embed within the "sendWipeMessage" function, resulting in the outdated information persisting.

Regarding the second screenshot, an error consistently emerges upon starting the bot. The error pertains to the bot's inability to update commands due to insufficient permissions. Despite granting the bot permissions such as "application.command," the issue persists.

Your assistance in resolving these concerns would be greatly appreciated.

image.png

image.png

Share this comment


Link to comment

Hello,

The issue that you're having with the wipe announcements I have not heard of happening before. However, I will take a look into it to see what might be happening.
However, the error that you're showing me is Discord telling you your bot does not have permission to post the slash commands in your Discord. Make sure you set the right discord guild ID and the right bot client ID, that can cause that error.
 

  • Like 1

Share this comment


Link to comment

Yes, thank you the error message got fixed by placing the correct client_id. Let me know if you found something related to the other issue.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.2k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.