Ikariam Favorite Targets

By holyschmidt Last update Oct 14, 2009 — Installed 26,660 times.

Suggestions

in
Subscribe to Suggestions 24 posts, 4 voices



ermns User
FirefoxX11

Hello :-)

this is an excellent idea, and thus a very usefull program.
I have been using the old Favorite Targets, and I see that you have added the buttons for pillage, spy, etc... nice touch !!

I have the same problem I had with the previous one... when I hover the mouse over the number of times I have attacked, it shows me the time but it does not show me the resources I have looted.

One suggestion : What would be really cool and useful, would be to show me the town that I have attacked from. Or even better, if it could show me the town that is closest to the "favorite target". That would be really awesome!!

I have a lot of favorite targets... so I can't remember which is the best town to attack from. So I have to check my map, and find the closest. How do you handle that? apart from memory, which I seriously lack.. both short-term and long-term.

Thank you for picking up the project!!
Keep up the great work!!

 
ermns User
FirefoxX11

OK.. since I started with suggestions... let me mention a couple of other things in my mind..

A nice addition would be to have Unfavorite targets. There are a lot of inactive players who have set production in their islands to zero.
So although they are inactive I don't want to attack them.
But I can't remember every time who is who... I do that with an excel file..
but it would be really nice if I could keep that info inside the game.

Also what I would really like is to know whether the last attack came back full or not.
I sent at the same time multiple attacks and wait till they come back.
Sometimes I am in front of the computer and I can check whether the last attack came back full or not. But if I come back after my attack has returned home, I have to way of checking if they came back full or not.
Well, the only way is to remember how many ships I've sent and check with the amount of materials that came back home.
but remembering the amount of ships.. is close to impossible.
But if I have an indication that the last attack came back full I would know where to sent a new attack and where not to...

 
ermns User
FirefoxX11

What would be the coolest is when I click on the pillage button of the city that is a favorite target to set the attacking city to the city that is closest to the city that I want to attack. There is a case where there might be more than one cities that are closest to the "favorite target"... in this case I would have to choose from a menu... or drop down..

 
holyschmidt Script's Author
FirefoxWindows

Thanks for your interest ermns. I am planning to implement some of the suggestions you have mentioned here. The last one (changing city automatically to the closest when pillaging/etc) I probably won't do for a couple reasons. The biggest one, is that I believe it might go against the rules of the game, making it too "automated" for approval. I have this script approved on .org servers (the one I play on), and don't want to risk it getting un-approved.

I'm always interested in improvements that can be made, so please, keep those up!

 
ermns User
FirefoxX11

No problem with that. As long as we will be able to see which is the city that is closest to the "favorite target" we can change the city from the pull down menu.

I thought of a way you can implement the "non favorite target" list. It doesn't have to be a seperate list. You can add another button that will strike out the name of the "favorite target".
In this way I will know that I have "checked" this favorite target, but I have come to the conclusion that it is not a worthy target. So in the future when I come across this city, I will know that I have checked it, and don't need to send troops again to see if that city produces anything.

Another nice touch, would be to have a kind of warning, if I go to that city NOT through favorite targets. On Island view when I click on the target city, there could be a button down left that would say, NOT favorite.

BTW... in this version you have added another button on Island view, where we can add a city in our favorite targets. That was an EXCELLENT touch.. and as far as I remember the previous developer could not figure out a way...

Please keep up the good work!!

 
ermns User
FirefoxX11

One bug report...

some times when I click on a battle report I get the following message : Timer enddate not a value. Variable is: NaN

and the battle report does not show on the list of battles on the favorite targets window.

 
holyschmidt Script's Author
FirefoxWindows

Try updating to the latest now. I believe I have found and fixed the issue.

 
ermns User
FirefoxX11

Nope, didn't work.. But it behaved differently.. Instead of producing the error message two times... it produced it five times... so you are probably on to something...

 
ermns User
FirefoxX11

Remove favorite button?! Was that there before, or is it a new addition?!! NICE !!!

 
ermns User
FirefoxX11

I can see the resources stolen !!! I think it's only on the new raids ... but I can see the resources !!!

 
holyschmidt Script's Author
FirefoxWindows

Does this only happen when you click on a CR report?

Also, can you type "about:config" in your browser, and filter the results down by entering "ikTargetData" in the box below the address bar. Let me know what is displayed.

 
ermns User
FirefoxX11

yeap it happens only when I click on a CR report.
I just updated to the new version. And then I did what you told me to do. Below you can find the results.
It happened again when I clicked the results.

These are the results :

greasemonkey.scriptvals./Ikariam Favorite Targets.ikTargetData;4::47181,Σβαροφkι;Sea_47181_4991424_1247412174_4,720_0_0_5,659_0-Sea_47181_4991828_1247416785_331_0_0_395_0::139054,salonika;Sea_139054_4991704_1247415349_0_0_0_0_0-Sea_139054_4991724_1247416863_0_0_0_0_0::57550,۞ DIAMOND ۞;Sea_57550_4991419_1247412150_4,795_0_0_5,584_0-Sea_57550_4991820_1247416756_2,477_0_0_2,885_0::8356,۞ STONE II ۞;Sea_8356_4988642_1247384922_2,222_0_3,157_0_0-Sea_8356_4990147_1247399312_2,079_0_2,954_0_0::5612,۞ STONE I ۞;Sea_5612_4988650_1247384967_0_0_5,380_0_0-Sea_5612_4990151_1247399347_0_0_732_0_0::2203,۞ SPARTA ۞;Sea_2203_4992024_1247419260_3,439_0_0_0_2,798::94439,DoxaDramas;Sea_94439_4940681_1247640952_3,588_1,411_0_0_0-Sea_94439_4988158_1247380064_430_1,204_0_0_0::21507,ΜΑΓΙΚΟ ΒΟΥΝΟ;Sea_21507_4988400_1247382660_4,350_1,649_0_0_0-Sea_21507_4993806_1247439642_1,831_693_0_0_0::11178,Κρυσταλλο;Sea_11178_4991413_1247415726_0_0_0_0_0::70335,Vidavi;Sea_70335_4940686_1247640981_0_1,462_0_0_0-Sea_70335_4939362_1247614385_0_106_0_0_0-Sea_70335_4937967_1247599562_0_5,000_0_0_0-Sea_70335_4988162_1247380080_0_629_0_0_0::92315,Μπαλαλαικα ;Sea_92315_4988230_1247380767_339_0_0_0_0::54712,ΕΡΕΒΟΣ;Sea_54712_4988220_1247380664_278_0_372_0_0::105091,rafapolis;::12811,EVO2_Shattrath;Sea_12811_4951189_1247751218_1,011_563_0_0_0-Sea_12811_4943595_1247668397_3,166_1,833_0_0_0-Sea_12811_4940701_1247641159_2,210_1,289_0_0_0-Sea_12811_4988468_1247383417_475_247_0_0_0::105037,Minas Morgul;::5394,ΙΛΙ Danakos ;::94644,Τραλαλα;::125597,κιτρινουπολη;::32459,wanes hood;::141239,Wordwide;::83105,Polis;::90916,Sunday;::93757,NorthPole;::90644,Pana8a;Sea_90644_4988190_1247382810_0_0_0_0_0::21828,EVO2_SFAKIA;Sea_21828_4988226_1247380699_2,526_0_2,865_0_0-Sea_21828_4988377_1247382033_3,995_0_4,529_0_0::1055,sirakouses;Sea_1055_4988228_1247380731_0_2,880_0_0_0-Sea_1055_4988413_1247382907_0_6,889_0_0_0::137272,thrylos;Sea_137272_4988799_1247396439_0_0_0_0_0-Sea_137272_4990063_1247398500_1,312_0_0_0_1,486::18123,Θειο;Sea_18123_4992108_1247420154_0_0_0_0_0-Sea_18123_4992943_1247430207_59_0_0_0_72::99647,Κρασι ΙΙ;::6831,ΥΠΟΥΡΓΕΙΟ;

greasemonkey.scriptvals.userscripts.org/Ikariam Favorite Targets.gr.s3.ikTargetData;4::21507,ΜΑΓΙΚΟ ΒΟΥΝΟ;Sea_21507_5009900_1247634208_1,803_666_0_0_0-Sea_21507_5014949_1247684328_3,198_1,246_0_0_0::99647,Κρασι ΙΙ;Sea_99647_5009898_1247634184_0_1,644_0_0_0-Sea_99647_5014947_1247684307_0_2,747_0_0_0::6831,ΥΠΟΥΡΓΕΙΟ;Sea_6831_5009902_1247634230_0_1,337_0_0_0-Sea_6831_5014953_1247684349_0_2,256_0_0_0::12811,EVO2_Shattrath;Sea_12811_5009874_1247633855_2,966_1,753_0_0_0-Land_12811_5014956_1247684397_1,720_998_0_0_0::105037,Minas Morgul;::2203,۞ SPARTA ۞;::57550,۞ DIAMOND ۞;::47181,Σβαροφkι;::5612,۞ STONE I ۞;Land_5612_5015410_1247688323_0_0_3,160_0_0::8356,۞ STONE II ۞;Land_8356_5015415_1247688353_449_0_637_0_0::11178,Κρυσταλλο;::137272,thrylos;::1055,sirakouses;::21828,EVO2_SFAKIA;::92315,Μπαλαλαικα;::54712,ΕΡΕΒΟΣ;::93757,NorthPole;::94439,DoxaDramas;::70335,Vidavi;::90916,Sunday;::123809,KERKYRA;::141239,Wordwide;::83105,Polis;::32459,wanes hood;::90250,NIKAIA II;::87753,NIKAIA;::35073,oooooo paokara;::93773,drapion town;::75121,Magnhsia;::125597,κιτρινουπολη;::105091,rafapolis;::5394,ΙΛΙ Danakos;::94644,Τραλαλα;::90589,ΤΡΙΑ;::48064,iTDept Earth;::5973,Καλλιμάρμαρο;Sea_5973_5010138_1247637025_78_0_176_0_0::54542,petra2;::137923,Polis;::62641,EVO2_Dark Moon;::18694,IΛI Tempesis iv;::412,Preveza city;::6901,ΜΑΡΜΑΡΟΥΠΟΛΗ;::69715,araliki;::118218,bad town2;::97573,A v o l a SR;::51112,Μαρμαρι;::7434,ΩΡΑΙΟΚΑΣΤΡΟ;::1178,ΣΤΑΥΡΟΥΠΟΛΗ;::6063,ΛΙΝΔΟΣ;::4904,Μυστήριο;::4905,undercity;::9334,undertown;::72237,katw toumpa;::114430,Γκρι ;::24797,Theologos ;::2245,Ιωαννινα;Sea_2245_5009905_1247634263_0_0_0_0_0-Sea_2245_5011148_1247655831_0_0_0_0_0-Sea_2245_5012415_1247659485_32,392_19,107_0_0_0-Sea_2245_5012826_1247663096_32,401_19,098_0_0_0-Sea_2245_5014555_1247680144_0_0_0_0_0-Sea_2245_5013386_1247667975_31,832_18,725_0_0_0::89828,NIKAIA I;Land_89828_5015418_1247688391_754_0_693_0_0::111081,new-babel;::87127,iTDept Cronos;

 
ermns User
FirefoxX11

