使用ArchiSteamFarm在树莓派挂卡

概述

挂卡,我也是今天知道这个词语,意思就是steam中某些游戏有集换式卡牌,集齐能合成徽章有经验,玩游戏到一定时间可以获得总数一半数量的卡,挂卡就是挂游戏时间获得这一部分的卡。然后这些卡片是可以用来卖的,也就是可以换钱,反正树莓派开着也是开着,为什么不让它做点有意义的事情,所以,你懂的 我们用的挂卡软件是ArchiSteamFarm

安装

首先安装挂卡软件 先新建一个文件夹 mkdir ArchiSteamFarm cd ArchiSteamFarm 之后把软件下载过来 因为是树莓派所以就下载arm版本的 wget https://github.com/JustArchi/ArchiSteamFarm/releases/download/3.0.3.1/ASF-linux-arm.zip 为什么下载这个版本,因为我下载最新版本会有报错,但是这个版本不会报错 当然我建议是用代理下载,不然很慢真的很慢,贼鸡巴慢,网速是和百度一样垃圾 解压 unzip ASF-linux-arm.zip 安装相关依赖 sudo apt install libunwind8-dev 可能你还要安装其他依赖,反正我的raspbian系统就安装了一个依赖 你可以看运行下面这个命令来看看你缺少什么依赖 chmod +x ArchiSteamFarm ./ArchiSteamFarm 我就缺少一个,如果你缺少其他的你可以看下面这个命令来 选择安装 sudo apt-get install libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev uuid-dev unzip 运行正常吧是下面这个状态

➜  ArchiSteamFarm ./ArchiSteamFarm               
2017-10-10 19:31:09|ArchiSteamFarm-24067|INFO|ASF|InitASF() ASF V3.0.3.5 (e32ea1ea-e695-4b84-ad80-a22100c12256)
2017-10-10 19:31:16|ArchiSteamFarm-24067|INFO|ASF|InitGlobalDatabaseAndServices() It looks like it's your first launch of the program, welcome!
2017-10-10 19:31:16|ArchiSteamFarm-24067|WARN|ASF|InitGlobalDatabaseAndServices() Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!
2017-10-10 19:31:28|ArchiSteamFarm-24067|DEBUG|ASF|OnLogMessageReceived() WebServer | Web server prefix 'http://127.0.0.1:1242/' added.
2017-10-10 19:31:28|ArchiSteamFarm-24067|DEBUG|ASF|OnLogMessageReceived() WebServer | Finished Loading Web Server.
2017-10-10 19:31:30|ArchiSteamFarm-24067|INFO|ASF|CheckAndUpdateProgram() ASF will automatically check for new versions every 1 day.
2017-10-10 19:31:30|ArchiSteamFarm-24067|INFO|ASF|CheckAndUpdateProgram() Checking for new version...
2017-10-10 19:31:33|ArchiSteamFarm-24067|INFO|ASF|CheckAndUpdateProgram() Local version: 3.0.3.5 | Remote version: 3.0.3.0
2017-10-10 19:31:33|ArchiSteamFarm-24067|WARN|ASF|CheckAndUpdateProgram() You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given.
2017-10-10 19:31:48|ArchiSteamFarm-24067|INFO|ASF|InitializeSteamConfiguration() Initializing SteamDirectory...
2017-10-10 19:31:49|ArchiSteamFarm-24067|INFO|ASF|InitializeSteamConfiguration() Success!
2017-10-10 19:31:49|ArchiSteamFarm-24067|WARN|ASF|InitBots() No bots are defined. Did you forget to configure your ASF?

配置 ArchiSteamFarm

官方提供了一个页面来可视化配置,打开 https://justarchi.github.io/ArchiSteamFarm/#/bot 注意是点击BOT这个选项卡,版本选择 然后Name随便输入,之后输入账号和密码,bot account 不打钩和enable选择打钩,版本是latest接着直接点击download下载就好了 就像下面这样

之后把这个json文件上传到你新建的文件夹的config目录中 scp Bboysoul.json root@192.168.1.100:/root/ArchiSteamFarm/config 接着新建一个会话 screen -S steam 重新运行 ./ArchiSteamFarm 会提示你输入验证码

