SteamInviteHelper-ASF
SteamInviteHelper-ASF copied to clipboard
Best way to disable a module?
I would like to use this module on only one bot.
For everyone else:
"SteamInviteHelper": { "Enabled": false, "ActionPriority": ["none"], "PrivateProfile": {"action":"none"}, "SteamRepScammer": {"action":"none"}, "SteamLevel": [{"condition":"default","value":-1,"action":"none"}], "VACBanned": [{"condition":"default","value":-1,"action":"none"}], "GameBanned": [{"condition":"default","value":-1,"action":"none"}], "DaysSinceLastBan": [{"condition":"default","value":-1,"action":"none"}], "CommunityBanned": {"action":"none"}, "EconomyBanned": {"action":"none"}, "ProfileName": [{"condition":"default","value":"","action":"none"}] }
And I get errors in the console when I try to add as a friend:
ERROR|ASF|OnBotFriendRequest() System.MissingFieldException: Field not found: 'HtmlDocumentResponse.Content'. at SteamInviteHelper_ASF.FriendInviteHandler.processSteamRepScammerAsync(UserProfile userProfile, Bot bot) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at SteamInviteHelper_ASF.FriendInviteHandler.processSteamRepScammerAsync(UserProfile userProfile, Bot bot) at SteamInviteHelper_ASF.FriendInviteHandler.processFriendRequest(SteamID SteamID, Bot bot) at SteamInviteHelper_ASF.SteamInviteHelper.OnBotFriendRequest(Bot bot, UInt64 steamID) at ArchiSteamFarm.Utilities.InParallel[T](IEnumerable
1 tasks)
at ArchiSteamFarm.Plugins.PluginsCore.OnBotFriendRequest(Bot bot, UInt64 steamID)`
Why does the module check all other parameters if Enabled = false?
The code is outdated. You may give this a try https://github.com/Lucki/SteamInviteHelper-ASF/releases/tag/1.0.4
But that shouldn't happen: https://github.com/1461748123/SteamInviteHelper-ASF/blob/3897b4c3aceb3c9a82e0ed0308463797ac9b302f/SteamInviteHelper-ASF/SteamInviteHelper.cs#L40-L42