PCM.daily banner
24-11-2024 05:53
PCM.daily
Users Online
· Guests Online: 85

· Members Online: 0

· Total Members: 161,798
· Newest Member: Jorgedpc
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
The string: gene_i_virtual_unavailability_until
Ad Bot
Posted on 24-11-2024 05:53
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
timpiej
What does it do?
 
Lachi
As far as I know, it does nothing. Why do you ask?
 
timpiej
Would be nice if you could put a rider unavailable for a couple of years (like for doping)
 
Lachi
pcmdaily did it in the last years by giving them an injury which lasts as long as the doping ban. But it made the game crash if people clicked on the cyclist, also the AI teams did contract them anyway.

But feel free to do it if you want some cyclists from participating in the races until their ban is over.
 
timpiej
I do want to do that, and I don't care that AI teams contract them, the problem was when I gave them an injury for like 2 or 3 years after max one year everybody was free of injuries again....
 
Lachi
You have to ask CrueTrue, he knows how to do it. (But he is in vacation atm and he does not like PMs.)
 
timpiej
I know, I'll ask him if I come back from my little holidays. Thanks anyways

GrTz
 
CrueTrue
What exactly did you edit so far?
 
http://www.pcmdaily.com
timpiej
First of all: I still don't know the meaning of gene_i_virtual_unavailability_until

Secondly: nothing, I thought it was too stupid to try the dopething again because after max 1 year all were free agents again, and free agents do improve, while the injuried riders of course don't...

So I still need help, I'm afraid from 0 because if I do it, I want to do it right this time.

GrTz
 
CrueTrue
I'm pretty sure that virtual_unavailability has something to do with save games, so it might not be all too relevant (= work) in your database.

Injuries should work. I did experience injuries being shortened, but not by more than a month or two. Did you add an entirely new injury and injury label in STA_injury / STA_injury_label?
 
http://www.pcmdaily.com
timpiej
When I look in my document from last year when I did this for PCM10, there is something to be made in DYN_injury & STA_injury.
When I open my database and open STA_injury_label there is a line made for doping:
IDinjury_label: 12
IDtype_injury_origin: 3
Gene_i_level: 4
gene_ilist_gene_strID_label: ()
gene_flist_probability: (0.)
pipo_sz_info: doping

So that should be good?

What I've noticed now in my database is that in my DYN_injruy my fkIDinjury is the same as my IDinjury in STA_injury. While it probably should be both IDinjury's who should be the same in DYN_injury & STA_injury?

Thanks for the help so far!
 
CrueTrue
I don't understand the last paragraph of your post.

If you have made a new injury in STA_injury, you should use it in fkIDinjury in DYN_injury. However, the IDinjury in DYN_injury should always be unique.

Make sure that gene_f_duration and gene_f_timeleft are equal. Also set them a little higher than what they "should" be.
 
http://www.pcmdaily.com
timpiej
CrueTrue wrote:
I don't understand the last paragraph of your post.

If you have made a new injury in STA_injury, you should use it in fkIDinjury in DYN_injury. However, the IDinjury in DYN_injury should always be unique.

Make sure that gene_f_duration and gene_f_timeleft are equal. Also set them a little higher than what they "should" be.


Alright, I'll try it again when I'm done adding riders and things, thanks!

If you have some time, could you help me out on some more things?
https://pcmdaily.com/forum/viewthread....d_id=19588
Since nobody is replying...
 
timpiej
CrueTrue wrote:
I don't understand the last paragraph of your post.

If you have made a new injury in STA_injury, you should use it in fkIDinjury in DYN_injury. However, the IDinjury in DYN_injury should always be unique.

Make sure that gene_f_duration and gene_f_timeleft are equal. Also set them a little higher than what they "should" be.


What should I fill in STA_injury_label ?
 
CrueTrue
Do you have the PCM.daily DB for PCM10? If so, you can just copy everything from there.
 
http://www.pcmdaily.com
timpiej
CrueTrue wrote:
Do you have the PCM.daily DB for PCM10? If so, you can just copy everything from there.


Copy everything from STA_injury_label? I was indeed planning that.

What is strange is, is that in the DYN_injury from last year there were several things already filled in, whilst this year it is empty, is that because you guys did not work with the injury4dope this year? If so, I'm wondering, in a small text that you provided us last year it said this:

Dyn injury:
<IDinjury>UNIQUE ID</IDinjury>
<fkIDinjury>312</fkIDinjury>
<fkIDformated_string>5835</fkIDformated_string>
<gene_f_duration>THE AMOUNT OF SUSPENSION DAYS</gene_f_duration>
<gene_f_timeleft>Same as above</gene_f_timeleft>
<gene_b_allowrace>0</gene_b_allowrace>
<fkIDrace>0</fkIDrace>
<gene_f_training_points_removed>0</gene_f_training_points_removed>

While in the table in fkIDformated_string the value was 5971 while in the text above you said it should be 5835, that gets me confused...

GrTz
 
CrueTrue
We didn't add any injuries before-hand this year, so that's why it's empty.

I don't see where I said that it should be 5835. Either way, it's the ID of the text that appears next to the rider when he's "injured", so it depends on what the ID is in your DB Wink
 
http://www.pcmdaily.com
timpiej
Ok, and where can you find this text? In what table?

And is it the same that has to be filled in STA_injury in
gene_strID_name ? Or what has to be filled in there?

GrTz and thanks so much for the help, I might actually get the hang of this between now and forever Pfft
 
CrueTrue
You have to add the text yourself to STA_localized_string of the Local.cdb (My Docs/PCM). The ID from there is the one you have to type in to STA_injury.

(It doesn't really matter in DYN_injury, but just type in the same number there)
Edited by CrueTrue on 20-08-2011 20:33
 
http://www.pcmdaily.com
timpiej
so, is this example right then?

STA_localized_string
IDlocalized_string: 6666
gene_sz_english: doping
CONSTANT: Doping

STA_injury_label:
IDinjury_label: 9 or higher (as it has to be unique)
fkIDtype_injury_origin: 3
gene_i_level: 4
gene_ilist_gene_strID_label: ()
gene_flist_probability: (0.)
pipo_sz_info: doping

STA_injury:
IDinjury: 312 or higher (as it has to be unique)
IDtype_injury_origin: 3
gene_i_level: 4
gene_strID_name: 6666
gene_f_min_duration: 360
gene_f_max_duration: 390

DYN_injury:
IDinjury: 1
fkIDinjury: 312 (depends on IDinjury from STA_injury)
fkIDformated_string: 6666
gene_f_duration: 375
gene_f_timeleft: 375
gene_b_allowrace: 0
fkIDrace: 0
gene_f_training_points_removed: 0
Edited by timpiej on 20-08-2011 20:53
 
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
Quite close result...
Quite close result...
PCM11: 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: 1.31 seconds