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

Travian: Village Center Numbers 5.1

- Show village center number<br> - Fast upgrade dorf1, dorf2<br> - Disable/enable show level<br> - Disable/enable fast upgrade


Original script http://userscripts.org/scripts/show/10524

If use this script disable original!!!

  • Fast upgrade dorf1
  • Fast upgrade dorf2
  • Disable/enable fast upgrade
  • Disable/enable show level
  • Add support window
  • Change css by diudi
  • Add background color green if building level = max
  • Change find coords
  • Show title and Id
  • Fast upgrade(popup show after 2s)
  • FireFox 3 support

Screenshots:

All dorf2 and fast upgrade


Disable/Enable fast upgrade (default enable)





Jun 19, 2008
Wormpie User

Very nice script!

 
Jun 16, 2008
MeXaon Script's author

I know :)

delete GM_registerMenuCommand
and emulate GM_addStyle

function  GM_addStyle(cssString) {
	var style = document.createElement('STYLE');
	style.type = 'text/css';
	style.innerHTML = cssString;
	document.getElementsByTagName('HEAD')[0].appendChild(style);
}

 
Jun 16, 2008
FDisk Scriptwright

do not works on Opera 9.5

 
Jun 7, 2008
BmW User

Yes it is fixed :P Thanks (=

 
Jun 7, 2008
MeXaon Script's author

Fixed WW

 
Jun 7, 2008
BmW User

Sended

 
Jun 6, 2008
MeXaon Script's author

BmW
Please send me source code page on svgmail@mail.ru

 
Jun 6, 2008
BmW User

1 Bug :) The buildings levels isnt showed as it should in WW village :) Screen:

http://img71.imageshack.us/img71/7168/worldwond...

 
May 24, 2008
Dian Sastro User

I've been successfully install graphic pack that including 19560.user.js (taken from this site) at my folder "D:\Travian".

I also successfully installed user.js as narkogrib explained in this thread.

But 19560.user.js still not running as I hope. Nothing changed inside my travian account.

Does anyone could explain what actually that I should to do next ? Should I change 19560.user.js and place to any other folder or sub-folder ?

Maybe another people have same problem with me. Hope someone could explain, how to install this script clearly, so the travian scripts from this site could work as well.

I use server http://s1.travian.com.

Thanks.

 
May 23, 2008
[TAJM]Kobra User

I like subsequent function: Dorf1 - Resource Fields and Dorf2 - Inner City - Buildings: Resource Field or Building Levels color coded (max'ed out that is green or not upgradeable something is colored background red/ )

 
May 22, 2008
MeXaon Script's author

Hmm... font size equal

2)Red background color - I don't add into this script.

 
May 22, 2008
MestreLion User

Mind a few suggestions?

- Can you change the level number display so it looks like your original script "Travian Village Center Numbers .1" ? I mean... bigger labels, "square" box... i istill use the original just because of this detail. Oriignal looks awesome

- Besides "Add background color green if building level = max", you could also do "Add background color RED if not enough resources to build next level", meaning its upgradable, but i cant afford it.

Great script, simply a must-have! :D

 
May 21, 2008
blackfox User

Not sure why but every time I select an option in Travian, I get kick out and have to log back in. So another word, I cannot do anything, why?. Do you need to have a special configuration with your firefox? Firefox 2.0.0.14

 
May 19, 2008
[TAJM]Kobra User

mega thx:)

 
May 17, 2008
bendeguz Scriptwright

This is a nice script. Especially the fast upgrade function. It would be nice if you could add this feature to the fields (dorf1) too. And maybe the village numbering could be optional. (Because QP Target already has that feature and if somebody wants both of them it is pretty ugly to have two numbers)

 
May 16, 2008
MeXaon Script's author

FireFox 3 support ;)

 
May 13, 2008
narkogrib User

This is a great script, but it doesn't work on Firefox 3, so I've tried to figure out what's going on. I'm not very proficient in Javascript, so I'm just posting my findings here.

The workings of globalStorage has changed for security reasons in Firefox 3. Here's some info:
http://groups.google.com/group/greasemonkey-use...
http://developer.mozilla.org/en/docs/DOM:Storag...

There probably is a way to fix this that I don't know of, but otherwise the if-loop containing globalStorage can be commented out or deleted, and "} else " deleted in line 32 at the beginning of the next loop to get around this problem, though this of course removes a feature in the script.

Doing this leads to the problem stated by Bith about areaElements[i].getAttribute in this comment: http://userscripts.org/scripts/show/19560#comme... .

I think it might be related to the childNodes in line 109. I tried searching the web for a similar problem and found this: http://bytes.com/forum/thread573381.html .

I hope this helps, if anyone wants to try and write a fix for Firefox 3 and post it here. :)

 
May 10, 2008
MeXaon Script's author

00quick00
http://userscripts.org/scripts/show/19560#comme...

 
May 9, 2008
00quick00 User

Can you please make this Firefox v3 compatible?

 
Mar 18, 2008
trentemuller User

test

 
Mar 18, 2008
trentemuller User

hi,

i read that the option f the script is, fast upgrade..
but when i up, it is still the same time i have to wait...
also i don't see a circle like in the screenshot...
what do i rong?

or is it just like the gold option that residenties/palace couldn't be fasten up?

grtz

 
Mar 17, 2008
Efka User

who could do a fix for that script, coz if u cant upgrade building the color of nuber still white... could some one make it to red if cant build it yet? please, thank u

 
Feb 25, 2008
7bit User

Lbalazs

If you want to use graphic pack with Firefox, you should just to configure it ;)

Check this:

The path has to begin with 'file://' like this: 'file://D:/Travian/t3_us_standard2/'
The local file links should be allowed in your config. To enable this setting just edit/create your 'user.js' file - add the following strings:

user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", http://s1.travian.com);
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

Of course 's1.travian.com' should be replaced by your server address.

For more in formation read: http://kb.mozillazine.org/Links_to_local_pages_...
http://kb.mozillazine.org/User.js

If you use NoScript firefox extension, you should tell it to allow local links - there is suitable setting for it.

 
Feb 13, 2008
MeXaon Script's author

I don't installing beta version

 
Feb 13, 2008
Karolis User

This script (as well as the original) does not work on Firefox 3. Is there any chance it will get upgraded?

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