PCM.daily banner
22-11-2024 15:55
PCM.daily
Users Online
· Guests Online: 58

· Members Online: 0

· Total Members: 161,786
· Newest Member: noxairindia
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
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 / 208 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
That must hurt his feelings
That must hurt his feelings
PCM13: 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,345 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,800 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.20 seconds