Adding Players

Talk about NBA Live 06 here.

Adding Players

Postby Jackie Kong on Sun Nov 02, 2008 2:35 pm

I have some doubts about how to add a player correctly in the players.dbf.

I know how to edit players through the players.dbf because i did that for old sim leagues i started but i never learned how to add players, lol.
Every time i add/remove a player all the heights and stuff like that mix up.

For removing a player i know an alternative is to change the team number but i really want to know how to delete a player from the players.dbf without screwing everything up. The same goes for adding a player. As far as i know it has to do with the player id but obviously i am doing something wrong. The same goes for adding a player.

I was thinking about creating a player in the game and edit him through the players.dbf and the appearance file and switch to false in iscreated but i don't know if it is the best thing to do.

I know this is probably answered somewhere but i couldn't find something useful.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Spree#8 on Sun Nov 02, 2008 11:42 pm

Don't create players in players.dbf file. It messes up the whole database, heights and weights are mixed after that and so on.

Create them in game and then edit the dbf files.

You can safely delete a player by entering 32 in the "TEAM" field. That will make him retire and he won't appear in the game.
Image
User avatar
Spree#8
 
Posts: 1044
Joined: Tue Feb 19, 2008 5:48 am
Location: Poland

Postby ch1no on Mon Nov 03, 2008 2:56 am

You can read the tutorial here http://wiki.nba-live.com/
Image
User avatar
ch1no
 
Posts: 35
Joined: Wed Apr 30, 2008 5:11 pm
Location: Manila

Postby Jackie Kong on Mon Nov 03, 2008 5:08 am

ch1no wrote:You can read the tutorial here http://wiki.nba-live.com/


I searched there before but i didn't find what i was looking for.

Spree#8 wrote:Don't create players in players.dbf file. It messes up the whole database, heights and weights are mixed after that and so on.

Create them in game and then edit the dbf files.

You can safely delete a player by entering 32 in the "TEAM" field. That will make him retire and he won't appear in the game.


So, you are saying to do what i proposed before right?. I create the player in the game with an X name or the name of the player i want and then edit all in the players.dbf and appearance.dbf and turn ISCREATED from FALSE to TRUE.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Andrew on Mon Nov 03, 2008 7:16 pm

That's correct. It's better to do as much as you can from within the game and then edit the database as necessary. There's a much greater chance of something going wrong if you do it all entirely within the database.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby Jackie Kong on Tue Nov 04, 2008 12:57 am

And how do you make a player disappear in the players.dbf? I am talking about rosters and not changing the team id.
Last edited by Jackie Kong on Tue Nov 04, 2008 1:27 am, edited 2 times in total.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby ch1no on Tue Nov 04, 2008 1:04 am

edit his team to '32 (retired)' he should disappear from the game
Image
User avatar
ch1no
 
Posts: 35
Joined: Wed Apr 30, 2008 5:11 pm
Location: Manila

Postby Jackie Kong on Tue Nov 04, 2008 1:31 am

but he is still in the rosters database.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Spree#8 on Tue Nov 04, 2008 1:50 am

That means that the database is already somehow screwed, if with 32 in the "TEAM" field he still appears in the game.
Image
User avatar
Spree#8
 
Posts: 1044
Joined: Tue Feb 19, 2008 5:48 am
Location: Poland

Postby Jackie Kong on Tue Nov 04, 2008 3:46 am

I am talking about the database. How to delete the whole row without screwing things up.

EDIT: I came up with an idea but i don't know if it will work. Switch is ISCREATED to TRUE and delete the player in the game. :D I know it should work with players you previously created but i don't know with players that were in the game before.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby ch1no on Tue Nov 04, 2008 4:31 am

Marco20 wrote:I am talking about the database. How to delete the whole row without screwing things up.

EDIT: I came up with an idea but i don't know if it will work. Switch is ISCREATED to TRUE and delete the player in the game. :D I know it should work with players you previously created but i don't know with players that were in the game before.


Can I ask why you would want to delete a database entry? Because I can't see your objective in doing this? Please don't take offense on this as I just want to try and help but deleting an entry is dangerous and pointless. A single entry is connected to multiple databases, one mistake and your game can crash.
Image
User avatar
ch1no
 
Posts: 35
Joined: Wed Apr 30, 2008 5:11 pm
Location: Manila

Postby Andrew on Tue Nov 04, 2008 12:18 pm

Marco20 wrote:I am talking about the database. How to delete the whole row without screwing things up.

EDIT: I came up with an idea but i don't know if it will work. Switch is ISCREATED to TRUE and delete the player in the game. :D I know it should work with players you previously created but i don't know with players that were in the game before.


There's no point in doing that, it usually leads to errors more often than not. If you change a player's TEAM to 32 he won't appear in the rosters and will be wiped automatically when you start a new Dynasty or Season, so there's no need to remove his entry completely.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby Jackie Kong on Wed Nov 05, 2008 10:00 am

to have smaller files. it doesnt make difference with one player but 100 for example kinda does (maybe i am wrong). if what i said works it would delete the entry in the players.dbf and appearance.dbf and i dont see why it would crash because i am using the game to delete the player.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby ch1no on Wed Nov 05, 2008 1:35 pm

Well here's why I don't suggest it. First it'll take a lot of time. Second a database entry is just a few kilobytes at the most it's just text, deleting a hundred might save you an MB (I'm not sure) or two but is it worth all of your time deleting them? Its hard work for a couple of MB's but you could try and then tell us how much you saved by deleting a hundred entries.
Image
User avatar
ch1no
 
Posts: 35
Joined: Wed Apr 30, 2008 5:11 pm
Location: Manila

Postby Andrew on Wed Nov 05, 2008 2:32 pm

There's really no advantage in it but if you want to give it a try by all means do so.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby Jackie Kong on Mon Nov 10, 2008 3:13 am

I found another way to add players. Edit the retired players (team id:32) for new players.

It looks to work fine.

Andrew, i noticed that in your roster´s players.dbf there is an extra column: gradclass (set at 0 for every player). What is it for?
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Andrew on Mon Nov 10, 2008 9:22 am

It should be in all NBA Live 06 players.dbf files, I added it when I did the conversion to avoid crashes. It's used in the generation of rookies and sets whether they were freshmen, sophomores, juniors, seniors or high schoolers. I'm not sure if 06 actually uses it but when I didn't include it the game crashed with a DBF error referring to the GRADCLASS field which is why I added it.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby Jackie Kong on Mon Nov 10, 2008 10:25 am

oh, ok. I compared the database to the players.dbf in the LegendsV4 that didn´t have that column.
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Andrew on Mon Nov 10, 2008 10:32 am

Odd that it doesn't crash without it. In any case, the game will ignore it if it doesn't need it but I'll leave it in the conversion since I ran into those problems while testing it out.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby Jackie Kong on Mon Nov 10, 2008 10:44 am

I have one question about portraits. Do you know why sometimes they dont work? (With PLAYERPKG matching and cyberfaces showing up)
User avatar
Jackie Kong
 
Posts: 527
Joined: Mon Oct 03, 2005 5:18 am

Postby Andrew on Mon Nov 10, 2008 12:58 pm

I'd say a problem with the actual (portrait) .big file.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115136
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia


Return to NBA Live 06

Who is online

Users browsing this forum: No registered users and 3 guests