Ikariam Aide-Memoire (Generals Score)

By MT0 Last update Jan 17, 2011 — Installed 211,904 times.

bug?

in
Subscribe to bug? 20 posts, 8 voices



fybz User

Is it me or is the general score + button in the alliance view broken? I only have the score and the button for the first person in my alliance. It's not displayed for the other alliance members. Tested on ikariam.nl v0.3.1.

 
MT0 Script's Author

Can you give me more information:

  1. Are you the second person being displayed in the alliance list? If not - does the name of the second person on the list include any non-typical characters (/\?+^$ etc.)
  2. If you go to "Tools" > "Error Console" are there any new errors generated when you go to that page?
  3. Have you gone to the highscore page and clicked through all the pages to load the scores (should not be necessary but you may need to go the highscores and find your own generals score out)?

 
ercy Scriptwright

"embasy page" everyone the same general scores.
http://img200.imageshack.us/img200/9060/adszzxr...

 
MT0 Script's Author

Sorry but that image appear to not load (or is blank).

I've been to my embassy and it appears to be displaying fine. If you can redo the image I'll see if I can work out what is going on but at the moment I'm not sure.

 
ercy Scriptwright

http://img200.imageshack.us/img200/9060/adszzxr...

 
MT0 Script's Author

No, sorry but I really cannot see that image. It does not display and if I try to save it then I get a 64 byte file which is about big enough for the file headers and nothing else so I think the upload must be corrupt somewhere. Please try uploading it again and posting a different link. Thanks.

 
ercy Scriptwright

http://i44.tinypic.com/sw48ck.jpg

 
MT0 Script's Author

Erm.... what scripts are you running?

If it is the "All-in-one Embassy tool" then not to say don't use it but All-in-one Embassy tool is slow and is not tested to work with this script. I will install it and see if I can work out the issue but a better solution is to uninstall the All-in-one tool and install the "Ikariam Alliance Sorter" (APPROVED ON .ORG & .COM) and "Ally Shipping Distance" (ONCE IT'S BEEN APPROVED) scripts that will give you exactly the same functionality but run faster and have less issues with other scripts.


Edit: After having tested the "All-in-one Embassy Tool" and Toranga's update "Ikariam Embassy Tool", both have issues with the "CAT indicator" and "Aide-Memoire" scripts so I would rather say that they are unsupported by the current scripts and should be replaced with the two I highlighted earlier in this post.

Neither of them seem to display like your script does anyway so I'm at a loss as to what script you are running that has added the up/down arrows in the last column.


Edit 2: Found out that those are buttons for alliance leaders, etc. to move ranks about with. Have hopefully found a solution to the problem and uploaded the new version.

 
ToninuMT User
FirefoxWindows

Hello, great script but for some reason I am encountering a small problem. I've been using this for some time now without any problem. It could be because I changed my name on Ikariam. I can update everyone's score except my own. When I click the button to update my score it stays the same showing the red icon with green arrows. Any suggestions would be very helpful and appreciated. Thanks.

 
matteo466 Scriptwright
FirefoxWindows

is your ikariam server version changed to 0.3.2?
if yes i had your same problem.
i resolved replacing line 310:

var id = parseInt( /\d+$/.exec( $( "td:eq(4) a", this ).attr("href") )[0] );

with the code:

if (/\d+$/.exec( $( "td:eq(4) a", this ).attr("href") )!=null)
var id = parseInt( /\d+$/.exec( $( "td:eq(4) a", this ).attr("href") )[0] );
else
var id=GM_getValue(self.cache_variables.PLAYER);

 
ToninuMT User
FirefoxWindows

Yes it I think it started with the new version. I would like to try you code but how do I get it into the script?

 
matteo466 Scriptwright
FirefoxWindows

you must search where the script is saved in your pc.
search in your hard disk this folder: 'ikariam_aide-memoire_gen'
inside there is a file called '51116user.js'.
open it with a text editor (like NotePad) and search the first string and replace with the code i give to you.
remember to save the file and reload the ikariam page of your browser.
now it would works fine (i hope).

 
Flakker User
FirefoxWindows

Is it possible that you upload the changes, so we can easily install them? I am using Greasemonkey and I can not find the location of where it stores the script file. I googled online but was not able to turn up anything usefull...

 
matteo466 Scriptwright
FirefoxWindows

don't you have in your hard disk the 'ikariam_aide-memoire_gen' folder?(remember to include hidden and system file in your search)

 
dignan73 User
FirefoxWindows

I too am having the same problem (can update everyone's score but my own) since the 0.3.2 update.

My 51116user.js file doesn't have the code you specify, instead it has this:

var id = parseInt( /\d+$/.exec( this.href )[0] );
GM_setValue( self.cache_variables.PLAYER, id );

I tried replacing it with your fix, but it changed nothing.

Any ideas?

 
matteo466 Scriptwright
FirefoxWindows

the line you must change is about 14 line under yours.
have you find it?

 
dignan73 User
FirefoxWindows

Ahh, okay. I couldn't search properly because of the spacing. I found the line, replaced the code and it does indeed work now. Thanks, matteo.

 
Flakker User
FirefoxWindows

I got it now. I was not searching for hidden files. Thanks for the help!

 
ramonsousa User
ieWindows

i have found the file, but when i try to open it i get this message:

---------------------------
Windows Script Host
---------------------------
Script: D:\Documents and Settings\Ramon\Application Data\Mozilla\Firefox\Profiles\orgdql5o.default\gm_scripts\ikariam_aide-memoire_gen\51116user.js
Line: 34
Char: 1
Error: Syntax error
Code: 800A03EA
Source: Microsoft JScript compilation error

---------------------------
OK
---------------------------

any help?

 
ramonsousa User
ieWindows

i edit it instead and i manage to change the 310 line, but still not working.
i copy & pasted this:
if (/\d+$/.exec( $( "td:eq(4) a", this ).attr("href") )!=null)
var id = parseInt( /\d+$/.exec( $( "td:eq(4) a", this ).attr("href") )[0] );
else
var id=GM_getValue(self.cache_variables.PLAYER);

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