您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Open settings and see all the resources of whoever you are next to.
当前为
// ==UserScript== // @name Zombs.io resource detector // @namespace http://tampermonkey.net/ // @version 1.1 // @description Open settings and see all the resources of whoever you are next to. // @author You // @match *://zombs.io/* // @grant none // ==/UserScript== window.loadedIDS = function(){ var returns = [] Object.entries(Game.currentGame.world.entities).forEach((stuff => { if(stuff[1].targetTick.entityClass == "PlayerEntity" && stuff[1].targetTick.name !== Game.currentGame.world.entities[Game.currentGame.world.getMyUid()].targetTick.name){ returns.push(stuff[1].targetTick.name + " - Wood: " + Game.currentGame.world.entities[stuff[1].targetTick.uid].targetTick.wood + ", Stone: " + Game.currentGame.world.entities[stuff[1].targetTick.uid].targetTick.stone + ", Gold: " + Game.currentGame.world.entities[stuff[1].targetTick.uid].targetTick.gold) } })) return returns; } var i = setInterval(function(){ document.querySelector('.hud-settings-grid').innerText = JSON.stringify(window.loadedIDS()) }, 100)