JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
Apache License 2.0
10.92k stars 1.04k forks source link

ArchiSteamFarm.OfficialPlugins.Monitoring crashing ASF #3181

Closed UltraFeed closed 3 months ago

UltraFeed commented 3 months ago

Checklist

ASF version

Latest stable release

ASF variant

win-x64

Bug description

After unzipping the ArchiSteamFarm.OfficialPlugins.Monitoring to plugins folder and running asf, it is crashing with error.

my plugings: ArchiSteamFarm.OfficialPlugins.ItemsMatcher ArchiSteamFarm.OfficialPlugins.MobileAuthenticator ArchiSteamFarm.OfficialPlugins.SteamTokenDumper

Expected behavior

not crashing

Actual behavior

crashing

Steps to reproduce

Unzip monitoring plugin to plugins folder and launch ASF

Possible reason/solution

No response

Can you help us with this bug report?

Somehow, I can test and offer feedback, but can't code

Full log.txt recorded during reproducing the problem

2024-04-04 01:33:28|ArchiSteamFarm-30924|INFO|ASF|InitCore() ArchiSteamFarm V6.0.1.24 (win-x64/118c1164cbd6444396797ef44cbdd46a | .NET 8.0.2; win-x64; Microsoft Windows 10.0.22631) in [C:\Users\admin\Desktop\utilities\Steam\ASF]
2024-04-04 01:33:28|ArchiSteamFarm-30924|INFO|ASF|InitCore() Copyright © 2015-2024 JustArchiNET
2024-04-04 01:33:28|ArchiSteamFarm-30924|INFO|ASF|WarnAboutIncompleteTranslation() ASF будет пытаться использовать выбранный язык ru-RU (Russian (Russia)), но перевод готов только на 99,5 %. Возможно, вы смогли бы помочь улучшить перевод ASF на данный язык.
2024-04-04 01:33:28|ArchiSteamFarm-30924|INFO|ASF|InitPlugins() Инициализация Plugins...
2024-04-04 01:33:28|ArchiSteamFarm-30924|ERROR|ASF|InitPlugins() Не удалось из-за ошибки: OpenTelemetry, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7bd6737fe5b67e3c
2024-04-04 01:33:28|ArchiSteamFarm-30924|ERROR|ASF|InitPlugins() System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.

   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at ArchiSteamFarm.Plugins.PluginsCore.InitPlugins()
System.TypeLoadException
2024-04-04 01:33:39|ArchiSteamFarm-30924|ERROR|ASF|Exit() Завершено с кодом ошибки 1!

Global ASF.json config file

{
  "IdleFarmingPeriod": 1,
  "SteamOwnerID": edited,
  "UpdatePeriod": 1,
  "SteamTokenDumperPluginEnabled": true
}

BotName.json config of all affected bot instances

First bot:

{
  "AcceptGifts": true,
  "BotBehaviour": 32,
  "Enabled": true,
  "FarmingPreferences": 132,
  "LootableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ],
  "MatchableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ],
  "OnlineStatus": 7,
  "RedeemingPreferences": 11,
  "RemoteCommunication": 2,
  "SteamLogin": "edited",
  "SteamPassword": "edited",
  "TradingPreferences": 3,
  "TransferableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ]
}

Second Bot:

{
  "AcceptGifts": true,
  "BotBehaviour": 32,
  "Enabled": true,
  "FarmingPreferences": 128,
  "LootableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ],
  "MatchableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ],
  "OnlineStatus": 7,
  "RedeemingPreferences": 7,
  "RemoteCommunication": 2,
  "SteamLogin": "edited",
  "SteamPassword": "edited",
  "TradingPreferences": 3,
  "TransferableTypes": [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16
  ]
}

Additional info

No response

JustArchi commented 3 months ago

The plugin is considered in experimental stage, it's also not compatible with generic variant of ASF, nothing to fix here.

I pulled it off the release until the doc is ready.