Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

// ==UserScript==

// @name scriptTipo
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Moon
// @match *.fightz.io/*
// @icon
data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==

/*r canvasWIDTH = window['innerWidth'];


var canvasHEIGHT = window['innerHeight'];
var canvasWIDTHdiff, canvasHEIGHTdiff;
var WIDTH = 15000;
var HEIGHT = 15000;
var canvas = document['getElementById']('ctx');
canvas['width'] = WIDTH;
canvas['height'] = HEIGHT;
*/
/*r resizeCanvas = function() {
canvasWIDTH = window['innerWidth'];
canvasHEIGHT = window['innerHeight'];
WIDTH = 15000;
HEIGHT = 15000;
if (canvasWIDTH > canvasHEIGHT * (WIDTH / HEIGHT)) {
canvasHEIGHTdiff = canvasWIDTH / (WIDTH / HEIGHT) - canvasHEIGHT;
canvasWIDTHdiff = 0;
canvasHEIGHT = canvasWIDTH / (WIDTH / HEIGHT)
} else {
canvasWIDTHdiff = canvasHEIGHT * (WIDTH / HEIGHT) - canvasWIDTH;
canvasHEIGHTdiff = 0;
canvasWIDTH = canvasHEIGHT * (WIDTH / HEIGHT)
};
WIDTH -= canvasWIDTHdiff * (WIDTH / canvasWIDTH);
HEIGHT -= canvasHEIGHTdiff * (HEIGHT / canvasHEIGHT);
canvas['style']['width'] = '' + canvasWIDTH + 'px';
canvas['style']['height'] = '' + canvasHEIGHT + 'px';
changeCtxFont('22px sans-serif');
canvasWIDTH -= canvasWIDTHdiff;
canvasHEIGHT -= canvasHEIGHTdiff;
if (document['getElementById']('chatMessage')) {
document['getElementById']('chatMessage')['style']['top'] = (canvasHEIGHT /
2 + 80) + 'px';
document['getElementById']('chatMessage')['style']['left'] = (canvasWIDTH /
2 - 90) + 'px'
}
};
resizeCanvas();
window['addEventListener']('resize', function() {
resizeCanvas()
});*/
(function() {
//Вырубаем сразу же после загрузки звуки и музыку
toggleSound();
toggleMusic();

//Вырубаем отрисовку говнотутора


Img.other[1].src= "";
})();

Img['weapon'][6][17] = new Image();


Img['weapon'][6][17]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/weapon515.png';
Img['weapon'][6][19] = new Image();
Img['weapon'][6][19]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/weapon515.png';
Img['bullet'][6][17] = new Image();
Img['bullet'][6][17]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/bullet515.png';
Img['bullet'][6][19] = new Image();
Img['bullet'][6][19]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/bullet515.png';
Img['weapon'][6][21] = new Image();
Img['weapon'][6][21]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/weapon515.png';
Img['weapon'][6][23] = new Image();
Img['weapon'][6][23]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/weapon515.png';
Img['bullet'][6][21] = new Image();
Img['bullet'][6][21]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/bullet515.png';
Img['bullet'][6][23] = new Image();
Img['bullet'][6][23]['dataURL'] =
'https://playem.io/cache/fightzio/client/img/bullet515.png';

You might also like