chr233 / ASFEnhance

ASF 扩展命令插件 / External commands for ASF
GNU Affero General Public License v3.0
476 stars 41 forks source link

Removedemos command does not work #243

Closed wolerine closed 3 months ago

wolerine commented 3 months ago

Describe the bug / Bug 描述 Removedemos command returns following error. Also same error with 2.1.2.3 too

Error Log / 错误日志

 ASFenhance encountered error, error logs below
==========================================================================
 - Origin Message: removedemos
 - Access: Owner
 - ASF Version: 6.0.1.16
 - Plugin Version: 2.1.2.4
==========================================================================
{
  "EULA": true,
  "Statistic": true,
  "DevFeature": false,
  "DisabledCmds": null,
  "Address": null,
  "Addresses": [],
  "ApiKey": null,
  "AutoClaimItemBotNames": "w0lerine",
  "AutoClaimItemPeriod": 23
}
==========================================================================
 - Exception Type: System.MissingMethodException
 - Exception Message: Method not found: 'System.Range System.Range.StartAt(System.Index)'.
   at ASFEnhance.Account.HtmlParser.ParseLincensesPage(HtmlDocumentResponse response)
   at ASFEnhance.Account.WebRequest.GetOwnedLicenses(Bot bot)
   at ASFEnhance.Account.Command.ResponseRemoveAllDemos(Bot bot)
   at ASFEnhance.ASFEnhance.OnBotCommand(Bot bot, EAccess access, String message, String[] args, UInt64 steamId)
chr233 commented 3 months ago

looks like require generic version*s asf

wolerine commented 3 months ago

switch to generic version worked thank you