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

Travian3 Beyond Hacked FR

- version 4.15 - LANGUAGE (fr,en,uk,us,au,pt,br,sk,pl,ru,ro,nl,hu,mx,es,ar,cl,ae,ua,jp,tr,si,cn,tw,hk,it,dk)

Projet TBH :
Team : mik french (fr), A_r_e_s (br), Booboo(hu)
Participating : greench, Bruin, and Thanks to all the translators

Note version :


---en-------------------------------------------------------------------

- version 4.15 : fix news fonction rapport and Send units. Fix option setup. Update lang cn,hu,fr.
- version 4.14 : Add news fonction rapport and Send units. fix for a only Town owners. lang dk added, lang ro update.
- version 4.13 : Custom bookmarks (tables) replaced to the top right corner of the page. Fix Table Means / Warehouse. Fix setup. Update lang cn,si,tr.
- version 4.12 : popups nature on PLUS map (13x13). Max option for market. Update lang hu,si,cn.
- version 4.11 : Update lang en,fr,pt,tr,it,cn. Market Resource and Waste Counter.Work on code.
- version 4.10 : Fix popup nature on map. Fix TSU.
- version 4.09 : Adding lang it. Work on code. Work on server speed.
- version 4.08 : Work on code. Update lang en,fr,cn,tr. Fix various.
- version 4.07 : Adding link. Update lang cn. Work on code.
- version 4.06 : Fix lien table map. Adding lang tw,hk.
- version 4.05 : Adding lang si,cn. Update lang tr. Fix view time (thx, greench).
- version 4.04 : Fix lang hu,ru for table.
- version 4.03 : Fix alignment meter resource (Thx, A_r_e_s). Fix the information table (map). Fix scan map.
- version 4.02 : fix double image and reducing code (Thx, A_r_e_s). Fix The Thb SetUp button, and the counters blocked (Thx, Bruin).
---fr-------------------------------------------------------------------
- version 4.01 : Fix bug raccourci lien avec travian plus.
- version 4.00 : Fix un reload du changement de page. Dernière décharge d'image.
- version 3.99 : Fix reload compteur.
- version 3.98 : Amélioration lisibilité setup. Ajout affichage directe des animaux sur la carte. Fix image salle des ventes.
- version 3.97 : fix le décompte du temps dans tableau.
- version 3.96 : fix image globe.
- version 3.95 : Possibilité de choisir le chargement des images entre serveur privé ou serveur travian. 3eme décharge d'image.
- version 3.94 : Allègement code. 2eme décharge d'image.
- version 3.93 : Allègement code. 1ere décharge d'image.
- version 3.92 : Fix image. Fix Marché. Modif info ressource manquante.
- version 3.90 : Modif tableau info ressource et batiment. Fix la fonction temps. Fix divers.
- version 3.89 : fix compteur. fix 2 avertissements.
- version 3.87 : Fix TSU
- version 3.86 : Fix lang
- version 3.85 : Fix TSU. update lang hu.
- version 3.84 : update lang ru. Ajout d'exclusion script.
- version 3.83 : update lang en. Divers correctifs.
- version 3.82 : update lang ua. Modif des liens dans tous les tableaux.
- version 3.81 : update lang en. Fix compteur.
- version 3.80 : Fix Rapport de bataille. Lien direct tableau ressource dorf1.
- version 3.79 : Fix aide.
- version 3.78 : Fix Kart. Fix pop-up tableau map. Modif Tableau dorf1 et dorf2. Allégement code. Lang tr.
- version 3.77 : Fix lang
- version 3.76 : Optimisation temps de chargement script (175ms +/-25).
- version 3.75 : Fix lang au (australie).
- version 3.74 : Modif Marque page Rapport + Ajout marque page sur "village map". Améliorer lien direct vers userscripts.
- version 3.73 : update lang hu,en.
- version 3.72 : Fix compteur. Upload hu. Upload Travian QP Targets en 3.4.0 : http://userscripts.org/scripts/show/26428
- version 3.71 : Reprise de la note de version.
- version 0.1 : Reset note de version.
- version 3.8 : Controle de mise à jour --> Ok
- version 3.7.0 : Lang ua,jp. Fonction contrôle mise à jour script en test.
- version 3.6.9 : Modif compteur dépot ressource. Fix tableau manoir et Ajustement de tous les tableaux. 4 fonctions paramétrables supplémentaires : (Attaque normale ou pillage ; Position compteur ressource ; Total troupe dans place de rassemblement ; Tableau dorf2). Fix trad mots isolés. Update hu,en. Optimisation temps de chargement script (225ms +/-25).
- version 3.6.8 : Fix N°batiment. Amélioration tableau map.
- version 3.6.7 : Update lang hu,en.
- version 3.6.6 : Fix bug trad unités. Marque page dans rapport amélioré.
- version 3.6.5 : Correctif lien d'ajout. Update hu. Traduction des unités devenu possible pour le multilang.
- version 3.6.4 : Lang ae.
- version 3.6.3 : Update lang ru.
- version 3.6.2 : Aide en photo des fonctions configurables. Update lang hu. Ajout Lang mx,es,ar,cl.
- version 3.6.1 : Amélioration et Suppression config trav+ pour tableaux. Allégement code script.
- version 3.6.0 : Fix Travian QP Targets 2.9.2 : http://userscripts.org/scripts/show/26428
- version 3.5.9 : Fix bug kart avec trav+. Modif affichage setup script. Correction divers ligne de code.
- version 3.5.8 : Fix kart. scan map auto. Trad lang compléter.
- version 3.5.7 : Restauration lien map (fixer bug affichage). Test2 pour map.
- version 3.5.6 : Modif en profondeur pour la map. En cour de test.
- version 3.5.5 : Lang hu. Modif tableau dorf1 (cliquez pour actualiser).
- version 3.5.4 : Lang nl.
- version 3.5.3 : Fix erreur manoir. :)
- version 3.5.2 : Tous les tableaux sont maintenant finis et fonctionnels.
- version 3.5.1 : Ajout marchants sur tableaux. Tableau dorf1 en test3.
- version 3.5.0 : Fix bug affichage.
- version 3.4.9 : Fix erreur code. Tableau dorf1 en test2.
- version 3.4.8 : Tableau dorf1 en test (possibilité de désactiver).
- version 3.4.6 : Allègement code, et fix erreur lien.
- version 3.4.5 : Ajout Lien update nouveau bâtiment.
- version 3.4.4 : Ajout couleur N° bâtiment max. Fix bug notepad, cp serveur speed3x, et trad lang.
- version 3.4.3 : Lang ru,ro. Compatibilité tableaux avec travian+.
- version 3.4.2 : Lang sk30%. Lang pl.
- version 3.4.0 : Tableau troupe finalisé.
- version 3.3.9 : Fix bug affichage bloc note + amélioration tableau troupe.
- version 3.3.8 : Fix bug pour serveur speed.
- version 3.3.7 : Amélioration des tableaux expérimentales. + ajout tableau manoir.
- version 3.3.5 : Modification du positionnement du bloc note.
- version 3.3.3 Tableau suplémentaire "pc, petite fete, grande fete". Attention : test Expérimentale.
- version 3.3.2 : Fonction paramétrable si vous avez travian +.
- version 3.3.1 : Tableau supplémentaire : "ressource".
- version 3.2.9 : Mise en place de 2 tableau supplémentaires : "minirésumé et troupes"
- version 3.2.8 : Support multilangue + Ebauche second tableau "dépôt"
- version 3.2.7 : Modification du résumé village et possibilité de le personnaliser. + Lang pt,br
- version 3.1.9 : Modif pour affichage info joueur et alliance (afficher par catégorie).
- version 3.1.3 : Lang en,uk,us

