Бот для мини-игры "Рабы" ("Рабство") ВКонтакте.

Overview

vk-slaves-bot

Бот для мини-игры "Рабы" ("Рабство") ВК

Группа в ВК, в ней публикуются новости и другая полезная информация. У группы есть беседа, в которой можете задавать вопросы.

Лучшая благодарность - звёздочка на GitHub и "спасибо" в ЛС в ВК.

Если хотите отблагодарить материально, пишите в ЛС.

В консоль спамит 'balance', 'slaves' или 'id'. Что делать?

Возможные причины такого поведения:

  • Неправильный authorization в config.json. Зайдите в игру, проверьте, прибавляется ли количество рабов. Попробуйте заново получить authorization.
  • Не хватает баланса на покупку раба.
  • Бан на несколько часов. Попробуйте купить раба вручную. Если выходит ошибка ErrFloodBuy, значит у Вас бан на несколько часов. Если бан был получен при использовании этого бота, попробуйте повысить delay в config.json.

Установка на Windows

  • Устанавливаем Python (Для Windows 7 нужен Python 3.8). Во время установки ставим галочку Add Python to PATH (Добавить Python в PATH)

  • Скачиваем архив с ботом.

  • Распаковываем архив.

  • Редактируем файл config.json через любой текстовый редактор:

    • authorization:

      • Открываем игру
      • Нажимаем F12 (Для Chromium браузеров)
      • Перезагружаем страницу горячей клавишей F5
      • В появившейся панели выбираем вкладку Network
      • Находим кнопку Filter (воронка)
      • В появившемся поле пишем start
      • В панели появится поле start, нажимаем по нему
      • Появится еще одна панель, выбираем в ней вкладку Headers
      • Ищем поле authorization
      • Копируем его значение (начинается c vk_access_token_settings, Bearer копировать не нужно)
      • Вставляем скопированный текст в значение authorization в config.json между кавычками
    • my_id - числовой id вашей страницы ВКонтакте. Узнать можно через сайт.

    • buy_slaves_mode - режим покупки рабов (0 - выкл, 1 - покупать случайных рабов, 2 - покупать рабов у игроков из топа, 3 - покупать рабов у людей из списка "buy_from_ids")

    • buy_from_ids - ID людей через запятую, у которых вы хотите скупать рабов при "mode": 3. ID можно получить через сайт.

    • buy_fetters - покупать ли оковы (0 - выкл, 1 - вкл)

    • upgrade_slaves - улучшать ли рабов для повышения дохода (0 - выкл, 1 - вкл)

    • min_price - минимальная цена для покупки раба. Значения выше 40 приведут к более долгому поиску рабов.

    • max_price - максимальная цена для покупки раба. Не советую ставить выше 26151, потому что это будет невыгодно.

    • max_fetter_price - максимальная цена для покупки оков.

    • job - какую давать работу. Если хотите, чтобы была только одна работа, пишите так: "job": ["ИмяРаботы"], Если хотите, чтобы было несколько работ, среди которых выбиралась рандомная, пишите их через запятую, при этом берите каждое значение в кавычки, например: "job": ["Повар", "Строитель", "Учитель", "Кассир"],

    • delay - задержка между одинаковыми операциями в секундах. Чем ниже, тем выше вероятность получения бана на несколько часов.

Запуск: start.bat. Если после запуска ничего не происходит или выходит ошибка, связанная с Python или pip:

  • Откройте cmd
  • Напишите python -V
  • Вывод должен соответстовать виду: Python версия. При этом версия должна быть выше 3.7.
  • Если вывод не соотвествует виду, нужно переустановить Python. Во время установки нужно поставить галочку Add Python to Path (Добавить Python в PATH)

Установка на Termux (Android)

  • Устанавливаем Termux, желательно с F-Droid, т.к. в Google Play разработчик его больше не обновляет.
  • Запускаем Termux.
  • Пишем по порядку:
  • Редактируем файл config.json командой nano vk-slaves-bot/config.json по инструкции для Windows. Для удобства редактирования можете скачать Hacker's Keyboard в Google Play, в ней в горизонтальном положении есть стрелочки для управления курсором. Чтобы получить authorization с телефона, можно использовать приложение F12.
  • Когда файл отредактирован, для сохранения нажмите Ctrl-O, Enter, Ctrl-X.

Запуск: sh vk-slaves-bot/launch.sh

Переустановка в Termux

Ввести команды по порядку:

cd
rm -rf vk-slaves-bot

После этого заново установить по инструкции.

Установка на Testflight (iOS)

Нужно установить Testflight из App Store. Что делать дальше, я не знаю, используйте гугл.

Owner
Almaz
Almaz
A Simple Telegram Inline Torrent Search Bot by @AbirHasan2005

