citrinate / boostermanager Goto Github PK
View Code? Open in Web Editor NEWAn ASF Plugin for creating Steam Booster Packs and managing items
License: Apache License 2.0
An ASF Plugin for creating Steam Booster Packs and managing items
License: Apache License 2.0
Hello,
do you plan linux version or it stays ASF-generic version?
It is interesting to use this plugin for docker setup.
Thanks
There are a few aliases in ASF:
Command | Alias |
---|---|
addlicense |
addlicence |
owns ASF |
oa |
status ASF |
sa |
redeem |
r |
redeem^ |
r^ |
Similarly, there are a few aliases in ASFEnhance:
Shorthand | Equivalent Command | Description |
---|---|---|
AL [Bots] <Licenses> |
ADDLICENSE [Bots] <Licenses> |
Add free SUB |
LA |
LEVEL ASF |
Get All bot's level |
BA |
BALANCE ASF |
Get All bot's wallet balance |
PA |
POINTS ASF |
Get All bot's points balance |
P [Bots] |
POINTS |
Get bot's points balance |
CA |
CART ASF |
Get All bot's cart information |
I believe the following aliases could be useful for BoosterManager, and would not cause conflicts with the aforementioned aliases.
Command | Alias |
---|---|
bstatus ASF |
bsa |
gems ASF |
ga |
keys ASF |
ka |
I don't know about the third, but I would use the first two.
It seems that this plugin is not working properly after the ASF update
2024-03-09 16:19:14|ArchiSteamFarm-2459969|ERROR|ASF|InitPlugins() Failed due to error: BoosterManager, Version=2.8.1.0, Culture=neutral, PublicKeyT>2024-03-09 16:19:14|ArchiSteamFarm-2459969|ERROR|ASF|InitPlugins() System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the >Method 'OnASFInit' in type 'BoosterManager.BoosterManager' from assembly 'BoosterManager, Version=2.8.1.0, Culture=neutral, PublicKeyToken=null' doe>Method 'Save' in type 'BoosterManager.BoosterDatabase' from assembly 'BoosterManager, Version=2.8.1.0, Culture=neutral, PublicKeyToken=null' does no>Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the fi>
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at ArchiSteamFarm.Plugins.PluginsCore.InitPlugins()
System.TypeLoadException: Method 'OnASFInit' in type 'BoosterManager.BoosterManager' from assembly 'BoosterManager, Version=2.8.1.0, Culture=neutral>System.TypeLoadException: Method 'Save' in type 'BoosterManager.BoosterDatabase' from assembly 'BoosterManager, Version=2.8.1.0, Culture=neutral, Pu>System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
File name: 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aee>
2023-12-23 16:16:42|ArchiSteamFarm-20204|ERROR|0.HustleHardy|GetItemsFromStacks() Not enough available quantity to complete trade, need 3, but only 0 are available
2023-12-23 16:16:42|ArchiSteamFarm-20204|INFO|0.HustleHardy|SendMultipleItemsWithAmounts() Not enough of 753::6::xxxxxxxxxxx to send!
2023-12-23 16:16:42|ArchiSteamFarm-20204|ERROR|0.HustleHardy|BatchSendMultipleItemsWithAmounts() Failed to send items to 2.1
2023-08-01 09:35:34|dotnet-5928|ERROR|ASF|InitPlugins() Échec dû à une erreur : BoosterManager, Version=2.4.1.0, Culture=neutral, PublicKeyToken=null
2023-08-01 09:35:34|dotnet-5928|ERROR|ASF|InitPlugins() System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
Could not load type 'ArchiSteamFarm.Steam.Security.Confirmation' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
Could not load type 'ArchiSteamFarm.Steam.Security.Confirmation' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at ArchiSteamFarm.Plugins.PluginsCore.InitPlugins()
System.TypeLoadException: Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
System.TypeLoadException: Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
System.TypeLoadException: Could not load type 'EType' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
System.TypeLoadException: Could not load type 'ArchiSteamFarm.Steam.Security.Confirmation' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
System.TypeLoadException: Could not load type 'ArchiSteamFarm.Steam.Security.Confirmation' from assembly 'ArchiSteamFarm, Version=5.4.8.3, Culture=neutral, PublicKeyToken=504f46588cc351a9'.
Can u please give an example for sending different items with one command with AppID::ContextID::ClassID?
Information about AM/PM is missing from the output of bstatus
, e.g.
Next booster will be crafted at 4:58 : Duke Nukem 3D: Megaton Edition (225140)
However, I believe you must make use of this piece of information to manage the creation of booster packs.
For reference, this is how the information appears on the official boostercreator page:
{
"appid": 225140,
"name": "Duke Nukem 3D: Megaton Edition",
"series": 1,
"price": "1000",
"unavailable": true,
"available_at_time": "12 Dec @ 4:57pm"
}
I would suggest:
This would lead to:
Next booster will be crafted at 4:58 PM : Duke Nukem 3D: Megaton Edition (225140)
or
Next booster will be crafted at 16:58 : Duke Nukem 3D: Megaton Edition (225140)
Right now you need to run a daily command to craft more booster packs of the app ids you want.
It'd be useful to add another command to booster:
booster [Bots] <AppIDs> <Number>
If <Number>
is omitted: 1
If <Number>
is passed in, such as 2, then it schedules one now, another one tomorrow, etc.
2023-11-18 23:27:03|dotnet-5756|INFO|ASF|InitCore() ArchiSteamFarm V5.5.0.0 (generic/98d541a0-893c-4ebb-91b8-45e2b65a4245 | .NET 8.0.0; win-x64; Microsoft Windows 10.0.19045)
2023-11-18 23:27:04|dotnet-5756|INFO|ASF|InitPlugins() Chargement BoosterManager V2.5.1.0...
2023-11-18 23:27:07|dotnet-5756|FATAL|ASF|OnUnhandledException() System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<ArchiSteamFarm.Web.Responses.HtmlDocumentResponse> ArchiSteamFarm.Steam.Integration.ArchiWebHandler.UrlGetToHtmlDocumentWithSession(System.Uri, System.Collections.Generic.IReadOnlyCollection`1<System.Collections.Generic.KeyValuePair`2<System.String,System.String>>, System.Uri, ERequestOptions, Boolean, Byte, Int32, Boolean)'.
at BoosterManager.WebRequest.GetBoosterPage(Bot bot)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at BoosterManager.WebRequest.GetBoosterPage(Bot bot)
at BoosterManager.BoosterQueue.UpdateBoosterInfos()
at BoosterManager.BoosterQueue.Run()
at BoosterManager.BoosterQueue.<.ctor>b__14_0(Object e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
References:
The transfergems
command has stopped working after the update to ArchiSteamFarm V5.4.2.13
.
I want to craft booster packs on a few accounts.
After calling !booster ASF XXX
, where XXX
is the appID of the game of interest, ASF would crash:
Citrinate/BoosterManager
),Ryzhehvost/BoosterCreator
).2022-12-11 10:18:17|dotnet-2864|FATAL|ASF|OnUnhandledException() System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'steamID')
at ArchiSteamFarm.Steam.Bot.SendMessage(UInt64 steamID, String message)
at BoosterManager.BoosterHandler.SendStatusReport(Bot respondingBot, UInt64 recipientSteamID)
at BoosterManager.BoosterHandler.<PerpareStatusReport>b__19_0(Object e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
This also happens when using only one account (the first in the list) and calling:
!booster XXX
,!booster BOT XXX
, where BOT
is the name of the account.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.