maxisoft / ASFFreeGames

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

Incompatibility of plugin version 1.4.0 with ASF 5.4.12.5 #43

Closed Rekandy closed 7 months ago

Rekandy commented 8 months ago

Error Description Problem with launching the latest version of the plugin

To Reproduce Steps to reproduce the behavior: 1.Installing plugin version 1.4.0 2.Running ASF and getting an error that indicates that all other plugins are not working(of course, when you remove the plugin all starts to work fine).

Expected behavior Running the programme with all plug-ins

Screenshots ArchiSteamFarm_RLpx8lfgPN

Desktop (please complete the following information):

maxisoft commented 7 months ago

Thank you for reporting this issue. 👍

About the error

I have acknowledged the issue and found out that it is related to the trimming of the ASF binary, which removes some methods that are not used by the main program.
One of these methods is the Lazy(T) constructor that takes a value parameter, which was used by the PluginContext class. This causes a System.MissingMethodException when the plugin start and tries to access it.

Solutions


Thank you for your patience and understanding. Have a nice day! 😊

maxisoft commented 7 months ago

issue should be resolved with latest release https://github.com/maxisoft/ASFFreeGames/releases/tag/v1.4.1.