PCM.daily banner
25-11-2024 11:50
PCM.daily
Users Online
· Guests Online: 59

· Members Online: 0

· Total Members: 161,811
· Newest Member: eganyu
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Changing the date of a scheduled race in your save
ShortsNL
So I was just doing the Giro when all of a sudden I see two other races being scheduled on the last two days of the Giro. I was surprised by this, and decided to check my season planning, which I made with Lachi's tools. "I didn't have a second team racing during the Giro?" I thought.

Well it turns out I haven't indeed. I planned to ride these races after the Giro ended, according to the dates specified in Lachi's season planner. But when I look in-game, the Giro ends two days later, causing the overlap. Same with TdF and Vuelta. My theory is that it doesn't count the rest days.

Now those 2 minor races aren't of any importance, but at the Tour de France it's different. Immediately after it is the Tour de Wallonie, and both are sponsor goals which I was going to fulfill with just one group of cyclists. You might be able to understand my frustration when i realized this. At the Vuelta, again there's the same problem, with the GP Montreal and GP Quebec overlapping with the Vuelta, but not in the season planner.

Now, I don't want to change my season planning half way through because of some stupid bug in the season planner tool. So therefore I ask you all, how can I change the date of a scheduled race (and also a stage race) in my save? I want to edit it so that it all the races after the grand tours, which now overlap, are held two days later.


@ Lachi, I'm not blaming you for anything, because this was something I could have found out myself at the start of my carreer, if I checked the race dates manually. However, you might want update your planner or put a large disclaimer with your tool, so that people who plan their first PCM carreer with it like myself won't get the same problems.
 
Lachi
I am sure that my season planner does show all dates correctly, so please show me a picture and/or upload your save so that I can have a look.
 
ShortsNL
Link to my save:
https://depositfiles.com/files/6pkmdq787

Screenshot to my season plan:
https://s14.postimage.org/6vlaky6xr/se...onplan.jpg
On the season plan you can see that the races *should* follow each other up. Note that I made this plan on January 1st of my save, so this is not from the actual date shown in the next picture.

Screenshot to how it looks like in-game:
https://s17.postimage.org/lxf5cnxz1/in...ingame.jpg
You can see at the bottom how the two races end up compared to the Giro. You can also see on the calender the overlap between the TdF and TdW, compared to how it looks in the season plan.

As far as I can see, the carreer save itself is allright. It's just that the grand tours end 2 days later in my save compared to what the planner says.
Edited by ShortsNL on 13-03-2012 18:34
 
Lachi
You are right, it is wrong in my planner. Strangely nobody ever noticed it.

I guess I did program it like that because there were errors in the stage table back then.

But anyway, I attached a fixed version in case you still want to use it.
Lachi attached the following file:
pcm_seasonplanner-fix.rar [93.81kB / 210 Downloads]
 
ShortsNL
Fair enough. I'll definitely keep using your planner mate, it's an amazingly useful tool.

Either way, thanks for fixing your planner, but could you also tell me how to change the race dates in my save, to circumvent the problem of already planned races in my carreer? WinkPfft
 
Lachi
As far as I know, the dates are only linked to the stages. By changing the day (and month) of all stages of one race, it should be possible to move it.

If using my editor you could do as follows:
1. Extract cdb >> select your career
2. In the ribbon, click R Races
3. Search the race you want to fix (click the column header to sort)
4. Click the little + to the left of the line of that race
5. Click the little + next to "STA_stage linked to IDrace"
6. Now you see all stages of that race and can fix them
7. Change the day (gene_i_day) and the month (gene_i_month) if needed
8. Click the black arrow next to the plus on the line you edited last
9. Close both lists by clicking the little -
Repeat steps 3 to 9 for each race

If the editor doesn't seem to react, you forgot to click that black arrow.

After you edited you save, click the star and then "Export to cdb". Now save your career but do not overwrite the original file in case you messed up.

Edit: I never changed the dates in a career but if you are unlucky, you have to fix the column gene_i_computed_date also. This would be a unix timestamp, which can be calculated using for example this link: https://www.unixti.../index.php
Edited by Lachi on 13-03-2012 23:57
 
ShortsNL
Thanks for the help so far.

I edited the race dates, and it now looks like this:
https://s13.postimage.org/n0gixcx3p/ed...edited.jpg

As you can see, the race now takes place on 28/5 according to the calendar, instead of 26/5. However, at the race details it still shows it as 26/5, which can probably be fixed by adding that unix code, which I didn't do yet.

Do you think it is neccessary to also edit the unix code to make my save function properly? Or could I forget about this detail? Also, will the dates of the races that I changed be different next year in my carreer as well?
 
lluuiiggii
Well, maybe the unix code is needed to fix that. But maybe it's playable right now, only testing will answer that. Anyway if you will try to 'add' the code, it should go in gene_i_computed_date (in STA_stage). You could also see if there's a race going in the same day, and copy the code from that one.

And yes, the dates will be the same for the next years of your career.
 
ShortsNL
Hey, I just wanted to leave some quick feedback. I tried the suggestions you guys mentioned, and they worked!

For future reference though, if you want to add the unix number using the link in this thread, make sure you put the time in it at 7 AM, because the calculator is not in GMT, and therefore gives a different number than in the DB.

Thanks a lot for all the help.
Edited by ShortsNL on 18-03-2012 21:30
 
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
Stage Selection
Stage Selection
PCM10: General Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,445 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,900 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

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