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

Travian3 Beyond - all language

LANGUAGE (ae, ar, ba, bg, br, cl, cn, cz, de, dk, en, es, fi, fr, gr, hk, hr, hu, it, lt, mx, nl, no, pl, pt, ro, rs, ru, se, si, sk, tr, tw, ua, uk, us) - enjoy

ABOUT:
I`m not the author. I just collected all translation and take care about new translation.
Thanks for this script to Victor Garcia (aka Croc) - author. Original web site of Travian3 Beyond.
And Szabka who made update.

 Best add-on to this script
    Szabkas Travian Task Queue scrip TTQ_Szabka.

 How to install this srcipt
   1. Need have installed GreaseMonkey.
   2. Now you can install any script from userscript.org.

 How to UNINSTALL this srcipt
   Click here to watch flash presentation.

! WARNING !
If you install this script again don`t forget unistall or disabled the old one. Because this new one has name "Travian3 Beyond - all language" and the old one name is "Travian3 beyond". So, then you will have some things twice on a page. !
If you find any bug, in your language, pls let me know - kolumbus120@gmail.com - and I try fix it.

Here you can install the old version of the script

New translation CONVERT into HTML entity and send it to me on mail above. Look to english translation for this mesege "//prompt message doesn't allow HTML Entities" leave your translation in UTF-8 encoding in this case.
Use: Unicode (UTF-8) to HTML entity online converter or Firefox extension Unicode Converter/Input Tool
I`m missing this (ua, ...) translation.

If you want use updated script you need to reinstall it (click on "Install this script").

20. june 2008 - fixed Czech translation by Dvozdik
11. june 2008 - added Ukraine translation.
7. june 2008 - fixed table for how many villages you can conquer.
23. may 2008 - update by Szabka.
12. may 2008 - update Russian language by 7bit.
5. may 2008 - fix CP for speed servers by kustah.
5. may 2008 - fix map images by Vansoftcorp.
24. apr 2008 - fix the Build times on each resource field by Savant.
23. apr 2008 - add greece translation, updated graphic pack problem by jreedy88.
18. feb 2008 - fix when your crop is in minus, it`s show in red now.
4. feb 2008 - UPDATE by Szabka - before update save your bookmarks
.
.
.
8. dec 2007 - fix Denmark translation by used HTML entity.

 TB SETUP - Szabka explanation, how it works.
  Saved offers:
it contains the internal represantion the autobookmarked sells at the marketplace. Ti's a semi CSV each offer separated by $$ and the fields in offer separated by $ character the fields are:
offer amount$req amount$offer type$req type$max range$max range used$ally only
example: 500$500$4$1$3$1$0$$ means 500 crop for 500 lumber max range 3hours,max range checkbox set, ally checkbox not set

  Bookmarks:
the structure is the same used in Saved Offers you can easily rearrange your bookmarks by editing this field and save {with the green ball}

  Options:
beyond other variables stored in this key-> value pairs for example desp,3,loglevel,0 means desp = 3 and loglevel = 0. The option variables and their meanings:
desp: step size at map loglevel: the script can log into javascript and firebug console used for debugging only.
a2bdefault: attack radiobutton default override 2: reinforce, 4: Rogue attack, 3: normal attack market0, market1... market4: Market buy screen saves for each option.
showmapinfo: true/false show extended resource information on map, Storage support required!

  The Storage:
I'm playing travian from different places, at home, at parents,etc.
I need a solution to synchronize beyond settings between the browsers. The solution is 1 small program in the internet that can be used for remote store:
The current api is:
Every request must be http post method, parameters are:
gm_set equivalent: request cmd=set&namespace=<server_uid>[&pass=<password>]&key=<key>&value=<value>
response: ok
gm_get equivalent: request cmd=get&namespace=<server_uid>[&pass=<password>]&key=<key> response: <value>
the get command is not used now it replaced by the more efficient multiget command
request
cmd=multiget&namespace=<server_uid>[&pass=<password>]&key=<key>&key=<key>...
response: <value>&<value>...
now security reasont every namespace can be protected by password if this set, the server process the command only when it matched by the crypted version stored in server. the command to set/replace password is:
cmd=setpass&oldpass=<old>&newpass=<new>

