PCM.daily banner
21-11-2024 23:54
PCM.daily
Users Online
· Guests Online: 125

· Members Online: 0

· Total Members: 161,772
· Newest Member: KennethSal
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2020
 Print Thread
Races Without Stages
gunara
Guys, I wish someone can help with my question

If I erase all stages from some race in sta_stage without erasing the races in sta_race, will it cause any problem? Other than the races don't happen, of course, which is exactly the objective.
I just want to delete some problematic races (including all their entries in dyn_team_race) before they happen in the season, but I don't want them to disappear from cyclist palmares. I don't want the career tabs to look ugly with the dyn_palmares lose its references in sta_race.
I know I can just try, but sometimes problems don't happen right away at the date of changes, and only kick in when it's too late to roll back the db..

Thanks in advance.
Edited by gunara on 04-06-2021 20:21
 
cunego59
There's a column in STA_race called gene_b_selected, I never thought much about it because it just has a 1 for every race, but you could try to simply put a 0 in there and see if the race disappears (and if so, if it only disappears from the calendar or also from everything else like the palmares).

Other than that, I would probably advise you to at least delete the participating teams in gene_ilist_fkIDteam, I could see that being a potential source of problems, and maybe set the gene_i_number of stages and perhaps the first and last stage to 0 as well, although I could imagine that would trigger a ModCheck fail. But at least that's something you'll see right away. Generally, I haven't tried this so no guarantees, but these are at least some thoughts I had on this question.

Also, another thing: You say these races are problematic, maybe there's another way to fix that other than deleting them outright to avoid the issue?
 
gunara
cunego59 wrote:
There's a column in STA_race called gene_b_selected, I never thought much about it because it just has a 1 for every race, but you could try to simply put a 0 in there and see if the race disappears (and if so, if it only disappears from the calendar or also from everything else like the palmares).

Other than that, I would probably advise you to at least delete the participating teams in gene_ilist_fkIDteam, I could see that being a potential source of problems, and maybe set the gene_i_number of stages and perhaps the first and last stage to 0 as well, although I could imagine that would trigger a ModCheck fail. But at least that's something you'll see right away. Generally, I haven't tried this so no guarantees, but these are at least some thoughts I had on this question.

Also, another thing: You say these races are problematic, maybe there's another way to fix that other than deleting them outright to avoid the issue?


Thanks for the very good reply, I will try the suggestions.

As for the original problem, first I have to admit that I posted in a wrong forum, my problem is for the 2019 version, I apologize.
But I hope it doesn't change that much, anyway, here's the problem:
I changed the national teams for the 2nd season, matching the the DYN_national_team and STA_country. I think I should have changed it before January but I forgot so I changed it after the season start, but in the previous PCM it didn't cause any problem.
However, in PCM 2019, it crashed the U23 nation cup races. The log showed the last activities before the crashed pointed to the wrong key "66" in STA_region, but I didn't know what it referred to. I rolled back several days and updated DYN_team_race, but it still crashed. Any idea?
 
gunara
cunego59 wrote:
There's a column in STA_race called gene_b_selected, I never thought much about it because it just has a 1 for every race, but you could try to simply put a 0 in there and see if the race disappears (and if so, if it only disappears from the calendar or also from everything else like the palmares).

Other than that, I would probably advise you to at least delete the participating teams in gene_ilist_fkIDteam, I could see that being a potential source of problems, and maybe set the gene_i_number of stages and perhaps the first and last stage to 0 as well, although I could imagine that would trigger a ModCheck fail. But at least that's something you'll see right away. Generally, I haven't tried this so no guarantees, but these are at least some thoughts I had on this question.

Also, another thing: You say these races are problematic, maybe there's another way to fix that other than deleting them outright to avoid the issue?


Thanks for the very good reply, I will try the suggestions.

As for the original problem, first I have to admit that I posted in a wrong forum, my problem is for the 2019 version, I apologize.
But I hope it doesn't change that much, anyway, here's the problem:
I changed the national teams for the 2nd season, matching the the DYN_national_team and STA_country. I think I should have changed it before January but I forgot so I changed it after the season start, but in the previous PCM it didn't cause any problem.
However, in PCM 2019, it crashed the U23 nation cup races. The log showed the last activities before the crashed pointed to the wrong key "66" in STA_region, but I didn't know what it referred to. I rolled back several days and updated DYN_team_race, but it still crashed (which at the second crashes, the game picked the riders from the correct updated nations as I checked). It may crash the Worlds, too, but I haven't got to that time of the year. Any idea?

PS:
I believe there is no typical problem about the races & stages, no file missing/wrong variants/fallback etc..
Edited by gunara on 05-06-2021 08:22
 
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
TDF13: Garmin in green
TDF13: Garmin in green
PCM13: Official 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.19 seconds