Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Travian: Village Manager 1.6

Bookmark your preferred villages in a draggable table available on every page! Fast links to your farms, safehouses, targets etc.

Description

This script adds a list of villages to all your pages and an option "Add to Village Manager" on village page (look at the bottom of the page). The list gives you a quick overview of your preferred villages (farms, safehouses, targets etc.), oases and abandoned areas, so that it is easy to remember and manage them.

Features:
  • add and remove villages
  • villages can be filtered using customizable tags (i.e. farm, target, reinforcements...)
  • visit village page by clicking on village name
  • visit player's profile by clicking on player's name
  • visit ally description by clicking on ally name
  • see the distance between the village and your active village (cell distance)
  • send troops and merchants (from your active village)
  • see the type of village
  • see the player's race
  • see population statistics of the past week for villages, players and alliances
  • see time of travel and arrival time for each village
  • write note for each village using a complete HTML editor
  • list is draggable and can be minimized
  • hide/show columns, resize and sort them
  • list data can be imported/exported (share them by email with your friends etc.)

Supported languages

Italian, English, Russian, Lithuanian, German, Dutch, Spanish, Portuguese, Slovenian, Arabic, Polish, French, Hungarian, Turkish, Chinese, Bosnian, Danish.

History

  • v1.6 (20-06-08)
    • added "note" column with HTML editor
    • added "import/export" list
    • added new languages: Bosnian, Danish
  • v1.5 (12-06-08)
    • added "tags" column
    • added "filter by tags" option
    • added "add tag" option
    • added village statistics
    • added "hide/show popups" option
    • added new language: Chinese
  • v1.4 (06-06-08)
    • added ally statistics
    • added time of travel popup
    • added shadow effect to popups
  • v1.3 (29-05-08)
    • added "type of village" column
    • added "tribe" column
    • added player statistics
    • added "columns width" option
    • added new languages: French, Hungarian, Turkish
  • v1.2 (21-05-08)
    • added "check for updates" option
    • fixed bug due to karte.php changed code
  • v1.1 (20-05-08)
    • added "send resources" column
    • added map icon and link to village page
    • added hide/show options icon
    • added option to delete all villages
    • added option to restore default list position
    • minimize/maximize list by doubleclicking the bar or clicking the icon
    • show "---" instead of empty entries
    • stop changing page to retrieve single village coordinates (by FranMod)
    • changed the default list position
    • reduced memory usage
    • fixed bug: sort order is lost when page changes
    • fixed bug: distance values=NaN or wrong distance
    • added new language: Polish
  • v1.0 (07-05-08)
    • Script renamed to "Village Manager"
    • added new language: Slovenian
    • fixed bug with coordinates on accounts with only one village
    • complete rewrite of table layout
    • options to hide/show columns (player, ally and distance)
    • columns now are sortable (player, ally and distance)
    • now working with abandoned areas and oases
    • stop reloading the page for updates in the list (by FranMod)
    • DOM code and language code optimization (by FranMod)
    • Added images, stop stealing from the server (by FranMod)
  • v0.5 (29-04-08)
    • added new languages: Portuguese (Brazil)
    • fixed bug on accounts with only one village
    • fixed bug with coordinates
    • fixed bug with player's name on oasis
  • v0.4 (28-04-08)
    • added new languages: Arabic, Spanish (Argentina)
    • added player's name column with link to player's profile
    • added ally column with link to ally's profile
    • added column with distance (cells) between the farm and your active village
  • v0.3 (26-04-08)
    • added new languages: Russian, Lithuanian, German, Dutch
    • fixed bug with cyrillic village names on russian servers
    • fixed incompatibility with Travian QP Targets script
  • v0.2 (24-04-08)
    • farm list is now available on all pages
    • changed the "add farm" button with an option at the bottom of village page
    • changed the list default position
    • added "Drag" tooltip
  • v0.1 (23-04-08)
    • first release