�  ArchiSteamFarm ./ArchiSteamFarm
2017-10-10 20:00:38|ArchiSteamFarm-25013|INFO|ASF|InitASF() ASF V3.0.3.5 (e32ea1ea-e695-4b84-ad80-a22100c12256)
2017-10-10 20:00:45|ArchiSteamFarm-25013|INFO|ASF|InitGlobalDatabaseAndServices() It looks like it's your first launch of the program, welcome!
2017-10-10 20:00:45|ArchiSteamFarm-25013|WARN|ASF|InitGlobalDatabaseAndServices() Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!
2017-10-10 20:00:57|ArchiSteamFarm-25013|DEBUG|ASF|OnLogMessageReceived() WebServer | Web server prefix 'http://127.0.0.1:1242/' added.
2017-10-10 20:00:57|ArchiSteamFarm-25013|DEBUG|ASF|OnLogMessageReceived() WebServer | Finished Loading Web Server.
2017-10-10 20:00:58|ArchiSteamFarm-25013|INFO|ASF|CheckAndUpdateProgram() ASF will automatically check for new versions every 1 day.
2017-10-10 20:00:58|ArchiSteamFarm-25013|INFO|ASF|CheckAndUpdateProgram() Checking for new version...
2017-10-10 20:01:01|ArchiSteamFarm-25013|INFO|ASF|CheckAndUpdateProgram() Local version: 3.0.3.5 | Remote version: 3.0.3.0
2017-10-10 20:01:01|ArchiSteamFarm-25013|WARN|ASF|CheckAndUpdateProgram() You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given.
2017-10-10 20:01:17|ArchiSteamFarm-25013|INFO|ASF|InitializeSteamConfiguration() Initializing SteamDirectory...
2017-10-10 20:01:18|ArchiSteamFarm-25013|INFO|ASF|InitializeSteamConfiguration() Success!
2017-10-10 20:01:19|ArchiSteamFarm-25013|INFO|Bboysoul|Start() Starting...
2017-10-10 20:01:19|ArchiSteamFarm-25013|INFO|Bboysoul|Connect() Connecting...
2017-10-10 20:01:21|ArchiSteamFarm-25013|INFO|Bboysoul|OnConnected() Connected to Steam!
2017-10-10 20:01:22|ArchiSteamFarm-25013|INFO|Bboysoul|OnConnected() Logging in...

<Bboysoul> Please enter SteamGuard auth code that was sent on your e-mail: 

你去邮箱看一下验证码输入就好了 最后成功的样子是下面这样的

�  ArchiSteamFarm ./ArchiSteamFarm
2017-10-10 22:43:48|ArchiSteamFarm-30771|INFO|ASF|InitASF() ASF V3.0.3.1 (a6dc45b6-8a14-47c2-a033-2673180de925)
2017-10-10 22:43:57|ArchiSteamFarm-30771|INFO|ASF|CheckAndUpdateProgram() ASF will automatically check for new versions every 1 day.
2017-10-10 22:43:57|ArchiSteamFarm-30771|INFO|ASF|CheckAndUpdateProgram() Checking for new version...
2017-10-10 22:44:00|ArchiSteamFarm-30771|INFO|ASF|CheckAndUpdateProgram() Local version: 3.0.3.1 | Remote version: 3.0.3.0
2017-10-10 22:44:00|ArchiSteamFarm-30771|WARN|ASF|CheckAndUpdateProgram() You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given.
2017-10-10 22:44:16|ArchiSteamFarm-30771|INFO|Bboysoul|Start() Starting...
2017-10-10 22:44:17|ArchiSteamFarm-30771|INFO|Bboysoul|Connect() Connecting...
2017-10-10 22:44:19|ArchiSteamFarm-30771|INFO|Bboysoul|OnConnected() Connected to Steam!
2017-10-10 22:44:20|ArchiSteamFarm-30771|INFO|Bboysoul|OnConnected() Logging in...
2017-10-10 22:44:24|ArchiSteamFarm-30771|INFO|Bboysoul|OnLoggedOn() Successfully logged on!
2017-10-10 22:44:24|ArchiSteamFarm-30771|INFO|Bboysoul|Init() Logging in to ISteamUserAuth...
2017-10-10 22:44:30|ArchiSteamFarm-30771|INFO|Bboysoul|Init() Success!
2017-10-10 22:44:31|ArchiSteamFarm-30771|INFO|Bboysoul|IsAnythingToFarm() Checking first badge page...
2017-10-10 22:44:35|ArchiSteamFarm-30771|INFO|Bboysoul|StartFarming() We have a total of 2 games (8 cards) left to idle (~6 hours remaining)...
2017-10-10 22:44:35|ArchiSteamFarm-30771|INFO|Bboysoul|Farm() Chosen idling algorithm: Complex
2017-10-10 22:44:37|ArchiSteamFarm-30771|INFO|Bboysoul|FarmSolo() Now idling: 321040 (DiRT 3 Complete Edition)
2017-10-10 22:44:39|ArchiSteamFarm-30771|INFO|Bboysoul|ShouldFarm() Idling status for 321040 (DiRT 3 Complete Edition): 3 cards remaining
2017-10-10 22:44:39|ArchiSteamFarm-30771|INFO|Bboysoul|Farm() Still idling: 321040 (DiRT 3 Complete Edition)

