Resource icon

Utility: TechCalc 2.01

Yes... I didn't know that I was supposed to switch to release version... well know I do. Sorry you 6 guys and gals who already downloaded the new version. This is my first Windows program, after all...

The release version of TechCalc1.5 is now available.
 
Yes, working nicely now. Just two small suggestions, you might want to program the default maximum and minimum turns to research a tech from the editor. Ie. 3<Turns Left<41.

Also, any time you delete everything from a box, it pops up with an error. Couldn't you make the program put a zero in empty boxes rather than come up with this error.
 
Originally posted by mydisease
Yes, working nicely now. Just one small suggestion, you might want to program the default maximum and minimum turns to research a tech from the editor. Ie. 4<Turns Left<40.

I was going to do that. But what if you already have invested 1-3 turns in the tech? Then you should know how much money to spend to get it in 1. (Good if you can only get it in 2 turns and you want to know how many scientists you should create)

Also, any time you delete everything from a box, it pops up with an error. Couldn't you make the program put a zero in empty boxes rather than come up with this error.
Yeah, I noticed that... I will look into it.

I'm gonna do the CivEdit types of number edit-boxes later, when I figure out how to implement them.
 

Attachments

  • example.gif
    example.gif
    1.4 KB · Views: 667
Alternative formula you might want to use in the program:

Rcf2.jpg


This formula is a rearrangement of the other one and probably simpler to program, though I don't know there would be any point in changing to this one as the two are the same.
 
Techcalc 1.5 is not calculating the correct amount in my game. I have just discovered Education and have not given it to anybody else, so nobody else can research Music Theory. My total beaker output is 123/turn, map size is either standard or large (can't remember and but 1 counted 100 across so I think it's standard -- can't tell by looking), Regent, 8 civs still exist. I get Music Theory in 4 turns, (so <500 are required) but the calculator says 960 or 1280 gold, depending on what the map size really is. This is correct according to the formula but not what is happening in the game.

This is PTW/MP, so it could be a PTW/MP bug or change. I know there are many known PTW bugs, including difficulty level bugs. I know that the difficulty level is working at least partially correctly because there are only 2 citizens "born content" in each town.
 
Originally posted by Grey Fox
Could I get the Save to check?

Warning! This is PTW patch 1.14f!

My guess: PTW bug.

End the turn, and then when the "We discovered Education" popup comes up go to "the Big Picture", choose Music Theory, and then press F1 to adjust the science slider.

If you like, contact all the other civs to verify that none have education.

http://www.civfanatics.net/uploads3/music.SAV
 
BTW I did not enable accelerated production. An accelerated production checkbox is a suggestion for an enhancement.
 
Sorry, sumthinelse. I will look into that.

And Carthouche Bee, I'll check that aswell. Nice sig ;)
 
Originally posted by Grey Fox
- and everyone that has downloaded the program so far (Although I don't know how many) and to those that will download it in the future. That is my reward, that people uses my program and appreciate it.
Grey Fox, 1st I'd like to say that I've used (and will continue to use) your program, and appreciate it :goodjob:.

One little quibble, I think you're rounding the Turns Left down rather than up.

I.e. I'm currently on a Large Map at Monarch level and just started researching Steel at 1263gpt, no AIs have started it yet :

DianthusGOTM21_AD1230Domestic.jpg


Tech Calc says that it should only take 3 turns :
Dianthus_TechCalc.png


The Tech Cost looks about right, but 4977/1263 = 3.941 turns, which rounds up to 4 turns.
 
Originally posted by Grey Fox
That's probably because you can't research a tech faster then 4 turns.
Thats true, but 90% was the lowest I could use for 4 turns, 80% (1122g) takes 5 turns, which is 4977/1122=4.436 rounded up.
 
Does this tell me if a trade offer is good... So many times I'll see something like:

He offers Writing and wants Our Masonry + 32 Gold... I don't know if this is good or not so I always refuse...

Also, he'll offer me techs when I have 1 turn left... what's up with that....
 
Well, you need to know a whole lot to use this program effectively. That is you need to know or guess who have what tech. It won't do that for you. In that way this program never cheats, it's just a specialized calculator for your needs.
 
GreyFox,

I have found a small bug in the program, i am using version 1.5.

It seems the turns left to research rounds down, according to what i see it should round up. I shall cite a few examples:

Game one: Science at 7 per turn, Emperor, Standard Map
Cost of Masonry = 120 (no other civs with that tech)
Base turns to research = 120/7 = 17.1

Tech Calc shows turns left = 17
PTW 1.21 shows turns left = 18

Cost of Mystacism = 120 (no other civs with that tech)
Base turns to research = 120/7 = 17.1

Tech Calc shows turns left = 17
PTW 1.21 shows turns left = 18

Cost of Wherl = 120 (2 civs with that tech)
Base turns to research = n/a, since 2 other civs have the tech

Tech Calc shows turns left = 14
PTW 1.21 shows turns left = 15

Game two: Science at 23 per turn, Monarch, Huge Map
Cost of CodeOfLaws = 444 (no other civs with that tech)
Base turns to research = 444/23 = 19.3

Tech Calc shows turns left = 19
PTW 1.21 shows turns left = 20

Cost of Literature = 444 (no other civs with that tech)
Base turns to research = 444/23 = 19.3

Tech Calc shows turns left = 19
PTW 1.21 shows turns left = 20

Cost of Polyethism = 533 (no other civs with that tech)
Base turns to research = 533/23 = 23.2

Tech Calc shows turns left = 23
PTW 1.21 shows turns left = 24

It does give the right number if the basic tech cost divides evenly by the number of gold you are putting into scince though.

Never really used the utility later on in the game ie past the middle ages, but it looks pretty good otherwise..very handy for finding out who has what in a PBEM.

digger760
 
Originally posted by Grey Fox
This program is based on mydisease's Tech Research Formula he posted...

Lol, I hope hats a user...:p
 
Sorry guys, I havn't had time to take a look at the problems just yet. (Need to install the proper programs too...).

Anyways, if you want any improvement for the program, just post and I'll see what I can do.

Gonna update it for the latest PTW patches, and make a Conquest version as well.

Will try and make this work with mods aswell in the future.
 
Back
Top Bottom