maxisoft / ASFFreeGames

Collect free steam games while asf is running
GNU Affero General Public License v3.0
121 stars 2 forks source link

ASF issues an error on the latest version #50

Closed lzrdblzzrd closed 1 month ago

lzrdblzzrd commented 6 months ago
2023-12-16 14:46:17|ArchiSteamFarm-18|ERROR|ASF|OnBotLoggedOn() System.MissingMethodException: Method not found: 'UInt32 System.BitConverter.ToUInt32(System.ReadOnlySpan`1<Byte>)'.
   at Maxisoft.ASF.RandomUtils.GaussianRandom.NextDouble()
   at Maxisoft.ASF.RandomUtils.GaussianRandom.NextGaussian(Double mean, Double standardDeviation)
   at Maxisoft.ASF.CollectIntervalManager.GetRandomizedTimerDelay(Double meanSeconds, Double stdSeconds, Double minSeconds, Double maxSeconds)
   at Maxisoft.ASF.CollectIntervalManager.StartTimerIfNeeded()
   at Maxisoft.ASF.ASFFreeGamesPlugin.StartTimerIfNeeded()
   at Maxisoft.ASF.ASFFreeGamesPlugin.RegisterBot(Bot bot)
   at Maxisoft.ASF.ASFFreeGamesPlugin.OnBotLoggedOn(Bot bot)
   at ArchiSteamFarm.Core.Utilities.InParallel(IEnumerable`1 tasks)
   at ArchiSteamFarm.Plugins.PluginsCore.OnBotLoggedOn(Bot bot)

ASF version: 5.5.0.10 (Docker) ASFFreeGames version: 1.4.1 (Pre-release)

This error is not critical, since after this error (the error occurs for each running bot, not once) ASF continues to work, but the plugin itself does not work.

azhuge233 commented 6 months ago

Same on ASF 5.5.0.11 (Linux) Snipaste_2023-12-20_13-19-51 Snipaste_2023-12-20_13-14-42

lzrdblzzrd commented 6 months ago

@TheSparkyGhost With plugin version 1.3.0, this error also crashed ASF for me, so I updated to pre-release 1.4.1. As of version 1.4.1, this error simply prevents the plugin from working, but does not crash ASF.

TheSparkyGhost commented 6 months ago

@lzrdblzzrd I gotcha.. i've deleted my reply and created a separate ticket for the version I am using! thanks!

TheSparkyGhost commented 5 months ago

I noticed Maxisoft has had no activity since the first week of November.. have they moved on to other projects?

lzrdblzzrd commented 5 months ago

I noticed Maxisoft has had no activity since the first week of November.. have they moved on to other projects?

I think he is just busy with his personal life, or he has simply burned out and has no interest in developing the plugin.

In any case, if someone is using Docker, you can run this program in it, it works on the same principle and takes free games from the same resource as this plugin.

maxisoft commented 1 month ago

Hey all,

Just a heads up that issue #50 with the error on the latest ASF version is now sorted out in the new plugin update (check out PR #65).

Thanks for pointing it out and for the patience. Update to version 1.5.1 and it should be smooth sailing from here.

Cheers, Maxisoft