27 July 2017

I'm not that wealthy!

According to her EVE Character Sheet, Ori is worth 82 Billion ISK. Now while as a corporation CEO she is not short of funds that is plainly untrue, so what was going wrong?

There is a Character Assets XML table that can be downloaded via the EVE API. This doesn't include some things which are on the Character Sheet such as cash and escrow but still...

The XML had a column with mixed Tables and nulls which Excel wouldn't expand, so I had to create a second table to get this flattened out, it held the contents of containers and ship fittings.
Annotating the tables revealed an accounting glitch. The corporation transports goods from the factory to the market when they sit in a warehouse before going on sale. A corporation warehouse would be absurdly expensive to rent at a trade hub so the corp uses Ori's personal storage hanger which is free, and this comes up as her assets.
So that was around 40 billion located. Where was the rest? It turned out that sales orders were also being credited to Ori, only when items were sold did the cash arrive in the corporation bank account. And there on the order sheet was another 37 billion!

Another glitch was found whilst doing all this - the API ignores stuff in player owned space stations. This is unlikely to be corrected as XML is being phased out.