 |
|  |
 |
|
Patine
|
 |
Edmonton, Canada
Mar 2002 time: 22:37
|
|
First, I may well be able to condense my events files into three, if not two, separate files, as I want an initial universal one between Dec '41 and Dec '43, and then one for Jan '44 to Dec '47 if the Japanese are winning by that point, and the same if they're losing, at least. Three would make for less shuffling, and thus less chance of error, than six, admittedly. Second, last I checked (while reading your post), Events2 wasn't working either, though previously it had been. Third, yes, the text on Turn 26 is the litmus for Events3, and the one on Turn 14 the same for Events2, and last test, both failed. And, finally, I've attached my Report.txt as of last test of all three events, this time with the @DEBUG command, as it's way too much to post. Is this all any help?
Attachment: report.zip
This has been downloaded 2 time(s).
|
|
|  |
 |
|
Boco
|
 |
who was once King for a week.
Jan 2001 time: 00:37
|
|
This helps a lot!
Looks like this Report.txt has been used 58 times with Events.txt and 43 times with either events.txt, Events1.txt, Events2.txt, or Events3.txt. [$0.02 ] The newest debug report is always appended to the existing file, so it can get pretty long. I find that regularly editing out older report info or simply deleting the file makes it easier to scroll through the most recent data. [/$0.02 ]
A few things that I can see.- "First, I may well be able to condense my events files into three, if not two, separate files...." Judging from the line
code: remaining heap space: 65937 bytes
(i.e. only ~33% is used), yep, I'd say this is true. The conditional events fork is an excellent idea. You might need a third option for Agricola. 
There are many illegal CreateUnit triggers toward the end of Events2.txt. The file has "owner=American", but it should be "owner=Americans".
Many of the debugged files are named Eventsx.txt (where x=1-3). This shouldn't be. I came across a similar bug with EA myself. I'm guessing that the Civ2 events parsing routine simply opens the first text file that begins with the string "events". By first, I suspect that it is looking at the order in the OS's file table for the current directory. IIRC, that order changes according to file operations, edits, etc. Regardless of how (i.e. Boco is wildly guessing), it does appear that the intended file, Events.txt, is not always the file opened for embedding into a SAV file. Frequently it's one of your Eventsx.txt files.
I'm pretty sure that if you rename the files to 1Events.txt, 2Events.txt, etc., that ToT will embed the correct events (assuming that the bat file is also edited accordingly).
|
|
|  |
All times are GMT. The time now is 05:37. Apolyton Time is 00:37. |
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
|
|
|
|
|
|