======Spy report======
The espionage report contains the most important information such as [[en:gebaeude|buildings]], [[en:Forschungen|research]], [[en:verteidigung|defence]], [[en:schiffe|ships]] and [[en:resources|resources]]. \\
\\
^ visible^ Espionage Lvl difference ^^^^^^^^^^^^^^^^^^
| ::: |-15 |-14 |-13 |-12 |-11 |-10 |-9 |-8 |-7 |-6 |-5 |-4 |-3 |@blue: -2 |-1 |0 |1 |2 |
^ fleet |225 |196 |169 |144 |121 |100 |81 |64 |49 |36 |25 |16 |9 |4 |1 |1 |1 |1 |
^ defense |226 |197 |170 |145 |122 |101 |82 |65 |50 |37 |26 |17 |10 |@red: 5 |2 |1 |1 |1 |
^ building |228 |199 |172 |147 |124 |103 |84 |67 |52 |39 |28 |19 |12 |7 |4 |3 |2 |1 |
^ resaerch |230 |201 |174 |149 |126 |105 |86 |69 |54 |41 |30 |21 |14 |@green: 9 |6 |5 |4 |1 |
__How to read the table ?__
:!: You have sent 6 [[en:Spionagesonden|spy probes]] and now you can see the [[en:Flotte|fleet]] and [[en:verteidigung|defence]]. :!:\\
\\
Everything appears in the [[en:spionagebericht|report]] from the top of the left column.\\
So first you see are the [[en:resources|resources]] (you can always see), then the [[en:flotte|fleet]], then the [[en:verteidigung|defence]], then the [[en:gebaeude|buildings]] and finally the [[en:forschung|research]].\\
The line you see at the bottom is the most interesting one for you to look at.\\
\\
let's say you see the defense by sending of 6 Spyprobs\\
\\
Look in the [[en:verteidigung|defence]] row and select the next smaller number (in this case 5).\\
Now look at the top of the same column (in this case -2).\\
That means that your opponent's espionage level is two levels higher.\\
If you now want to see the [[en:Forschung|research]], you have to go down to the research row in the same column and now you know that you have to send at least 9 [[en: Spionagesonden|probes]].\\
=====Formula=====
Here is the exact formula as it is integrated on the server
''$techDifference = abs($senderSpyTech - $targetSpyTech);'' \\
''$MinAmount = ($senderSpyTech > $targetSpyTech ? -1 : 1) * pow($techDifference * SPY_DIFFENCE_FACTOR, 2);'' \\
''$SpyFleet = $fleetAmount >= $MinAmount;'' \\
''$SpyDef = $fleetAmount >= $MinAmount + 1 * SPY_VIEW_FACTOR;'' \\
''$SpyBuild = $fleetAmount >= $MinAmount + 3 * SPY_VIEW_FACTOR;'' \\
''$SpyTechno = $fleetAmount >= $MinAmount + 5 * SPY_VIEW_FACTOR;'' \\
\\
====Explanation of the formula====
For all those who are not so familiar with the code line, I will translate this here.
__Line 1:__ \\
Sender spy level - receiver spy level (in the example, a 2 comes out here)
__Line 2:__ \\
The transmitter spy level is greater than the receiver spy level ( yes = ‘-1’ and no = ‘1’ return as value ) * the difference²
In the example here, the result is a 4 ( 1*2²=4 ).
__Line 3__ \\
Show fleet if the number of spy probes is greater than minamount ( in our case 6 is greater than 4 ) -> fleet is shown
__Line 4__ \\
Show defence if the number of spy probes is greater than minamount + 1 ( in our case 6 is greater than 5 ) -> defence is shown
__Line 5__ \\
Show buildings if the number of spy probes is greater than minamount + 3 ( in our case 6 is not greater than 7 ) -> buildings are not shown
__Line 6__ \\
Show researches if the number of spy probes is greater than minamount + 5 ( in our case 6 is not greater than 9 ) -> researches are not shown