[Script Legal] Script de fakeo

DeletedUser33

Guest
Buenas, queria saber si este script de fakeo es legal, para mi lo es pero bueno, tengo entendido que tiene que ser validado para que sea legal

[spoil]
Código:
javascript:var coords='607|534 606|534 603|535 602|536 601|538 609|529 606|529 604|529';
var scouts=0;
var config={ram:1,catapult:1,spear:1,sword:1,axe:1,archer:1,spy:1,light:1,marcher:1,heavy:1};
function fnFillRallyPoint(){var win=(window.frames.length>0)?window.main:window;
var eleForm=win.document.getElementById('units_form');
var coord=coords.split(' ');
var coordSplit=coord[Math.floor(Math.random()*coord.length)].match(/(\d+)\|(\d+)/);eleForm.x.value=coordSplit[1];
eleForm.y.value=coordSplit[2];
win.$("input[class=unitsInput]").attr("value","0");
var count;if(scouts>0){count=parseInt(eleForm.spy.nextSibling.nextSibling.innerHTML.match(/\d+/));if(count>0){eleForm.spy.value=Math.min(scouts,count);
}}for(var unit in config){if(config.hasOwnProperty(unit)){if((config[unit]>0)&&(typeof(eleForm[unit])!="undefined")){count=parseInt(eleForm[unit].nextSibling.nextSibling.innerHTML.match(/\d+/));
if(count>0){eleForm[unit].value=Math.min(config[unit],count);
break;
}}}}}fnFillRallyPoint();
[/spoil]
 
Última edición por un moderador:
Arriba