PCM.daily banner
27-11-2024 19:52
PCM.daily
Users Online
· Guests Online: 42

· Members Online: 0

· Total Members: 161,837
· Newest Member: stevendevis
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2009
 Print Thread
Adding national championships
Inferio
Hello,
I added 4 national championships into my database (tables STA_race and STA_stage)... All values are the same as in other nationals and in calender it looks normally, but when I want to simulate them, the game crashes... Any idea what I've forgotten in the database?

EDIT: I added them to savegame, not to clean database...


Edited by Inferio on 06-08-2009 10:53
 
Ad Bot
Posted on 27-11-2024 19:52
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
CrueTrue
Not enough riders participating, perhaps?

In general, adding races to a save game isn't a good idea.

 
http://www.pcmdaily.com
Inferio
CrueTrue wrote:
Not enough riders participating, perhaps?

In general, adding races to a save game isn't a good idea.


Hm, there should be about 10 riders... there are some championships with 10 riders in the PCM.daily dtb, too...

If I add the races to normal databse, should it by editing only to tables STA_race and STA_stage?

Now I have the problem, that the crashes also without the championships Grin

 
CrueTrue
With the championships in the DB, check your ProCyclingManager.log file after the crash and paste the last 15-20 lines here.

 
http://www.pcmdaily.com
Inferio
(0000): team is in national race
(0000): >>>>>>>>>>>>>>>>>>>>>>> IsStageForUserTeam() = 1
(0000): GameMode=1
(0000): team is in national race
(0000): firstday=1 lastday=1
(0000):
(0000): +- DisplayDialBox(8) : DO_NOT_TRANSLATE_Dialbox_ProgressBar pdtData.iOpenedDialboxIndex = -1
(0000): |
(0000): |
(0000): +- DisplayDialBox : Done; pdtData.iOpenedDialboxIndex = 0
(0000):
(0000): Simulate race Czech Republic Championships (ITT)
(0000): MS : Prepare To Race:
(0000): RaceId:432
(0000): StageId:3049
(0000): Date:1277553600
(0000): [menuserver] saving database <D:\Dokumenty\Pro Cycling Manager 2009\Database\Solo\OfficialRelease/Game_001.cdb>
(0000): version: 1.0.3.3
(0000): iBandwidth:10240000
(0000): MS : Inform clients of race start:
(0000): User Cyanide not in race with team Team Inferio - Eleven
(0000): No clients are registered to race launch race directly without waiting client
(0000):
(0000): +- PageManager_OnDialboxReturn - pdtData.iOpenedDialboxIndex = 0
(0000): |
(0000): | DialBoxReturn(8) : DO_NOT_TRANSLATE_Dialbox_ProgressBar return value : 0
(0000): |
(0000): +- PageManager_OnDialboxReturn : Done - pdtData.iOpenedDialboxIndex = -1
(0000):
(0000): System_CM5_OnInRaceStart _iForceRace=0 IRC_IsClientRunning=0
f:\CM9\Dev\CM\Sources\GameCycling\Game\GameCycling.cpp(2732): [game] switching from state MainPage to state SimulateRace with action SimulatingRace
f:\CM9\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0734): start prestage (3049)...
../../Sources/StageBuilder\StageData.cpp(7136): loading CM_Stages/chpts_suisse_itt.xml
f:\CM9\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0744): prestage ok!
../../Sources/StageBuilder\StageData.cpp(7136): loading ./CM_Stages/chpts_suisse_itt.xml
f:\CM9\Dev\CM\Sources\GameCycling\InRaceServer\IRS2_Race_Abstract.cpp(0811): Le type de sprint finish_itt n'existe pas dans les bonus de classification de l'etape chpts_suisse_itt.xml


Hm, I can see something there, but nothing exactly...


Edited by Inferio on 06-08-2009 11:41
 
Inferio
Now I solved problems with crashing wothout those nationals in the dtb by combining more savegames and some editing... But I'm still interested why the nationals don't work Sad

EDIT:
I'm starting to be nervous...without that nationals no races are ridden...just only the days go and go a nd the races aren't ridden....maybe time to stop playing with databses...


Edited by Inferio on 06-08-2009 12:50
 
CrueTrue
"\IRS2_Race_Abstract.cpp(0811): Le type de sprint finish_itt n'existe pas dans les bonus de classification de l'etape chpts_suisse_itt.xml"


Sounds like the answer to me.

STA_race -> gene_sz_classification_xml. Make sure to set it to defaut.xml .

 
http://www.pcmdaily.com
Inferio
CrueTrue wrote:
"\IRS2_Race_Abstract.cpp(0811): Le type de sprint finish_itt n'existe pas dans les bonus de classification de l'etape chpts_suisse_itt.xml"


Sounds like the answer to me.

STA_race -> gene_sz_classification_xml. Make sure to set it to defaut.xml .


Unfortunately...this was set to default.xml by all my championships Sad

EDIT: If you want to have a look I've attached the savegame file... Once more I thank you for your time...

Inferio attached the following file:
game_001_with_ncs.cdb [1.15MB / 135 Downloads]

Edited by Inferio on 06-08-2009 14:28
 
CrueTrue
Default.xml or defaut.xml? It has to be misspelled Wink

Another thing is that there could be a problem with the stage file. Who made it? Try uploading it.

 
http://www.pcmdaily.com
Inferio
CrueTrue wrote:
Default.xml or defaut.xml? It has to be misspelled Wink

Another thing is that there could be a problem with the stage file. Who made it? Try uploading it.


Of course default.xml Smile

Earlier than I posted my problem here I tried some ways to repair it...I used about 3-4 stage files (and of course edited values in the dtb - name of file and lenght of stage) and all of them were taken from PCM.daily's Expansion pack... What I remember sure were Swiss and Polish ITT NC's...

Now I've almost lost taste to have the NC's there in the savegame, so I decided to delete them from one version (tables: STA_race, STA_stage, DYN_team_race and DYN_race_status) but then as I wrote, the game is running from day to day without doing races Grin

 
CrueTrue
I repeat: It has to be defaut.xml, not default.xml.

 
http://www.pcmdaily.com
Inferio
OH MY! Now I feel like the biggest idiot in the world Sad Sad Embarassed Embarassed

I've misread...It has to be misspelled...oh fuck...of course I set it as default.xml...

Sad Sorry that I was annoying you

 
Lachi
It is french, not english. So it is not misspelled.

 
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
Hard Race
Hard Race
PCM 07: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,476 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.21 seconds