Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not work with archisteamfarm 6.0.5.2 #19

Closed
feeops opened this issue Aug 7, 2024 · 2 comments
Closed

do not work with archisteamfarm 6.0.5.2 #19

feeops opened this issue Aug 7, 2024 · 2 comments

Comments

@feeops
Copy link

feeops commented Aug 7, 2024

do not work with archisteamfarm 6.0.5.2

curl "xxx/Inventory?minimal=false&showDefs=false"

return is empty

Citrinate added a commit that referenced this issue Aug 8, 2024
@Citrinate
Copy link
Owner

I was able to discover and fix an error on non-generic ASF V6.0.5.2 that prevented the plugin from loading a bot's inventory:

2024-08-07 20:21:51|ArchiSteamFarm-2946884|ERROR|bot|HandleCallbacks() System.MissingMethodException: Method not found: 'Single System.BitConverter.ToSingle(Byte[], Int32)'.
   at CS2Interface.InventoryItem.ParseAttributes(List`1 attributes)
   at CS2Interface.InventoryItem.SetAdditionalProperties()
   at CS2Interface.InventoryItem..ctor(CSOEconItem item)
   at CS2Interface.Client.<>c.<OnClientWelcome>b__19_0(Byte[] x)
   at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
   at System.Collections.Concurrent.ConcurrentDictionary`2.InitializeFromCollection(IEnumerable`1)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32, IEnumerable`1 , IEqualityComparer`1 )
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEnumerable`1 )
   at CS2Interface.Client.OnClientWelcome(IPacketGCMsg packetMsg)
   at CS2Interface.Client.OnGCMessage(MessageCallback callback)
   at SteamKit2.Internal.Callback`1.Run(Object callback)
   at SteamKit2.CallbackManager.RunWaitAllCallbacks(TimeSpan timeout)
   at ArchiSteamFarm.Steam.Bot.HandleCallbacks()

Please download the latest build and check that it fixes your issue: CS2Interface V1.0.10.2

If the issue isn't fixed, then I'll need to see your logs.

@feeops
Copy link
Author

feeops commented Aug 9, 2024

It works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants