Talk about NBA Live 07 here.
Sat Apr 07, 2007 11:34 pm
So I have talked in the past about my displeasure with respect to the heights of generated rookies. Specifically, the 6'1 SGs and 6'8 centers. This got me thinking of a way to solve the problem, and I came up with what might be a solution. Don't know how plausible it is, because I have no idea how to make batch files, and don't know what instructions are available. I also don't have cdbflite, which seems to be a requisite file for those batch thingys.
First things first: How do I get my hands on cdbflite?
Now, unto the possible solution for the heights.
++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++
Similar stuff could be done for SGs and SFs. The 'X' in [Player ID > X] is the smallest player ID number for players in the upcoming draft.
For C/C:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 0 ] AND [Secondary position = 0] AND [Player ID > X] AND [Height < 84]
- Give them a random height between 84 and 90
For C/PF:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 0 ] AND [Secondary position = 1] AND [Player ID > X] AND [Height < 82]
- Give them a random height between 83 and 86
For PF/C:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 1 ] AND [Secondary position = 0] AND [Player ID > X] AND [Height < 82]
- Give them a random height between 82 and 84
For PF/PF:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 1 ] AND [Secondary position = 1] AND [Player ID > X] AND [Height < 81]
- Give them a random height between 81 and 83
+++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++
The Difficulties:
- As I mentioned before, I have no idea about creating batch files, so I have no idea if this is at all plausible.
- More specifically, I don't know if it is pausible to make a batch file that searches simultaneously through multiple .dbf files. This is a problem because to find those players with particular heights, the batch would have to first search the players.dbf to find the player positon(0, 1, 2, etc), then search the appearance.dbf file to find their heights. Don't know if there are instructions in batch files that could do this?
- Don't know if it is at all possible to give an instruction that gives a random number? Because this is necessary in order to randomly give a height between, say 84 and 89.
There's probably more difficulties I'm overlooking, but this post is long enough already as is...
What I really want to get is the opinions of all you excellent patchers of this community, whether this is at all plausible. Also, how do I get my hands on Cdbflite, so I can try this out myself?
Sun Apr 08, 2007 3:53 am
The problem on your theory is its not plausible for cdbflite to access to diff dbf files at the same time. Although, RyanP succeeded on interacting two files, just like what he did in Draft mod. Its a bit tricky and i dont know how he did it myself. Best bet is ask him how he did it.(he uses cdbflite, dbf viewer and extractor)
Second problem is i don't know if you can generate random number with cdbflite.
If you manage to fix the number 1 problem please let me know. Coz i wanna do a play fix base on the current line-up and goto guy of the team.
Sun Apr 08, 2007 7:40 am
Thanks for your response, Mnem. By the way, I've always wondered to myself, is your name some sort of variation of Eminem? Back to the topic...
I have no idea of what RyanP didin draft mode... I haven't been following the real draft thread, since my upcoming draft is very strong. I'll use that draft patch when I have a weaker draft coming up. I guess I'll invite him to this thread to get his opinion.
Yeah, I was really skeptical about the random numbers part too.
i wanna do a play fix base on the current line-up and goto guy of the team
That's a good idea you have. Hope you succeed in implementing it.