Installation : (fr)


-Pour ceux qui ont des problèmes d'affichage du setup. Désinstallez le script puis réinstallez.
-ATTENTION : CONFIGURER LE SCRIPT AVANT UTILISATION (mettre les 1 et 0)
-Script complémentaire : Travian QP Targets 2.9.2 : Maj 06/06/08
http://userscripts.org/scripts/show/26428

for lang international : (en)


-For those who have problems viewing setup. Uninstall and reinstall the script.
-ATTENTION: SET BEFORE THE SCRIPT FOR USE (save 1 and 0) **
-(screenEn v3.1.9) : http://img168.imageshack.us/my.php?image=player...
-V 3.5.2 :
It is highly probable that some tables have bugs display for languages other than french. thank you to me to see that I can correct.

Screenshots :


http://imgtrav.ifrance.com/

server private image


http://imgtrav.ifrance.com/img/

All version TBH


http://imgtrav.ifrance.com/version

Disclaimer


Using this script may be considered cheating and may be against the rules on your game server. Before using this script, please check the official policy of your game server regarding usage of external scripts and programs. I do not encourage the widespread use of this script.To my best knowledge, using Greasemonkey scripts including Travian Task Queue for playing Travian is not explicitly forbidden (read the Game rules). If the rules of your server ban usage of such scripts, you should not install Travian Task Queue on your computer.

License

Copyright 2007 Richard Laffers
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.




54 minutes ago
Melhior User

