egebilecen / PZServerDiscordBot

A Project Zomboid Discord Bot written in C# using Discord.NET to manage and execute commands on Project Zomboid Server.
GNU General Public License v3.0
61 stars 11 forks source link

Increased Crop Growth Time after Server Restart #107

Closed yangroro closed 7 months ago

yangroro commented 8 months ago

We are using this bot successfully on a server with a large number of connections. However, we've encountered an issue where the crop growth time significantly increases after a server restart. After seeking technical support from IndiStone through Reddit, we were advised to manually execute save and quit commands in the server console. We have tested this solution, and it resolved the issue. Although the quit command is expected to save changes, it seems more reliable to explicitly issue the save command. Therefore, I propose adding an explicit save command before quit.

Ref: https://www.reddit.com/r/projectzomboid/comments/17oy5s8/crop_growth_time_increases_significantly_after/?utm_source=share&utm_medium=web2x&context=3

egebilecen commented 8 months ago

Hey, this seems like a good idea to add. I will look into adding in this weekend.

yangroro commented 7 months ago

@egebilecen If you want to simply add a save to the stop task and give it some time to sleep, I'll create a PR for you.

egebilecen commented 7 months ago

Hey, this feature is now added with #110.

yangroro commented 7 months ago

@egebilecen Thanks!