Travian: Antifarm\Troop saver

By vavaux Last update Aug 25, 2008 — Installed 3,056 times.
Script Summary:
Goal: protect your troops of being attacked while you're away. Troop are saved e.g. 30 seconds (configurable) before the attack arrives.
Recently Updated TopicsPosts
Archived Comments6

this script has 1 topic, 6 posts

This script has no reviews.

I found this script from miscellaneous authors but it seems not to be working.

I'll try to make it work step by step.

For now, what's working:
- only on dorf1.php and thus only for the active village (multi-village can be workaround by opening multiple tabs and each tabs on the dorf1.php of each village);
- auto-refresh with configurable delay;
- autologin in case of session timeout;
- detect incoming attack with following results:
- attack will arrive after the next auto-refresh -> no action;
- attack will arrive in less than a configurable delay (savedelay) -> save troops (for now it
only tries);
- attack will between the refresh and save delay -> replan a new check later on to avoid
unnoticed attack.

What doesn't work:
- saveTroop is able to determine which troop to save but fails sending troop (cookie problem as far as I can see)

What's missing:
- once troop saved and attack has occurred, troop should be called back through the rally point (cancel move);
- multi village handling;
- configurable send away point with possibility to just send away and no call-back

Guessed issues (at first sight):
- synchronous attack for calling back;
- sending troops to a village under attack (might be stupid but...)

Any idea/help appreciated :-)