Next improvements (maybe...)

  • setting profiles
  • column with checkbox for farming
  • column with date (added on...)
  • tracking of raids in progress

Script problems?

  • Instructions for newbies
  • Bugs / problems / etc...
    • Try to disable other GM scripts (for incompatibilities)
    • If the problem still exists please give me the following information:
      • Travian server where you play
      • Script version
      • Graphic pack used or if none is used
      • Describe the problem the best you can

Credits

This script idea was originally based on Travian Auto-farmscript (without the auto-farming option).
Thanks to: FDisk, Zezuma, usr8472, Titus, Risi, QP, MeXaon, ChuckyBoy, FranMod, Hmmm2.
Statistics provided by:

Screenshots

Full:
Image Hosted by ImageShack.us
Compact:
Image Hosted by ImageShack.us
Statistics popup:
Image Hosted by ImageShack.us
Time of travel popup:
Image Hosted by ImageShack.us
HTML note:
Image Hosted by ImageShack.us

Reviewed by




Jul 3, 2008
polle1 User

I have different tags for my cities, city number 1, tag A1, A2, etc., etc.
city number 2, tag B1, B2, etc. etc.
Is it possible to create an automatic shift, so when I look at the tag A1, it automatically switches to the city number 1?
hope you understand what I mean:

 
Jun 27, 2008
dbKiller Script's author

@Zilogix, polle1
You are right, the "update now" is just a delete and replace feature.
I'll look into this issue for v1.7, but its release will be late 'cause I'm quite busy with my real life job at the moment (and I'm also working on another script :P...)

 
Jun 27, 2008
Zilogix Scriptwright

I agree with polle1. The current "update" feature doesn't seem to be as much an update as a "delete and replace". I notice that the HTML notes also disappear when you "update" a village. Would be good to find a solution to this.

 
Jun 27, 2008
polle1 User

Is it possible to create an automatic update of the cities without losing the tags

Every time I have updated a city I have too put the tags back on

 
Jun 24, 2008
dbKiller Script's author

@Zilogix
thanks, your feedback is precious ;)

 
Jun 24, 2008
Zilogix Scriptwright

The profile settings look great so far. I just have one minor suggestion. Could you include the x,y coordinates of the list itself in the profile settings? For instance, I have created a profile called "add village" which is the only time that I actually show the tags as a column. When I do that, I have to move the whole list sideways to the left, so that it doesn't scroll off the right hand edge of the screen Then, when I change back to the "farms" profile, I want the list to jump back to its regular location beside the right hand edge of the screen.

I like the "Link with tags" idea, btw. Saves having a second drop-down box. Well done!

For some reason, the "Speed server" setting is continually defaulting to "on" since I upgraded to v1.7.

The statistics server is not being called for either players or alliances since I upgraded to v1.7.

 
Jun 24, 2008
dbKiller Script's author

I need feedback for v1.7 beta (with setting profiles),
try it out and let me know about any bugs/issues/etc please!

Remotely hosted version

 
Jun 23, 2008
dbKiller Script's author

@grooving
not top priority now, but I'll give it a try ;)

 
Jun 21, 2008
grooving User

@ZIlogix I also love this script with autofarm or without it, it is a great work, what i hate the most is to have to open all my farms windows one each time ( i open like 200 at day and i send the attacks myself)

Would be nice to do the same pressing just a button for each farm, without the need to open all that windows.

A feature like attack with X troops, configurable and besides each farm.

maybe it would dont automate the account, just save me some farming steps.

on top of village manager a window where you could put the troops to send. (configurable for romans, gauls or germans)
and on a table a buton to send that troops on an specified mode (reinforcements, normal, attrack)

Could you at least make this? please, please, please (as james Brown used to sign).

 
Jun 21, 2008
Zilogix Scriptwright

I love to have 100 to 200 farms, will be nice to be able to attrack all of them while taking a shower, eating, sleeping
@grooving: automatically sending attacks while you are "taking a shower, eating, sleeping" would definitely be against the game rules, whether you are attacking a farm or not.

