WebAssembly integrator

THIS IS NOT A SCRIPT IF YOU USE IT IT WILL DO NOTHING!!!!!!!!!!!!!!!!

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/450790/1108171/WebAssembly%20integrator.js

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

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

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

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

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

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

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

Advertisement:

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

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

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

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

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

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

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

Advertisement:

// ==UserScript==
// @name		WebAssembly integrator
// @namespace		https://greasyfork.org/en/users/954625
// @version		0.0.0.1
// @description		THIS IS NOT A SCRIPT IF YOU USE IT IT WILL DO NOTHING!!!!!!!!!!!!!!!!
// @author		ᎻueᎻаnаejistlа!
// @match		*://diep.io/*
// @run-at		document-start
// @grant		GM_setValue
// @grant		GM_getValue
// ==/UserScript==
// #######################################################################################################################################################################
// ░██╗░░░░░░░██╗███████╗██████╗░  ░█████╗░░██████╗░██████╗███████╗███╗░░░███╗██████╗░██╗░░░░░██╗░░░██╗
// ░██║░░██╗░░██║██╔════╝██╔══██╗  ██╔══██╗██╔════╝██╔════╝██╔════╝████╗░████║██╔══██╗██║░░░░░╚██╗░██╔╝
// ░╚██╗████╗██╔╝█████╗░░██████╦╝  ███████║╚█████╗░╚█████╗░█████╗░░██╔████╔██║██████╦╝██║░░░░░░╚████╔╝░
// ░░████╔═████║░██╔══╝░░██╔══██╗  ██╔══██║░╚═══██╗░╚═══██╗██╔══╝░░██║╚██╔╝██║██╔══██╗██║░░░░░░░╚██╔╝░░
// ░░╚██╔╝░╚██╔╝░███████╗██████╦╝  ██║░░██║██████╔╝██████╔╝███████╗██║░╚═╝░██║██████╦╝███████╗░░░██║░░░
// ░░░╚═╝░░░╚═╝░░╚══════╝╚═════╝░  ╚═╝░░╚═╝╚═════╝░╚═════╝░╚══════╝╚═╝░░░░░╚═╝╚═════╝░╚══════╝░░░╚═╝░░░
//                 by ᎻueᎻаnаejistlа! for diep.io
// Youtube channel:
//	https://www.youtube.com/channel/UC4edUdWxLr7sFaPh4zqgXXw?sub_confirmation=1
//
// WHAT HAPPENED TO THIS SCRIPT?
//	The original author has discontinued operations by the name of ᎻueᎻаnаejistlа!, so this is a continuation of ᎻueᎻаnаejistlа's diep.io scripts.
//	If you still have the original ᎻueᎻаnаejistlа's Diep.io Multiboxing Script, congratulations, you've been upgraded to DIEP SCRIPT DELUXE+++. This
//	is a library that modifies the game code to provide core features for DELUXE+++, as well as other (planned) scripts.
//#######################################################################################################################################################################
var mouse = [0, 0]; var player = [0, 0];
var i = 0; const instant = WebAssembly.instantiate;
var WEBASSEMBLY = new Uint8Array(numberone.length + numbertwo.length);
WEBASSEMBLY.set(numberone); WEBASSEMBLY.set(numbertwo, numberone.length);
WebAssembly.instantiateStreaming = (r, i) => r.arrayBuffer().then(b => WebAssembly.instantiate(b, i));
WebAssembly.instantiate = function(b, i) {
	i.b = { b:
		function(p, m, xory) {
			p = Math.floor(p); m = Math.floor(m);
			switch (xory) {
				case 0: player[0] = p; mouse[0] = m; break;
				case 1: player[1] = p; mouse[1] = m; break;
			}
		} }
	return instant(WEBASSEMBLY, i).then(function(w) { return w; }).catch(function(error) { throw error; });
};