changelog

Version 2.44.00

Changes
  • Translations: Improvement of  ES (by Guerrero2013)
  • Translations: Improvement of  IT (by Psy17)
  • Translations: Improvement of  EN (by cedomaiori)
  • Translations: Improvement of  NL (by Siloperg47)
  • Town Info (Bugfix): The buttons of the “no overload” extension were under certain circumstances added multiple times to a window
  • BB-Code: Town lists are now numbered (idea by M0e)
  • Reports (Bugfix): After the last Grepolis Update spell reports missed the used god
  • Export function: Error message changed (more info, removal of the donation link)
  • Code (other): Improvements of the code throughout the script
  • Donations: My thank you for supporting the project goes to:
    • David M. – 10 €
    • Thomas M. W. – 3 €

  • Jonh Snow am 29. November 2014 um 16:27 Uhr:

    Codes added to the reports but we have not are all with colors!
    This to the world br!

    },
    br : {
    meta : {
    flag : ‘http://s7.directupload.net/images/140507/u6xmafci.png’
    },
    reports : {
    choose_folder : ‘Escolher pasta’,
    enactede : ‘Lançou’,
    enacted : ‘lançou’,
    conquered : ‘Você’,
    spying : ‘espiando’,
    spy : ‘Espião’,
    support : ‘apoia’,
    supporte : ‘apoio’,
    supporting : ‘tropas alocadas’,
    attacking : ‘atacando’,
    farming_village : ‘aldeia bárbara’
    },

    reportsColor : function () {
    var b = GPWindowMgr.getOpen(Layout.wnd.TYPE_REPORT);
    if (b.length == 0)
    return;
    wnd = b[b.length – 1];
    var c = wnd.getID();
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “attacking”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid red”
    }).addClass(“angriffe”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “supporte”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid green”
    }).addClass(“unterstützungen”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “supporting”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid green”
    }).addClass(“unterstützungen”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “support”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid green”
    }).addClass(“unterstützungen”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “spy”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid blue”
    }).addClass(“spios”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “spying”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid blue”
    }).addClass(“spios”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “conquered”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid black”
    });
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “enactede”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid purple”
    }).addClass(“zauber”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “enacted”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid purple”
    }).addClass(“zauber”);
    });
    $(“DIV#gpwnd_” + c + ” #report_list li:contains(‘” + QT.Lang.get(“reports”, “farming_village”) + “‘)”).each(function () {
    $(this).css({
    “border-left” : “5px solid yellow”
    }).addClass(“farm”);
    });
    },

    Reply
    • Quackmaster am 14. December 2014 um 04:18 Uhr:

      Thank you Jonh! I will try to implement the changes and I hope everythin will work out. I’m thinking about changing the way the script recognizes the different report types for a while now. The code is one of my first trys with Javascript. There must be for sure a better way to distinguish between the reports!

      Reply

Leave a Reply

Your email address will not be published.