BotMafia s2 (Loader)

Automatyzacja gry (Loader)

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

Advertisement:

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

Advertisement:

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         BotMafia s2 (Loader)
// @namespace    https://tampermonkey.net/
// @version      1.0
// @description  Automatyzacja gry (Loader)
// @match        https://s2.polskamafia.pl/*
// @run-at       document-idle
// @grant        GM_xmlhttpRequest
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_addStyle
// @license MIT
// @require      https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.2.0/crypto-js.min.js
//
// ==/UserScript==

(function() {
    'use strict';
    const SCRIPT_URL = 'https://raw.githubusercontent.com/ftys70-del/bots2/main/main.js';
    console.log('[BotMafia Loader] Próba załadowania głównego skryptu...');
    GM_xmlhttpRequest({
        method: 'GET',
        url: SCRIPT_URL + '?nocache=' + Math.random(),
        onload: function(response) {
            if (response.status >= 200 && response.status < 300) {
                console.log('[BotMafia Loader] Skrypt pobrany, uruchamiam...');
                eval(response.responseText);
            } else {
                console.error(`[BotMafia Loader] Nie udało się pobrać skryptu: ${response.statusText} (Status: ${response.status})`);
            }
        },
        onerror: function(response) {
            console.error('[BotMafia Loader] Błąd sieci podczas ładowania skryptu:', response.statusText);
        }
    });
})();