One of the main reasons why I use this script is that it doesn't have auto-farming ability.

@dbKiller: Here is a little example of how I am using your script. Each time I attack a farm, I record the TraviLog report and put it in as an HTML link in a note in my Village Manager list, for the village that was farmed.

 
Jun 21, 2008
grooving User

Well, it's not against rules to attack farms, i hope someone makes a version implementing it, like

attack farm 1 with x troops ---> confirm ---> attack

That way you will have to be online to attack

It is a pain in the a..s, to have to open 200 windows to make your attacks.

 
Jun 21, 2008
Zilogix Scriptwright

@grooving: This script was originally based on an auto-farming script, but dbKiller has not implemented any auto-attack features, so as to be more compliant with the game rules.

@dbKiller: until you said so now, I did not know that English wasn't your mother tongue! I see no problems with the English version of your script.

 
Jun 20, 2008
remodaboss User

Hello there, good work!! ..my contribution

case 'sk': //Slovakia
lang['ROMANS'] = 'Rimania';
lang['GAULS'] = 'Galovia';
lang['TEUTONS'] = 'Germáni';
lang['VILLAGE'] = 'Dedina';
lang['ALREADY_LIST'] = 'už je v zozname';
lang['ADD_VILLAGE'] = 'Pridať do';
lang['NO_VILLAGES'] = 'Zoznam dedín je prázdny!';
lang['MAP'] = 'Mapa';
lang['PLAYER'] = 'Hráč';
lang['PLAYER_PROFILE'] = 'Profil hráča';
lang['ALLY'] = 'Alliancia';
lang['ALLY_PROFILE'] = 'Profil aliancie';
lang['DISTANCE'] = 'Vzdialenosť';
lang['DISTANCE_VILLAGE'] = 'Vzdialenosť od';
lang['DELETE'] = 'Vymazať';
lang['SEND_TROOPS'] = 'Poslať jednotky';
lang['DRAG'] = 'Pretiahni';
lang['HIDE'] = 'Skryť';
lang['SHOW'] = 'Ukázať';
lang['SORT_BY'] = 'Zotriediť podľa';
lang['MINIMIZE'] = 'Minimalizovať';
lang['MAXIMIZE'] = 'Maximalizovať';
lang['YOUR_VILLAGE'] = 'tvoja dedina';
lang['COLUMNS'] = 'stĺpce';
lang['OPTIONS'] = 'nastavenia';
lang['SEND_RESOURCES'] = 'Pošli suroviny';
lang['VILLAGE_PROFILE'] = 'Profil dediny';
lang['OTHER_OPTIONS'] = 'Ostatné možnosti';
lang['DELETE_ALL'] = 'Vymazať všetky dediny';
lang['RESTORE'] = 'Default nastavenia';
lang['CONFIRM'] = 'Si pevne presvedčený, že chceš toto spraviť?';
lang['LUMBER'] = 'drevo';
lang['CLAY'] = 'hlina';
lang['IRON'] = 'železo';
lang['CROP'] = 'obilie';
lang['TRIBE'] = 'Rasa';
lang['UPDATE_CHECK'] = 'Skontrolovať update';
lang['LAST_VERSION'] = 'Máš poslednú verziu skriptu!';
lang['NEW_VERSION'] = 'Je k dispozícií nová verzia';
lang['UPDATE_NOW'] = 'Updatni teraz';
lang['DATE'] = 'Dátum';
lang['POPULATION'] = 'Populácia';
lang['SERVER_DOWN'] = 'Štatistický server neni k dispozícii, skús neskôr...';
lang['CLOSE'] = 'Zavrieť';
lang['TYPE'] = 'Typ';
lang['VILLAGE_TYPE'] = 'Typ dediny';
lang['F1'] = '9 obilie (3-3-3-9)';
lang['F2'] = '+železo (3-4-5-6)';
lang['F3'] = 'normálna (4-4-4-6)';
lang['F4'] = '+hlina (4-5-3-6)';
lang['F5'] = '+drevo (5-3-4-6)';
lang['F6'] = '15 obilie (1-1-1-15)';
lang['W1'] = '+25% dreva za hodinu';
lang['W2'] = '+25% dreva za hodinu';
lang['W3'] = '+25% dreva & +25% obilia za hodinu';
lang['W4'] = '+25% hliny za hodinu';
lang['W5'] = '+25% hliny za hodinu';
lang['W6'] = '+25% hliny & +25% obilia za hodinu';
lang['W7'] = '+25% železa za hodinu';
lang['W8'] = '+25% železa za hodinu';
lang['W9'] = '+25% železa & +25% obilia za hodinu';
lang['W10'] = '+25% obilia za hodinu';
lang['W11'] = '+25% obilia za hodinu';
lang['W12'] = '+50% obilia za hodinu';
lang['WIDTH'] = 'Šírka';
lang['SAVE'] = 'Uložiť';
lang['TROOPS'] = 'Jednotky';
lang['TIME'] = 'Čas';
lang['ARRIVAL'] = 'Príchod';
lang['TOT'] = 'Čas cestovania';
lang['TOURNAMENT'] = 'úroveň Arény';
lang['SPEED'] = 'Speed server';
lang['POPUPS'] = 'Popupy';
lang['TAG'] = 'Tag';
lang['NO_TAG'] = 'Žiadne dediny s týmto tagom';
lang['FILTER'] = 'Filtruj podľa: ';
lang['ADD'] = 'Pridať';
lang['REMOVE'] = 'Odobrať';
lang['NOTE'] = 'Poznámka';
lang['EDIT'] = 'Edituj';
lang['START_EDITING'] = 'Najskôr edituj!';
lang['IMAGE'] = 'Obrázok';
lang['BOLD'] = 'Bold';
lang['ITALIC'] = 'Italic';
lang['UNDERLINE'] = 'Podčiarknuté';
lang['STRIKET'] = 'Prečiarknuté';
lang['SUPERS'] = 'Horný index';
lang['SUBS'] = 'Dolný index';
lang['JLEFT'] = 'Zarovnaj vľavo';
lang['JCENTER'] = 'Zarovnaj na stred';
lang['JRIGHT'] = 'Zarovnaj vpravo';
lang['JFULL'] = 'Celá šírka';
lang['OLIST'] = 'Číslovaný zoznam';
lang['ULIST'] = 'Odrážky';
lang['HRULE'] = 'Horizontálna čiara';
lang['INDENT'] = 'Odsek';
lang['OUTDENT'] = 'Prísek';
lang['UNFORMAT'] = 'Zruš formátovanie';
lang['COLOR'] = 'Farba textu';
lang['IE_DATA'] = 'Importuj/Export dáta';

 
Jun 20, 2008
grooving User

