The string: gene_i_virtual_unavailability_until
|
timpiej |
Posted on 12-08-2011 19:53
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
What does it do? |
|
|
|
Lachi |
Posted on 12-08-2011 22:23
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
As far as I know, it does nothing. Why do you ask? |
|
|
|
timpiej |
Posted on 12-08-2011 22:37
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
Would be nice if you could put a rider unavailable for a couple of years (like for doping) |
|
|
|
Lachi |
Posted on 12-08-2011 22:41
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
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 |
Posted on 12-08-2011 22:59
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 12-08-2011 23:07
|
Grand Tour Champion
Posts: 8516
Joined: 29-06-2007
PCM$: 200.00
|
You have to ask CrueTrue, he knows how to do it. (But he is in vacation atm and he does not like PMs.) |
|
|
|
timpiej |
Posted on 13-08-2011 08:22
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
I know, I'll ask him if I come back from my little holidays. Thanks anyways
GrTz |
|
|
|
Ad Bot |
Posted on 24-11-2024 06:06
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
CrueTrue |
Posted on 17-08-2011 21:45
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
What exactly did you edit so far? |
|
|
|
timpiej |
Posted on 17-08-2011 22:22
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 17-08-2011 22:52
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
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? |
|
|
|
timpiej |
Posted on 18-08-2011 09:14
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 18-08-2011 12:08
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
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. |
|
|
|
timpiej |
Posted on 18-08-2011 13:41
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 20-08-2011 13:29
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 20-08-2011 18:33
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Do you have the PCM.daily DB for PCM10? If so, you can just copy everything from there. |
|
|
|
timpiej |
Posted on 20-08-2011 19:57
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
Posted on 20-08-2011 20:18
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
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 |
|
|
|
timpiej |
Posted on 20-08-2011 20:27
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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 |
|
|
|
CrueTrue |
Posted on 20-08-2011 20:32
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
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
|
|
|
|
timpiej |
Posted on 20-08-2011 20:49
|
Domestique
Posts: 598
Joined: 08-12-2007
PCM$: 200.00
|
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
|
|
|