Travian under-attack check

By m4rtini Last update Dec 19, 2008 — Installed 128,060 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 141 posts, 54 voices



m4rtini Script's Author

back :)

 
Lefap User

Where can i get this script now? Anybody who knows, please write me to noriucrims@gmail.com

 
W3d3r User

Ahh!! it´s good! I do updated from my language.. heheeh back again!!

 
m4rtini Script's Author

i was told to remove it.

 
W3d3r User

Hi man!! What´s happening?? Why your script was removed??

 
m4rtini Script's Author

@risi
thanks I'll look into it :)

 
Risi Scriptwright

Email alerts:
I believe we can use the xmlhttprequest javascript object for sending mails by virtually any service. Obviously the script would need to make 2 calls - one for logging on, the second one would be a POST method call sending the message. It may be easier to implement with javascript-light, flash-free email services, i.e. not yahoo nor gmail. I made a quick search - bluebottle.com may be the way to go.

 
m4rtini Script's Author

possible, but not on top of my todo-list

 
W3d3r User

Hi! I have one more suggestion. When a village atack, put a flag for show the message because if I receive atack, the messenge don´t stop! Only disable the script.. rss

 
W3d3r User

hi man. your script is god!! Are there possiblity show village atack? thank´s

 
m4rtini Script's Author

(damit, missclick ^^)
by "javascript can't send mail by itself" im referring to what you said about users putting in the info for their own mailserver. but (as far as i know) javascript cant connect interact with a mailserver.

 
m4rtini Script's Author

by "javascript can't send mail by itself" in reffering to

 
m4rtini Script's Author

@Risi
yea have had that suggestion before, the problem is that javascript can't send mail by itself, so would need a site that would allow the script to send mail. atm i do not know of such a service(free)

 
Risi Scriptwright

M4rtini, good work!
Suggestion: Send alerts by email. For this we would need a public webmail service without any logging on nor CAPTCHA, I'm not sure if there is such.
But there could be an option for users to fill in their own mail server, username and password, and the script would email the warning using httpxmlrequest... Just an idea. :)

 
GaleniusCZ User

I try this new version and it looks OK. Thanks.

 
m4rtini Script's Author

did some bug fixes

 
m4rtini Script's Author

@GaleniusCZ

you're right, shouldn't be any www in the link, just typed if from a old habit i guess. seams to work for me anyway tho.

@Agge
just changing the url like GaleniusCZ might do the trick then.

 
Agge User

forgot to say taht the pic adress is http://speed.travian.se/img/un/a/att1.gif

 
Agge User

i'm truying to do the changes GaleniusCZ did to see if that fixes it but changed so swedish server info. i allso want to thank you m4rtini for hlping me and awnsering my questions ^^

 
GaleniusCZ User

I have the same problem as Agge, at czech server, but i try repair and now it works. But, I change it to my server, s4.travian.cz

I change this:
in original script was:

# // @include      http://s*.travian.*

change to:

// @include      http://s*.travian.*/dorf1*
// @include      http://s*.travian.*/dorf2*

Next, and last chante was this:
In original script is:

url = "http://www." + document.domain + "/dorf1.php?"

I repaired it to:

url = "http://s4.travian.cz/dorf1.php?"

First change was because first status control was when I try to login, not when i was loged.
Next change... where can you find in Travian URL www? Maybe in your country, but in CZ is s1.travian.cz, s2.travian.cz etc.

 
m4rtini Script's Author

does the Swedish speed server have any other names for the pages, or maybe another name for the image the script looks for? (the red sword thing)

 
Agge User

i have the same problem as Metador atm i had an attack on me but i had no warning :/ im on swedish speed server btw if that helps ^^

 
m4rtini Script's Author

@Agge
probably, but I'm working on 2 other scripts so have to wait a while.

 
Agge User

is there any way to add a sound playing when we get attacked?

 
m4rtini Script's Author

@Heerm
yeah all you need to do is change the freezeWhenCheck to false. but village hopping will be very probable then.