Config ArchiSteamFarm and Saliens script

萬惡的G胖向玩家伸出了魔爪,而我並沒有想要喜加一的意思,而是搞起了收集卡牌的行當。

除了每日探索隊列的三張卡牌,這次夏促還出了一款小遊戲 - Saliens。爲了拿滿級徽章,電腦 24 小時不停運轉,過了幾天才發現貌似能掛 Server 上,就開始了搞事之旅。

本來早就應該寫完的,結果因爲末考而一拖再拖。夏促早已結束,就算是把 Linux 常用軟件溫習一遍吧。

preparation and install packages

The following packages you need to install, please ensure all the command should be under super user’s permission.

  1. tmux
  2. .NET SDK 2.1
  3. python 3.6
  4. Git

tmux

1
yum install -y tmux

.NET SDK 2.1

For more details, please visit the Official page.

1
2
3
4
5
6
7
8
9
10
# add the dotnet product feed
rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

# update, install required things and .NET SDK
yum update
yum install libunwind libicu
yum install dotnet-sdk-2.1

# check .NET SDK version
dotnet --version

python 3.6

Please make sure all system packages are updated.

DigitalOcean Page

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# install yum-utils and development tools
yum -y install yum-utils
yum -y groupinstall development

# install and setup python3
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
yum -y install python36u

# check python3 version
python3.6 -V

# don't forget to install pip3 and devel
yum -y install python36u-pip
yum -y install python36u-devel

# so if want to install python3 package, use this:
pip3.6 install [package_name]

download and setup ASF

  1. Create asf folder, setting dir’s permission.

    1
    2
    3
    mkdir ~/asf
    chmod +x asf
    cd ~/asf
  2. Go to ASF’s repo releases page, download ASF-generic.zip.

    1
    2
    3
    4
    wget https://github.com/JustArchi/ArchiSteamFarm/releases/download/3.1.0.0/ASF-generic.zip
    unzip ASF-generic.zip
    rm ASF-generic.zip
    chmod +x ArchiSteamFarm.sh
  3. Don’t forget to set the CurrentCulture in config folder, and upload .json file to the server. (also upload to config folder)

  4. Run ASF.

    1
    ~/asf/ArchiSteamFarm.sh

steamcommunity error

You can get steam ip from cloudflare by this following URL, and get data from the downloaded .json file.

https://cloudflare-dns.com/dns-query?ct=application/dns-json&name=steamcommunity.com&type=A

Then edit system hosts file (/etc/hosts).

1
xxx.xxx.xxx.xxx steamcommunity.com

download and setup saliens script

  1. Enter Github Page, get the download link.

    1
    git clone https://github.com/sffxzzp/Steam-2018-SummerGame.git
  2. Config Steam account data, and run the script.

    1
    python3.6 saliens.py
0%