Posts: 1,226
Threads: 217
Joined: Jan 2012
Reputation:
0
How I could make dna system so player gets unique dna?
It could be something like random nummbers or?
Like groups A+ A- with random nummber by player?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
You're confusing DNA with blood type.
If you want a unique number to represent players' DNA, and you're using mySQL to save player data, use the primary id key (which you SHOULD be using already). If you don't want the DNA 'IDs' to start at 0/1 just add x to it.
If you want BLOOD types, just define them like he said.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
I'll say it again: Blood type IS NOT the same thing as DNA. Everyone's DNA is unique (excluding identical twins), whereas there are only a few (~6) blood types.
By not specifying which you want, it's hard to help, because they're VERY different.
Posts: 1,226
Threads: 217
Joined: Jan 2012
Reputation:
0
You see I want just dna system.. I don't know how big would be dna code?
Yeah sorry about my miss understanding what I'm making right now ..
It's for police investigation systems.
Posts: 867
Threads: 104
Joined: Jul 2010
Reputation:
0
Dude, did you know one human DNA uses 37MB of HDD, are you sure you want to make that sys... LOL just kidding, my advice is to use as MP2 said, MySQL with primary key ID that is Auto increment, or just generate UniqueID, but that is not necessary cus ID is already unique.