Ikariam All In One Embassy Tool

By Luca Saba Last update May 12, 2009 — Installed 167,418 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 25 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
MindTwister Scriptwright

The Israeli Server got the new version! now I can use this one...

Luca, At my server it doesn't sort by points by default... can u add an option to sort it? or should I again install the old version?

 
fybz User

NOTE: you'll have to uninstall AllySorter, Member Last On Line and Ally's Members Info or you'll have a complete mess!

Hmm, ok. I had AllySorter running when I ran this script, so it only worked once for me :-S
So how do I fix the complete mess I made...? I mean, the script doesn't work at all anymore

Edit: Ahh, fixed it myself. Deinstalled the script with the option: Also uninstall associated preferences. Then reinstalled the script again. Works like charm now.

 
MindTwister Scriptwright

Oh thanks! I hope the Israel server will update too so I could use this one!

You can also remove the 'co', only the 'il' works...

 
Luca Saba Script's Author

Yep! It's here: http://userscripts.org/scripts/versions/35189

 
MindTwister Scriptwright

Lol, so can u give to me again? Cuz I removed it...

 
Luca Saba Script's Author

I'm not sure this one will work with 0.2.8... maybe is better to continue using the 0.8 version!

 
MindTwister Scriptwright

Oh... In the Israeli version it is still 0.2.7 XD

 
Luca Saba Script's Author

Because, in 0.2.8 members are already sorted.... or is it only in the italian version ?

 
MindTwister Scriptwright

Why did u remove the AllySort? And thanks!

Edit:
I have a problem... Nothing works normally... I won't show me the last time login and the scores are not calculated well...

 
Luca Saba Script's Author

Thanks MindTwister! Fixed with the new version!

 
MindTwister Scriptwright

Nice! I checked the Hebrew lang and found out the right domain... it is 'il'

so the new is:

il: {'newAlert': 'חברים חדשים', 'newTotal': 'סך הכל חברים חדשים', 'aband': 'עזבו', 'totAban': ,סך הכל עזבו', 'confirm': 'האם אתה בטוח שבירצונך לאפס את המונה?'}

 
Luca Saba Script's Author

Ok! I made all the changes. I'm not sure about the "new entry" image.... it doesn't fit very well with the ikariam layout... sorry.

 
MindTwister Scriptwright

Ok, I've found a problem with the Hebrew lang... I don't know what is the domain, it can be one of these: 'co' , 'co.il' , 'il'

and when I'm trying to add one of them, the whole script doesn't work...

 
Luca Saba Script's Author

Thanks. This weekend I'm going to publish the new version!

 
MindTwister Scriptwright

Ok no problem!

co: {'newAlert': 'חברים חדשים', 'newTotal': 'סך הכל חברים חדשים', 'aband': 'עזבו', 'totAban': ,סך הכל עזבו', 'confirm': 'האם אתה בטוח שבירצונך לאפס?'}

I also changed the text 'New Entry' to an image...

membersTab.rows[i].cells[points_cell_idx].innerHTML += " ()";

 
Luca Saba Script's Author

@MindTwister: the anguage is chosen based on the domain of the server .it, .fr, .de etc. When a language is not present, the script will use the default en.
SO, to add a language you have to tell me the domain. Then have an array like this:
en: {'newAlert': 'New Members', 'newTotal': 'Total new members', 'aband': 'Abandon', 'totAban': 'Total abandon', 'confirm': 'Are you sure you want to reset recorded points ?'}
If you post the domain and the transation I'll put them in the script! Thanks in advance!
@Riko_3000 I have to know if you're a normal member or have a charge in you ally. I'm a Diplomat and maybe my page is different then your... otherwise, can you send me the html (page->save as) of you embassy ? my mail is lucasaba at gmail dot com!

 
Riko_3000 User

i installed this im on .pt and it wont work , can anyone help? all i get is the light bulbs with numbers 1 , 2 ,3 ,4 and so on

 
MindTwister Scriptwright

Thanks, and can u try and add another lang? I want that others from Israel can also fully understand the script, I just edited the Italian lang, but I can't change the script that is here...

 
Luca Saba Script's Author

Great! I'll put it right now!

 
MindTwister Scriptwright

nvm, I found the problem.... it was with one of the other scripts! thanks for trying to help me! and the script is really faster!

Check this out... I changed the words to status pics:

function setOnlineStatus($tRow)
{
  if($tRow.cells[1].getAttribute('class') == 'online')
  {
    $tRow.cells[1].innerHTML="";
    $tRow.cells[1].style.backgroundImage = "none";
  }
  else if($tRow.cells[1].getAttribute('class') == 'offline')
  {
    var nowDateStr = document.getElementById('servertime').innerHTML.split(" ")[0].replace(/^\s+|\s+$/g, '');
    var nowDate = convertIkariamDate( nowDateStr );
    var inactiveDate = new Date();
    inactiveDate.setDate( nowDate.getDate() - 7 );  // accounts generally go inactive after seven days
    
    var lastOnline = $tRow.cells[1].title.split(":")[1].replace(/^\s+|\s+$/g, '');
    var lastDate = convertIkariamDate( lastOnline );

    if( lastDate < inactiveDate )
      $tRow.cells[1].innerHTML = "<font>("+lastOnline + ")</font>";
    else
      $tRow.cells[1].innerHTML = "<font>("+lastOnline+")</font>";
    $tRow.cells[1].style.backgroundImage = "none";
  }
}

 
Luca Saba Script's Author

If I get your point, you would like to see OFFLINE as strong as ONLINE. In this case, you also have to add the < b > element at line 212 (as it is on line 210). Let me know if it works!

 
MindTwister Scriptwright

No sorry I'm not... I wrote the real one there... I just added it so others could use it also! but I'm trying to improve it also!

and I removed the size, but the opacity didn't change... still faded...

 
Luca Saba Script's Author

I had to lower the font size because data was enlarging tabel cells too much... If you want, you can change the source.
At line 210 and at line 212, delete " SIZE='1'".... but it is not very... elegant.
P.S. My god! You're the author of the Leecher Checker script!!!!!! GRRRREEEEAAAATTTT JOB!!!!! :-)

 
MindTwister Scriptwright

Thank u! finally! The log in time works! But I have a problem, I see the Red and Gray colors with a lower opacity... how come?

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