age of the riders
|
|
Ad Bot |
Posted on 23-12-2024 07:14
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
mattgonzo |
Posted on 08-07-2009 12:28
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
Hey guys,
Could anyone tell why all the riders in the game are one year younger than in real live and how i could fix it?
--->i won't change all the birthdates with the editor(that can't be the only solution)
thx in advance |
|
|
|
CrueTrue |
Posted on 08-07-2009 12:52
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
The rider ages are updated in PCM.daily's Package.
If you want to fix your own package, yes, you have to change it in the editor. |
|
|
|
mattgonzo |
Posted on 08-07-2009 14:05
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
I have the pcm.daily's package and i just added a few faces.
I don't know why the ages are uncorrect now |
|
|
|
CrueTrue |
Posted on 08-07-2009 14:19
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Are you sure that they are incorrect?
Keep in mind that a career starts in January 2009, so even if a rider has hadhis birthday in real life, it doesn't mean that he should have his age updated in PCM. |
|
|
|
mattgonzo |
Posted on 08-07-2009 19:56
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
the birthdates in the pcmdailys database are correct and they are showen correct in the game, but if i change the stats etc with the advanced editor V4 all the riders in the game are one year younger...idk why... |
|
|
|
Jape |
Posted on 09-07-2009 15:15
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
Yeah, that's actually a problem cause the editor will update all ages automatically. But, the catch is that the editor thinks it's 2007 (or 08). I just came across the fulleditor 2009 on the cyanide forum (database subforum, sticky post on top). Maybe that version fixes this. |
|
|
|
CrueTrue |
Posted on 09-07-2009 15:20
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
I don't think that the Advanced Editor / Full Editor changes the ages. The in-built one might do it, though. |
|
|
|
Jape |
Posted on 09-07-2009 16:24
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
The actual code i once got from Eyolfur from his advanced editor.
foreach (DataRow row in mytable.Rows)
{
int naissance = int.Parse(row["gene_i_birth_year"].ToString());
int age = 2007 - naissance;
row["gene_i_age"] = age.ToString();
}
But it might be corrected in the full editor 2009 he posted on the forum. I dunno, needs testing i guess. |
|
|
|
CrueTrue |
Posted on 09-07-2009 16:26
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
To me, that sounds like the code from the in-built editor.
The age is NOT calculated in the Advanced Editor (which is the same as the Full Editor, by the way). |
|
|
|
Jape |
Posted on 09-07-2009 16:35
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
Aah, i get it. Function will probably only be called if you edit the dyn_cyclist table inside the advanced editor. That makes sense indeed.
[edit]So solution to your problem mattgonzo would be to not edit the stats inside the advanced editor but open it up in Excel or notepad, and edit it in there.
Edited by Jape on 09-07-2009 16:36
|
|
|
|
CrueTrue |
Posted on 09-07-2009 17:03
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
I still doubt that very much.
Let's say that I edit a rider in Advanced Editor and set him to 0 in 'age'. If I save (inside the editor), his age won't change. |
|
|
|
mattgonzo |
Posted on 09-07-2009 18:49
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
I've found the problem....if you want to change the rider stats in the normal (easy) editor all riders in the game are one year younger but when you change them in the advancedV4 editor for example the dyn_cyclist or other things like sta_tga, financial situation etc and put in as ''folder out'' the same name as in the ''database in'', the editor saves the database as for example officialreleaseDB_V1 and the ages are correct in game
but if you put another name as ''folder out'' the ages in game aren't correct.
Idk if thats a problem only of my game.
|
|
|
|
CrueTrue |
Posted on 09-07-2009 18:55
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Again, that doesn't sound reasonable.
My idea is that the ages are screwed up when using the easy editor. I didn't test, so I don't know.
All I can say is that using the Advanced Editor doesn't do a thing to the ages. |
|
|
|
mattgonzo |
Posted on 09-07-2009 19:01
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
yeah like i said,the easy editor always destroys the ages....
but with the advanced editor the ages are also uncorrect if i type in another folder out name then the db in...
but maybe it's just a problem with my game |
|
|
|
mattgonzo |
Posted on 09-07-2009 21:06
|
Under 23
Posts: 77
Joined: 03-04-2009
PCM$: 200.00
|
ok and just another question crue true or anyone else...it doesn't fit in this thread but anyway....
could you tell why the advanced editor always crashes at the exporting database part,after i deleted a rider(the latest dekker) or delete any other tables? |
|
|