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

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
The Most advanced and User-Friendly Google Collab NoteBook to download Torrent directly to Google Drive with File or Magnet Link support and with added protection of Timeout Preventer.

Torrent To Google Drive (UI Added! 😊 ) A Simple and User-Friendly Google Collab Notebook with UI to download Torrent to Google Drive using (.Torrent)

Dr.Caduceus 33 Aug 16, 2022
A Telegram Bot to prevent Night Spams

NightModeBot A Telegram Bot to lock group in night to prevent night spam Setps To Use - Put Variables Correctly. - Add Bot to your group and make admi

ReeshuXD 10 Oct 21, 2022
An API wrapper for Discord written in Python.

disnake A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. About disnake All the contributors and develop

557 Jan 05, 2023
Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features! 🥰

CallMusicPlus69 This Repo base on! 🤗️ A CallsMusic Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features

brut✘⁶⁹ // ユスフ 6 Jun 26, 2022
I was sick of having to hand my friends my phone, so I gave my Spotify some SMS features!

SMSpotifY Just a little tool so that my friends can text a phone number and add to my spotify queue for parties and such:) Features Roles / Access Con

Sara 2 Jan 17, 2022
Web app for spotify playlist management with last.fm integration

Music Tools Set of utility tools for Spotify and Last.fm. Built on my other libraries for Spotify (spotframework), Last.fm (fmframework) and interfaci

andy 3 Dec 14, 2022
Changes your desktop wallpaper based on the weather.

WallPaperChanger 🖼️ Description ⛈️ This Python script changes your desktop wallpaper based on the weather. Cloning 🌀 $ git clone https://github.com/

Clarence Yang 74 Nov 29, 2022
My telegram bot to download Instagram Profiles

Instagram Profile Get for Telegram My telegram bot to download Instagram Profiles First you have to get a telegrm bot api key from @BotFather Then you

Ali Yoonesi 2 Sep 22, 2022
A Python interface module to the SAS System. It works with Linux, Windows, and mainframe SAS. It supports the sas_kernel project (a Jupyter Notebook kernel for SAS) or can be used on its own.

A Python interface to MVA SAS Overview This module creates a bridge between Python and SAS 9.4. This module enables a Python developer, familiar with

SAS Software 319 Dec 19, 2022
A ShareX alternative for Mac OS built in Python.

Clipboard Uploader A ShareX alternative for Mac OS built in Python. Install and setup Download the latest release and put it in your applications fold

Ben Tettmar 2 Jun 07, 2022
This repository contains Python code examples using the MoneyMoov API

Python Examples This repository contains Python code examples using the MoneyMoov API. The examples are written to operate in the NoFrixion sandbox en

nofrixion 1 Feb 08, 2022
An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players

UNDERTALE-RPG An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players!. Explanation you can collect gold which is

2 Oct 21, 2021
Python client for QIWI payment system

Pyqiwi Lib for QIWI payment system Installation pip install pyqiwi Usage from decimal import Decimal from datetime import datetime, timedelta from p

Andrey 12 Jun 03, 2022
Maintained Fork of Jishaku For nextcord

Onami a debugging and utility extension for nextcord bots Read the documentation online. Fork Onami is a actively maintained fork of Jishaku for nextc

RPS 11 Dec 14, 2022
Messing around with GitHub API to look at omicron build times

gh-workflow-runs This is a very simple tool to dump out basic information about workflow runs for a GitHub repo. The structure is based on gh-subscrip

David Pacheco 1 Nov 30, 2021
Terraform module to ship CloudTrail logs stored in a S3 bucket into a Kinesis stream for further processing and real-time analysis.

AWS infrastructure to ship CloudTrail logs from S3 to Kinesis This repository contains a Terraform module to ship CloudTrail logs stored in a S3 bucke

Nexthink 8 Sep 20, 2022
Torrent-Igruha SDK Python

Простой пример использования библиотеки: Устанавливаем библиотеку python -m

LORD_CODE 2 Jun 25, 2022
Simple yet efficient tool used to check and sort tokens in terms of there validation.

Discord Token Checker Simple yet efficient tool used to check and sort tokens in terms of there validation.When the program is done,go to the "output"

Robotnik 15 Dec 27, 2022
A Python Program to determine Degree of Profanity of Tweets

tweetx tweetx is a program to detect racial slurs in Twitter Tweets. Racial Abuse on Twitter is becoming quite a serious issue in recent times. tweetx

Kartik Poojari 3 Nov 11, 2021
Collection of script to manage WLED devices

Collection of script to manage WLED devices

Daniel Poelzleithner 4 Sep 26, 2022