DHcFireHawk User


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.