Mate you a geanious, i love your work, could you please add a farming feature?

I explain, you set a main village, set a number of troops and the machine starts sending atracks to all of your farms with an aleatory time of diference.

I love to have 100 to 200 farms, will be nice to be able to attrack all of them while taking a shower, eating, sleeping...

 
Jun 20, 2008
dbKiller Script's author

@english guys (...any girls here? :-/ )

As I'm italian, I'd appreciate any advice from my fans of english mother tongue regarding the english translation.
Thanks!!!

@garigou
tnx

 
Jun 20, 2008
garigou User

nice script.... thx
a little contribution...
case 'pt': //Portuguese (Portugal), Translation by Garigou #13
lang['VILLAGE'] = 'Aldeia';
lang['ALREADY_LIST'] = 'A aldeia já está adicionada';
lang['ADD_VILLAGE'] = 'Adicionar à';
lang['NO_VILLAGES'] = 'Nenhuma aldeia na lista!';
lang['MAP'] = 'Mapa';
lang['PLAYER'] = 'Jogador';
lang['PLAYER_PROFILE'] = 'Perfil do jogador';
lang['ALLY'] = 'Aliança';
lang['ALLY_PROFILE'] = 'Perfil da aliança';
lang['DISTANCE'] = 'Distancia';
lang['DISTANCE_VILLAGE'] = 'Distancia da';
lang['DELETE'] = 'Apagar';
lang['SEND_TROOPS'] = 'Enviar tropas';
lang['DRAG'] = 'Mover';
lang['HIDE'] = 'Esconder';
lang['SHOW'] = 'Mostrar';
lang['SORT_BY'] = 'Ordenar por';
lang['MINIMIZE'] = 'Minimizar';
lang['MAXIMIZE'] = 'Maximizar';
lang['YOUR_VILLAGE'] = 'A tua aldeia';
lang['COLUMNS'] = 'Colunas';
lang['OPTIONS'] = 'Opções';
lang['SEND_RESOURCES'] = 'Enviar Recursos';
lang['VILLAGE_PROFILE'] = 'Perfil da Aldeia';
lang['OTHER_OPTIONS'] = 'Outras opções';
lang['DELETE_ALL'] = 'Apagar todas as aldeias';
lang['RESTORE'] = 'Opções por defeito';
lang['CONFIRM'] = 'Tem a certeza?';
lang['LUMBER'] = 'Madeira';
lang['CLAY'] = 'Barro';
lang['IRON'] = 'Ferro';
lang['CROP'] = 'Cereal';
lang['TRIBE'] = 'Tribo';
lang['ROMANS'] = 'Romanos';
lang['GAULS'] = 'Gauleses';
lang['TEUTONS'] = 'Teuto~es';
lang['UPDATE_CHECK'] = 'Procurar actualizações';
lang['LAST_VERSION'] = 'Tem a última versão disponivel';
lang['NEW_VERSION'] = 'Está disponível nova actualização';
lang['UPDATE_NOW'] = 'Actualizar agora';
lang['DATE'] = 'Data';
lang['POPULATION'] = 'População';
lang['SERVER_DOWN'] = 'Servidor não responde, tente mais tarde...';
lang['CLOSE'] = 'Fechado';
lang['TYPE'] = 'Tipo';
lang['VILLAGE_TYPE'] = 'Tipo de aldeia';
lang['F1'] = '9 Cereal (3-3-3-9)';
lang['F2'] = '+Ferro (3-4-5-6)';
lang['F3'] = 'Normal (4-4-4-6)';
lang['F4'] = '+Barro (4-5-3-6)';
lang['F5'] = '+Madeira (5-3-4-6)';
lang['F6'] = '15 Cereal (1-1-1-15)';
lang['W1'] = '+25% Madeira por hora';
lang['W2'] = '+25% Madeira por hora';
lang['W3'] = '+25% Madeira & +25% Cereal por hora';
lang['W4'] = '+25% Barro por hora';
lang['W5'] = '+25% Barro por hora';
lang['W6'] = '+25% Barro & +25% Cereal por hora';
lang['W7'] = '+25% Ferro por hora';
lang['W8'] = '+25% Ferro por hora';
lang['W9'] = '+25% Ferro & +25% Cereal por hora';
lang['W10'] = '+25% Cereal por hora';
lang['W11'] = '+25% Cereal por hora';
lang['W12'] = '+50% Cereal por hora';
lang['WIDTH'] = 'Tamanho das';
lang['SAVE'] = 'Guardar';
lang['TROOPS'] = 'Tropas';
lang['TIME'] = 'Tempo';
lang['ARRIVAL'] = 'Chegada';
lang['TOT'] = 'Tempo de viagem';
lang['TOURNAMENT'] = 'Nível da arena';
lang['SPEED'] = 'Velocidade do servidor';
lang['POPUPS'] = 'Popups';
lang['TAG'] = 'Tag';
lang['NO_TAG'] = 'Nenhuma aldeia com tag';
lang['FILTER'] = 'Filtrar por: ';
lang['ADD'] = 'Adicionar';
lang['REMOVE'] = 'Remover';
lang['NOTE'] = 'Nota';
lang['EDIT'] = 'Editar';
lang['START_EDITING'] = 'Editar primeiro!';
lang['LINK'] = 'Link';
lang['IMAGE'] = 'Imagem';
lang['BOLD'] = 'Negrito';
lang['ITALIC'] = 'Italico';
lang['UNDERLINE'] = 'Sublinhado';
lang['STRIKET'] = 'Rasurado';
lang['SUPERS'] = 'Superior à linha';
lang['SUBS'] = 'Inferior à linha';
lang['JLEFT'] = 'Alinhar à esquerda';
lang['JCENTER'] = 'Alinhar ao centro';
lang['JRIGHT'] = 'Alinhar à direita';
lang['JFULL'] = 'Justificar';
lang['OLIST'] = 'Numeração';
lang['ULIST'] = 'Marcas';
lang['HRULE'] = 'Régua horizontal';
lang['INDENT'] = 'Aumentar avanço';
lang['OUTDENT'] = 'Diminuir avanço';
lang['UNFORMAT'] = 'Remover formatação';
lang['COLOR'] = 'Cor do texto';
lang['IE_DATA'] = 'Importar/Exportar dados';

 
Jun 19, 2008
Zilogix Scriptwright

