Oib: Rewritten ONLY USE IF U HAVE RING

kmccord1's latest in oib technology!!!

当前为 2021-01-14 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Oib: Rewritten ONLY USE IF U HAVE RING
  3. // @namespace http://tampermonkey.net/
  4. // @version 69.420
  5. // @description kmccord1's latest in oib technology!!!
  6. // @author kmccord1.
  7. // @match http://oib.io
  8. // @run-at document-start
  9. // @grant none
  10. // ==/UserScript==
  11. // Feel free to make improvments or add your own features to the script. Thats why nothing is obfuscated! :)
  12. (function() {
  13. // Config - Edit below here
  14. // Note: all keys MUST be put in the config in lowercase or else it wont work!
  15. window.config = {
  16. 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)
  17. HEALTH_ALERT_THRESHOLD: 50, // If your health drops below this percentage your oibs and queen will turn orange.
  18. AUTO_HEAL_THRESHOLD: 99, // If your health drops below this percentage you will activate healing if you have healing set to automatic.
  19. OIB_SIZE_ANIMATION: 0.2, // How many seconds your oibs take to shrink and grow.
  20. NUKE_LEVEL: 5, // The default level of oibs the nuke maker will make.
  21. keys: {
  22. SHOW_LEVELS: "n", // The key used to show all oib levels.
  23. REAL_SIZE: "u", // Shows the true sizes of oibs beyond level 36 (Not 100% Accurate)
  24. AUTOSPLIT: "c", // Splits and moves your oibs as fast as possible.
  25. HEAL_MODE: "m", // Switch between automatic and manual healing.
  26. HEAL: "f", // Used to activate manual healing. (Not a toggle)
  27. NUKE: "x", // Key used for making nukes. (Groups of certain level oibs. Has heal nuke built-in)
  28. NUKE_UP: "]", // Increase nuke level
  29. NUKE_DOWN: "[" // Decrease nuke level
  30. }
  31. };
  32.  
  33. // Remember: when copying this please remember to SCROLL DOWN! there is more code than this!!!
  34. // To copy all of it you can use: Ctrl + A this selects everything
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. // DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOURE DOING!
  64. window.config.version = 3;
  65. window.stop();
  66. window.document.documentElement.innerHTML = `
  67. <!DOCTYPE html>
  68. <html>
  69. <head>
  70. <title>Oib.io</title>
  71. <link rel="stylesheet" type="text/css" href="css/game_style.css">
  72. <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
  73. </head>
  74. <body id="game_body">
  75. <canvas id="game_canvas"></canvas>
  76. <script src="js/client.min.js"></script>
  77. <div id="follow_us">
  78. <div id="fb-root"></div>
  79. <div id='MFN_oib-io_300x250'>
  80. </div>
  81. </body>
  82. </html>
  83. `;
  84. if (window.location.href == "https://oib.io/") { location.href = "http://oib.io"; };
  85. var scriptList = ["https://dl.dropboxusercontent.com/s/eddw8rjarz7d0jn/oibclient.js"];
  86. var loadingScript = 0;
  87. var insertion = setInterval(function(){
  88. if (loadingScript == 0) {
  89. loadingScript = 1;
  90. var script = document.createElement('script');
  91. script.onload = function() {
  92. loadingScript = 0;
  93. }
  94. script.src = scriptList.splice(0, 1);
  95. document.body.appendChild(script);
  96. }
  97. if (scriptList.length < 1) {
  98. clearInterval(insertion);
  99. }
  100. }, 10);
  101. })();