Talk:Investments/@comment-178.11.225.142-20170329191609

During a recent replay, i found a clever alternative way to invest. At least that was what i thought until i came to the Ardford-summit and noticed that my ProN were way less than i expected.

In my defence, or not, i did not go full out and calculated all the investment cost and returns beforehand. I merely did some reading on this page. Part of the reason for not doing that, was because the investment are somewhat interconnected and i did not fancy doing the math for every reasonably combination of investments.

So after the letdown at before mentioned playthrough, i decided to not waste some time doing some calculation but instead i decided to waste even more time writing a calculator for doing it.

I did not wanted to setup a gui, so i went with javascript instead of c++. The downside hereby is, i do not have any significant experience with javascript. Therefore i had not a clear plan for writing the calculator and the code is probably quite messy.

Anyways the calculator works quite good for my liking. As far as i can tell it is also accurate excluding 2 major and probably a couple minor things.

But testing it is not quite simple or at least not fast, as you can not do some investments and jump to point in the game where you get the investment returns. So my own testing is solely based on the information on this page.

I want to share the calculator, partly because i'd like some feedback on it, preferable in a factual manner, specifically on mistakes i surely made.

Coming to the 2 major things. First i still have not implemented the ProN aka gets from the mine quest. And second im not sure about the extra 300k/200k ProN you get after the Reunion, where do they come from? Some invesment? from Megail's private pocket?

tldr;

I made a html/javascript calculator for the investments.

Zip of html and js files: http://s000.tinyupload.com/?file_id=72409836306069980509

Feedback welcome. In case there is interest for it, i am willing to fix the mistakes and maybe expand the calculator.

Also consider my code to be public domain, so feel free to fix and expand it yourself.