benneb / InfoCompte7

Hi, i looked a little at your script, it looks like you are french. If so tell me so we can speak in french.

I think the crawler bonus is not taken into account in the calculation of the global production. Is it normal or is it a bug (and if so is there a way to fix it by doing an action in-game).

Also if you need help with dev i could help you :)

I checked several times and it's not being taken into account.

I calculated manually and i have :

M 6 256 749 150 161 976 1 051 133 832
C 1 879 417 45 106 008 315 742 056
D 1 502 329 36 055 896 252 391 272

when infocompte tells me :

Planète 01 : Métal 38 / Cristal 32 / Deutérium 35 / 43°C
Planète 02 : Métal 37 / Cristal 32 / Deutérium 35 / 47°C
Planète 03 : Métal 37 / Cristal 32 / Deutérium 35 / 66°C
Planète 04 : Métal 37 / Cristal 32 / Deutérium 34 / 73°C
Planète 05 : Métal 37 / Cristal 32 / Deutérium 34 / 61°C
Planète 06 : Métal 37 / Cristal 32 / Deutérium 35 / -12°C
Planète 07 : Métal 37 / Cristal 32 / Deutérium 34 / 84°C
Planète 08 : Métal 37 / Cristal 32 / Deutérium 34 / 44°C
Planète 09 : Métal 37 / Cristal 32 / Deutérium 34 / 63°C
Planète 10 : Métal 37 / Cristal 32 / Deutérium 34 / 27°C
Planète 11 : Métal 37 / Cristal 32 / Deutérium 34 / 6°C
Planète 12 : Métal 32 / Cristal 28 / Deutérium 29 / 25°C

Points dans les mines de métal : 5.716.241
Points dans les mines de cristal : 4.554.025
Points dans les mines de deut : 7.648.472
Points dans les mines : 17.918.738
Technologie Plasma : 15

Par heure : 5.042.478 Métal / 1.504.513 Cristal / 1.228.539 Deutérium

Par jour : 121.019.472 Métal / 36.108.312 Cristal / 29.484.936 Deutérium

Par semaine : 847.136.304 Métal / 252.758.184 Cristal / 206.394.552 Deutérium

Export with Infocompte v7.0.16

M : 6 256 749 || 150 161 976 || 1 051 133 832
C : 1 879 417 || 45 106 008 || 315 742 056
D : 1 502 329 || 36 055 896 || 252 391 272

with : hour || day || week

The script cant find the crawlers. It can't find any fleet at all. The only fleet it can find, are the solar sats. I think the reason for that is that the flotte function is broken.
In the script, it uses the following code to get the ships per planet

                                    'pt':flotte[i+1].split('|')[0],
                                    'gt':flotte[i+1].split('|')[1],
                                    'cle':flotte[i+1].split('|')[2],
                                    'clo':flotte[i+1].split('|')[3],
                                    'crois':flotte[i+1].split('|')[4],
                                    'vb':flotte[i+1].split('|')[5],
                                    'vc':flotte[i+1].split('|')[6],
                                    'rec':flotte[i+1].split('|')[7],
                                    'esp':flotte[i+1].split('|')[8],
                                    'bb':flotte[i+1].split('|')[9],
                                    'sat':BatRes[i].split('|')[5],//flotte[i+1].split('|')[13]
                                    'dest':flotte[i+1].split('|')[11],
                                    'rip':flotte[i+1].split('|')[12],
                                    'traq':flotte[i+1].split('|')[13],
                                    'reaper':flotte[i+1].split('|')[14],
                                    'pathfinder':flotte[i+1].split('|')[15],
                                    'crawler': flotte[i+1].split('|')[16],

The only one that is differing from the others, is the sat one. All the other ships are always 0. However, by changing

'crawler': flotte[i+1].split('|')[16],

to

'crawler': BatRes[i].split('|')[9]

it actually works again. Production will be correct. So there is something wrong in the way the values are stored in the flotte array. Havent looked that far into it, but I guess we need to start there.