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

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 Google Translate Bot By VndGroup ❤️ Made With Python

VndGroup Google Translator Heroku Deploy ❤️ Functions This Bot Can Translate 95 Languages We Can Set Custom Language Group Support Mandatory Vars [+]

Venuja Sadew 1 Oct 09, 2022
Moderation By Pokemon Bot (Discord)

Moderation Bot By Pokémon Bot (Discord) Official Moderation Bot for Pokemon Bot functional and based in the Discord Server, the bot is written in Pyth

Aakash Manoj Agrawal 6 Jan 04, 2022
Python JIRA Library is the easiest way to automate JIRA. Support for py27 was dropped on 2019-10-14, do not raise bugs related to it.

Jira Python Library This library eases the use of the Jira REST API from Python and it has been used in production for years. As this is an open-sourc

PyContribs 1.7k Jan 06, 2023
Telegram Bot for saving and sharing personal and group notes

EZ Notes Bot (ezNotesBot) Telegram Bot for saving and sharing personal and group notes. Usage Personal notes: reply to any message in PM to save it as

Dash Eclipse 8 Nov 07, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Nov 01, 2021
Demo of using Telegram to send alert message

MIAI_Telegram Demo of using Telegram to send alert message Video link: https://youtu.be/oZ9CsIrlMgg #MìAI Fanpage: http://facebook.com/miaiblog Group

4 Jun 20, 2021
Recommended AWS CDK project structure for Python applications

Recommended AWS CDK project structure for Python applications The project implements a user management backend component that uses Amazon API Gateway,

AWS Samples 110 Jan 06, 2023
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
Bot for tenhou.net riichi mahjong server written in Python

[Tests coverage] Bot was tested with Python 3.7+ and PyPy3, we are not supporting Python 2. What do we have here? Mahjong hands calculation You can fi

190 Jan 06, 2023
PYAW allows you to call assembly from python

PYAW allows you to call assembly from python

2 Dec 13, 2021
First Party data integration solution built for marketing teams to enable audience and conversion onboarding into Google Marketing products (Google Ads, Campaign Manager, Google Analytics).

Megalista Sample integration code for onboarding offline/CRM data from BigQuery as custom audiences or offline conversions in Google Ads, Google Analy

Google 76 Dec 29, 2022
Python Bot that attends classes, answers polls, and then again waits for classes to start.

LPU_myclass_Bot LPU_myclass_Bot is a Python bot that waits for class to start, attends class, answers polls, and then again waits for another class to

Saurabh Kumar 6 Apr 07, 2022
PR Changes Matrix Builder

Pr-changes-matrix-builder - A Github Action that will output a variable to be used in a matrix strategy job based on a PR&'s changes

Kyle James Walker (he/him) 21 Oct 04, 2022
Bot-moderator for Telegram group chats

Project title A little info about your project and/ or overview that explains what the project is about. 🌟 Hello everyone! This is the repository of

Maxim Zavalniuk 6 Nov 01, 2022
A Superfast SMS & Call bomber for Linux And Termux

PSKR_BOMBER 💣 📱 💀 A Superfast SMS & Call bomber for Linux And Termux ! Disclaimer This tool is for educational purposes only ! Don't use this to ta

1 Dec 20, 2021
Telegram tools

Telegram-Tools Telegram tools. Explanation English | 中文 Features Export group memebrs Add users to the group Send message to users Setup API Open http

4 Apr 02, 2022
A Telegram Bot to return Youtube Video Tags Using YoutubeTags API

YouTube-TagFind-Bot A Telegram Bot to return Youtube Video Tags Using YoutubeTags API YoutubeTags API Wrapper YoutubeTags is a python third-party api

Nuhman Pk 9 Aug 25, 2022
This is new discord nitro generator for discord

Hello! This is new discord nitro generator for discord. If you want use it, To generator i added checker for no seraching generator and checker. This tool maked by .

ItzBolt 1 Jan 16, 2022
SimpleDCABot is a simple bot that buys crypto with a dollar-cost averaging strategy.

Simple Open Dollar Cost Averaging (DCA) Bot SimpleDCABot is a simple bot that buys crypto on a selected exchange at regular intervals for a prescribed

4 Mar 28, 2022
A telegram bot which can show you the status of telegram bot

BotStatus-Ts-Bot An open source telegram Bot Status bot For demo you can check here The status is updated in every 1 hour About Bot This is a Bot stat

Ts_Bots 8 Nov 17, 2022