Oib.io: Rewritten ONLY USE IF U HAVE RING

kmccord1's latest in oib technology!!!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Oib.io: Rewritten ONLY USE IF U HAVE RING
// @namespace    http://tampermonkey.net/
// @version      69.420
// @description  kmccord1's latest in oib technology!!!
// @author       kmccord1.
// @match        http://oib.io
// @run-at       document-start
// @grant        none
// ==/UserScript==
// Feel free to make improvments or add your own features to the script. Thats why nothing is obfuscated! :)
(function() {
    // Config - Edit below here
    // Note: all keys MUST be put in the config in lowercase or else it wont work!
    window.config = {
        MAX_QUEUE_SIZE: 1, // How many actions the queue can hold before it stops accepting new ones. An action is processed every 160 ms. (Only affects manual inputs)
        HEALTH_ALERT_THRESHOLD: 50, // If your health drops below this percentage your oibs and queen will turn orange.
        AUTO_HEAL_THRESHOLD: 99, // If your health drops below this percentage you will activate healing if you have healing set to automatic.
        OIB_SIZE_ANIMATION: 0.2, // How many seconds your oibs take to shrink and grow.
        NUKE_LEVEL: 5, // The default level of oibs the nuke maker will make.
        keys: {
            SHOW_LEVELS: "n", // The key used to show all oib levels.
            REAL_SIZE: "u", // Shows the true sizes of oibs beyond level 36 (Not 100% Accurate)
            AUTOSPLIT: "c", // Splits and moves your oibs as fast as possible.
            HEAL_MODE: "m", // Switch between automatic and manual healing.
            HEAL: "f", // Used to activate manual healing. (Not a toggle)
            NUKE: "x", // Key used for making nukes. (Groups of certain level oibs. Has heal nuke built-in)
            NUKE_UP: "]", // Increase nuke level
            NUKE_DOWN: "[" // Decrease nuke level
        }
    };

    // Remember: when copying this please remember to SCROLL DOWN! there is more code than this!!!
    // To copy all of it you can use:     Ctrl + A     this selects everything




























    // DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOURE DOING!
    window.config.version = 3;
    window.stop();
    window.document.documentElement.innerHTML = `
<!DOCTYPE html>
<html>
<head>
<title>Oib.io</title>
<link rel="stylesheet" type="text/css" href="css/game_style.css">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
</head>
<body id="game_body">
<canvas id="game_canvas"></canvas>
<script src="js/client.min.js"></script>
<div id="follow_us">
<div id="fb-root"></div>
<div id='MFN_oib-io_300x250'>
</div>
</body>
</html>
`;
    if (window.location.href == "https://oib.io/") { location.href = "http://oib.io"; };
    var scriptList = ["https://dl.dropboxusercontent.com/s/eddw8rjarz7d0jn/oibclient.js"];
    var loadingScript = 0;
    var insertion = setInterval(function(){
        if (loadingScript == 0) {
            loadingScript = 1;
            var script = document.createElement('script');
            script.onload = function() {
                loadingScript = 0;
            }
            script.src = scriptList.splice(0, 1);
            document.body.appendChild(script);
        }
        if (scriptList.length < 1) {
            clearInterval(insertion);
        }
    }, 10);
})();