WebAssembly integrator

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

当前为 2022-10-22 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/450790/1108165/WebAssembly%20integrator.js

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name		WebAssembly integrator
// @namespace		https://greasyfork.org/en/users/954625
// @version		0.0.0.0
// @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.
//#######################################################################################################################################################################
console.log("your moy mor myor myor m");
var mouse = [0, 0]; var player = [0, 0];
var buffer = THEWASM; var i = 0; const instant = WebAssembly.instantiate; var BUFFER = new ArrayBuffer(buffer.length); var Buffer = new Uint8Array(BUFFER);
while (i < buffer.length) { Buffer[i] = buffer[i]; i++; }
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(new Uint8Array(buffer), i).then(function(w) { return w; }).catch(function(error) { throw error; });
};