help
|
|
how can i make this script check for attacks every 3 minutes (i am asking who to manipulate these :
window.setInterval(function(){reload()},15*60*1000); ) thanks |
|
|
var minutes = 3;
window.setInterval(function(){underAttackCheck()}, minutes*1000*60);
|
|
|
there is no "var minutes" in the script :/ |
|
|
You need to change the line
window.setInterval(function(){underAttackCheck()}, 10000);
to var minutes = 3;
window.setInterval(function(){underAttackCheck()}, minutes*1000*60);
or just window.setInterval(function(){underAttackCheck()}, 180000);
:) |
|
|
How to change script,? |
|
|
if the Interval function is in milliseconds , why the defoult time to check is 10,000....does it means it do it each 10 seconds?
|
|
|
Sorry! :)
|
|
|
how can i modified the times between checks?
p.d, witch one is the modified script? |
|
|
Newest version is always here :P
//time in minutes between checks. USE RANDOM! It makes it doesn't look like the script. //10 + Math.floor(Math.random()*5) will check for attacks between 10 and 15 minutes var timetocheck = 10 + Math.floor(Math.random()*5); I.e. If you're want to check every 3-5 minutes: var timetocheck = 3 + Math.floor(Math.random()*2);
|
|
|
ok, but can you tell how am i suppose to add this to source code? How to edit this script? |
|
|
right click on monkey's head (greasemonkey icon) and select Manage scripts (or whatever, I'm using different language version). Select Travian under-attack check and press edit. |
![]() ![]() |
Hello, where can I set where are my troops going? |
![]() ![]() |
You can't. This script will ONLY inform you about incoming attacks. |
![]() ![]() |
Hello. How to use email notification in this script? |
![]() ![]() |
Hi, is this plugin still working? |


