Travian under-attack check

By m4rtini Last update Dec 19, 2008 — Installed 108,570 times. Daily Installs: 32, 42, 47, 45, 34, 30, 37, 29, 38, 44, 38, 40, 35, 37, 30, 34, 25, 32, 39, 51, 46, 42, 48, 24, 49, 43, 34, 28, 49, 38, 47, 48
Script Summary:
Travian under-attack check
Review Summary
5 stars
0 reviews (0)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
1 reviews (1)

this script has 1 review

set this to false to make it not freeze the screen when running a check, village hop more probable then!

var freezeWhenCheck = true;

bugfix:
- bug that made the freezescreen to not disappear and the second time on the same page.

Now there is a possibility to call your own external pages\scripts to do some kind of response(like sending you a email) when you're under attack.

var externalUrl = "";
var externalPostData = "";
var runEveryTime = false;

These are the parameters that you have to edit.
externalUrl: the url to your script, here you can also include GET variables to the end like this www.url.com?var=value&var2=value2

externalPostData: The postdata to be sent, ex: var=value&var2=value2

runEveryTime; Defines if the external script should run every time it detects that you're under attack. if not it will only run the first time it detect the attack.

Donations