The other function the storage provides is, that it can store and retrieve map information. The affected commands are:
request: cmd=mapset&pos=

&value=<for>
response: ok

request: cmd=mapget&pos={top-left d code of the map}
response: 49 value in csv for the entire 7*7 segment

The huge benefit using this, that the one map cell should be scenned only once in the game. Tha map data not playes specific and not protected by password. The storage scripts also can be downloadable from Szabka page and there is a freely usable installation too.

</new></old></value></value></key></key></password></server_uid></value></key></password></server_uid></value></key></password></server_uid>




Jul 19, 2008
zsozso User

Dear All!

I have a problem to use this travian 3 beyond script. I did all the method, that you wrote: download firefox3, greasemonkey, install script, etc. When I start travian (hungarian server), everythings fine, but if I just click on something, like building, or stat., etc, I get the login page. I try a lot of thing, but I haven't got any idea.
Can you help me? What was wrong with my install?

Thanks a lot!

 
Jul 16, 2008
Mosse User

Hmm! i have an idea for a new future! i would like to see the "troops in movement" on every page on tr like when im in my citi or chekking my IG PM so why dont you put the "troops in movement" under or over the "bookmarks"

just an idea! it would serainly help me alot. on that way you would be more up to date.. and not stuck on your "Field" page.. witch is kinda lame sometimes.. ^^

//Moss

 
Jul 10, 2008
SuperSpo User

Can i have a guide that eplainx how to setup a storage url??

I can't do it, help me!

 
Jul 5, 2008
TaTa User

Well dudes,

yesterday i got banned. I am not sure, if because of this. I am additionally using travian qp 3.6.0.
And also temporary allowed travian under-attack check.

Some hours after that i got banned. So I am not sure now, maybe because of under-attack check. dont know,

 
Jun 29, 2008
Kolumbus Script's author

@ detection script.
Hi guys, I have no idea if could be detected. I play travian with this script about 8 moths and never get anything with Multi Hunter.
4 days before I got e-mail with this message: "I am using this script on gr1 and I got this message: Notice. Please note that it is not allowed to use scripts that change gameplay or the user interface."
This message I never get. So... I have no idea if it`s detected or not. Maybe it`s just prescripted that the program could know that you useing some script or not but can`t say which script or what is doing. I got only one e-mail like this. So if someone have another experience pls let me know.

 
Jun 26, 2008
RgR29 User

Yep, dead on Kolumbus, the building level numbers. PAklana has a good question too, are there any measures in place to prevent detection? Randomized cookie maybe?

 
Jun 25, 2008
PAldana User

what is the likeliness of getting caught using this? i mean seems like an amazing script, but i dont want my account to get banned? has anyone been banned using this?

 
Jun 20, 2008
Kolumbus Script's author

@ RgR29
Do you mean that numbers that show the level of the building? if not, pls explain more about it.

 
Jun 20, 2008
anebg User

How do you set up storage?? Any examples?

 
Jun 18, 2008
RgR29 User

Great script! I would love to see the addition of the building level circles that this script provided added to yours:

http://userscripts.org/scripts/show/28129

 
Jun 10, 2008
eugene4 Scriptwright

Little request: show sum of all resources (& time to collect) needed for building (to use NPC)
Thanks

 
Jun 7, 2008
Kolumbus Script's author

Fixed table how many villages you can conquer in Palac or Residence when you click on culture points

 
May 31, 2008
klavutso User

If there was a possibility to tell the script which is my main village then in the non-main villages i would not have the possibility to upgrade the wood/clay/iron/crop from level 10. (and these icons could be removed from the upgradeable building list).

 
May 29, 2008
Falkon User

Do not show the points of culture needed to make the next village.
In the Palace and in the Residence

Sorry the English, im Portuguese

 
May 27, 2008
Tom.J User

A litte update to work on both old one and the new one. Thanks savant

http://pastecode.com/?show=fe513a2d

 
May 17, 2008
savant User

In the previous post, i had a little bug. updated version

http://pastecode.com/?show=f3842bba5

 
May 16, 2008
savant User

One of the features that broke after the server change is the cool table of all villages in the 7x7 map. as someone noted below all the map information is stored in a javascript variable. There is a way to access the information but it is considered unsafe.

Here is the updated preCalculate3 method. People who want to test it will need to replace the existing function.

http://pastecode.com/?show=f5a50dea8

Now when you click on the buttons, it no longer updates it. Since they have changed the ajax calls as well, we just make it think we can't do ajax.

Here is the updated version of desplazarMapa method.
http://pastecode.com/?show=f45bab641

Just update the two methods and you'll get the table back.

I'll let you guys test it, have fun.

savant

 
May 16, 2008
Kolumbus Script's author

Sorry guys.
Now I`m too busy.

 
May 11, 2008
Tiago_07 User

