Ikariam Library

Spy and Pillage Helper

Adds information about the total number of ships required to pillage a town, along with the maximum loot available taking into account of the towns warehouse level.

Spy and Pillage Helper

Version 1.04 (06-June-2009)
Feel free to improve my script and please let's me know.

Changes Log
1.04
- Update warehouse database.
1.03
- Multi-Warehouse supported. Use comma to seperates warehouse level.
** Thank to BagBag for a solution.

Next version.
- You told me an idea.

If u found a bug please report here.
If u love it, Please told your friend. ^_^

credits: Town Enhancer and Ikariam Inline Score

Download

Click the following links to download the script file:

Spy and Pillage Helper v1.03: snphelper.user.js
Total unique downloads: 26,070

Subscribe to the latest version

Click here to subscribe the latest script news. RSS Feed

Tool Comments

Comments and issues should be posted on the Forum Thread

Subject: Re: Spy and Pillage Helper

Hello,

I am from Germany. And the snphelper does not work properly, it ist calculating wrongly.

For Example:
Mission: Lagerbestand auskundschaften
Zielstadt: Turigery
Datum: 27.09.2009 0:51:07
Status: Mission erfolgreich ausgefhrt!
Bericht:
Rohstoff Anzahl
Baumaterial 378
Wein 1
Marmor 2.208
Kristallglas 6.059
Schwefel 14

Total Amount: 401

As you see, the total ammount is wrong. It is 378 + 1 + 2 + 6 + 14. You see the Problem?
snphelper is just calculating the thousends from 2.208 and 6.059 because in Germany the dot ist used for the thousends and the comma is used for decimals.

How can I fix this?

Greetings
Lutz

by, Lord Lutz at 2009-09-27 13:14:02

Subject: Re: Spy and Pillage Helper

If you mean how to install and use this script:

This is a Greasemonkey Script, to use it you must be using Firefox with the Greasemonkey Add-on Installed. (guide)

If you do have it greasemonkey installed, to install the script: goto here and click the download link.

the download will not (should not) start automatically, you must press the download link on this page to install the script. once you press the link (providing greasemonkey is installed and enabled) a box will appear asking you weather you want to install the script. press yes, and your done :)

If you mean how to operate the script after successfully installing it:

to use the functionality provided by this script you need to have some espionage reports of your enemy/targets warehouse. when you view this report, you should have some extra boxes at the bottom of the report like the screenshot.

by, BagBag at 2009-04-25 16:04:09

Subject: Re: Spy and Pillage Helper

I'm a newbie,i have searched all forum but can't find how to use this sript ,anyone help me the way to use this script.Thanks

by, doccocauxui at 2009-04-25 12:14:05

Subject: Re: Spy and Pillage Helper

awesome script, it just needs to support multiple warehouse. :D

by, Arab at 2009-04-08 11:44:56

Subject: Re: Spy and Pillage Helper

Ahh, yes, a comma separate list I think would be the best solution. It's rather simple, easy to follow and easy to parse.

So far as I am aware there is no limit to the amount of warehouses you can build now. I expect the players with a full town of them are slim, but you can never underestimate the strange things people will try.

by, immortalnights at 2009-03-30 12:43:48

Subject: Re: Spy and Pillage Helper

it wasnt directed at anyone really.

multiple inputs would be rather messy, but the number validation function could be modified/overidden to split a comma delimited list and then sum it up.

didnt realise you could have that many warehouses, getting the safe resource list would be rather hard.. level 300+

by, BagBag at 2009-03-30 11:12:54

Subject: Re: Spy and Pillage Helper

Is that directed towards me, or kabji?

For Kabjis tool to be able to allow for multiple warehouses, he'd need X (max 15) inputs for each warehouse. Of course thats not really a massive job, but so many inputs would look messy. Another way would be to calculate the warehouse for the town based directly of the spy'd town view, but that's more complex to code.

At the very least, it might be worth adding a multiplier - therefore allowing the user to select the level and how many the player has. If the user selected the average level, multiplied by the total, it wouldn't be far off the real number.

by, immortalnights at 2009-03-30 06:52:31

Subject: Re: Spy and Pillage Helper

i think the calculations pretty simple :?

Code: Select all
safeAmmount = safeDataByLevel(buildingA.level+buildingB.level);

this is only based on my one town with multiple warehouses, so it could just be a fluke. if not, im not sure what happens when you max the levels out on both.

by, BagBag at 2009-03-30 05:07:45

Subject: Re: Spy and Pillage Helper

Unfortunately windows calculator, or any calculator for that matter would not help those facing multiple warehouses.

Since a level 1 warehouse saves 260 building material based on the values in your script and two warehouses gives 420, what total would a user input?

Maybe you could say, if the value is over 31 - its the total saved. Therefore, if the user types 1000 you save 100 building material, and 500 luxury?

by, immortalnights at 2009-03-30 04:19:32

Subject: Re: Spy and Pillage Helper

If town have multiple warehouses u can use this--> Windows+R --> calc

LOL :lol:

This tool will not support this case.

by, kabji at 2009-03-30 00:17:10