Absolutely phenominal tool. Does the job perfectly.
The auto-sensing on the reroll delay doesn't work for me, but I just set it to 100 manually and it's so much faster and more accurate than I could ever be rerolling manually.
I made my own version of this (using Autohotkey). One thing I noticed was that the text for the same trait varies by position -- so I actually potentially need 9 images to match all 3 posible positions on all 3 character slots... unless i want to use color variation with image search, which I'd rather not due to false positive/negative -- but it is useful to use to help find them initially. I don't know if this is intentional by the devs, or if it's the bloom shader (or something like it).
EDIT: So, I noticed some stuff after doing a lot of rerolls (for characters that have 3 traits and no 5th skill): a) some traits cannot roll in the 1st slot, which is interesting. I'd like to compile complete list of all skills that _can_ roll in the 1st slot, but I'm still thinking about how it would be best to do that, but I think I've got a good plan. b) Most of the really juicy traits can only roll in the 2nd and 3rd slots (Just Keeps Going, Unbreakable, Eats like a Bird, Blood Plague Survivor, Keeps Hidden Pockets, Never Been Sick). c) some traits that I initially thought could only roll in the 1st slot (like former model), I also see it roll rarely in the 2nd slot Not really important, just interesting. d) after loading survivors into the game, the game tends to reshuffle the order of the 3 traits (I'm only really interesting in survivors with 3 starting traits).
One thing I noticed was that the text for the same trait varies by position -- so I actually potentially need 9 images to match all 3 posible positions on all 3 character slots... unless i want to use color variation with image search, which I'd rather not due to false positive/negative -- but it is useful to use to help find them initially. I don't know if this is intentional by the devs, or if it's the bloom shader (or something like it).
what do you mean ? the mod can only detect the target trait in the 2nd and 3rd slot ?
Ciao, faccio tutto correttamente ma quando taglio la riga con F9 e premo ok, il piccolo pannello sottostante scompare e non riesco ad avviare la ricerca
Thank you for this, I am a bit confused, I have 5 traits in primary and 5 in secondary, I don't mind waiting as I will let it run overnight. The issue I am facing though is the program finds a match sends the sound and then rolls the match. I have tried changing the roll delay time but it seems to have no effect. Is the format of the roll delay to be like NEXT_ROLL_INTERVAL=0.100 or NEXT_ROLL_INTERVAL=100 even setting NEXT_ROLL_INTERVAL=200 seems to have no effect.
sorry for the late reply i did not receive any notification on my mail. if it sends a CHIME SOUND it means it found one of the traits inside your PRIMARY folder, so the next step is to check if it has at least one of the traits in your SECONDARY folder. if it moves on it means that it found a match in PRIMARY but found no match from SECONDARY. because the rules is, since you have both traits in PRIMARY and SECONDARY, is that you are looking for a survivor who has at least one trait match from PRIMARY and MUST also have one trait match from SECONDARY. examples below
PRIMARY folder : Just Keeps Going / Unbreakable / Blood Plague Survivor SECONDARY folder : Just Keeps Going / Unbreakable / Blood Plague Survivor / Immortal / Hard to Kill
Survivor #1 : Just Keeps Going / Halo Champion / Never Been Sick = NO MATCH Survivor #2 : Unbreakable / Blood Plague Survivor = MATCH ! Survivor #3 : Just Keeps Going / Halo Champion / Immortal = MATCH !
Is the format of the roll delay to be like NEXT_ROLL_INTERVAL=0.100 or NEXT_ROLL_INTERVAL=100 even setting NEXT_ROLL_INTERVAL=200 seems to have no effect.
NEXT_ROLL_INTERVA is in milliseconds... so for 1 second its 1000. for 2 seconds its 2000 for half a second its 500 and so on. you can bring up the menu with F8 so you don't have to tinker with the INI file. setting NEXT_ROLL_INTERVA to ZERO means the system will make a rough calculation of how much delay it should wait till the cards finished flipping. usually this is 100ms or more i would set this to 90 to 100. setting this to lower than 60 might work for you but its taxing on your CPU.
ALSO you might wanna check if the mod is looking for traits inside the right AREA. you can do this with setting DEBUG from 0 to 1 in Menu(F8). it draws a rectangle with the mouse cursor, if its drawing a RECTANGLE that is not aligned where your traits hitbox are supposed to be, then you will have to bring up the menu(F8) then click the DRAW button next to the first survivor and then draw the box in the first survivor where the traits are. do the same with second and third survivors. ALSO take note you must run the game in WINDOWED FULLSCREEN or WINDOWED. not FULLSCREEN.
Do we just put the SOD2HEROLL.exe in the same folder that contain StateOfDecay2.exe? Because I notice you have folder to separate the location of the game.exe.
no it doesn't really matter much where you put the _SOD2HEROLL folder. on mine the _SOD2HEROLL folder is in the same folder as StateOfDecay2.exe.. inside that _SOD2HEROLL is the SOD2HEROLL.exe. but you can place the _SOD2HEROLL folder anywhere you like.
The reason why sometimes it would skip a primary match (apart from no secondary match found) is that as it flips the card with T button ( on PC ) it wont wait for the card to finish flipping before it starts the next scan. resulting in the next scan looking at an image in the middle of a roll and returning 0 match. number of PRIMARY or SECONDARY traits has nothing to do with it.
this is what "DELAY NEXT ROLL" is for in the GUI. if you set it to 100ms it will wait 100ms after pressing T. but 100ms might not always correct depending on your PC sometimes we use 200ms, but this is a SLOW SEARCH if it waits 200ms before next roll. so starting from version 1.6, you can set "DELAY NEXT ROLL" to 0 ... the mod will test how long your game takes before it finishes the ROLL (T button). and it will use that DELAY automatically so you wont have to worry about it next time.
15 comments
now I have 3 same comment. Didn't mean to spam.
I AM SORRY
When I crop the result cropped at the wrong place.
The auto-sensing on the reroll delay doesn't work for me, but I just set it to 100 manually and it's so much faster and more accurate than I could ever be rerolling manually.
Thanks so much.
I made my own version of this (using Autohotkey). One thing I noticed was that the text for the same trait varies by position -- so I actually potentially need 9 images to match all 3 posible positions on all 3 character slots... unless i want to use color variation with image search, which I'd rather not due to false positive/negative -- but it is useful to use to help find them initially. I don't know if this is intentional by the devs, or if it's the bloom shader (or something like it).
EDIT: So, I noticed some stuff after doing a lot of rerolls (for characters that have 3 traits and no 5th skill):
a) some traits cannot roll in the 1st slot, which is interesting. I'd like to compile complete list of all skills that _can_ roll in the 1st slot, but I'm still thinking about how it would be best to do that, but I think I've got a good plan.
b) Most of the really juicy traits can only roll in the 2nd and 3rd slots (Just Keeps Going, Unbreakable, Eats like a Bird, Blood Plague Survivor, Keeps Hidden Pockets, Never Been Sick).
c) some traits that I initially thought could only roll in the 1st slot (like former model), I also see it roll rarely in the 2nd slot Not really important, just interesting.
d) after loading survivors into the game, the game tends to reshuffle the order of the 3 traits (I'm only really interesting in survivors with 3 starting traits).
what do you mean ? the mod can only detect the target trait in the 2nd and 3rd slot ?
if it sends a CHIME SOUND it means it found one of the traits inside your PRIMARY folder, so the next step is to check if it has at least one of the traits in your SECONDARY folder. if it moves on it means that it found a match in PRIMARY but found no match from SECONDARY.
because the rules is, since you have both traits in PRIMARY and SECONDARY, is that you are looking for a survivor who has at least one trait match from PRIMARY and MUST also have one trait match from SECONDARY. examples below
PRIMARY folder : Just Keeps Going / Unbreakable / Blood Plague Survivor
SECONDARY folder : Just Keeps Going / Unbreakable / Blood Plague Survivor / Immortal / Hard to Kill
Survivor #1 : Just Keeps Going / Halo Champion / Never Been Sick = NO MATCH
Survivor #2 : Unbreakable / Blood Plague Survivor = MATCH !
Survivor #3 : Just Keeps Going / Halo Champion / Immortal = MATCH !
you can bring up the menu with F8 so you don't have to tinker with the INI file. setting NEXT_ROLL_INTERVA to ZERO means the system will make a rough calculation of how much delay it should wait till the cards finished flipping. usually this is 100ms or more i would set this to 90 to 100.
setting this to lower than 60 might work for you but its taxing on your CPU.
it draws a rectangle with the mouse cursor, if its drawing a RECTANGLE that is not aligned where your traits hitbox are supposed to be, then you will have to bring up the menu(F8) then click the DRAW button next to the first survivor and then draw the box in the first survivor where the traits are.
do the same with second and third survivors.
ALSO take note you must run the game in WINDOWED FULLSCREEN or WINDOWED. not FULLSCREEN.
on mine the _SOD2HEROLL folder is in the same folder as StateOfDecay2.exe.. inside that _SOD2HEROLL is the SOD2HEROLL.exe.
but you can place the _SOD2HEROLL folder anywhere you like.
is that as it flips the card with T button ( on PC ) it wont wait for the card to finish flipping before it starts the next scan.
resulting in the next scan looking at an image in the middle of a roll and returning 0 match.
number of PRIMARY or SECONDARY traits has nothing to do with it.
this is what "DELAY NEXT ROLL" is for in the GUI. if you set it to 100ms it will wait 100ms after pressing T.
but 100ms might not always correct depending on your PC sometimes we use 200ms, but this is a SLOW SEARCH if it waits 200ms before next roll.
so starting from version 1.6, you can set "DELAY NEXT ROLL" to 0 ... the mod will test how long your game takes before it finishes the ROLL (T button).
and it will use that DELAY automatically so you wont have to worry about it next time.