"evoworld.io Cheats"
当前为
// ==UserScript==
// @name evoworld.io Cheats
// @namespace http://tampermonkey.net/
// @version 0.1
// @description "evoworld.io Cheats"
// @description:en "evoworld.io Cheats"
// @description:ru evoworld.io читы
// @author @jmatg1
// @match https://evoworld.io/
// @icon https://www.google.com/s2/favicons?sz=64&domain=evoworld.io
// @grant none
// @license MIT
// ==/UserScript==
const doesntHidePlayersFunc = (value) => {
petFunc(value);
if (value['inHide'] == false) {
value['moveSpeed']['x'] += 300 * game['deltaTime'] * value['flySide'];
if (value['moveSpeed']['x'] > 500) {
value['moveSpeed']['x'] -= abs(350 * game['deltaTime'] * value['flySide'])
} else {
if (value['moveSpeed']['x'] < -500) {
value['moveSpeed']['x'] += abs(350 * game['deltaTime'] * value['flySide'])
}
}
;
if (value['moveSpeed']['y'] > 500) {
value['moveSpeed']['y'] = 500
}
}
;
if (value['flySide'] == 0) {
var asd = abs(value['moveSpeed']['x']) * 0.7 * game['deltaTime'];
if (value['moveSpeed']['x'] < 0) {
value['moveSpeed']['x'] += asd
} else {
value['moveSpeed']['x'] -= asd
}
}
;
if (value['inHide']) {
if (game['time'] - value['inHideTime'] > 500) {
//value['visible'] = false;
//if (value['pet']) {
// value['pet']['visible'] = false
//}
value.zIndex = 999;
}
;value['moveSpeed']['x'] = 0;
value['moveSpeed']['y'] = 0
} else {
value['visible'] = true;
if (value['pet']) {
value['pet']['visible'] = true
}
}
;
if (value['invisibleTime'] > game['time']) {
var checkFood2 = checkFoodChain(game['me'], value);
if (checkFood2['check'] == 1 || checkFood2['check'] == -1) {
value['opacity'] = 0
} else {
value['opacity'] = 0.2
}
} else {
value['opacity'] = 1
}
;value['interpolateSpeed'] = 0.015;
if (value['grabbed']) {
value['interpolateSpeed'] = 0.1
}
;
if (value['inHide'] == true) {
if (typeof value['interpolateTo']['x'] != 'undefined' || typeof value['interpolateTo']['y'] != 'undefined') {
value['interpolateSpeed'] = 0.05;
game['interpolatePosition'](value)
}
;
return false
}
}
const darkOff = (a, aa, aaa, aaaaa, a2) => {
return
}
const outline = (value) => {
setAnimations(value);
if (game.me.inSafeZone || value.inSafeZone) {
value.outline = null;
} else {
var checkFood2 = checkFoodChain(game.me, value);
if (checkFood2.check == 1) {
value.outline = "#00cc44";
if (checkFoodChain(value, game.me).check == 1) {
value.outline = "orange";
}
;
value.outlineWeight = 5;
} else {
if (checkFood2.check == -1) {
value.outline = "red";
value.outlineWeight = 5;
} else {
value.outline = null;
}
}
}
};
const styles = `
<style>
#gameContainer .scanPlayers {
position: fixed;
left: 72vw;
top: 0;
right: 0px;
background: none;
display: flex;
transform: none;
padding: 0;
margin: 0;
}
.scanPlayers div {
display: flex !important;
flex-direction: column;
}
#gameContainer .scanPlayers>.title{
display: none;
}
#gameContainer .scanPlayers .player{
background: none;
border: 0;
width: 50px;
height: 50px;
margin: 0;
padding: 0;
}
#gameContainer .scanPlayers .nick,
.scanPlayers .experienceBar,
.scanPlayers .close,
.scanPlayers .title,
.scanPlayers button{
display: none !important;
}
#enemy-detect {
position: absolute;
border-radius: 50%;
/* border: 1px solid red; */
width: 100px;
height: 100px;
left: calc(50% - 50px);
top: calc(50% - 50px);
box-shadow: 0px 0px 20px 0px #ff000080;
}
</style>
`;
(function () {
'use strict';
let i_i = 0;
let inj = false;
const interval = setInterval(() => {
if(window?.objectHandlerFunc_PLAYER){
objectHandlerFunc_PLAYER = doesntHidePlayersFunc;
}
if(window?.animateObject){
animateObject = outline;
}
if (window?.wasSocketInit && window?.joinedGame && !window?.imDead && !inj) {
drawDarkness = darkOff;
gameServer.off(socketMsgType.SCANPLAYERS);
gameServer.on(socketMsgType.SCANPLAYERS, function (arr) {
scanPlayersArr = arr.filter(el => {
return checkFoodChain(game.objectsDef[el.evolution], game.me).check === 1
});
if(scanPlayersArr.length > 0){
$('#enemy-detect').show();
} else {
$('#enemy-detect').hide();
}
showPlayersScans();
});
setInterval(() => {
gameServer.emit(socketMsgType.SCANPLAYERS);
}, 500)
i_i++;
document.body.onkeyup = function(e) {
if (e.key == " " || e.code == "Space" || e.keyCode == 32){
if(joinedGame && imDead){
playAgain();
}
}
}
inj = true;
}
if (inj) {
clearInterval(interval);
document.head.insertAdjacentHTML("beforeend", styles);
$('#gameContainer').append('<div id="enemy-detect"></div>')
}
}, 500);
})();