Thursday, August 11, 2011

SCRIPT FAKE

SCRIPT FAKE

javascript:var D=document;if(window.frames.length>0)D=window.main.document;url=D.URL;if(url.indexOf('screen=info_player')==-1) {alert('Goto Player Information 1st!');end();}var tds=D.getElementsByTagName("TD");var K=new Array();for(var idx=0;idx<100;idx++)K[idx]=new Array();var C=new Array();for(var idx=0;idx<tds.length;idx++){var xy=tds[idx].innerHTML;if(/^\d+\|\d+$/.test(xy)){C.push(xy);var xys=xy.split('|');K[Math.floor(parseInt(xys[0])/100)+Math.floor(parseInt(xys[1])/100)*10].push(xy);}}C=C.join(' ');var prefix='<textarea cols=80 rows=10>javascript:coords=\'';var postfix='\';var doc=document;if(window.frames.length>0)doc=window.main.document;url=doc.URL;if (url.indexOf(\'screen=place\')==-1)alert(\'This script needs to be run from the rally point\');coords=coords.split(\' \');index=Math.round (Math.random()*(coords.length-1));coords=coords[index];coords=coords.split(\'|\');doc.forms[0].x.value=coords[0];doc.forms[0].y.value=coords [1];insertUnit(doc.forms[0].ram,0);insertUnit(doc.forms[0].ram,1);void(0)<\/textarea><br><br>';var S='<b>TW Fake Script Generator v0.2</b><hr>Whole Villages:<br>'+prefix+C+postfix;for(var idx=0;idx<100;idx++)if(K[idx].length>0){var Ks=K[idx].join(' ');S+='<br><br>K'+idx+' Villages:<br>'+prefix+Ks+postfix;}var popup=window.open ('about:blank','twfg','width=640,height=480,scrollbars=1');popup.document.open('text/html','replace');popup.document.write (S);popup.document.close();void(0);

0 comments:

Popular Posts