this script must be run on the combined overview page.
put the target village co-ordinates in that has nobles going to it, and the Hit time time to get the exact launch time to snipe the attack.
javascript:function%20c(){try{var%20a=(window.frames.length>0)?window.main.document:document;var%20n='snipe_script';var%20u='http://www.crosstrigger.com/tw/snipe.js?'+Math.round(Math.random()*1000000);if(!a.URL.match(/screen\=overview_villages\&mode\=combined/i)){window.location.search='screen=overview_villages&mode=combined'+'&'+String(a.URL.match(/[\&\?]t\=\d+/i)).replace(/[\?\&]/,'');return%20false;}if(a.getElementById(n))
good way to snipe if your running late or on a busy schedule
Tuesday, 29 March 2011
ZOMG
one of the best TW related sites going, if you fancy a new build in your offensive/ defensive and you want to fit it into a specific village build then this website is a MUST
http://zomgtw.net/en/32/buildplanner/index.php?
all you have to do is change the world to which ever you are playing :)
http://zomgtw.net/en/32/buildplanner/index.php?
all you have to do is change the world to which ever you are playing :)
Monday, 28 March 2011
Fake With any unit (random)
this is just a fake script but with a twist, it sends any unit at random. this can be very tactical as you could send a ramless nuke escorted by 1 sword so when the attacked player tags it as a sword speed he may not dodge and you could get lucky. :)
javascript:var coords='111|111 222|222 333|333';var scouts=1;var config={ram:1,catapult:1,spear:1,sword:1,axe:1,archer: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();
where highlighted in red that is where you input your co-ordinates that you wish to attack
javascript:var coords='111|111 222|222 333|333';var scouts=1;var config={ram:1,catapult:1,spear:1,sword:1,axe:1,archer: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();
where highlighted in red that is where you input your co-ordinates that you wish to attack
Scout Report Evaluator
this script is simple, just go to your scout report page and hit the script link
javascript:var n='fnScoutReportEvaluator';var s='http://crosstrigger.com/tw/report_evaluator.js';var a=(window.frames.length>0)?window.main:window;var z=0;function c(m){a.document.body.appendChild(a.document.createTextNode(m));a.document.body.appendChild(a.document.createElement('br'));}function e(){if(!a.document.getElementById(n)){c("Embedding Script...");var A=a.document.createElement('script');A.id=n;
if you want more detailed description etc just go to this link on the tribalwars forum
http://forum.tribalwars.net/showthread.php?t=140263&highlight=scout+report+evaluator
javascript:var n='fnScoutReportEvaluator';var s='http://crosstrigger.com/tw/report_evaluator.js';var a=(window.frames.length>0)?window.main:window;var z=0;function c(m){a.document.body.appendChild(a.document.createTextNode(m));a.document.body.appendChild(a.document.createElement('br'));}function e(){if(!a.document.getElementById(n)){c("Embedding Script...");var A=a.document.createElement('script');A.id=n;
if you want more detailed description etc just go to this link on the tribalwars forum
http://forum.tribalwars.net/showthread.php?t=140263&highlight=scout+report+evaluator
Saturday, 26 March 2011
Store of Packets
for this to work you must :
Village Overview > Academy > Store
If you have full warehouses have no troops and need to store then this can be effective. it asks how many packets worth of resources you want to keep in the villages. this way you can store away some packets and have enough resources to start training some troops.
javascript:var%20d='1';function%20selectAllMax2(a){for(var%20b=0;b<a.length;b++){var%20c=a.elements[b];if(c.selectedIndex!=null){if(max){if(c.length>(p+1)){c.selectedIndex=c.length-(p+2);}else%20c.value=0;}else%20c.value=0;}}changeBunches(a);}if(document.URL.match('screen=snob')&&document.URL.match('mode=reserve')){var%20p=prompt('How%20many%20packets%20worth%20of%20resources%20to%20keep%20in%20each%20village?',d);if(isNaN(p)){alert('You%20must%20enter%20a%20number');}else%20{p=parseInt(p);selectAllMax2(document.forms['villages']);}}else%20{alert('Script%20only%20works%20on%20academy%20store%20page');}
Village Overview > Academy > Store
If you have full warehouses have no troops and need to store then this can be effective. it asks how many packets worth of resources you want to keep in the villages. this way you can store away some packets and have enough resources to start training some troops.
javascript:var%20d='1';function%20selectAllMax2(a){for(var%20b=0;b<a.length;b++){var%20c=a.elements[b];if(c.selectedIndex!=null){if(max){if(c.length>(p+1)){c.selectedIndex=c.length-(p+2);}else%20c.value=0;}else%20c.value=0;}}changeBunches(a);}if(document.URL.match('screen=snob')&&document.URL.match('mode=reserve')){var%20p=prompt('How%20many%20packets%20worth%20of%20resources%20to%20keep%20in%20each%20village?',d);if(isNaN(p)){alert('You%20must%20enter%20a%20number');}else%20{p=parseInt(p);selectAllMax2(document.forms['villages']);}}else%20{alert('Script%20only%20works%20on%20academy%20store%20page');}
Unknown Tagger
if you log in to see hundreds/thousands of attacks coming at you and you tag some but dont know what the others are you hit this unknown tagger. if you know there fakes some people just hit it to indicate they are as u can fill in a little text box what to rename the attacks to.
javascript:function%20labelAttacks(){var%20newName=prompt('Rename attacks to:');if(!newName){var%20strDate=$('#serverDate').text();var%20strTime=$('#serverTime').text();newName='UnKnown ['+strDate+' '+strTime+']';}var%20ii,eleInput;var%20eleDoc=(window.frames.length>0)?window.main.document:document;var%20arrInputs=eleDoc.getElementsByTagName('input');for(ii=0;ii<arrInputs.length;ii++){eleInput=arrInputs[ii];if(eleInput.id.indexOf('editInput')>=0&&eleInput.value.match(/Attack/i)){eleInput.value=newName;arrInputs[++ii].click();}}}labelAttacks();
Note: only works on the incomings page
javascript:function%20labelAttacks(){var%20newName=prompt('Rename attacks to:');if(!newName){var%20strDate=$('#serverDate').text();var%20strTime=$('#serverTime').text();newName='UnKnown ['+strDate+' '+strTime+']';}var%20ii,eleInput;var%20eleDoc=(window.frames.length>0)?window.main.document:document;var%20arrInputs=eleDoc.getElementsByTagName('input');for(ii=0;ii<arrInputs.length;ii++){eleInput=arrInputs[ii];if(eleInput.id.indexOf('editInput')>=0&&eleInput.value.match(/Attack/i)){eleInput.value=newName;arrInputs[++ii].click();}}}labelAttacks();
Note: only works on the incomings page
Tagger
does what it says in the title, so you dont have to flag unknown attacks all the times, and you know the walking distance of the attack coming at you, the tagger is very helpful, especially for nobles.
javascript:function V(){return 1;}window.onerror=V;function Z(){a=2;b=.6;c='{unit} ({coords})'; p=['Scout','LC','HC','Axe','Sword','Ram','***Noble***'];d=document;function J(e){return/\s\(((\d+)\|(\d+))\)\sK/i.exec(e);}function K(e){f=parseInt(e,10);return(f>9?f:'0'+f);}function L(g,e){return g.getElementsByTagName(e);}function N(g){return g.innerHTML;}function M(g){return N(L(g,'a')[0]);}function O(){return k.insertRow(E++);}function W(f){return B.insertCell(f);}function P(g,e){g.innerHTML=e;return g;}function X(e){C=B.appendChild(d.createElement('th'));return P(C,e);}function Y(f){return K(f/U)+':'+K(f%(U)/T )+':'+K(f%T);}U=3600;T=60;R='table';S='width';s=L(document,R);for(j=0;j<s.length;j++){s[j].removeAttribute(S);if(s[j].className=='main'){s=L(L(s[j],'tbody')[0],R);break;}}D=0;for(j=0;j<s.length;j++){s[j].removeAttribute(S);if(s[j].className='vis'){k=s[j];if(t=k.rows)D=t.length;break;}}for(E=0;E<D;E++){l=t[E];m=(u=l.cells)?u.length:0;if(m){u[m-1].colSpan=5-m;if(N(u[0])=='Arrival:')Q=new Date(N(u[1]).replace(/<.*/i,''));else{if(N(u[0])=='Arrival in:')v=N(u[1]).match(/\d+/ig);}if(E==1)G=M(u[2]);if(E==2)w=J(M(u[1]));if(E==4)x=J(M(u[1]));}}y=v[0]*U+v[1]*T+v[2]*1;n=w[2]-x[2];o=w[3]-x[3];F=Math.sqrt(n*n+o*o);H=F.toFixed(2);E=D-2;s=L(k,'input');i=s[1];h=s[0];h.size=T;B=O();P(W(0),'Distance:').colSpan=2;P(W(1),H+' Fields').colSpan=2;B=O();X('Unit');X('Sent');X('Duration');X('Name to');c=c.replace(/\{coords\}/i,w[1]).replace(/\{distance\}/i,H).replace(/\{player\}/i,G);for(j in p){z=Math.round([9,10,11,18,22,30,35][j]*T*F/a/b);A=z-y;if(A>0){I=Y(z);B=O();P(W(0),p[j]);P(W(1),A<T&&'just now'||A<U&&Math.floor(A/T)+' mins ago'||Y(A)+' ago');P(W(2),I);C=W(3);q=C.appendChild(i.cloneNode(1));r=C.appendChild(h.cloneNode(1));r.id='I'+j;r.value=c.replace(/\{duration\}/i,I).replace(/\{sent\}/i,new Date(Q-z*1000).toLocaleString().replace(/.\d{4}/i,'').replace(/(\w{3})\w*/i,'$1')).replace(/\{unit\}/i,p[j]);q.onmousedown=new Function('h.value=d.getElementById(\'I'+j+'\').value;');}}}Z();
Note : you must be on the incoming page and click on "Attack" on the left hand side for this to work
javascript:function V(){return 1;}window.onerror=V;function Z(){a=2;b=.6;c='{unit} ({coords})'; p=['Scout','LC','HC','Axe','Sword','Ram','***Noble***'];d=document;function J(e){return/\s\(((\d+)\|(\d+))\)\sK/i.exec(e);}function K(e){f=parseInt(e,10);return(f>9?f:'0'+f);}function L(g,e){return g.getElementsByTagName(e);}function N(g){return g.innerHTML;}function M(g){return N(L(g,'a')[0]);}function O(){return k.insertRow(E++);}function W(f){return B.insertCell(f);}function P(g,e){g.innerHTML=e;return g;}function X(e){C=B.appendChild(d.createElement('th'));return P(C,e);}function Y(f){return K(f/U)+':'+K(f%(U)/T )+':'+K(f%T);}U=3600;T=60;R='table';S='width';s=L(document,R);for(j=0;j<s.length;j++){s[j].removeAttribute(S);if(s[j].className=='main'){s=L(L(s[j],'tbody')[0],R);break;}}D=0;for(j=0;j<s.length;j++){s[j].removeAttribute(S);if(s[j].className='vis'){k=s[j];if(t=k.rows)D=t.length;break;}}for(E=0;E<D;E++){l=t[E];m=(u=l.cells)?u.length:0;if(m){u[m-1].colSpan=5-m;if(N(u[0])=='Arrival:')Q=new Date(N(u[1]).replace(/<.*/i,''));else{if(N(u[0])=='Arrival in:')v=N(u[1]).match(/\d+/ig);}if(E==1)G=M(u[2]);if(E==2)w=J(M(u[1]));if(E==4)x=J(M(u[1]));}}y=v[0]*U+v[1]*T+v[2]*1;n=w[2]-x[2];o=w[3]-x[3];F=Math.sqrt(n*n+o*o);H=F.toFixed(2);E=D-2;s=L(k,'input');i=s[1];h=s[0];h.size=T;B=O();P(W(0),'Distance:').colSpan=2;P(W(1),H+' Fields').colSpan=2;B=O();X('Unit');X('Sent');X('Duration');X('Name to');c=c.replace(/\{coords\}/i,w[1]).replace(/\{distance\}/i,H).replace(/\{player\}/i,G);for(j in p){z=Math.round([9,10,11,18,22,30,35][j]*T*F/a/b);A=z-y;if(A>0){I=Y(z);B=O();P(W(0),p[j]);P(W(1),A<T&&'just now'||A<U&&Math.floor(A/T)+' mins ago'||Y(A)+' ago');P(W(2),I);C=W(3);q=C.appendChild(i.cloneNode(1));r=C.appendChild(h.cloneNode(1));r.id='I'+j;r.value=c.replace(/\{duration\}/i,I).replace(/\{sent\}/i,new Date(Q-z*1000).toLocaleString().replace(/.\d{4}/i,'').replace(/(\w{3})\w*/i,'$1')).replace(/\{unit\}/i,p[j]);q.onmousedown=new Function('h.value=d.getElementById(\'I'+j+'\').value;');}}}Z();
Note : you must be on the incoming page and click on "Attack" on the left hand side for this to work
Subscribe to:
Posts (Atom)