sabotai
03-12-2005, 01:13 AM
I just posted this over at the TBCB forum and know that some people here play the game too and would be interested.
I started on a program tonight that will take the output from the history.csv file and generate a readable list of fights.
What I plan to do is have it generate HTML files for each month of the year (in which a fight occured), have an index file, etc.
This output file should give you an idea of what I plan on doing
http://www.irregardlessproductions.com/outfile.txt
I will also have it show the weight division and if a title was on the line. Hopefully I'll get all of that done tomorrow.
A few things to keep in mind with this. The record shown next to the fighter is his record before the fight took place. But more impartantly, the game stores the win-lose-draw of the fighter when the fight took place. Reading through my example file you'll see some people with weird records.
For instance: On January 8th, 2004, Toshiki Ogawa goes into a fight with the record of 2-5. However, if you scroll down to March 1st, you'll see he has the record of 0-0. That's because when I did these fights, I had a random date put in.
So, as you can see, you'll get the most out of this program if you have been having your fights in chronological order.
So, as I said, I hope to finish this up tomorrow and have it available to everyone (All of the hard stuff is pretty much done). But things may (and do) come up so sometime next week at the very latest.
EDIT: And before anyone asks, I can't have it display KOs in the record because that's not outputed in the csv file.
I started on a program tonight that will take the output from the history.csv file and generate a readable list of fights.
What I plan to do is have it generate HTML files for each month of the year (in which a fight occured), have an index file, etc.
This output file should give you an idea of what I plan on doing
http://www.irregardlessproductions.com/outfile.txt
I will also have it show the weight division and if a title was on the line. Hopefully I'll get all of that done tomorrow.
A few things to keep in mind with this. The record shown next to the fighter is his record before the fight took place. But more impartantly, the game stores the win-lose-draw of the fighter when the fight took place. Reading through my example file you'll see some people with weird records.
For instance: On January 8th, 2004, Toshiki Ogawa goes into a fight with the record of 2-5. However, if you scroll down to March 1st, you'll see he has the record of 0-0. That's because when I did these fights, I had a random date put in.
So, as you can see, you'll get the most out of this program if you have been having your fights in chronological order.
So, as I said, I hope to finish this up tomorrow and have it available to everyone (All of the hard stuff is pretty much done). But things may (and do) come up so sometime next week at the very latest.
EDIT: And before anyone asks, I can't have it display KOs in the record because that's not outputed in the csv file.