Travian under-attack check

By m4rtini Last update Dec 19, 2008 — Installed 121,088 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 141 posts, 54 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Tek0011 User

is this just a dead script? Any ideas on how to get this to send a text or email to a phone? I could seriously use that. ANd a step by step description would help. I do understanding scripting to the point of editing, but only when told what to put in.
Any ideas would be greatful. Thanks.

-EDIT. Well after trying over and over again, I cannot get this script to open another tab or web page.

 
Andrada6 User

maybe some gmail calendar like gsms notificafion would be great :D

 
GuldM User

Very nice script. Thank you..

Is there any way to make the script open a mp3/wave file on my computer instead of an url?

 
HannaH021 User

I just want to say THANK YOU, i've been looking for something like this,
Thanks again a lot...

But one more question... Can we change it to only sound in the last 15mins or something?

And what if we have more than one village? what do we need to change?

Thanks

 
Nux User

I have a question: How often does the script check if there are incoming attaacks? And if I want to modify that time how can I do?
Thanks

 
runner75 User

Hi to all,
Is it possible to have an example of an external script that runs?
It would be usefull to have an e-mail or a mp3 playing....

Thank you
Runner75

 
szerelem Scriptwright

travianfun: my script ( http://userscripts.org/scripts/show/25340 ) use dorf1.php to check the units. Try that.

 
travianfun User

Please help me m4rtini!
Your script doesn't work on hungarian server 3 because the dorf3.php working with travian plus account.
Can you resolve that the script use dorf1.php or anything else?

 
zacki User

How can i run a mail script? I tried imacros url but doesn't work, the script alerts me but it doesn't open any page

 
m4rtini Script's Author

now working on fx3 and newest version i think. doesn't give any error on load at least. Strangest error ever tho, apparently I'm not allowed to name a function 'external' anymore, renaming it to 'external2' works fine. lol :P

 
justass User

thanks Adam, it started working after removing external function and reference to it

 
Adam Novak User

The script did not want to work on the new version of Greasemonkey. So I looked inside the script and found, that the error is in the "external" function. I removed the function "external" and all references to it. Now the script works fine.

 
Adam Novak User

After upgrading Greasemonkey from version 0.7... to 0.8..... the script stopped working. In the log I found the message "Illegal value". I had to go back to old version of Greasemonkey and the script start working again.
So probably the script is not compatible with new version of Greasemonkey.

 
justass User

Same problem here as vp3, error on 344 line. As i understand script fail to execute this part of code GM_getValue('underAttackFlag', false); and don't get that variable

 
vp3 Scriptwright

I use to really like this script but lately it doesn't work. I checked it out with Firebug and it says something about there being an illegal value on line 344. I'm not sure what that means so I hope you can fix it soon.

I'm using it on the us6 and speed servers. I get the same error on both servers.

 
m4rtini Script's Author

I just finished my last exam so i will probably get more time to work on my script from now on. Sorry for the long time without any activity

 
toLGa User

do i have to logout and then login for the script to check the attacks ?

 
castaban Scriptwright

Excellent!!!
One question, if I am playing at multiple servers and all of them open under different tabs, will this check all? If not what determines which one will be checked?

 
kingoleg Scriptwright

It does not work on firefox 3b5 on Ubuntu/Linux. How I can debug it?

 
moep User

Is it possible that the programm only alert when the attack is 30 minutes and less

 
moep User

Hello,
the script works great, but i think there are more options than i know. Can anybody explain me the script. My english is very bad so maybe is there are german guy... (english is also ok, but i don't understand programmer language. Var,nameA, so i don't know what i have to edit by this script)
Thanks

 
m4rtini Script's Author

ok, this is gonna be just theoretical since i don't any specific site to reference too.

lets say that, 'www.sendfreemails.com/send.php' is a page that allows you to send mails.
lets say that it allows you to loginn through POST or GET variables(if you don't know about those google it)

externalURL would then be 'www.sendfreemails.com/send.php?username=mailuser&password=mysupersecretpassword&message=Under attack&recipient=myownmail@something.com'
if the page don't allow GET variables but post variables(or maybe a mix) put the variables that i put in the link in the externalPostData like this:
externalPostData = 'username=myusername&password=mysupersecretpassord....'

 
no1wafer User

Hi
I was wondering
How am I supposed to use the externalUrl function to send myself an email?
Can you teach us how to do that exactly?
THANKS

 
m4rtini Script's Author

I'm prioritizing my other scripts before this one because this meets my own needs at the time. When i feel i have the time i might start working on this again.

@Lexi
for the time being that is not a possibility, tho an interesting idea that i might add if i get the time.

@daBeetle
You can't for the time being.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel