Script Summary: This lets you reposition your buildings on the village (dorf2.php) page.
Version: 1.6.1
License: GPL 3 or any later version
Description
Have you ever found that your buildings in your villages are no longer optimally organized? Do you get an itching feeling when your newly chiefed village has a completely different layout from all your other villages? Are you ever tempted to tear down and rebuild your entire village just to get it looking right?Ya, me too.
Operation of this script is very simple. Navigate to your village center, click on the picture of a moving truck in the lower left, and follow the prompts. Clicking a second time takes you out of "move-mode", but leaves the buildings where you moved them. Look in the Greasemonkey menu (right-click on the monkey -> User Script Commands) to reset building positions. Enjoy! :-P
Screenshots

Troubleshooting
If you are having problems with this script, there are several possible reasons.- Are your Firefox and Greasemonkey both up-to-date? This script has been known to fail on FF 2, and on older versions of Greasemonkey. Update Firefox and Greasemonkey here.
- Is the moving truck failing to appear on only some villages? Your data has likely become corrupted (somehow). Try resetting the building positions for that village, or if that fails for every village (via Tools -> Greasemonkey -> User Script Commands).
- Have you tried this, and the script still doesn't work? Please make a comment, mentioning how the script is failing (ie, does the moving truck even appear? does anything move?), and if possible with a list of any/all errors from the error console (press ctrl+shift+j, Clear, rerun the script). I will take a look and try to fix it when I get the time.
Releases
- v1.6.0 - March 14, 2010
This adds a persistent move mode, in that if you are moving multiple buildings you no longer have to click on the truck for every building swap. Instead, just click it once to start moving buildings, and once again to stop.- v1.6.1 - March 23, 2010
The script no longer reloads the page every time you move a building, making it much easier to de-clutter your villages.
Also cleaned up the index saving algorithm, so that buildings that have returned to their home position are removed from the mapping. This cuts accumulated clutter and should make it load faster (on average).
- v1.6.1 - March 23, 2010
- v1.5.0 - July 17, 2009
The script now captures whether building levels are being shown (T3.5 only), and makes the variable survive the cookies being cleared (because if you're paranoid like me, you set firefox to clear your cookies on restart).- v1.5.1 - July 23, 2009
This fixes a bug in extracting the user ID caused by Travian changing an element id name.
- v1.5.1 - July 23, 2009
- v1.4.0 - May 21, 2009
This adds user script commands to reset the positions of buildings for each village individually, or to reset them all. Access by going to tools -> Greasemonkey -> User Script Commands.- v1.4.1 - June 15, 2009
This redraws and positions the moving truck, so it now appears to be driving into the village. :P - v1.4.2 - June 16, 2009
This fixes the issue with the script breaking on servers that don't display building levels. - v1.4.3 - June 16, 2009
This fixes some more issues with different server problems. Gah, stupid Travian! - v1.4.4 - June 17, 2009
This should fix the village id problem that was being encountered on certain servers.
- v1.4.1 - June 15, 2009
- v1.3.0 - May 19, 2009
This adds the 'restore to default positions' feature, accessed by clicking a second time on the moving truck.
- v1.3.1 - May 19, 2009
This updates the title of the moving truck appropriately
- v1.3.1 - May 19, 2009
- v1.2.0 - May 10, 2009
This adds support for the building level numbers being displayed. - v1.1.0 - May 7, 2009
This fixes the compatibility problems with the new Travian interface. - v1.0.0 - May 3, 2009
This fixes all known bugs. Single-village accounts now supported (many props to Booboo), and attempting to move rally point/walls no longer causes the script to crash. Script no longer in beta. - v0.9.0 - April 16, 2009
First beta released.- v0.9.1 - April 18, 2009
This fixed a small bug in getting the village did. - v0.9.2 - April 20, 2009
Replaces the alerts with floating divs with the same message, which disappear after a short time. - v0.9.3 - April 25, 2009
This fixes the bug that prevented some buildings from switching. Also simplifies the code.
- v0.9.1 - April 18, 2009



