PCM.daily banner
24-11-2024 23:35
PCM.daily
Users Online
· Guests Online: 82

· Members Online: 0

· Total Members: 161,804
· Newest Member: Josephmog
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
After choosing a team the game crashes
timpiej
Lachi wrote:
If you are editing in excel anyway, then try this: https://pcmdaily.c...hp?did=798


Yep, that's what I did, and finally the DYN_team and everything is good, but I'm still have problems starting a career, when I give up manager name and everything, and can choose the team I want to start a career with, it crashes. Here's the 20 last lines of the txt file.

E\cym11buildmachine\Trunk\Dev\CM\Sources\GameCycling\Game\GameCycling.cpp(2239): [game] switching from state 8 to state 2 with action 27
(0000):
(0000): +- DisplaySubPage(0) : TM_Nouvelles
(0000): |
(0000): |
(0000): +- DisplaySubPage : Done
(0000):
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0387): [game manager] selecting start date 1/1/2004...
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(1191): [game manager] precomputing race date
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0426): [game manager] current stage was set: 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0454): [game manager] ===> stage index is 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0455): [game manager] stage id : 134
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0456): [game manager] race id : 110
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0461): start day is 1/1/2004
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0462): m_iNextStageSortedIndex is 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0469): start init...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Random Init'...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0022): process 'Random Init' has ended
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Init Moral'...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0022): process 'Init Moral' has ended

Normally the DB I'm using should be attached. Still have a problem with the game choosing the officialrelease as current DB, but when I edit the name of the DB so it stand alphabetically in front of the officialrelease I still get the same crash.
timpiej attached the following file:
timpiej2012_1.cdb [272.56kB / 88 Downloads]
 
timpiej
If it was any other DB I would have give up already, but I've put soooo much work in this one... I'm so desperate.
 
Lachi
In case you did not know, the FAST editor has a tool to search for problems or errors in the database. You might want to try that, maybe it can help.

As far as I have read, this tool also shows problems which do not make your game crash, but you could get a hint.
 
lluuiiggii
Lachi wrote:
As far as I have read, this tool also shows problems which do not make your game crash, but you could get a hint.

Yes, a lot of them. The PCM.daily DB for example will have about 600 errors, but sometimes you can easily differ those who are 'fatal' and those who are not (for example, a lot of the PCMdaily errors are the teams fkIDequipment_marques which do not appear in STA_equipment_marques, which is supposed to be that way so you can just scroll past that part of the errors list).
 
timpiej
Yeah, I've noticed that, I've seen some teams were linked to ID's of countries that weren't in the country table. So I fixed that, the next step I'll do is check what the 'errors' given in the PCMdaily pack and my DB are and then look if I can solve more problems. I'll get back to this when I have done that, either this evening or tomorrow.
 
timpiej
What I have learned for now is that:
- Like lluuiiggii said: The ID's in equipment_marques don't have any use in DYN_team
- the ID's in STA_race don't have any use in STA_roster_type_leader
- The ID's in DYN_team don't have any use in STA_race.

Is this correct? I'm talking DB's not savegames.

-Edit-
Does it matter? I have some info standing around in DYN_sponsor_region, that leading to no sponsor, should I fix all that? Because it looks harmless to me.

GrTz
Edited by timpiej on 15-05-2012 21:30
 
lluuiiggii
Yes, but remember not all IDs, some of them. And I don't think any of these three errors will make the game crash.
 
Ad Bot
Posted on 24-11-2024 23:35
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
timpiej
Cool, did you see my Edit there to lluuiiggii?
 
lluuiiggii
No, hadn't seen the edit.

Well a sponsor error seems more serious at least than the other 3.. but it's hard to tell if it's the error causing the crashes or not. You could test with a working DB, edit it so one of the sponsor regions lead to a non-existent sponsor and see if it makes the game crash. But I'd correct the errors in DYN_sponsor_region anyway, even if it doesn't make the game crash, also because it shouldn't be too hard doing it.
 
timpiej
Yeah, ok thanks man. Will do.
 
timpiej
Ok, I have cleared the sponsor 'errors'. So all that's left is the equipment marques & the rest mentioned in #26 + Some program_info issues that are the same as the pcmdaily pack.

I still recieve crashes after choosing my team though. Again the last 20 lines of the txt file:

E\cym11buildmachine\Trunk\Dev\CM\Sources\GameCycling\Game\GameCycling.cpp(2239): [game] switching from state 8 to state 2 with action 27
(0000):
(0000): +- DisplaySubPage(0) : TM_Nouvelles
(0000): |
(0000): |
(0000): +- DisplaySubPage : Done
(0000):
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0387): [game manager] selecting start date 1/1/2004...
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(1191): [game manager] precomputing race date
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0426): [game manager] current stage was set: 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0454): [game manager] ===> stage index is 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0455): [game manager] stage id : 134
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0456): [game manager] race id : 110
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0461): start day is 1/1/2004
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0462): m_iNextStageSortedIndex is 0
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0469): start init...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Random Init'...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0022): process 'Random Init' has ended
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Init Moral'...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0022): process 'Init Moral' has ended

Tried it 3 times now, 3 times the txt file ended like that...

-Edit-
Tried it again this morning, same problem. DB attached, please help me out...
timpiej attached the following file:
timpiej2012_2.cdb [272kB / 90 Downloads]

Edited by timpiej on 16-05-2012 08:24
 
timpiej
[quote="Eyolfur"]I'm sorry to say it is particularly not the time for Cyanide to test it, as we are close to the PCM12 deadline, but all i can say is that you can try to watch your staff table because it is the next thing to init after the process "Init Moral'".

It might be from teh DYN_sponsor table too, make sure the countries, contract ends, fame are correct (the staff is chosen depending on the fame of the main sponsor)

i hope it helps[/quote]

My answer to that after checking:
Ok, I respect that and thank you for the help!

I don't see anything wrong with the staff tables, fame is between 1 & 4, IDregion is not linked to a region that does not exist in STA_region, no double ID's, work amounts, contract ends & staf stats are 0.
Same for my DYN_sponsor table, fame is between 1 & 4, region is not linked to a region that does not exist in STA_region, contract ends = all in 2099, year max = also all 2099, so if it could be anything from DYN_sponsor it could be the gene_sz_color. But I know nothing about that. Any help is appreciated!

-Edit- As stated above I fixed the contract of my sponsors, to 2099 for all aswell as the maximum year collumn. So here's the latest version of the DB.
timpiej attached the following file:
timpiej2012_3.cdb [271.98kB / 91 Downloads]

Edited by timpiej on 16-05-2012 10:36
 
CrueTrue
What you can do is copy e.g. the DYN_sponsor table from a database that works to your DB. If that works, you know the problem is inside that table. That will limit your problem area.
 
http://www.pcmdaily.com
timpiej
Will do that, but it's not like there's a limit in that table? That the crash is made because the contract expires in 2099 ?
 
CrueTrue
No.
 
http://www.pcmdaily.com
timpiej
Ok, I have tried it both ways:

Putting my DYN_sponsor in PCMdailyDB = no crashes
Putting a DYN_sponsor from PCMdailyDB in my DB = crash

So apparently it's not the DYN_sponsor table =/

Thanks for the tip anyway, too bad it didn't help.
Any other usefull tips?

GrTz
Edited by timpiej on 16-05-2012 20:53
 
CrueTrue
My useful tip is that you try that for every relevant table that you've changed Wink
 
http://www.pcmdaily.com
timpiej
Ok, that's what I'll do then, funny thing is, I used DYN_coach of PCMdailyDB on my DB and DB crashes before 'choose your team' screen.

PCM.txt
(0000): +- DisplaySubPage(31) : SubPage_InitCareerOptions
(0000): |
(0000): |
(0000): +- DisplaySubPage : Done
(0000):
E\cym11buildmachine\Trunk\Dev\CM\Sources\GameCycling\Game\GameCycling.cpp(2619): [game] state transition ok
(0000): GameManager_FireDoAction:12
(0000): Test time to run the race : (IRC_IsClientRunning=0, GetMySeasonTeamId()=0iGameState=7)
(0000): Test time to run the race : (IRC_IsClientRunning=0, GetMySeasonTeamId()=0iGameState=106)
E\cym11buildmachine\Trunk\Dev\CM\Sources\GameCycling\Game\GameCycling.cpp(2239): [game] switching from state 106 to state 8 with action 17
ine\Trunk\Dev\CM\Sources\GameCycling\GameManager\GameManager_Abstract.cpp(0484): start init before team selected...
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Find Leader Types'...
(0000):
(0000): +- DisplayDialBox(7) : Dialbox_ProgressBar pdtData.iOpenedDialboxIndex = -1
(0000): |
(0000): |
(0000): +- DisplayDialBox : Done; pdtData.iOpenedDialboxIndex = 0
(0000):
ildmachine\trunk\dev\cm\sources\gamecycling\gamemanager\inc\GameProcess.h(0018): starting process 'Young Riders'...

What does that mean?
Edited by timpiej on 16-05-2012 21:56
 
timpiej
Ok, I've narrowed it down, only time it didn't give me the same crash I always had was with the DYN_team of PCMdaily in my DB, so I think it's that table, CrueTrue, any limits in that table? Like a limit how much teams there can be or anything?
 
timpiej
Ok, so I've done some small things in DYN_team hoping it worked, nothing did though. Can anyone who has any knowledge in this look in my DYN_team table and look for irregularities? I'm feeling we're so close to solve this problem but I can't find it.

GrTz
timpiej attached the following file:
aa.cdb [271.85kB / 86 Downloads]
 
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
Sky takes charge
Sky takes charge
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,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.62 seconds