Hey. I've run into a problem which I can't seem to figure out.
I want to use ASF to make my brother's account temporarily a bot so he can send me his cards (they're a lot) without having to drag them one by one in the trading window.
His account is not limited, I set up his API and my SteamTradeToken and set myself as master as well. I've made him a bot about 2 weeks ago and he's been farming games since but I get "Trade offer failed due to error!" every time I try to !loot. SendOnFarmingFinished is set on True and this is what I get in the log after he is out of games to play: 22.6.2016 17:41:21. [!!] WTF: UrlPostRetry() <MyBrother'sAccount> Request failed even after 5 tries, WTF?
Any idea on what may be the cause of this? My other bots are working flawlessly and sending offers with booster packs or newly farmed cards.
Comment has been collapsed.
A couple suggestions - would it be possible/viable to implement some extra commands to report the amount of cards the bot has in its inventory and the list of trades awaiting confirmation? Something like:
!statusloot - report the amount of cards in bot's inventory
!statuslootall - same for every bot
!status2fa - list the trades awaiting confirmation (or maybe just the amount of pending trades)
Or include this info in the !status command itself to make it more informative.
Would this be useful to anyone but me?
Comment has been collapsed.
Your functionality is kind of problematic.
!status2fa
would require a total rewrite of 2FA module, or at least a bit. This is because Steam sends confirmation only once, like with offline messages - after authenticator receives it, it disappears.
ASF currently nicely minimizes the problem, as 2FA fetch triggers only if trade was accepted, and we lost some items. It also triggers on !loot, if we sent something. Thanks to that, it operates quite good, but there is still a chance of "missing" some confirmations due to such approach - the ones you generated through trading or market. Until I improve my 2FA in ArchiBoT, and backport to ASF, this is not even possible, and I didn't do that yet as ArchiBoT didn't need it.
!statusloot
is also problematic - !status
bases purely on ASF data, therefore bot simply checks it's own memory. Looting requires asking for entire inventory, a total number of floor(yourItemsCount / 2500)
requests have to be done to fetch it. While it should be possible to do, I'm not sure if anybody would want to do the entire work just to check the number, it makes much more sense just to !loot
right away.
Still, both are possible to do, but I'm not entirely sure if we want that.
Comment has been collapsed.
Hey Archi, I've an enquiry.
I've setup 2FA for a secondary account using ASF long time ago and it's working fine, my question is there a way to import the authenticator into WinAuth for easier generation of 2FA codes and have both ASF and WinAuth working fine ?
WinAuth can import manifest.json file from SDA -which I don't use- , can I make manifest.json file and extract data from ASF into the file so that WinAuth can import the authenticator ? or how to do it ?
Thanks.
Comment has been collapsed.
I imported it first in SDA, using the bot.db I had back-upped from version 2.0.5.9. Open the db with notepad or another text editor. Simply copy the part from secret key to the end in an empty maFile. I deleted the last '}' of the 3, to be sure. After it is imported in SDA use Winauth 'import SDA function' - select the manifest.json of SDA and it is done. For creating codes you can then use the well known !2fa command, but also Winauth and even SDA if you like.
Maybe it's possible to import it directly to Winauth, but I have no idea how, so the extra (SDA) step was not a problem for me.
For originally created authentications in Winauth I didn't find a way to make a decent maFile that SDA accepts. Not really needed, but I was curious if it was possible.
Comment has been collapsed.
Good thing I keep backup of the data, I've 100+ mb folder with releases prior to v1.0.
Do you know if it's possible to import the authenticator from my android device into WinAuth or SDA without rooting ?? as I failed to root my device lots of time.
Also, do you know if I used WinAuth in portable mode on another PC & connection will I be able to generate codes ?
Thank you for your awesome prog and the continuous improvement and support you give, wish you successful life.
Comment has been collapsed.
Do you know if it's possible to import the authenticator from my android device into WinAuth or SDA without rooting ??
Without rooting - no, at least I didn't manage to do so.
Also, do you know if I used WinAuth in portable mode on another PC & connection will I be able to generate codes ?
Yes, should be fine.
Comment has been collapsed.
Comment has been collapsed.
Last year I found a userscript for it, which I cannot find any more, strangely. I put it up on a pastebin: http://pastebin.com/kYGf92X8
Comment has been collapsed.
Thx,
And found this inside ur one, Seems to be more faster lol. This one complete all 3 queue in a few sec wtf :D
https://github.com/mig4ng/SteamAutoGameQueue
Comment has been collapsed.
is this script http://pastebin.com/kYGf92X8 for asf or how i use this?
Comment has been collapsed.
Try this tutorial https://www.youtube.com/watch?v=YEqoI4cjJxY
Comment has been collapsed.
Thanks Rakesh Bro for link and tutorial this is very helpful. Can anyone confirm whether this script is safe ? it looks very cool but I see on github few copies of the script with a different exchange "donate" link https://github.com/be1stmaster/TH-Steam and looks a bit suspicious. I do not know on scripts
Comment has been collapsed.
https://github.com/JustArchi/ArchiSteamFarm/releases/tag/2.1.0.6
Always use latest version.
Comment has been collapsed.
So I've noticed something, and I'm not sure if it's a feature, bug, unfortunate side-effect, or what.. And given there's 27 pages, I didn't read them all to see if it's been asked before, so sorry if it has been lol..
Anyway, whenever I get a new item in my inventory, and I'm running this, it marks the item as "seen", meaning I can't see how many new cards/items I have since the last time I personally checked, or what those items are. Any way to stop that?
Comment has been collapsed.
<3 Thankyou!
I was using the minimal from ages ago, so never knew it existed.
First week or so this started happening I thought I was going insane.. Then assumed it was due to beta Steam Clients or having more than one comp on at a time, wasn't till this past week that I ruled both of those out, thats when I put two and two together as to the cause lol
Comment has been collapsed.
Comment has been collapsed.
I've just tried ASF for the first time. Thanks Archi for your work!
After 30 minutes it seems to have disconnected from Steam, and crashed (ASF.exe stopped working).
These are the last lines of the log:
24/06/2016 21:34:22 [*] INFO: Farm() <OFFBot> Still farming: 248310
24/06/2016 21:49:19 [*] INFO: OnDisconnected() <OFFBot> Disconnected from Steam!
24/06/2016 21:49:19 [*] INFO: StopFarming() <OFFBot> Sending signal to stop farming
24/06/2016 21:49:19 [*] INFO: StopFarming() <OFFBot> Waiting for reaction...
24/06/2016 21:49:19 [*] INFO: Farm() <OFFBot> Stopped farming: 248310
24/06/2016 21:49:19 [*] INFO: OnDisconnected() <OFFBot> Reconnecting...
24/06/2016 21:49:20 [*] INFO: OnConnected() <OFFBot> Connected to Steam!
24/06/2016 21:49:20 [*] INFO: OnConnected() <OFFBot> Logging in...
24/06/2016 21:49:20 [*] INFO: StopFarming() <OFFBot> Farming stopped!
24/06/2016 21:49:21 [*] INFO: OnLoggedOn() <OFFBot> Successfully logged on!
24/06/2016 21:49:21 [*] INFO: OnLoggedOff() <OFFBot> Logged off of Steam: Fail
24/06/2016 21:49:21 [!] EXCEPTION: UnhandledExceptionHandler() <Main> Object reference not set to an instance of an object.
StackTrace:
at ArchiSteamFarm.ArchiWebHandler.<Init>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArchiSteamFarm.Bot.<OnLoggedOn>d__100.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__5(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
As I'm still a little afraid, I would like to ask if it's OK to keep on trying.
Thanks in advance for your time.
Comment has been collapsed.
24/06/2016 21:49:21 [*] INFO: OnLoggedOn() <OFFBot> Successfully logged on!
24/06/2016 21:49:21 [*] INFO: OnLoggedOff() <OFFBot> Logged off of Steam: Fail
Typical GabeN, I'm not sure yet how to handle this. Let me know if this happens more often.
Comment has been collapsed.
Thank you for your reply.
Before reading this, I tried with HackIgnoreMachineID
in true
.
Since then, it got stuck (seems to be no progress) twice now at:
24/06/2016 23:03:35 [*] INFO: Farm() <OFFBot> Still farming: 295490
24/06/2016 23:18:36 [*] INFO: RefreshSessionIfNeeded() <OFFBot> Refreshing our session!
24/06/2016 23:18:37 [!] EXCEPTION: RefreshSession() <OFFBot> A task was canceled.
StackTrace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArchiSteamFarm.Bot.<RefreshSession>d__40.MoveNext()
24/06/2016 23:18:37 [*] INFO: Start() <OFFBot> Starting...
Both times I got a card. So I guess it refreshes the session for every card (?).
I'll try with the new release and let you know.
Comment has been collapsed.
https://github.com/JustArchi/ArchiSteamFarm/releases/tag/2.1.1.0
Let me know if you reproduce this issue on 2.1.1.0+.
Comment has been collapsed.
No crash so far, but it's stuck again:
25/06/2016 0:16:54 [*] INFO: Farm() <OFFBot> Still farming: 295490
25/06/2016 0:31:56 [*] INFO: RefreshSessionIfNeeded() <OFFBot> Refreshing our session!
25/06/2016 0:31:56 [!] EXCEPTION: RefreshSession() <OFFBot> A task was canceled.
StackTrace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArchiSteamFarm.Bot.<RefreshSession>d__43.MoveNext()
25/06/2016 0:31:56 [*] INFO: Start() <OFFBot> Starting...
No new lines for the last half an hour.
Do you believe it is still working? How can I check?
Comment has been collapsed.
I'm on Windows 8.1 64 bits.
Installed .NET 4.6.1 from the provided link in the Wiki. Didn't reboot the PC after the install. I may try after that.
Comment has been collapsed.
ASF should very rarily hit that exception, if you got it twice already - it indicates a system problem.
Moreover, SteamClient can't start after getting a request to do so, this indicates another system problem.
I'd advise not only rebooting but also checking AV / Firewall / other things that can interfere with ASF requests. It looks like really unstable and broken network.
Comment has been collapsed.
Thank you for that comment! I've set ASF.exe as Trusted in my Kaspersky suite and it's been farming all night without problems.
It has even reconnected from Steam without crashing!
Comment has been collapsed.
Welp, I decided to put that old alt account I made to work and see how many card drops I get from it. Apparently there's 65 games to farm so I guess I'm gonna get at least around 200 cards out of this, that's a lot.
Thanks for the program Archi :) All hail ArchiBot! Future AI ruler of mankind :P
Comment has been collapsed.
Depends on their state. Console input is blocking, which means that if others bots ask for the code, they'll block until you're done with your current one.
If they don't require human interaction, then they should be working in the background properly. Best way to check if it's true is analyzing log.txt of the ASF - it should still be updated with everything what is going on, while console output will be silently stopped as ASF requires your action.
Best way to overcome this problem is either adding ASF 2FA, so ASF can generate tokens as-needed, or set Headless
mode so ASF won't bother asking you for those things, but in this case bots will be stopped, as stated in the wiki.
Comment has been collapsed.
Note that you have to add 5 dollars/euros (or buy content equivalent to that amount) on your alt account too (the one you're trying to loot from), if not that account's cards will be locked with "cannot trade" status, making ASF says that inventory is empty because there's no tradable itens.
As for the mobile authenticator, if you didn't have one on your alt account for the last 15 days, this account's trades will have a period of "on hold", wich you will have to wait for the trade to be completed.
Comment has been collapsed.
the bot sends trade offer to me.
but i have to confirm the trade sent by bot trough email (sent by steam to the bot email).
After i configure phone atuh. and pass the 15 day (with asf 2fa configured)
can i use 2faok to confirm the trade offer send by bot? (or the confirmation is not needed anymore?)
Comment has been collapsed.
The trade offers sent by ASF from bot to main are confirmed automatically if everything is setup correctly (API keys, authenticators registered in the ASF, none of the accounts has any of the mentioned locks).
I advise you give a full read to the wiki's configuration page: https://github.com/JustArchi/ArchiSteamFarm/wiki/Configuration
Comment has been collapsed.
To be clear, because I'm not sure you talk about your extra (bot) account: If you want to get card drops you need to add 5 dollar/euro (or an equivalent of that in your currency) to that extra (bot) account and to loot these cards you need to have 15 days auth. enabled on that extra (bot) account.
If you meet all these requirements, then you are good to go. If you already met all these requirements and still have problems, check if the correct api keys are in the .json files from your main and your bot account(s).
Comment has been collapsed.
28/06/2016 8:00:31 PM [] INFO: CheckForUpdate() <Main> Checking new version...
28/06/2016 8:00:33 PM [] INFO: CheckForUpdate() <Main> Local version: 2.1.0.7 | Remote version: 2.1.0.7
28/06/2016 8:00:33 PM [] INFO: CheckForUpdate() <Main> ASF will automatically check for new versions every 24 hours
28/06/2016 8:00:33 PM [] INFO: RefreshCMs() <Main> Refreshing list of CMs...
28/06/2016 8:00:33 PM [*] INFO: RefreshCMs() <Main> Success!
28/06/2016 8:00:33 PM [!!] ERROR: Load() <Main> botDatabase is null!
28/06/2016 8:00:33 PM [!!] ERROR: .ctor() <One> Bot database could not be loaded, refusing to start this bot instance!
28/06/2016 8:00:33 PM [!!] ERROR: Load() <Main> botDatabase is null!
28/06/2016 8:00:33 PM [!!] ERROR: .ctor() <Two> Bot database could not be loaded, refusing to start this bot instance!
28/06/2016 8:00:33 PM [!!] ERROR: Load() <Main> botDatabase is null!
28/06/2016 8:00:33 PM [!!] ERROR: .ctor() <Three> Bot database could not be loaded, refusing to start this bot instance!
Any ideas?
Was working alright earlier today.
Comment has been collapsed.
Seems like your bots are missing their .db files, can you confirmar if they are on the config folder? If they are there's probably something wrong with them.
Edit for informational purposes: Since the .db files are autogenerated my first statement about them not being in the folder is sort of useless.
Comment has been collapsed.
Had this happen twice now already, bot and master account suddenly start saying Error to each other in chat. Nothing else is said and nothing gets logged. Only way to make it stop is to close ASF, doesn't happen again immeatidly after restart.
Comment has been collapsed.
See - that's the problem. If B is owner of ASF process, then nobody should be master of B, as he's highest in hierarchy. Owner should be you, master should be either account you use for items storing, or also you. ASF offers you given bot commands, thanks to that you can command all of your bots using just one.
Still, I know where that bug comes from, and I'll fix that, but your setup is flawed too. It should never be possible to recursively call commands, if A is master of B then B should never be owner of ASF process.
Comment has been collapsed.
Or now that I think more about it, I guess it's that way either due to historical reasons of A not being run by ASF til very recently or then lots of alcohol. At least something good came out of it and a bug was found fast.
And now I can punish you for being right all the time by getting you to level 100 finally, which should be the minimum for a leader of an evil bot army!
Comment has been collapsed.
I just opened up ASF, and I'm getting an InvalidPassword error on both my accounts. I haven't changed my passwords or my config files, so I'm not sure what's up.
Comment has been collapsed.
"Steam is down for routine maintenance every Tuesday." https://steamstat.us
Comment has been collapsed.
Something strange is happening after closing asf, it's like it continues to idle game for 30 more minutes.
It's been happening for the past 7 days or so, asf was run iirc 4 times, 3 times on 2052 and once today on 2107.
Example: closing asf that run game that should drop 3 cards in 3.5 hrs, closing asf after 3 hrs of idling it will drop last card half hour later, with no indication that any game is running on steam, and game time will not be increased for that last half hour on that acc. PC is restarted almost every time after asf is closed so definitely it's still not running. And to confirm it's not running without restart, it is not controlling events, example, card idling accs have notifications disabled, I dont get them while asf is running, but for this "bug", after closing asf when I get that residual card I do get green new item notification.
I have 7 accs running in past few days (this and 6 new ones) and this bug is manifested on every acc, every time.
So.. basically, question is wtf? :)
Comment has been collapsed.
I often have cards dropping some time after ASF is closed. Probably just a delay with Steam.
Comment has been collapsed.
Hi Archi.
I was looking for information on previous updates(+) and I noticed that the Changelog/Download link in the announcements in the Steam thread all point towards the latest version of the changelog, so if I were to check the changelog in, say, version 2.0.5.9 I'd still get the changelog for the latest version.
I know I can always check for previous releases in the same github link and I know you don't care about previous versions so please disregard my comment if you think is not important. I just wanted to mention it because I was expecting a link to the changelog of the specific version being announced (Similar to other software projects)
(+) I use the simpler set of ASF features so it has always worked for me and I rarely update it.
Comment has been collapsed.
I do it intentionally, so people browsing announcements always are linked to the latest version, and not some ancient one.
All releases are available on GitHub, from V0.1 up to now, and they're not going to be removed, but majority of links I post in public, including the one in ASF group as well as in this thread, will always point to the most recent version. If you need specific one, you should browse releases yourself.
Comment has been collapsed.
Archi sama, can you chose which games to farm cards or is it automated?
Customizable cards farming algorithm which will push performance of cards farming to the maximum
Comment has been collapsed.
Cool! This is exactly what I was thinking about, I will start using this then, thanks a lot for confirmation :D
Comment has been collapsed.
Ok so I configured the bot, but once it logs ins it starts automatically to farm and I can't type anything... what am I doing wrong?
Comment has been collapsed.
Well I have read everything about configuration, but since I also read that you are not obligated to have Steam installed I supposed that you just needed to input the commands on the prompt window. I will try to open Steam... but I don't know if the bot will appear in my friendlist so I can input the commands somewhere :/
Edit. I think the problem is that I have SteamOwnerID set to 0, I don't know what value to input though...
Edit2: OK, I'm stuck here since I don't understand how to place a command on a private chat to communicate with ASF
Comment has been collapsed.
You should put the command to an alt. If you don't have an alt, then you should use WCF, but using WCF is the last thing you should be doing.
Easiest way is to create new account, link it in ASF, add to friend, and use it for your ASF commands.
Comment has been collapsed.
Sorry for the very late reply! This advise is super helpful, I haven't been able to try to making work the commands for ASF, I will try today or tomorrow this :D
Edit: I created a group, inputed his ID number in SteamMasterClanID but I still can't make the commands to work with the bot... tried changing the SteamMasterID to mine but then it didn't even find any cards to farm... lol
Comment has been collapsed.
I assume you are trying to use ASF to farm on your main account, right?
One way it worked for me is controlling it through the alt account:
To do this the configs for main and alt for this should have SteamMasterID set to the main account and then you issue the chat command to the alt from the main, like !play main_account_name game_id. I haven't tried the group chat method though.
Comment has been collapsed.
Yes I'm trying to farm only the remaining cards of games I've already played... but the group method didn't work for me, or rather I'm doing something wrong.
If I set an alt. account I will need to purchase $5 from the Steam Store to add friends, and I don't want to do that :(
Comment has been collapsed.
Interesting! Thanks guys, I will try to set up an ALT following m139 instructions since I have tried many commands with the group method to no success as of yet.
Comment has been collapsed.
I didn't say it's not interesting feature, but at the same time ASF is supposed to be minimalistic - every extra info that you're able to see comes directly from the fact that ASF needs it to operate, so the cost of keeping it in memory and reusing is negligible.
Total number of games to farm comes from simple count function of farming queue after adding everything.
Total number of cards the game has comes from check if ASF should keep farming that game, and is being printed "by the way" as we're operating on that status.
etc.
Comment has been collapsed.
16,295 Comments - Last post 30 minutes ago by Haplodh
25 Comments - Last post 32 minutes ago by lewriczin
1,519 Comments - Last post 34 minutes ago by Tristar
1,798 Comments - Last post 42 minutes ago by Cacciaguida
543 Comments - Last post 53 minutes ago by Aristofop
44 Comments - Last post 1 hour ago by Chris76de
517 Comments - Last post 5 hours ago by Marius11
85 Comments - Last post 42 seconds ago by amusedmonkey
28,244 Comments - Last post 2 minutes ago by Xiangming
68 Comments - Last post 15 minutes ago by Thexder
81 Comments - Last post 18 minutes ago by ceeexo
200 Comments - Last post 25 minutes ago by samwise84
38 Comments - Last post 37 minutes ago by AlexForestry
16,779 Comments - Last post 45 minutes ago by MjrPITA
ASF is a C# application that allows you to farm steam cards using multiple steam accounts simultaneously. Unlike Idle Master which works only for one account at given time, requires steam client running in background, and launches additional processes imitating "game playing" status, ASF doesn't require any steam client running in the background, doesn't launch any additional processes and is made to handle unlimited steam accounts at once. In addition to that, it's meant to be run on servers or other desktop-less machines, and features full cross-OS support, which makes it possible to launch on any .NET Core-supported operating system, such as Windows, Linux or OS X. ASF is possible thanks to gigantic amount of work done in marvelous SteamKit2 library.
ASF doesn't require and doesn't interfere in any way with Steam client. In addition to that, it doesn't require exclusive access to given account, which means that you can use your main account in Steam client, and use ASF for idling the same account at the same time. If you decide to launch a game, ASF will get disconnected, and resume idling once you finish playing your game, being as transparent as possible during entire process.
Core features
Interesting features
For comparison with other similar programs and further read about the most interesting exclusive ASF features, I recommend to visit appropriate FAQ entry that explains everything in detail. It's also a very good starting point if you want to have a glimpse on what ASF can do, besides the obvious.
Setting up
Detailed guide regarding setting up and using ASF is available in the setting up article on our wiki. It's user-friendly tutorial with helpful screenshots that compacts the whole basic knowledge about ASF into a single document.
Useful links
Main page / Source code
Latest version / Download
Wiki / Help
Steam group
Discord
You might be also interested in our side project, ASF STM listing.
Is the project still supported?
As stated in my thread closing statement, despite of SG thread being closed, I intend to keep the project up-to-date and supported through non-SG channels. You can check the date of the latest release for reference.
This thread
The thread on SG is open for discussion and support matters that are related to ASF as a program. If you have any particular issue, question or other case to discuss, feel free to leave a comment.
Have fun.
Please do not add me on steam, if you have questions or issues - ask in the thread.
Prior to doing so, make sure to read main page and the wiki, especially our FAQ.
Comment has been collapsed.