World-War Helper

By Oliver Jensen Last update Jul 30, 2011 — Installed 16,339 times.

Script Summary: Adds several features to the game, automating a lot of the drudgery. It is compatible with my World-War Fixer script, and I would recommend using both at the same time.



If you find this script useful, please consider donating. Every dollar helps the starving programmer :)

After you install this script, you must edit it and change your country number for the autokill sanctions feature to work. See the source for details



UPDATED July 29, 2011:

Now compatible with Firefox 4 and 5

UPDATED Oct 29 2010:

Autohealing added! Hope you like it :)

Note that an old relatively nonworking version of this script was stolen and is available here: http://userscripts.org/scripts/show/64665. If you have that version installed, you should uninstall it and install this one. This script adds 6 features:

Autobanking

This feature automatically deposits all money you earn into your vault within 30 seconds of earning it. This was the first feature developed, the idea being you'd enable it before you go to sleep at night. There are, however, better things to do with your money, such as:

Autobuild Income

This feature is only in effect when you are on the buildings page. It automatically selects the most efficient income-generating building for you to build, and builds it. This repeats until you run out of funds. This is probably the most useful feature to enable and use before you go to sleep at night.

Autobuild Defensive

Same as Autobuild Income except for defensive buildings. The options are separated so that you can decide for yourself what ratio you want.

Autoheal when health is below __ and verify every __ minutes

This will automatically heal you if it detects that your health is below the threshold you set. Note that in order for this to work, you must have enough funds in your vault. After healing you, it returns you to the page you were on (so you can continue auto-sanc'ing or whatever). You can also define a number of minutes (0 to disable) to refresh the page, just to check on your health.

Autokill sanctions below level __ when ammo is at least __

Choose a level (I find my own level -20 is a very safe bet) and navigate to the sanction page. It will continually refresh and attack anyone below the level you select. If you win a battle but have not killed the opponent, the same opponent is automatically re-attacked. Note that when you run out of ammo, the script will not stop, so keep an eye on the progress and just hit the escape key when you run out and want it to stop. In a future version I may have it wait until you receive ammo again, but for the moment it doesn't do that. You can also set a minimum amount of ammo before the script starts attacking again. This is useful because it's hard to get a kill with only one ammo.

Autosanction player __ times

Enter a number, and navigate to another player's sanction page. It will automatically go through the loop of sanctioning the player that many times. This can take a little while if the player does not get killed instantly. If you receive the error that the player is already on the sanctions list, just wait 3 seconds and the script will try again, until it succeeds. Note that there is a daily maximum of 25 sanctions to a particular player. If you hit the maximum the script will automatically stop trying.