Travian NPC helper

By gp Last update Feb 2, 2008 — Installed 104,328 times.


Script Summary: For Travian players. Shows total resource units needed for upgrading a building, regardless of their type. You'll know at a glance if you can use the NPC merchant. Also provides convenient link for NPC trading.

Version: 0.84

Details

In Travian, if you have gold you can reallocate your available resources using the NPC merchant. This means that the exact structure of your resources is sometimes less important than the total amount that you have and the amount you need for a certain upgrade.

This script shows:

  • the sum of resource units needed to extend a building, as well as whether you have a deficit or surplus (following the word Total)
  • a time estimate based on your hourly production, if you don't have enough resources (following the @ sign)
  • the amount of time that would be saved by using the NPC merchant (e.g.: -20h35m)
  • for troop count upgrades, the maximum number of troops that you can afford assuming you would use the NPC merchant
  • a direct link to the merchant page, when you have enough resources

In addition, when you click the NPC link the form will be automatically filled out with the requirements for the selected upgrade.

A note regarding troops upgrades

For troop upgrades in a building such as the Barracks or Stable, the script will take into account the number entered for each troop type. So initially the totals will be zero, because the number for each troop type is zero, but the total will change to reflect the costs as you enter a new number in the appropriate field.

Change log

0.84 / 2 Feb. 2008

  • Fixed a conflict with Travian Navigator++.

0.83 / 27 Jan. 2008

  • Bug fix: NPC link not being shown when having negative crop production, even if enough resources were available.

0.82 / 18 Jan. 2008

  • Minor code clean-up, no functional change.

0.81 / 18 Jan. 2008

  • The time savings estimate now takes into account zero or negative crop production.
  • Fixed a bug causing the NPC link to not appear sometimes when it should have.
  • Fixed an event handling issue that sometimes made the NPC link unresponsive.
  • Font size is slightly smaller, to accomodate bigger numbers and new info.

0.8 / 17 Jan. 2008

  • New feature: shows time saved if using NPC merchant.
  • NPC link only appears if upgrade link isn't already available.

0.74 / 7 Jan. 2008

  • One more fix for "max" in the Gallic Trapper.

0.73 / 6 Jan. 2008

  • The post-NPC back link didn't work properly in certain cases. Fixed.

0.72 / 5 Jan. 2008

  • Fixed bug in calculating "max" for Gallic traps.

0.71 / 4 Jan. 2008

  • Fixed bug affecting requirements total for Teutonic wall, possibly other buildings.

0.7 / 4 Jan. 2008

  • Support for the Gallic Trapper has been added.
  • The date in the estimate has a highlight if it's today.

0.61 / 3 Jan. 2008

  • Fixed bug on "max" links.

0.6 / 3 Jan. 2008

  • The "max" number shown for troops is a link, will put the number in the appropriate field when clicked.
  • Date & time estimate is shown for when resource availability will meet upgrade requirements.

0.5 / 2 Jan. 2008

  • Now works for troop count upgrades as well.
  • Return link to building is provided after making an NPC trade.
  • When using this script together with Travian QP Targets, NPC links could be triggered unintentionally by pressing the space bar. Fixed.

0.42 / 31 Dec. 2007

  • Fixed a bug affecting NPC form auto-filling on some servers.

0.41 / 31 Dec. 2007

  • NPC URL is now hard-coded.
  • Fixed problem affecting multi-village players, as well as players who use Plus on and off.

0.4 / 30 Dec. 2007

  • Works for other upgrades, such as those within the Academy, Armoury, or Blacksmith.
  • Design change: totals and link appear below resource summary.

Name change

  • Changed script name. Uninstall Travian resource total.

0.31 / 29 Dec. 2007

  • The deficit / surplus is now updated as available resources change.
  • Direct link to the NPC merchant page when you have enough resources for an upgrade.
  • NPC merchant form will be automatically filled out with the requirements for the given upgrade.

0.2 / 28 Dec. 2007

  • Now totals are being shown for all buildings when building on an empty spot.