deeeep io aimbot

2/18/2024, 11:06:33 PM

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name        deeeep io aimbot
// @version     v1.0.0
// @namespace   Violentmonkey Scripts
// @match       https//:beta.deeeep.io
// @grant       none
// @author      -Fede.tm
// @description 2/18/2024, 11:06:33 PM
// ==/UserScript==

const name = "Aim lock";
const id = "plugins.pi.aimlock";
const author = "Fede";
const version = "1.0.0";
const versionNumber = 1000;
const description = "Allows any animal to have mahi mahi's target locking ability. Press A to lock on to a target.";
const script = () => {
	blockyfish.addEventListener("first-game-load", () => {
		aimBot = false;
		mouseX = 0;
		mouseY = 0;
		mapeditor = document.querySelector("#canvas-container > canvas");
		whitelistedAimbotAnimalId = [18, 26, 29, 33, 44, 47, 52, 67, 77, 88];
		window.addEventListener("keyup", (e) => {
			try {
				if (
					e.key.toLowerCase() == "a" &&
					document.querySelector("#app > div.modals-container > div") == null &&
					document.querySelector("#app > div.ui > div").style.display == "none" &&
					document.activeElement.localName != "input"
				) {
					aimBot = !aimBot;
					game.currentScene.uiManager.setTargetId(0);
					if (aimBot) {
						game.currentScene.showMessagePopup("Aim assist on", 1000, 0);
					} else {
						game.currentScene.showMessagePopup("Aim assist off", 1000, 0);
					}
				}
			} catch {}
		});
		setInterval(() => {
			try {
				if (aimBot && game.currentScene != null) {
					if (game.currentScene.myAnimal != null) {
						closestEntityDistance = 9999999;
						closestEntity = 0;
						for (let i = 0; i < game.currentScene.entityManager.animalsList.length; i++) {
							if (
								Math.sqrt(
									(mouseX - innerWidth / 2 - (game.currentScene.entityManager.animalsList[i].position.x - game.currentScene.myAnimal.position._x)) ** 2 +
										(mouseY - innerHeight / 2 - (game.currentScene.entityManager.animalsList[i].position.y - game.currentScene.myAnimal.position._y)) ** 2
								) < closestEntityDistance &&
								!game.currentScene.entityManager.animalsList[i].mine &&
								(game.currentScene.myAnimal.tribeId == null || game.currentScene.myAnimal.tribeId != game.currentScene.entityManager.animalsList[i].tribeId) &&
								!(game.gameMode == 2 && game.currentScene.entityManager.animalsList[i].nameObject._text.includes(game.currentScene.myAnimal.nameObject._text.slice(0, 10))) &&
								!whitelistedAimbotAnimalId.includes(game.currentScene.entityManager.animalsList[i].fishLevelData.fishLevel)
							) {
								closestEntityDistance = Math.sqrt(
									(mouseX - innerWidth / 2 - (game.currentScene.entityManager.animalsList[i].position.x - game.currentScene.myAnimal.position._x)) ** 2 +
										(mouseY - innerHeight / 2 - (game.currentScene.entityManager.animalsList[i].position.y - game.currentScene.myAnimal.position._y)) ** 2
								);
								closestEntity = game.currentScene.entityManager.animalsList[i].id;
							}
						}
					}
				}
			} catch {}
		}, 50);
		window.addEventListener("mousemove", (e) => {
			try {
				mouseX = e.clientX;
				mouseY = e.clientY;
				if (aimBot && game.currentScene != null) {
					if (game.currentScene.myAnimal != null) {
						if (closestEntityDistance < 500) {
							if (closestEntity != game.currentScene.uiManager.targetId) {
								game.currentScene.uiManager.setTargetId(0);
								game.currentScene.uiManager.setTargetId(closestEntity);
							}
							c = {
								x: innerWidth / 2 + game.currentScene.entityManager.getEntity(closestEntity).position.x - game.currentScene.myAnimal.position._x,
								y: innerHeight / 2 + game.currentScene.entityManager.getEntity(closestEntity).position.y - game.currentScene.myAnimal.position._y
							};
							mapeditor.dispatchEvent(new MouseEvent("pointermove", { clientX: c.x, clientY: c.y }));
						} else {
							game.currentScene.uiManager.setTargetId(0);
						}
					}
				}
			} catch {}
		});
		setInterval(() => {
			try {
				if (aimBot && game.currentScene != null) {
					if (game.currentScene.myAnimal != null) {
						if (closestEntityDistance < 200) {
							if (closestEntity != game.currentScene.uiManager.targetId) {
								game.currentScene.uiManager.setTargetId(0);
								game.currentScene.uiManager.setTargetId(closestEntity);
							}
							c = {
								x: innerWidth / 2 + game.currentScene.entityManager.getEntity(closestEntity).position.x - game.currentScene.myAnimal.position._x,
								y: innerHeight / 2 + game.currentScene.entityManager.getEntity(closestEntity).position.y - game.currentScene.myAnimal.position._y
							};
							mapeditor.dispatchEvent(new MouseEvent("pointermove", { clientX: c.x, clientY: c.y }));
						}
					}
				}
			} catch {}
		}, 50);
	});
};

module.exports = { name, id, author, version, versionNumber, description, script };