@7OH & Booboo
this function conflicts with QP Targets 3.6.0... so, maybe that is why?
in earlier versions of TBH Fr it worked if TBH was the lastest script in the script list. but now I can't determine what does it depend on - sometimes it works, sometimes doesn't even if TBH is the lastet in the list.

@7OH
anyway I recommend you to set QP Targets higher than TBH in the list.

 
2 hours ago
Booboo Scriptwright

@ 7OH
yes it is the script but why not does in the other russian servers...? :(
How many villages do you have on the other servers? (But now it should work with one villages too)

@ greench
What bug did you find?
In the code that you pasted i see where this forum engine replaced the < i, span, img > tags that is ok, but in the first $elem("table" ... the last comma is not needed becouse there is no more attribute for the TABLE tag. :)

 
3 hours ago
greench User

Hi,

Turkish lang.

	'SAVEREPORT': 'raporu kaydet',
	'ANONYMIZE': 'adsız',
	'LBA0':'Saldırı büyüklüğü',
	//'LBA1':'Eşdeğer kayıp',
	'LBA2':'Yaya askere karşı toplam savunma gücü',
	'LBA3':'Süvariye karşı toplam savunma gücü',
	'LBA4':'Genel istatistik',
	'LBA5':'Kayıplar farkı',
	'LBA6':'Tüketim',
	'LBA7':'Kh. tecrübesi',
	//'LBA8':'Kapasite',
	'LBA9':'Tahıl olarak eşdeğer kayıp',
	'LBA10':'Ordunun tahıl tüketimi',
	'LBA11':'Kahraman yok',
	'LBA12':'Kh.',
	'LBA13':'Hammadde taşıma miktarı',
	'LBA14':'En yüksek kapasite',
	'LBA15':'Saldıran',
	'LBA16':'Savunan'

a small bug fix for table css :))

	function genreporta2b()
	{
		var trep = $elem("table", "", {
			'cellpadding': 2,
			'cellspacing': 1,
			'class': 'tbg',
		});
		var row1 = $elem("tr", "", {"class": "cbg1"}, {}, trep);
		var row2 = $elem("tr", "", {}, {}, trep);
		var row3 = $elem("tr", "", {}, {}, trep);
		
		var cell = $elem("td", "", {"colspan": 5}, {}, row1);
		$elem("b", T('LBA4'), {"class": "c1 b"}, {}, cell);
		
		var cell1=$elem("td", "", {'colspan': 3}, {'width': '60%'}, row2);
		$elem("font", "" + T('LBA15') + "", {"class": "f8"}, {}, cell1);
		var cell3=$elem("td", "", {}, {'width': '20%'}, row2);
		$elem("font", "" + T('LBA6') + "", {"class": "f8"}, {}, cell3);
		var cell5=$elem("td", "", {}, {'width': '20%'}, row2);
		$elem("font", "" + T('CAPA') + "", {"class": "f8"}, {}, cell5);
		
		cell1 = $elem("td", '' + ats[0] + '*', {"align": "right"}, {}, row3);
		var cell2 = $elem("td", '' + ats[1] + '*', {"align": "right"}, {}, row3);
		cell3 = $elem("td", '' + ats[2] + '*', {"align": "right"}, {}, row3);
		var cell4 = $elem("td", '' + ats[4] + '*', {"align": "right"}, {}, row3);
		cell5 = $elem("td", '' + ats[3] + '*', {"align": "right", "rowspan": 2}, {}, row3);
		
		var t = find('//div[@id="lmid2"]/form/table[@class="f10"]', XPList);
		t.snapshotItem(0).parentNode.insertBefore(trep, t.snapshotItem(0));
		t.snapshotItem(0).parentNode.insertBefore($elem('p'), t.snapshotItem(0));
	}

 
6 hours ago
Force Rock WONG User
Hi,
Battle analyse works in 4.15, and please update "cn", thank you ^^
	'LBA5':'双方得失',
	'LBA7':'英雄经验',
	'LBA9':'总得失量',
	'LBA11':'无英雄',
	'LBA12':'英雄',
	'LBA13':'抢走资源总量',
	'LBA16':'防御'
 
6 hours ago
7OH User

Hi guys !
In a speed ukrainian server on a map (without plus) i can see popup with distances to destination from all my villages.
Is it your script do ?
if yes - why it don't popup on ru3 etc. ?

 
24 hours ago
blackhawknl User

Hi all
I'm dutch so sorry for any typo's
can there be a culture point counter be made. in the first page on de left, under the version end cheak version

with contains the culture point needen to conquer or make a new village

 
Jul 23, 2008
sebastian6 User

@70H
yes... like napkin tells you:
if I filter resources and I get a little results it show me only one page with records that without script it shows in fourth page...
I don't know if it changes searching algorithm with different servers....

 
Jul 23, 2008
napkin User