i suggest to put the mini resume in this script it would be very useful there was a script that had this enhancement but it doesn't works anymore...
i you can it would be agreat update ;)

 
May 11, 2008
Syphon User

I got a question:
I was messing around with the storage URL and storage password...

Now this script doesn't work (i'm using an other beyond script atm).

What should I do to get this one working?

 
May 8, 2008
belial User

Any way a get resources button could be added like what was in the "Travian3 Beyond Hacked" version of this? I'd put it in, but sadly i don't know how to :(

 
May 7, 2008
Trixiz User

I was wondering:

In a Danish version of this script we got a "new" feature on the NPC trade:
All units are listet and we can then click on, lets say Swordsman, and it will then list how many we could get of them and put in the numbers in the field under each resource.
The problem is that I cant get it to work by putting the section in to the new script(im got as much as no knowledge about script programming).

Thit code is this:

/**
* Add NPC-optimization
*/

var unitNames = new Array("Legion?r", "Pr?torianer", "Imperianer", "Equites Legati", "Equites Imperatoris", "Equites Caesaris", "Rambuk", "Brandkatapult", "Senator", "Bos?tter",
"K?llesvinger", "Spydk?mper", "?ksek?mper", "Spejder", "Paladin", "Teutonrytter", "Rambuk", "Katapult", "Stammef?rer", "Bos?tter",
"Falanks", "Sv?rdk?mper", "Spion", "Theutaterlyn", "Druide Rytter", "Haeduaner", "Rambuktr?", "Krigskatapult", "H?vding", "Bos?tter");

function getMin(numbers) {
if (numbers.length < 1) return;
var minSoFar = numbers[0];
for (var i = 1; i < numbers.length; i++) {
minSoFar = Math.min(numbers[i], minSoFar)
}
return minSoFar;
}

function createEventOptimizeForUnit(unitIndex) {
return function() {
var inputFields = find("//input[@class='fm']", XPList);
var unitCost = uc[unitIndex];

// Make int arrays out of the text arrays containing general data on current resources and capacity.
var t = new Array(parseInt(total[0]), parseInt(total[1]), parseInt(total[2]), parseInt(total[3]));
var a = new Array(parseInt(actual[0]), parseInt(actual[1]), parseInt(actual[2]), parseInt(actual[3]));

// Find the bottleneck capacity
var maxCapacityN = getMin(new Array(t[0]/unitCost[0], t[1]/unitCost[1], t[2]/unitCost[2], t[3]/unitCost[3]));

// Total resources in stock
var sumCurrentTotal = a[0] + a[1] + a[2] + a[3];

// Total resource cost of the unit
var sumUnitTotal = unitCost[0] + unitCost[1] + unitCost[2] + unitCost[3];

// The maximum number of units possible with no capacity restrictions
var maxCurrentN = sumCurrentTotal / sumUnitTotal;

// The maximum number of units that can be built is the minimum of the bottleneck capacity and the maximum possible N.
var N = parseInt(Math.min(maxCapacityN, maxCurrentN));

// Update the resource fields.
for (var i = 0; i < 4; i++) {
inputFields.snapshotItem(i).value = N*unitCost[i];
}

// Update the unit label with troop number
var nUnitLabel = document.getElementById("nTroopsField");
nUnitLabel.innerHTML = N + " " + unitNames[unitIndex - 1];
}
}

function addUnitOptimizationLinks() {
if (location.href.indexOf('&t=3') == -1) return;
// Add the links to optimize resources for a specific unit
var outerTBody = find("//table[@class='tbg']/tbody", XPFirst);

// Add the title
var titleRow = document.createElement("TR");
var titleTD = document.createElement("TD");
titleTD.innerHTML = "Maksimer antal mulige enheder:";
titleTD.setAttribute("colspan", 5);
titleTD.setAttribute("align", "center");
titleRow.appendChild(titleTD);
outerTBody.appendChild(titleRow);

// Add links
var raceTitles = new Array("Romere: ", "Germanere: ", "Gallere: ");
var nUnits = 10;
for (var i = 0; i < raceTitles.length; i++) {
var unitRow = document.createElement("TR");
var raceTitleTD = document.createElement("TD");
raceTitleTD.setAttribute("align", "left");
var unitTD = document.createElement("TD");
unitRow.appendChild(raceTitleTD);
unitRow.appendChild(unitTD);
outerTBody.appendChild(unitRow);

unitTD.setAttribute("colspan", 4);
var raceTitle = document.createTextNode(raceTitles[i]);
raceTitleTD.appendChild(raceTitle);

// Create table for troop icons
var troopIconTable = document.createElement("TABLE");
troopIconTable.setAttribute("width", "100%");
troopIconTable.style.tableLayout = "fixed";
unitTD.appendChild(troopIconTable);
var troopIconTBody = document.createElement("TBODY");
troopIconTable.appendChild(troopIconTBody)
var troopIconRow = document.createElement("TR");
troopIconTBody.appendChild(troopIconRow);
for (var j = i*nUnits + 1; j < (i+1)*nUnits +1; j++) {
var td = document.createElement("TD");
var anchor = document.createElement('A');
var imgUnitIcon = document.createElement('IMG');
imgUnitIcon.setAttribute("src", img("u/" + j + ".gif", false));
imgUnitIcon.setAttribute('alt', unitNames[j]);
anchor.appendChild(imgUnitIcon);
anchor.setAttribute("href", "javascript:void(0)");
anchor.addEventListener('click', createEventOptimizeForUnit(j), false);
anchor.setAttribute('onclick', "calculateRest()");
//unitTD.appendChild(anchor);
td.appendChild(anchor);
troopIconRow.appendChild(td);
}
}
var troopsBuiltRow = document.createElement("TR");
outerTBody.appendChild(troopsBuiltRow);

var titleTroopsBuiltTD = document.createElement("TD");
troopsBuiltRow.appendChild(titleTroopsBuiltTD);

var numberOfTroopsBuiltTD = document.createElement("TD");
numberOfTroopsBuiltTD.setAttribute("colspan", 4);
troopsBuiltRow.appendChild(numberOfTroopsBuiltTD);

titleTroopsBuiltTD.setAttribute("align", "left");
titleTroopsBuiltTD.innerHTML = "Antal: ";
numberOfTroopsBuiltTD.setAttribute("id", "nTroopsField");
numberOfTroopsBuiltTD.setAttribute("align", "left");
}

/**
* END NPC Optimization
*/

The name of the units is from a danish translation, so the names is in danish.

But is it something you can try to put in to the script or maybe make a feature like this. It save a LOT of time in the end because you dont have to calculate how many tropps you can make, by your self, but it can do it for you. :)

 
May 6, 2008
flvtoipod User

http://flvtoipod.com
http://m4v-converter.com

welcome Itunes and Ipod fans join my site

 
May 5, 2008
Kolumbus Script's author

@ Kustah
Sorry, my fault, it`s works.

 
May 5, 2008
Kolumbus Script's author

@ Kustah
Can you send me please your script or define more where to change the code, because you wrote new function, but where I should call it? I find function: function aldeas2pc(aldeas) and function pc2aldeas(puntos), But when I made your changes I don`t see anything changed.

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