Page 1 of 1

Diogenes Calculator (Will add Screenshots)

PostPosted: Sat Nov 12, 2016 11:43 pm
by Donald Trump
Hello. I was just wondering if you guys wanted any type of program that could somehow enhance game play.

I will write this program in C# and there will be no GUI.


My thoughts were possibly a influence calculator. Howmany propagandas would you need to knock a player down to (insert number) influence.

Or howmuch influence would you need until Charity Donations becomes a better way to upgrade your influence.

Open to suggestions, should I do this or is everyone fine with just the travel calculators?

If enough support, will release more options possibly? I am right now writing the algorithms.


Virus Scan will be given. Please note there are such things as false positives and this code is written in Microsoft Visual Studios.


Since I am writing this code for the better of the game. Source code will be released if anyone wants to pick up where I started or create their own version.

Screen GIFs of the Code: (Math is wrong obviously)
https://gyazo.com/a9074a6135fecff3b289f0cb2ce75d68
https://gyazo.com/640c00c4158603b86aa68784e74de1ee
https://gyazo.com/ba25df9549c3b42dfbf9efa5cc03aef3

Source Code (Fixed, need algorithm though)
http://pastebin.com/SAQrdWST (will be edited)

Current goal:
Make it so it can do math for Charity Donations and Propaganda.





Updates: Still missing the algorithms.

Works!

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sat Nov 12, 2016 11:48 pm
by Haron
Really useful things, but I can already do those.

What I would like, though, is some routine that goes through all the "port battles" in all the ports for, say, the last week or so, and extracts all the combats of one specific player. Sure, it can be done by hand (I sometimes do), but a routine for that would be REALLY neat. Would it be cheating, though?

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sat Nov 12, 2016 11:52 pm
by Donald Trump
That could be cheating and it would also mean a SCAN of the game's elements. Which I would have to ask CJ for. For now I am just doing calculators, etc. I may go onto more epic things later

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 12:41 am
by Shadowood
Calculators are good Chin. +1

I use excel mostly for my calculation currently, but I could use a calc like the ones you proposed.

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 12:50 am
by Donald Trump
If anyone is a mathematician and loves writing algorithms, please contact me. You will get your name in the credits.


So far the problem for me is the math. I am fine with the coding part.

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 3:40 am
by Malachi Constant
i'm struggling to math some tech benefits but I like that you are doing this.

Charity usually follows the rule of 72

%gain/72 will show your amount needed to double, loosely

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 4:45 am
by Donald Trump
All coding bugs are fixed. None.


Now the algorithms. Updating the Screenshots as well.

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 8:17 am
by Maha
a battle outcome predictor would be handy for new players (and for those who won't learn from defeats :) )

i t won't be exact, but a prediction like "0 to 15 percent chance to win" would already be of help.
the outcome needs a range because the attributes of the opposing ships are unknown and so are tech additions.

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 8:26 am
by Admiral Nelson
Looks good.

To show my appreciation towards such projects, I will send 2,500,000 gold coins to each of you when the project is finished.

Re: Diogenes Calculator (Will add Screenshots)

PostPosted: Sun Nov 13, 2016 2:39 pm
by Donald Trump
I will try to get summation integrated into the equation, we are not far.


Maha your battle calculator interests me, but I am no statistician. I have no idea what to input as variables, but it is definitely possible.