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

Not auto check update mods after change version from 1.9.1 to 1.11.0 #108

Closed daoquangdat84 closed 8 months ago

daoquangdat84 commented 8 months ago

I unzipped and overwrote the files of the old version. All works fine, except it doesn't automatically check the version of mods. This is the error log pzbot.log


Exception: System.ArgumentNullException Message: Value cannot be null. Parameter name: s Stack trace: at System.IO.StringReader..ctor(String s) at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings) at SteamWebAPI.d3.MoveNext() in C:\Documents\Programming\C#\PZServerDiscordBot\src\Bot\Util\SteamWebAPI.cs:line 80 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Schedules.<>cDisplayClass4_0.<b__0>d.MoveNext() in C:\Documents\Programming\C#\PZServerDiscordBot\src\Bot\Schedules\WorkshopItemUpdateChecker.cs:line 52 Date: 10/11/2023 02:08:20 UTC Bot Version: v1.9.1 Exception occured in ScheduleItem callback function. ScheduleItem: WorkshopItemUpdateChecker (THIS IS AN INNER EXCEPTION, NUMBER 1)

daoquangdat84 commented 8 months ago

this log from version 1.11.0 pzbot (1).log

daoquangdat84 commented 8 months ago

Please help. What can i do to fix this? now my server not auto check mods even i copy back to version 1.9.1

egebilecen commented 8 months ago

Hey, this error happens when steam doesn't properly respond to the request. I don't know why it happens but it's something related to the host provider regardless as request is sent from their server.