400*rank + 2*sqrt(xp) + 2*sqrt(gold/5) + 6*crewpoints + sqrt(totshipstrength/10)
I do not now how the algorithm is written in the scripts at the moment. But I do believe there to be a bug when you got 0 ships (after loosing a fleet for example). What this does is that you get 0 points in navy rank total until you got a ship.
I tried this one out over several ticks by building ships and then selling it before the tick ended. This does that the algorithm tries to divide 0 (totshipstrength) by 10. Am I correct in that assumption? PHP would then throw an error cause you can't divide by zero. When this happen the script should fail right?
Or am I totally wrong in my thoughts here? Is there a catch on totshipstrenght != 0?
