 |
|
debeest
|
|
ST, I dl'd your civ2beakers.exe, but now I can't figure out how to use it. When I double-click to open the program, it just goes back and forth between my taskbar and my desktop without opening. What should I be doing?
I use Windows ME at home, NT at work. Maybe it's OS-dependent?
Determining the TOTAL number of beakers needed for the next tech is easy. Does your program calculate the REMAINING number of beakers needed?
Xin Yu, can you programmatically find the REMAINING number needed?
|
|
|  |
 |
|  |
 |
|
debeest
|
|
ST, no, I don't get anything when I try to open Civ2beakers.exe. It appears on my taskbar, but nothing on screen. If I click on its taskbar icon, then visually the icon seems to fly to the upper left corner of my screen, but nothing appears on screen, and the icon still appears on the taskbar; if I click the taskbar icon again, it seems to fly back down to it, but nothing changes. ??? Is there any other way to open it than by double-clicking on it?
Xin Yu, I must say I'm surprised that you haven't found a field that contains either the number of beakers accumulated or the number still needed. I'm not a programmer, but wouldn't it usually be easier to store a number than to recalculate it every time?
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:20
|
|
debeest, I think I understand. i use 2 monitors, and by default the program loads 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).
Try the file I attached now ( I am sorry, it is not fully finished, but the program is usable and I hope your problem is solved in this "version"...).
Attachment: civ2beakers.zip
This has been downloaded 7 time(s).
Last edited by SlowThinker on 15-08-2002 at 01:01
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:20
|
|
quote: Originally posted by debeest
Xin Yu, I must say I'm surprised that you haven't found a field that contains either the number of beakers accumulated or the number still needed. I'm not a programmer, but wouldn't it usually be easier to store a number than to recalculate it every time? | Civ2 programers wrote a function that returns the number of beakers needed. In the source code this function is used at the same places as the direct value stored in the memory would be.
You are right that the value is recalculated many times, but programmers needn't to do the recalculation in detail, they only call the function (they write its name into the source code).
The way you mentioned would be more laborious: stored value would have to be recalculated after any event that might change it: key civ obtained a tech, power rank is changed, key civ is changed...
|
|
|  |
 |
|
debeest
|
|
Um ... if you're generating 0 science, then the listed number of turns per tech IS the total beakers needed. And how can you generate a negative number of science?
And ... hasn't the exact beaker algorithm already been generated, at least for deity mid-size maps? By Samson, I think (how quickly we forget), standing on the shoulders of giants.
|
|
|  |
 |
|
debeest
|
|
How can you get negative turns/tech?
And where has there been any doubt cast on the formula?
|
|
|  |
 |
|
debeest
|
|
ST, your new version works for me. Thanks!
|
|
|  |
 |
|
SlowThinker
|
|
homeless, Praha, Czech Republic
Jan 2000 time: 06:20
|
|
quote: Originally posted by debeest
And ... hasn't the exact beaker algorithm already been generated, at least for deity mid-size maps? By Samson, I think (how quickly we forget), standing on the shoulders of giants. | debeest,
I remember samson's two threads - The Cost of Research Explained and The Key to Tech Gifting. But I think it was an example only - for deity, small map and 7 civs.
|
|
|  |
 |
|
debeest
|
|
Deity, mid-size map, 7 civs. And someone generated some numbers for small and large maps, I think.
I guess my point is, now we know how the formula works. For those playing other settings, it should be easy to find the numbers to plug into it.
|
|
|  |
 |
|
La Fayette
|
|
albi, france
Oct 2000 time: 06:20
|
|
quote: Originally posted by SlowThinker
debeest,
I remember samson's two threads - The Cost of Research Explained and The Key to Tech Gifting. But I think it was an example only - for deity, small map and 7 civs. |
I also remember those 2 threads (they are in the GL) and I consider that samson has explained the cost of research and has given the key to tech gifting (just like oedo has discovered the xxxo pattern, even if he has not published tables for all levels).
samson was a very brilliant analyst of this game and I very much regret that he suddenly stopped posting about a year ago.
(BTW does anyone know what happened to him?)
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:20. Apolyton Time is 00:20. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|