PCM.daily banner
23-12-2024 07:14
PCM.daily
Users Online
· Guests Online: 41

· Members Online: 1
AbhishekLFC

· Total Members: 162,202
· Newest Member: FaServicesllc
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2009
 Print Thread
age of the riders
Ad Bot
Posted on 23-12-2024 07:14
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
mattgonzo
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
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.
 
http://www.pcmdaily.com
mattgonzo
I have the pcm.daily's package and i just added a few faces.
I don't know why the ages are uncorrect nowSad
 
CrueTrue
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.
 
http://www.pcmdaily.com
mattgonzo
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
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
I don't think that the Advanced Editor / Full Editor changes the ages. The in-built one might do it, though.
 
http://www.pcmdaily.com
Jape
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
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).
 
http://www.pcmdaily.com
Jape
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
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.
 
http://www.pcmdaily.com
mattgonzo
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 gameWink
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
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.
 
http://www.pcmdaily.com
mattgonzo
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 gameSmile
 
mattgonzo
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?
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
New way of road painting
New way of road painting
PCM09: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,776 PCM$
bullet df_Trek 17,674 PCM$
bullet Marcovdw 15,745 PCM$
bullet jseadog1 13,752 PCM$
bullet baseba... 10,539 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,990 PCM$
bullet df_Trek 15,820 PCM$
bullet Marcovdw 15,200 PCM$
bullet jseadog1 13,700 PCM$
bullet baseball... 7,432 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.35 seconds