 |
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
I attached a program that counts beakers accumulated (and shows next Oedo years). Unfortunately the program don't read values from the computer RAM: before you use it you have to save a game into any .sav file.
The Reload is automated now: the program detects if the file was changed. But this option can slow down old computers so you can turn this option off.
In the game I use the
Ctrl-S S Enter
combination to save the game quickly to "s.sav" file. But the Civ2 program asks if you want to rewrite a file: it annoys. Therefore there is the "delete .sav file" option in the program.
Every copy of the program (you can have different Civ2Beakers.exe files in different Civ2 folders) remembers a status of the last run: a window position, the last .sav file and civilization used.
I also added more computations.
corrections from the last version
The pre-release of this program was firstly introduced in Calculating beakers needed for the next advance . It was made for my own use only and the program was not finished and had some errors. (I use 2 monitors and by default the old version loaded to my monitor that is on the left side. But my left monitor has the negative horizontal coordinates.
You had to move the program to the visible part of the desktop (using alt-space etc. for example).
Now the program remembers a position of the last run. )
Special thanks
Special thanks to SCG who complained to problems with earlier version and to SG[1] whose HutFinder gave me an ispiration to work.
Version 0.3 had a serious bug! Throw it.
New: version 0.4 is added. It can be downloaded from the page 2.
Attachment: civ2beakers_v_0.2.zip
This has been downloaded 29 time(s).
Last edited by SlowThinker on 21-09-2003 at 04:29
|
|
|  |
 |
|  |
 |
|
Bloody Monk

|
 |
austin, tx
May 2001 time: 23:27
|
|
SlowT,
I loaded a save and picked my 'color'. The proggy correctly reads the number of beakers accumulated. I noodled around a bit and guessed the "multiplier" to be 26...and the "total needed" filled in. (This can be determined the "hard way" by resetting science to zero,etc.) This is what I mean by a user friendly helper.
This is really sweet, ST!! Thanks for sharing this with us.
If I am interpreting SCG's comments correctly, the year is displayed but not whether it is ad/bc. That's minor. Giving the details of AI progress is not minor, though. Using this information has to be a cheat. Hopefully, people won't be tempted to peak; it would be better, I think, if this element were not in future versions, if that is possible.
Again I say, great piece of work!!
Monk
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
Monk, Civ2 Planner is more user friendly... 
quote: Originally posted by Monk
If I am interpreting SCG's comments correctly, the year is displayed but not whether it is ad/bc. |
There is a sign '-' for BC years.
quote: Originally posted by SCG
when i load it, it defaults to the barbarian research instead of the human research, and I'm able to view each civ's accumulated research in succession, not just the human player. |
quote: Originally posted by Monk
AI progress is not minor, though. Using this information has to be a cheat. |
I see I have to hide the initial show of barb beakers.
Also I thought I could force people to set the color before choosing the .sav file...But then I decided that it is not so hard to pick the right color... (Maybe later...)
You know, there is 1000 better ways how to cheat .
But I agree that a player wouldn't have to choose the color if I would choose it automately by the human player flag. A good idea, SCG.
|
|
|  |
 |
|
Bloody Monk

|
 |
austin, tx
May 2001 time: 23:27
|
|
SCG,
Well, Sir, that's a neat little dance but I can't see it as ST's problem. It is you, after all, that keeps getting snarky results. I am surprised you haven't done a remove/reinstall yet. Hardly seems fair to offer a review of someone else's work when you know you are looking thru shattered glasses.
I am no expert, but I bet there is a way to move all those saves, etc to another directory, temporarily, while you reinstall the game. I know you will be relived when it all gets straightened out. Good luck.
Monk
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
I am very sorry I didn't tell you immediately I noticed the same problem with AD years.
The problem will be corrected in the next version (coming somewhere this week).
In the Delphi6 notation i used
Integer –2147483648..2147483647 signed 32-bit
and should use
Smallint –32768..32767 signed 16-bit
I was stupid, I thought Integer works as signed 16-bit.
But I don't understand why Monk was OK with AD years. In fact I had the ADs working correctly with my early version too, but not now...Could you post a save, Monk?
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
I supposed that .mp and .sav files have a different format? And so that Beakers Counter cannot be used with a MP game.
|
|
|  |
 |
|
SCDARS
|
|
That is not true for sure. Of course a .net save of a multiplayer game could have more options enabled which are pretty useless in sp (sim game f.i.), but the general format doesn't differ between multiplayer and single player saves. It just differs between the versions vanilla civ 2.42, cic, FW, MGE or ToT - and still not in the first blocks about civ info.
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
You are right. I simply renamed a file from .net to .sav and everything works: cheat mode, Beakers Counter...
So I will add 2 warnings: 'more than one human player' and 'AI color chosen' so that a player don't get an unwanted information by mistake. I will also allow .net files so that you can use the program in MP games and needn't to rename files.
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
What is a better english? 'Beakers Counter' or 'Beaker Counter'? I know SG[1] named his program 'Hut Finder'...
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
I tried to add a function that allows you to see a map with all specials when you are running Civ2.
Instructions to use:
First you have to find out the seed number (shortly 'seed'). (See Location of Huts for details about relations between hut and special positions and a seed. There is 64 different seeds, so 1=65=129 etc., in other words you need to know only seed mod 64.
(mod is modulo: x mod y = RemainderOf(x/y))
If you know a hut coordinate then I suggest you to run Hut Finder ). It gives you only seed mod 32 (I will call it HFseed); HFseed may be used with Beakers Counter and positions of huts and specials will be revealed correctly. but types of specials (fish/whale) may be wrong sometimes: then add 32 to HFseed.
(For specials type you can also use math I wrote in Location of Huts )
After you found out the seed number enter a name of a file that you want to use as a 'Seed File', the seed number and click the Accept button.
Then go to Civ2 and load the 'Seed File'.
Be sure you chose your civ color/number correctly!
Notes: Unrevealed terrain has continent number set to 0. If the Game File is Reloaded automately then the Seed File is rewritten automately also.
I am sorry I didn't repair some small bugs, I will do it later, but probably not the next week. I hope it is usable now. But be careful, some unknown bug or an unknown behaviour of the .sav format might reveal an unwanted information for you.
Edit: This version had a serious bug! Throw it.
Last edited by SlowThinker on 21-09-2003 at 04:29
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:27
|
|
7 downloads... how does the 'Seed file' work? Any problems, any bugs?
I have no problems here.
|
|
|  |
All times are GMT. The time now is 05:27. Apolyton Time is 00:27. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|