很显然我有两个游戏可以挂机,现在挂机的是尘埃3

注意

有下面几个地方是需要注意一下的 首先受限账号挂不了,什么是受限账号,就是你的游戏都是淘宝礼物买的,反正就是没有往steam里面冲过钱,至少30元,用微信付一下就好了。 还有免费游戏貌似要在游戏里面充值过才可以 还有就是如果出现下面这样的报错 We don't have anything to idle on this account! 表示你的库存里没有游戏可以挂机的

最后祝大家可以挂到卡,赚钱那是不可能的啦,哈哈

欢迎关注Bboysoul的博客www.bboysoul.com Have Fun

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏我有一个梦想

UE4新手编程之创建C++项目

 虚幻4中常用的按键和快捷键 虚幻4中有一些按键和快捷键很常用,牢记它们并运动到实际的项目开发中,将会大大地提高你的工作效率和使得工作更简便快捷。下面将列举它们...

27660
来自专栏拂晓风起

HTML5骨骼动画Demo | 使用min2d、createjs、pixi播放spine动画

68350
来自专栏葡萄城控件技术团队

Web程序员们,你准备好迎接HTML5了吗?

HTML5作为下一代的web开发标准,其特性已经慢慢地出现在主流的浏览器中,这种新的HTML将会让浏览器不必再依赖Flash、QuickTime、Silverl...

23390
来自专栏iOS技术

iOS图片浏览器(功能强大/性能优越)

支持 cocopods,功能完善,性能不错,代码质量尚可,喜欢的朋友可以给个小星星?。

59170
来自专栏企鹅号快讯

图片转文字居然这么简单,多亏了这几个神器!

我们经常会用手机拍摄、截屏了一大堆图片,领导的PPT、客户的名片、各种文案海报等等…… 想着有空后把资料整理成文字稿,但是一想到要在电脑上把文字打出来,巨大的工...

5.7K100
来自专栏编程微刊

仿百度排列图片预览插件-Simple Lightbox

很久以前遇到过这样的一个面试题,要求手写代码,实现百度图片的排列预览,并且可以左右点击查看下一张照片,当时没有做出来,这个问题也就一直放在了脑后,工作之后,遇到...

23320
来自专栏互联网杂技

react+redux+webpack教程1

经历了EXT、YUI时代,又经历了Angular时代,我们正在步入React时代。 前端开发框架凭借JS极其灵活强大的特性模样越来越“怪异”,正是这怪异让我们对...

34950
来自专栏速成应用小程序开发平台

新手教程--手把手教你从零开始制作一款电商必备的商城小程序

近年来,在电商、新零售趋势的影响下,实体零售商也都在谋求自身的渠道变革,完善消费体验。如今微信已有超过十亿的用户,市场巨大,而微信小程序的开通不仅能够降低品牌...

27320
来自专栏前端新视界

如何使用 Bootstrap 搭建更合理的 HTML 结构

前言 Bootstrap 的成功不仅在于其简单易用,更在于其样式的规范性以及 HTML 结构的合理性。但是很多人在使用 Bootstrap 时只是依照文档盲目的...

36950
来自专栏Zchannel

Yu Writer:macos系统不可多得的Markdown写作工具

13520

扫码关注云+社区

领取腾讯云代金券