I did the following : I disabled ALL scripts and went through the CR. It worked for a couple of CR reports.
But then it produced the same error messages. So it is not conflicting with other scripts...

edit : It did not do it with the NEWLY generated CR though. It worked ok with them. However it still does it with the old CR...
hm.. could it be that the "data" of the old CR has been corrupted because of another script?
I am thinking of triumphal arch...

edit2 : Triumphal arch was not guilty. As a matter of fact can't find who's guilty. Right now Favorite Targets works great..
so far... with NEW CR. I have enabled most of the scripts and it works great.
The only think different is that I have put Favorite Targets on the very top of my list of scripts.
Maybe that was the answer?

edit3 : Problem appeared again :( I did 3 attacks on a city. The first CR generated the error. The second and third went just great.. go figure !!

 
holyschmidt Script's Author
FirefoxWindows

Hm.
Can you take a screenshot of each of the 3 reports you listed in "edit3" and upload them to imageshack so I can take a look at them?

EDIT:
I have been able to duplicate the bug now on my machine, and will hopefully have a fix soon.

 
ermns User
FirefoxX11

Wow !! That's great news... Out of curiosity.. what was the problem?

 
ermns User
FirefoxX11

One more suggestion.
I believe that another way of sorting is a must for the serious favorite targets user.
One that I would suggest is to be able to sort according to distance from a certain town.
Eg. I would like to pick one of my towns, and then have all the Favorite Targets (FT) sorted according to distance.
First I would have the FT that are on the same island, then the ones that are 20min away and so on...
But I would like to STILL be able to see, maybe when I hover my mouse over a FT? which is the town that is closest to the FT.

 
holyschmidt Script's Author
FirefoxWindows

I believe I have fixed the problem. Battle times ending on the 0th
hour (12:00AM) were being parsed incorrectly, resulting in a bad date.

Currently, I do not plan on implementing any features which calculate the
travel time from one city to another. This information is not available
in the battle report (X & Y coordinates of the town) and can thus only be
read on the island view. Perhaps at some point this could be a possible
feature, but probably not anytime soon.

 
ermns User
FirefoxX11

Thank you for this version :-)

I can't read what you say after : This information is not available......... anytime soon...

btw.. There are formulas on the internet that you can calculate the distance from town to town.. I use one of them on my excel file...
But I am pretty sure you knew that...

 
holyschmidt Script's Author
FirefoxWindows

I know the formulas.
What I meant to say, is that I only save data from the combat view itself, which
does not contain island information, like X and Y coordinates. If I wanted to
put in distance, I would have to get that info from the island view of the town.

 
ermns User
FirefoxX11

Still produces the error :(
This is the date and time for one of the battles it didn't work : (16.07.2009 22:40:00)

worked fine with other ones that ended in different than 00...
Maybe this didn't work because it had 3 0's?

 
ermns User
FirefoxX11

I understand what you say...
Would that be a problem? We would have to do that only once and it's done... Why not?

 
holyschmidt Script's Author
FirefoxWindows

I hope this is the last time.
Version 1.0.6 Update and Install.

 
siskin User
FirefoxWindows

hi, nice script i just got it and it seems really usefull, however, it would be nice to give the posibility to have the favorite targets window in all views not only military, or even better, to allow each user to chose on what pages to show the favorite targets window.

Keep up the good work ;)

 
LGO User
FirefoxWindows

About the two suggestions that are mentioned above. These are possible work-arounds:

1) Travel distances can be seen with a different approved script if you navigate to the "island" view: http://board.ikariam.com/index.php?page=Thread&...

2) Unfavorite targets: I simply add one of my own tows as a favourite and place all "unfavourite" above that one on the list. Works for me since I can easily recognize my own town names...

Lars

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel