Diogenes Calculator (Will add Screenshots)

General chit-chat about anything in-game here.
In-game trade offers should be published here
Roleplaying is recommended (Write like as if your character is speaking)

Diogenes Calculator (Will add Screenshots)

Postby Donald Trump » Sat Nov 12, 2016 11:43 pm

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!
Last edited by Donald Trump on Sun Nov 13, 2016 4:58 am, edited 18 times in total.
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm

Re: Diogenes Calculator (Will add Screenshots)

Postby Haron » Sat Nov 12, 2016 11:48 pm

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?
The T'zak Ryn offers Naval Combat Solutions for the Quality Conscious Customer
User avatar
Haron
Forum Rambler
 
Posts: 1926
Joined: Tue Mar 29, 2016 10:04 am

Re: Diogenes Calculator (Will add Screenshots)

Postby Donald Trump » Sat Nov 12, 2016 11:52 pm

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
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm

Re: Diogenes Calculator (Will add Screenshots)

Postby Shadowood » Sun Nov 13, 2016 12:41 am

Calculators are good Chin. +1

I use excel mostly for my calculation currently, but I could use a calc like the ones you proposed.
I don't fear death. I look forward to it with great anticipation. For then I will met God face to face and let him know that I stole his Man of War!!!
User avatar
Shadowood
Fantasy Draft Deity
 
Posts: 4080
Joined: Mon Feb 08, 2016 5:40 am

Re: Diogenes Calculator (Will add Screenshots)

Postby Donald Trump » Sun Nov 13, 2016 12:50 am

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.
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm

Re: Diogenes Calculator (Will add Screenshots)

Postby Malachi Constant » Sun Nov 13, 2016 3:40 am

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
User avatar
Malachi Constant
 
Posts: 308
Joined: Thu Mar 21, 2013 3:29 pm

Re: Diogenes Calculator (Will add Screenshots)

Postby Donald Trump » Sun Nov 13, 2016 4:45 am

All coding bugs are fixed. None.


Now the algorithms. Updating the Screenshots as well.
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm

Re: Diogenes Calculator (Will add Screenshots)

Postby Maha » Sun Nov 13, 2016 8:17 am

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.
User avatar
Maha
 
Posts: 848
Joined: Mon Aug 08, 2016 10:12 am

Re: Diogenes Calculator (Will add Screenshots)

Postby Admiral Nelson » Sun Nov 13, 2016 8:26 am

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.
User avatar
Admiral Nelson
 
Posts: 2370
Joined: Sat Mar 12, 2016 7:48 am

Re: Diogenes Calculator (Will add Screenshots)

Postby Donald Trump » Sun Nov 13, 2016 2:39 pm

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.
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm


Return to Tavern

cron