You are not logged in.

Francolino

OGame Origin Admin

  • "Francolino" is male
  • "Francolino" started this thread

Posts: 3,550

Community:

Location: Switzerland

  • Send private message

1

Thursday, October 20th 2011, 10:59pm

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

3

Saturday, October 22nd 2011, 10:13pm

Would be very nice to have that attached to another popular project like infocompte :)
So, it will be only one product...
-Ogame Recension-
Ogame need a change!
-Check my account for my ideas-

8arlock

Tools&Skins

  • "8arlock" is male

Posts: 92

Community:

Location: Krasnodar

  • Send private message

4

Friday, October 28th 2011, 8:34am

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

Not. Big script - big lag, more errors, longer and more correct etc.

5

Friday, October 28th 2011, 6:13pm

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)

6

Friday, October 28th 2011, 7:46pm

InfoCompte3 and Antigame are already big enough as they are. Joining them would only increase the lag while loading pages.

... and still darkness remains.

Francolino

OGame Origin Admin

  • "Francolino" is male
  • "Francolino" started this thread

Posts: 3,550

Community:

Location: Switzerland

  • Send private message

7

Saturday, October 29th 2011, 12:31am

Thanks to NikeJoshua - Original there : http://board.ogame.org/board684-ogame-or…tml#post9120063
Here is a similiary bugfix from Dark_Sky (OGame.de) - http://board.ogame.de/board497-fandom/bo…#post1884361834

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

Source code

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

With the following:

Source code

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

8

Saturday, October 29th 2011, 10:12am

I've replaced it in my mod, btw is it tolerated?

8arlock

Tools&Skins

  • "8arlock" is male

Posts: 92

Community:

Location: Krasnodar

  • Send private message

9

Monday, October 31st 2011, 7:55am

Corrected version script from bontchev (expanded lists of of the fleet) and I (fixed natural rate of production mines and integrated images).

After finding a volunteer to support the script will be deleted.

Francolino

OGame Origin Admin

  • "Francolino" is male
  • "Francolino" started this thread

Posts: 3,550

Community:

Location: Switzerland

  • Send private message

10

Friday, December 16th 2011, 11:21am

Found someone who is stupid enough .. ;-)

Similar threads