Skip to content

MinoLiu/RRBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RRBot

Release GitHub Pipenv locked Python version GitHub

A bot for RR

For normal user

Release

Usage for powershell

$ ./rrbot.exe
usage: ./rrbot.exe [-h] [-l LOGIN_METHOD] [-u USE_TO_UPGRADE] [-p PROFILE] [--poor] [--headless] [--proxy PROXY] [--upgrade_strategy UPGRADE_STRATEGY]
               [--debug]

optional arguments:
  -h, --help            show this help message and exit
  -l LOGIN_METHOD, --login_method LOGIN_METHOD
                        登入選項: 'GOOGLE'、'FB'、'VK'
  -u USE_TO_UPGRADE, --use_to_upgrade USE_TO_UPGRADE
                        升級道具: 'RRCash'、'GOLD'、'GOLD1' 預設使用 RRCash
                                1. 'GOLD' 當GOLD小於4320將會改用RRCash
                                2. 'GOLD1' 同1,並且對於upgrade_strategy中的最小值會使用RRCash升級
                                例如: "2:1:1" STR將會使用GOLD, EDU, END將會使用RRCash 也就是窮人的選擇
  -p PROFILE, --profile PROFILE
                        帳戶profile: 預設為'default', 修改可更換帳戶
  --poor                你是窮人, 你買不起高級會員, 你必須手動挖礦、軍演, 可憐哪 我來幫你
  --headless            確定使用者有登入成功後可開啟 將瀏覽器GUI關閉節省資源
  --proxy PROXY         正確格式如下: socks5://localhost:1080, https://localhost:1080
  --upgrade_strategy UPGRADE_STRATEGY
                        三圍100後將按照時間比例來升級 default '2:1:1'
  --debug               開啟Debug mod

第一次使用請不要開啟 headless mode

$ ./rrbot.exe -l GOOGLE -p GOOGLE_ACCOUNT -u RRCash
$ ./rrbot.exe -l FB -p FB_ACCOUNT -u RRCash

你買不起高帳

$ ./rrbot.exe -l GOOGLE -p GOOGLE_ACCOUNT -u RRCash --poor --upgrade_strategy '2:2:1'

Use proxy

$ ./rrbot.exe -l GOOGLE -p GOOGLE_ACCOUNT -u RRCash --proxy socks5://localhost:1080

headless mode

$ ./rrbot.exe -l GOOGLE -p GOOGLE_ACCOUNT -u RRCash --headless

For developer

Todo List

  • Perk upgrading
  • Working
  • Military training
  • Purchase weapons and produce energy drinks

Requirement

  • python 3+

Install

$ git clone https://github.com/Sean2525/RRBot
$ cd RRBot
$ pip install pipenv
$ pipenv install --dev

Build

pipenv run pyinstaller -F -n rrbot.exe main.py

Usage

Let pipenv run python main.py replace rrbot.exe

$ pipenv run python main.py
usage: main.py [-h] [-l LOGIN_METHOD] [-u USE_TO_UPGRADE] [-p PROFILE] [--poor] [--headless] [--proxy PROXY] [--upgrade_strategy UPGRADE_STRATEGY]
               [--debug]

optional arguments:
  -h, --help            show this help message and exit
  -l LOGIN_METHOD, --login_method LOGIN_METHOD
                        登入選項: 'GOOGLE'、'FB'、'VK'
  -u USE_TO_UPGRADE, --use_to_upgrade USE_TO_UPGRADE
                        升級道具: 'RRCash'、'GOLD'、'GOLD1' 預設使用 RRCash
                                1. 'GOLD' 當GOLD小於4320將會改用RRCash
                                2. 'GOLD1' 同1,並且對於upgrade_strategy中的最小值會使用RRCash升級
                                例如: "2:1:1" STR將會使用GOLD, EDU, END將會使用RRCash 也就是窮人的選擇
  -p PROFILE, --profile PROFILE
                        帳戶profile: 預設為'default', 修改可更換帳戶
  --poor                你是窮人, 你買不起高級會員, 你必須手動挖礦、軍演, 可憐哪 我來幫你
  --headless            確定使用者有登入成功後可開啟 將瀏覽器GUI關閉節省資源
  --proxy PROXY         正確格式如下: socks5://localhost:1080, https://localhost:1080
  --upgrade_strategy UPGRADE_STRATEGY
                        三圍100後將按照時間比例來升級 default '2:1:1'
  --debug               開啟Debug mod

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages