Adding national championships
|
Inferio |
Posted on 06-08-2009 10:49
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
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 |
Posted on 06-08-2009 11:06
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Not enough riders participating, perhaps?
In general, adding races to a save game isn't a good idea.
|
|
|
|
Inferio |
Posted on 06-08-2009 11:24
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
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
|
|
|
|
CrueTrue |
Posted on 06-08-2009 11:26
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
With the championships in the DB, check your ProCyclingManager.log file after the crash and paste the last 15-20 lines here.
|
|
|
|
Inferio |
Posted on 06-08-2009 11:41
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
(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 |
Posted on 06-08-2009 12:22
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
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
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 |
Posted on 06-08-2009 14:21
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
"\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 .
|
|
|
|
Inferio |
Posted on 06-08-2009 14:26
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
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
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:
Edited by Inferio on 06-08-2009 14:28
|
|
|
|
CrueTrue |
Posted on 06-08-2009 14:30
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Default.xml or defaut.xml? It has to be misspelled
Another thing is that there could be a problem with the stage file. Who made it? Try uploading it.
|
|
|
|
Inferio |
Posted on 06-08-2009 14:35
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
CrueTrue wrote:
Default.xml or defaut.xml? It has to be misspelled
Another thing is that there could be a problem with the stage file. Who made it? Try uploading it.
Of course default.xml
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
|
|
|
|
CrueTrue |
Posted on 06-08-2009 14:37
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
I repeat: It has to be defaut.xml, not default.xml.
|
|
|
|
Inferio |
Posted on 06-08-2009 14:39
|
Domestique
Posts: 687
Joined: 31-12-2008
PCM$: 200.00
|
|
|
|
|
Lachi |
Posted on 06-08-2009 15:21
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
It is french, not english. So it is not misspelled.
|
|
|