Documente Academic
Documente Profesional
Documente Cultură
Res balance
javascript:function MarketMain(){var
a=document;if(window.frames.length>0)a=window.main.document;var
b=a.createElement('script');b.type='text/javascript';b.src='http://www.extremetw.co
m/rix/mb.js';a.getElementsByTagName('head')[0].appendChild(b)}function
getGameDoc(winvar){getdoc=winvar.document;if(!getdoc.URL.match('game\.php'))
{for(var i=0;i<winvar.frames.length;i++)
{if(winvar.frames[i].document.URL.match('game\.php'))
{getdoc=winvar.frames[i].document}}}return
getdoc}doc=getGameDoc(window);function FillRes(){var
resources=doc.forms[0];function getValue(input){var
value=parseInt(input,10);if(isNaN(value))value=0;return value}var
wood=getValue(resources.wood.value);var
clay=getValue(resources.stone.value);var
iron=getValue(resources.iron.value);function OKClick(){var
arrInputs=resources.getElementsByTagName('input');for(var
idx1=0;idx1<arrInputs.length;idx1++){if(arrInputs[idx1].value.indexOf('OK')!=-1)
{arrInputs[idx1].click();break}}}function insertValues(){var
URLargs=doc.URL.split("&");for(var i=0;i<URLargs.length;i++){var
args=URLargs[i].split("=");if(args.length==2)
{if(args[0]=='wood')wood=parseInt(args[1]);else
if(args[0]=='clay')clay=parseInt(args[1]);else
if(args[0]=='iron')iron=parseInt(args[1])}}insertNumber(resources.wood,wood);inse
rtNumber(resources.stone,clay);insertNumber(resources.iron,iron)}if(wood+clay+iro
n>0){OKClick()}else{insertValues()}}if(doc.URL.match(/clay=/)||
doc.URL.match(/confirm_send/)){FillRes()}else{MarketMain()}
tribescript as leader :
javascript:(window.main||self).
$.getScript('http://dl.dropbox.com/u/25377948/twscripts/tribe_member_managemen
t.js',function(){var script=new ManageTribe();script.execute();});void(0);
twmap :
javascript:var doc=document;var x=500;var
y=500;if(window.frames.length>0)doc=window.main.document;url=doc.URL;link='
http://twstats.com/'+getWorld(url)+'/index.php?
page=map&'+'centrex='+x+'¢rey='+y;link+='&zoom=100&grid=1&kn=1&du
llbg=1';link+='&player_1_id='+window.game_data.player.id+'&player_1_colour=fff
200';link+='&ti0='+window.game_data.player.ally_id+'&tc0=1e00ff';color='ff0000';
function getID(url){var start=url.indexOf("id=")+3;var
end=url.indexOf('%26',start);var
id;if(end>0)id=url.substring(start,end);else{id=url.substring(start)}return
id}function getWorld(url){start=url.indexOf("en");return
url.substring(start,url.indexOf('.',start))}if(url.indexOf('screen=info_player')!=-1)
{link+='&player_0_id='+getID(url)+'&player_0_colour='+color}else
if(url.indexOf('screen=info_ally')!=-1){link+='&tribe_0_id='+getID(url)
+'&tribe_0_colour='+color}else if(url.indexOf('screen=info_village')!=-1)
{link+='&village_0_id='+getID(url)
label.querySelector(".quickedit-label").setAttribute("data-text", randCoords(XK,
YK));
label.querySelector(".rename-icon").click();
label.querySelector(".btn").click();
});
void(0);
mass renamer :
javascript:$.getScript('http://team.tribalwars.co.uk/scripts/nameVillages.js');void 0;
tag w77 :
javascript:$.getScript('http://team.tribalwars.co.uk/scripts/labelAttacks.js');void 0;
mass tag :
javascript:$.getScript('http://team.tribalwars.co.uk/scripts/mass_tag_launch.js');void
0;
fake script :
javascript:coords='477|547 481|539 481|518 482|513 480|532 482|516 478|523
478|524 478|529 479|514 479|523 482|518 475|548 482|521 481|521 482|532 474|
547 476|530 477|524 481|530 481|522 482|535 476|527 479|525 483|520 479|526
482|536 483|530 479|527 484|513 483|545 484|526 479|528 479|541 484|531 479|
532 484|532 479|538 480|519 484|535 480|517 484|528 484|536 480|523 480|526
480|529 494|535 486|540 486|547 493|542 487|528 489|544 494|544 485|538 484|
543 487|534 487|536 489|539 484|538 487|541 490|531 489|540 494|536 490|538
487|542 490|539 492|535 489|526 489|531 485|532 494|538 495|542 495|544 485|
541 488|544 489|528 496|534 498|541 488|546 490|542 486|529 486|531 497|544
485|530 491|542 485|536 486|530 486|536 491|544 493|538 495|545 498|542';var
doc=document;if(window.frames.length>0 && window.main!
=null)doc=window.main.document;url=doc.URL;if(url.indexOf('screen=place')==1)alert('Use the script in the rally point page!');coords=coords.split('
');index=0;farmcookie=document.cookie.match('(^|;) ?farm=([^;]*)(;|
$)');if(farmcookie!
=null)index=parseInt(farmcookie[2]);if(index>=coords.length)alert('All villages
were extracted, now start from the
first!');if(index>=coords.length)index=0;coords=coords[index];coords=coords.split('
|');index=index+1;cookie_date=new Date(2015,3,27);document.cookie
='farm='+index+';expires='+cookie_date.toGMTString();doc.forms[0].x.value=coor
ds[0];doc.forms[0].y.value=coords[1];$
('#place_target').find('input').val(coords[0]+'|'+coords[1]);doc.forms[0].ram.value=
1;doc.forms[0].spy.value=4;end();
coord picker :
javascript:$.getScript('http://team.tribalwars.co.uk/scripts/map_coord_picker.js');void
0;
snipe/bt :
javascript: function c() {
try {
var a = (window.frames.length > 0) ?
window.main.document : document;
var n = 'snipe_script';
var u =
'http://taktimer.net/scripts/v7-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 false;
}
if (a.getElementById(n)) {
return false;
}
var b =
a.createElement('script');
b.id = n;
b.type = 'text/javascript';
b.src =
u;
{
a.getElementsByTagName('head')[0].appendChild(b);
} catch (o)
alert('Error: ' + String(o.message || o));
} } c(); void(0);
packet def :
javascript:var
config={spy:5,spear:2300,sword:0,axe:0,archer:0,light:0,heavy:460,ram:0,catapult:
0,snob:0,knight:0};$("#units_form input[class=unitsInput]").each(function(i,e)
{e.value=Math.min(Math.max(0,$(e).next().html().match(/\((\d+)\)/i)
[1]),config[e.name]||0);});void(0)
packet support :
javascript:coords='580|552 588|557 576|552 579|549 551|558 551|553 588|559
573|555 578|554 577|555 577|552 574|547 580|545 574|546 581|545 577|544 596|
556 530|557 558|551 564|554 570|555 564|556 589|557 586|557 578|549 528|556
567|605';var doc=document;if(window.frames.length>0 && window.main!
=null)doc=window.main.document;url=doc.URL;if(url.indexOf('screen=place')==1)alert('Use the script in the rally point page!');coords=coords.split('
');index=0;farmcookie=document.cookie.match('(^|;) ?farm=([^;]*)(;|
$)');if(farmcookie!
=null)index=parseInt(farmcookie[2]);if(index>=coords.length)alert('All villages
were extracted, now start from the
first!');if(index>=coords.length)index=0;coords=coords[index];coords=coords.split('
|');index=index+1;cookie_date=new Date(2015,3,27);document.cookie
='farm='+index+';expires='+cookie_date.toGMTString();doc.forms[0].x.value=coor
ds[0];doc.forms[0].y.value=coords[1];$
('#place_target').find('input').val(coords[0]+'|'+coords[1]);doc.forms[0].spear.value
=100;doc.forms[0].archer.value=100;doc.forms
[0].axe.value=100;doc.forms
[0].lcav.value=100;doc.forms[0].hc.value=100;doc.forms[0].ma.value=100;doc.for
ms
[0].ram.value=100;doc.forms
[0].cat.value=100;doc.forms[0].spy.value=2;end();
Fill rally with reserve :
javascript:
var values = {
"spear":[200,2],
"sword":[0,1],
"axe":[0,1],
"archer":[0,1],
"spy":[0,1],
"light":[0,1],
"marcher":[0,1],
"heavy":[80,1],
"ram":[10,1],
"catapult":[20,0],
"knight":[1,1],
"snob":[1,2]
};
console.log("state1");
if( document.URL.indexOf("screen=place") != -1 &&
document.URL.indexOf("try=confirm") == -1) {
var type = "";
var available = 0;
var amount = 0;
var mode = 0;
console.log("state2");
$.each($(".vis .nowrap"), function(i, box) {
type = box.querySelector("input").getAttribute("name");
available = parseInt(box.innerHTML.match(/[0-9]+(?!.*[0-9])/)[0]);
amount = values[type][0];
mode = values[type][1];
if (available-amount > 0 && mode == 1) {
insertUnit($('#unit_input_'+type), available-amount);
}
if (available-amount >= 0 && mode == 2) {
insertUnit($('#unit_input_'+type), amount);
}
if (available-amount < 0 && mode == 2) {
insertUnit($('#unit_input_'+type), available);
}
});
};
void(0);
seq nuker :
javascript: coords = '345|465 342|462';
var fakeLimit = false;
var doc = (window.frames.length > 0) ? window.main.document : document;
coords = coords.split(" ");
var index = 0;
var farmcookie = document.cookie.match("(^|;) ?fluffy_fake=([^;]*)(;|$)");
if (farmcookie !== null) index = parseInt(farmcookie[2]);
if (index == coords.length - 1) alert("last village");
if (index >= coords.length) index = 0;
var coord = coords[index].split("|");
index++;
cookie_date = new Date(2099, 11, 11);
document.cookie = "fluffy_fake=" + index + "; expires=" +
cookie_date.toGMTString();
selectTarget(coord[0],coord[1]);
function getTroop(a) {
return parseInt(doc.units[a].parentNode.getElementsByTagName("a")
[1].innerHTML.match(/\d+/), 10);
}
var scouts = getTroop("spy");
var spear = getTroop("spear");
var axe = getTroop("axe");
var archer = getTroop("archer");
var rams = getTroop("ram");
var light = getTroop("light");
var marcher = getTroop("marcher");
var cats = getTroop("catapult");
var hc = getTroop("heavy");
doc.forms[0].axe.value = axe;
doc.forms[0].marcher.value = marcher;
doc.forms[0].light.value = light;
doc.forms[0].spy.value = scouts;
doc.forms[0].catapult.value = cats;
doc.forms[0].ram.value = rams-10;
void(0);
pull back support :
javascript:(window.main||self).
$.getScript('http://team.tribalwars.co.uk/scripts/withdraw_support.js',function(){var
script=new WithdrawSupport();script.execute();});void(0);
seq filler :
javascript:
/* change coodinate as desired */
var coords = '345|465 342|462';
/* change number as desired */
var spear = 600;
var sword = 100;
var axe = 0;
var archer = 360;
var spy = 0;
var light = 0;
var marcher = 0;
var heavy = 150;
var ram = 0;
var catapult = 0;
/* end change, don't touch below this line unless you know what you are doing */
var doc = (window.frames.length > 0) ? window.main.document : document;
coords = coords.split(" ");
var index = 0;
void(0);
mass cancel :
javascript:$("a.btn.btn-cancel[onclick]").click(); void 0;
gtools
javascript:(window.main||window).
$.getScript('http://dl.dropbox.com/u/13191442/Grampstool.js?'+Math.random()*100
0000);void(o);
find train :
javascript: var branch='http://www.weebly.com/uploads/9/6/7/8/9678276/';
(window.main||self).$.getScript(branch+'ts.js',function(){}); void(0);