The note feature is DEFINITELY worth it, and has been well worth the wait! Thank you, you have exceeded my expectations in that note feature! I love it!

 
Jun 19, 2008
dbKiller Script's author

@Zilogix
in Notepad the string "\n" is displayed as a little box, substitute that with "_@_".
Plus, you have to uninstall with associated preferences before upgrading to v1.6.
I know it's tricky, but it shoul be the last time... and I think the note feature is worth it! :)

[edit]I fixed it, now list data are compatible with versions < v1.6[/edit]

 
Jun 19, 2008
Zilogix Scriptwright

I tried copying them as you suggested, but to no avail. I have deleted and recreated all my villages on my list, including oasis, safehouses, etc. Hopefully this will be for the last time, now that the import/export feature is here. The effort to recreate my list was worthwhile!

Now to get playing with the new toys! :-)

 
Jun 19, 2008
polle1 User

One small issue
is it possible to automatically update a city?
in the case of a farm would come in an alliance or something :)

I know I can do it manually, but it would be nicet if it was automatic

 
Jun 18, 2008
dbKiller Script's author

@Zilogix, Ryan007
I had to change the separator string for villages data in v1.6 in order to have notes with html, I changed it from "\n" to "_@_" (because in html "\n" is interpreted as line-break).
Therefore if you want to keep your old list, copy the value from about:config (look for greasemonkey.scriptvals.travian/Travian: Village Manager.villages_sx.travian.xx_xxx..) into a text editor (like Notepad) and substitute all "\n" with "_@_", then import in v1.6.

 
Jun 18, 2008
Ryan007 User

Same with me. I re-added them all for 1.6

 
Jun 18, 2008
Zilogix Scriptwright

Currently v1.6 does not show any of my saved Villages. I can export the list with the new export feature and they are all there. I can go back to v1.5 and they are all there. But none show in the list in v1.6, no matter what filtering I use.

 
Jun 18, 2008
polle1 User

Thx for help and thx for a awesome script :)

 
Jun 18, 2008
dbKiller Script's author

@polle1
v1.6 is still under development and can be buggy, anyway now tribes should be ok for danish servers.

Import/export works like this:
- export: the textarea shows current data which you can copy and paste wherever you want, usually a txt file
- import: paste your data into the textarea, thus replacing old data, and click save button

You could comment on this script if you were logged in.