@7OH

It also takes results from many pages and puts them all on the first one.. If you do a search, watch the list.. It will keep finding more sales until it gets to about the usual size..

Market usually keeps a list of 25 available sales per "buy" page.. When you do a sort, the function will try to maintain that 25 list but only of say "wheat" searches or "iron".. Whatever you choose..

 
Jul 23, 2008
7OH User

@Ares
it's JUST REMEMBER filter - not more.
if i press filter look for wood and press next page - it show me on next page filter look for wood too

 
Jul 22, 2008
napkin User

@A_r_e_s

Welcome back buddy!

That addition to the marketplace would be wonderful! If you need a visual explanation of what it does let me know :)

 
Jul 22, 2008
sebastian6 User

@A_r_e_s
Yes...
Selecting an option to sell or to buy (and ratio) it finds all occurrences on market pages without look next ones
Here: http://userscripts.org/scripts/source/28129.use... the function seems to be more performant ...

 
Jul 22, 2008
A_r_e_s User

@sebastian6 and @7OH

You mean that load all market pages stuff ?? To appply the filters to all the pages of the market ??

Or there is something more ??

A_r_e_s

 
Jul 22, 2008
7OH User

@sebastian6
you're right - it just remembered your choise at next time, but it is pretty good

 
Jul 22, 2008
mik french Script's author

@ A_r_e_s :
Happy to see you again. :)

@ 7OH :
For battle analyse, it is a test.

 
Jul 22, 2008
sebastian6 User

Could you take a look to this script?
http://userscripts.org/scripts/show/15943

I think its filter resources in marketplace the best of all scripts...

Let me know what you think about it...

 
Jul 22, 2008
A_r_e_s User

Well.. i recently found out there is a project to run greasemonkey scripts on IE... (www.gm4ie.com) and from time to time ill try to make our script compatible with IE...

A_r_e_s

 
Jul 22, 2008
A_r_e_s User

@All

Sorry for disappearing but i had problems with my PC...

Now Im back to work!! ^^

A_r_e_s

 
Jul 21, 2008
Force Rock WONG User
Hi,
I tried to translate the new strings into "cn":
The strings I haven't found and I think what they should be in "cn" are marked with "//test".
	'SAVEREPORT': '保存报告',
	'ANONYMIZE': '匿名',
	'LBA0':'总攻击力',
	//'LBA1':'Equivalent of losses',
	'LBA2':'对步兵总防御力',
	'LBA3':'对骑兵总防御力',
	'LBA4':'总体状况',
	'LBA5':'损失的区别',	//test
	'LBA6':'粮食消耗',
	'LBA7':'英雄经验',	//test
	//'LBA8':'Capacity',
	'LBA9':'Equivalent lost in grain',
	'LBA10':'军队的粮食消耗',
	'LBA11':'The hero was not',
	'LBA12':'英雄',	//test
	'LBA13':'Quantity of the carried away raw material',
	'LBA14':'最大生存运载量',
	'LBA15':'攻击',
	'LBA16':'防御'	//test
 
Jul 20, 2008
7OH User

seams it's not working properly:
(i have battle analyse also - it work - your not)
Общая статистика
Нападающие Потребление Вместимость
130* [Cуммарная величина атаки] 70* [Суммарная величина защиты от пехоты] 40* [Суммарная величина защиты от кавалерии] 2* [номинальное потребление зерна армией] 90* [Максимальная вместимость выживших]

The general statistics
Attacking Consumption Вместимость
0* [Total size of attack] 0* [Total size of protection against infantry] 0* [Total size of protection against a cavalry] 0* [Nominal consumption of grain by army] 0* [The maximal capacity survived]
---------------
if i've turn batle analyse off - your work too, but look very bad - without table borders and so.
maybe turn off this feature while it's not fully emulate batle analyse ?

 
Jul 20, 2008
BmW User

krneki idi spat :D

 
Jul 20, 2008
krneki User

script is still not working properly with QP targets running simultaneously

 
Jul 19, 2008
BmW User

In case you guys didnt noticed yet, someone uploaded a script, TravianFarBeyond -> http://userscripts.org/scripts/show/30238 , there are many good things in the script, that you could add to this one too, for example dorf3 things, especially Troops.

 
Jul 19, 2008
napkin User

@Booboo

You.are.awesome!

 
Jul 19, 2008
Booboo Scriptwright

@ napkin
Yes i know, because of it's not finished yet.
...
...
Now it is possible to live with one town. ;)

 
Jul 18, 2008
napkin User

@Booboo

Changeset [113] broke code somewhere.. Script does nothing..

Please take a look ;)

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