 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Haxory' Grandmaster Cheater Supreme
Reputation: 92
Joined: 30 Jul 2007 Posts: 1900
|
Posted: Wed Feb 25, 2009 4:07 am Post subject: Tribalwars.nl tool |
|
|
im playing a game called tribalwars for some time and i wrote an epic script. it sends support troops so that you'll always know if someone is attacked.
Code: | var spear = 0;
var sword = 3;
var bow = 0;
var scout = 0;
var zc = 0;
var villages = getCookie('villages');
if(!document.URL.match('try=confirm_send')) {
if(villages.length < 1){
var vills = prompt("Plak hier de dorpen om OS te sturen");
if(!vills.length < 1){
setCookie('villages',(vills + ","),365);
var villages = getCookie('villages');
}
}
}
/*
*Standard cookie functions.
*/
function getCookie(c_name)
{
if (document.cookie.length>0)
{
c_start=document.cookie.indexOf(c_name + "=");
if (c_start!=-1)
{
c_start=c_start + c_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
}
}
return "";
}
function setCookie(c_name,value,expiredays) {
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +value+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
/*
*Submit function.
*/
function sendStuff() {
var villgs = villages.split(',');
var coords = villgs[0].split('|');
document.getElementById('inputx').value = coords[0];
document.getElementById('inputy').value = coords[1];
var repl = (villgs[0]+',');
villages = villages.replace(repl,'');
setCookie('villages',villages,365);
insertUnit(document.forms[0].spear, spear);
insertUnit(document.forms[0].sword, sword);
insertUnit(document.forms[0].archer, bow);
insertUnit(document.forms[0].heavy, zc);
insertUnit(document.forms[0].spy, scout);
document.getElementsByName('support')[0].click();
}
/*
*Checks at which screen we are.
*/
if(confirm != false){
if (document.URL.match('screen=place')) {
if (document.URL.match('try=confirm')) {
document.getElementsByName('submit')[0].click();
} else {
sendStuff();
}
} else {
alert('Fout, Ben je wel op de verzamelplaats?');
}
} |
here in url (required to use the script in game)
Code: | javascript:var spear = 0;var sword = 3;var bow = 0;var scout = 0;var zc = 0;var villages = getCookie('villages');if(!document.URL.match('try=confirm_send')) {if(villages.length < 1){var vills = prompt("Plak hier de dorpen om OS te sturen");if(!vills.length < 1){setCookie('villages',(vills + ","),365);var villages = getCookie('villages');}}}function getCookie(c_name){if (document.cookie.length>0){c_start=document.cookie.indexOf(c_name + "=");if (c_start!=-1){c_start=c_start + c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if (c_end==-1) c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end));}}return "";}function setCookie(c_name,value,expiredays) {var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);document.cookie=c_name+ "=" +value+((expiredays==null) ? "" : ";expires="+exdate.toGMTString());}function sendStuff() {var villgs = villages.split(',');var coords = villgs[0].split('|');document.getElementById('inputx').value = coords[0];document.getElementById('inputy').value = coords[1];var repl = (villgs[0]+',');villages = villages.replace(repl,'');setCookie('villages',villages,365);insertUnit(document.forms[0].spear, spear);insertUnit(document.forms[0].sword, sword);insertUnit(document.forms[0].archer, bow);insertUnit(document.forms[0].heavy, zc);insertUnit(document.forms[0].spy, scout);document.getElementsByName('support')[0].click();}if(confirm != false){if (document.URL.match('screen=place')) {if (document.URL.match('try=confirm')) {document.getElementsByName('submit')[0].click();} else {sendStuff();}} else {alert('Fout, Ben je wel op de verzamelplaats?');}} |
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel |
|
Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Wed Feb 25, 2009 7:39 pm Post subject: |
|
|
haha good job. I have played tribalwars since world 2
_________________
Blog
Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
Back to top |
|
 |
Deletion I post too much
Reputation: 0
Joined: 22 Jun 2006 Posts: 2148 Location: Underground
|
Posted: Wed Feb 25, 2009 10:03 pm Post subject: |
|
|
javascript injections D; so ugly
nice job, though.
_________________
Bitch, please.
redslothx wrote: | oh im a man so respect the penis powers |
|
|
Back to top |
|
 |
Haxory' Grandmaster Cheater Supreme
Reputation: 92
Joined: 30 Jul 2007 Posts: 1900
|
Posted: Fri Feb 27, 2009 11:34 am Post subject: |
|
|
no injection, its legal. you should put it in your 'quicklist' (snellijst)
its handy at my niveau (1.000.000 points)
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|