AntiGame is looking for a new maintainer

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • AntiGame is looking for a new maintainer

      Hello developers,

      Everyone knows AntiGame for FireFox/Chrome - Tarja has no more time (sinse several weeks) to work on his great project, but he's looking for someone who want to go on with it.
      Please contact me here in Origin board (or Tarja in the Russian board only) if you are interested.

      Regards, Francolino
    • sirEdward wrote:

      Would be very nice to have that attached to another popular project like infocompte :)
      So, it will be only one product...


      would be nice to have antigame AND infocompte to be splitted in MANY modules so that you can select which features you want to have :P

      (reason: see 8arlocks post :P)
    • Thanks to NikeJoshua - Original there : board.ogame.org/board684-ogame…/index19.html#post9120063
      Here is a similiary bugfix from Dark_Sky (OGame.de) - board.ogame.de/board497-fandom…dex28.html#post1884361834

      NikeJoshua wrote:

      For a more stable version (which is backwards compatable as well), replace the second instance of getMissionClass (the one in EventList2):

      Display Spoiler

      Source Code

      1. getMissionClass: function (row)
      2. {
      3. var mission = Utils.XPathSingle('*[@class="missionFleet"]/IMG', row);
      4. mission = mission.src.match(/icon\-(.+)\.gif/)[1];
      5. var mclass = "";
      6. var fleetType = this.getFleetType(row);
      7. if (fleetType == 0) mclass = 'hostile';
      8. else if (fleetType == 1) mclass = 'neutral';
      9. else
      10. switch(mission) {
      11. case ('angriff'): mclass = "ownattack"; break;
      12. case ('halten'): mclass = "ownhold"; break;
      13. case ('kolonisieren'): mclass = "owncolony"; break;
      14. case ('stationieren'): mclass = "owndeploy"; break;
      15. case ('tf-abbauen'): mclass = "ownharvest"; break;
      16. case ('transport'): mclass = "owntransport"; break;
      17. case ('verband'): mclass = "ownfederation"; break;
      18. case (Options.Labels.lbl_missDestroy): mclass = "owndestroy"; break;
      19. case ('spionage'): mclass = "ownespionage"; break;
      20. case ('expedition'): mclass = "ownexpedition"; break;
      21. default: mclass = "owntransport";
      22. }
      23. return mclass;
      24. },
      Display All

      With the following:

      Source Code

      1. getMissionClass: function (row)
      2. {
      3. // Edit by NJ - Ogame 2.3.0
      4. var mclass = "";
      5. var fleetType = this.getFleetType(row);
      6. if (fleetType == 0) mclass = 'hostile';
      7. else if (fleetType == 1) mclass = 'neutral';
      8. else {
      9. var mission = row.querySelector('.missionFleet img');
      10. mission = mission && mission.getAttribute('title');
      11. mission = mission && mission.substr(mission.indexOf('|')+1);
      12. if (mission) {
      13. if (mission.indexOf(' ('+Options.Interface.lbl_mvmt_Return+')') > -1) mission = mission.substr(0,mission.indexOf(' ('+Options.Interface.lbl_mvmt_Return+')'));
      14. switch(mission) {
      15. case (Options.Labels.lbl_missAttack): mclass = "ownattack"; break;
      16. case (Options.Labels.lbl_missHold): mclass = "ownhold"; break;
      17. case (Options.Labels.lbl_missColony): mclass = "owncolony"; break;
      18. case (Options.Labels.lbl_missDeploy): mclass = "owndeploy"; break;
      19. case (Options.Labels.lbl_missHarvest): mclass = "ownharvest"; break;
      20. case (Options.Labels.lbl_missTransport): mclass = "owntransport"; break;
      21. case (Options.Labels.lbl_missFederation): mclass = "ownfederation"; break;
      22. case (Options.Labels.lbl_missDestroy): mclass = "owndestroy"; break;
      23. case (Options.Labels.lbl_missEspionage): mclass = "ownespionage"; break;
      24. case (Options.Labels.lbl_missExpedition): mclass = "ownexpedition"; break;
      25. default: mclass = "owntransport";
      26. }
      27. }
      28. }
      29. return mclass;
      30. },
      Display All