A Simple Telegram Inline Torrent Search Bot by @AbirHasan2005

Abir Hasan 61 Oct 28, 2022
To dynamically change the split direction in I3/Sway so as to split new windows automatically based on the width and height of the focused window

To dynamically change the split direction in I3/Sway so as to split new windows automatically based on the width and height of the focused window Insp

Ritin George 6 Mar 11, 2022
Binance leverage futures Hook

Simple binance futures Attention Just use leverage. The fee difference between futures and spot is not considered. For example, funding rate, etc. Onl

Adriance 26 Aug 27, 2022
unofficial library for discord components(on development)

discord.py-buttons unofficial library for discord buttons(on development) Install pip install --upgrade discord_buttons Example from discord import Cl

kiki7000 129 Dec 31, 2022
Discord Mass Edit is a unique, purging related Discord tool that differs from the regular mass delete.

Discord Mass Edit is a unique, purging related Discord tool that differs from the regular mass delete. This tool will automatically edit every message in a chosen channel and change it to a random st

c0mpt0 1 Jul 27, 2022
Discord Bot for League of Legends live match tracker

SABot Dicord Bot for League of Legends match auto tracker Features: Search Summoners statistics in League of Legends. Auto-notifications provide when

Jungyu Choi 4 Sep 27, 2022
The most annoying bot on Discord

FBot The most annoying bot on discord Features Lots of fun stuff Message responses, sort of our main feature, no big deal. FBot can respond to a wide

Jude 33 Jun 25, 2022
Repository containing the project files for CEN4020's Team Utah.

inCollege-Team-Utah Repository containing the project files for CEN4020's Team Utah. Contributors: Deepak Putta Jose Ramirez Fuentes Jaason Raudales C

Keylin Sanchez 3 Jul 12, 2022
A Python Library to interface with LinkedIn API, OAuth and JSON responses

#Overview Here's another library based on the LinkedIn API, OAuth and JSON responses. Hope this documentation explains everything you need to get star

Mike Helmick 69 Dec 11, 2022
AnyAPI is a library that helps you to write any API wrapper with ease and in pythonic way.

AnyAPI AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way. Features Have better looking code using dynamic met

Fatih Kilic 129 Sep 20, 2022
Jira-cache - Jira cache with python

Direct queries to Jira have two issues: they are sloooooow many queries are impo

John Scott 6 Oct 08, 2022
⚡️ Get notified as soon as your next CPU, GPU, or game console is in stock

Inventory Hunter This bot helped me snag an RTX 3070... hopefully it will help you get your hands on your next CPU, GPU, or game console. Requirements

Eric Marti 1.1k Dec 26, 2022
Github action for automatically determine the version for next release by using repository tags

This action will automatically determine the version for next release by using repository tags

Igor Gov 7 Oct 25, 2022
A Discord bot that automatically saves SHSH blobs for all of your iOS devices.

AutoTSS AutoTSS is a Discord bot that automatically saves SHSH blobs for all of your iOS devices. Want a CLI automatic blob saver? Check out AutoTSS-c

adam 79 Dec 13, 2022
Bulk convert image types with Python

Bulk Image Converter 🔥 Helper script to convert a folder's worth of images from one filetype to another, and optionally delete originals Use Setup /

1 Nov 13, 2021
Start multiple bots using one script. VK RAID BOTNET

MultiRaidBotnet Start multiple bots using one script. VK RAID BOTNET Русский launcher.py - главный скрипт, запускающий весь ботнет config.py - в нём х

2 Jul 22, 2022
Python library for Spurwing API to schedule appointments, manage calendars and custom integrations.

Spurwing API Python Library Lightweight Python library for Spurwing's API. Spurwing's API makes it easy to add robust scheduling and booking to your a

Spurwing 1 Jul 14, 2021
Bavera is an extensive and extendable Python 3.x library for the Discord API

Bavera is an extensive and extendable Python 3.x library for the Discord API. Bavera boasts the following major features: Expressive, functiona

Bavera 1 Nov 17, 2021
An automated tool that fetches information about your crypto stake and generates historical data in time.

Introduction Yield explorer is a WIP! I needed a tool that would show me historical data and performance of my staked crypto but was unable to find a

Sedat Can Yalçın 42 Nov 26, 2022
A Telegram Repo For Devs To Controll The Bots Under Maintenance.This Bot Is For Developers, If Your Bot Is Down, Use This Repo To Give Your Dear Subscribers Some Support By Providing Them Response.

Maintenance Bot A Telegram Repo For Devs To Controll The Bots Under Maintenance About This Bot This Bot Is For Developers, If Your Bot Is Down, Use Th

Vɪᴠᴇᴋ 47 Dec 29, 2022