RimWorld

RimWorld

FasterRandomPlus
79 Comments
Balensiad  [author] Nov 10 @ 7:08am 
@Tyrant
There may have been a mistranslation earlier that muddled my intent. When I said UI changes were difficult, I meant it was due to my own limitations. I'm still quite busy, so I don't have enough time to attempt a merge with the original RandomPlus. I did carve out some time today to fix a few bugs and experiment with a simple UI, but I'll likely be busy again starting tomorrow.
Balensiad  [author] Nov 10 @ 7:07am 
@R_____L
Thanks for the report. I'll look into the issue where male characters occasionally appear with a female head type.
Tyrant Nov 10 @ 4:31am 
@Balensiad Part of what I want to do relates to an earlier comment about how you're limited in what you can do regarding the UI. If you merged this with the original source code, that would open up a lot of possibilities.
R_____L Nov 10 @ 3:41am 
After the recent update, I occasionally get male characters with a female head type, and when I click into Prepare Carefully, their head types display as "none".
Balensiad  [author] Nov 9 @ 7:09pm 
@Tyrant
Not sure if this helps, but with this update I did a small cleanup of the code. It might be a bit easier to read now.
Tyrant Nov 9 @ 10:46am 
I wanted to implement a feature on my own, but got frustrated trying to figure out the way it all meshes together.
Balensiad  [author] Nov 9 @ 9:02am 
@Tyrant
Understood. If what you are saying is correct, directly modifying the original RandomPlus could indeed be a viable approach. Could you share more about what motivated you to suggest this method?
Tyrant Nov 8 @ 6:05am 
@Balensiad I think it might be better to modify RandomPlus directly instead of Harmony patching it. RandomPlus is MIT licensed [github.com] so there shouldn't be any issue with that.
Balensiad  [author] Nov 8 @ 2:46am 
@kocham stopy
Thanks for the comment! That's exactly what I was aiming for. Even though there are a few bugs left unattended due to personal circumstances, thank you for still using the mod. It's a big encouragement to me.
miss my foreskin Nov 7 @ 7:57pm 
Thank you for your work. I don't like manually making characters as I never know how fair one should be, but I don't mind easier rerolling so I ain't gotta waste 20 minutes on that just to have good start :D
Appreciated.
Balensiad  [author] Oct 5 @ 12:13am 
@Tyrant
Yes, it's caused by the Biotech DLC.

Here's why the slowdown happened. In the original RandomPlus there's a feature that becomes a bottleneck: the routine that assigns a pawn's name and backstories. If I change the logic to modify only the gender with the current setup, you can get mismatches—like a male pawn ending up with a female name. To prevent that, I made it call that routine every time the gender changes, which brought the slowdown back. I did add some optimizations, but they weren't sufficient.

I do have a solution in mind, but I haven't had time to implement it lately.
Tyrant Oct 4 @ 1:03am 
@Balensiad Fair enough, I'm not familiar with playing the game without all the DLC. I'm assuming you're referring to Biotech?

Also, I noticed on the GitHub you tried to fix the gender filter but you had to revert it. Any idea why the rerolling slowed down so much?
Balensiad  [author] Sep 30 @ 10:17pm 
@Tyrant
Ah… your suggestion is excellent. Unfortunately, adding additional UI is beyond my current ability.
For the same reason, I haven’t addressed a long-standing request either—the RandomPlus issue where the Reroll Count isn’t shown unless a specific DLC is enabled.
I’m sorry I can’t accommodate this feedback.
Tyrant Sep 30 @ 3:33pm 
I suppose you have a point there. Ideally that should be relegated to its own slider bar so you could have Total Skill Points and High Skill Requirement or something.
Balensiad  [author] Sep 28 @ 9:38pm 
@Tyrant
Changing the logic is possible, but I’m reluctant to do so because I prefer not to alter the functionality of the original logic.
Also, the current logic isn’t useless—it can be used when you want a pawn with any single skill at ≥ N, regardless of which skill it is.
Tyrant Sep 28 @ 5:07pm 
Wow, that... seems completely useless. Any chance of changing that logic?
Balensiad  [author] Sep 28 @ 10:46am 
@Tyrant
Thank you for the report, and sorry for the late reply.
The 'Count Only Highest Attack' option—also in the original logic—means 'count only the single highest skill.'
So in the screenshot you provided, your filter is effectively 'pass if any single skill is 28 or higher.'
Because that condition is unattainable, the pawn will not pass the filter.
Tyrant Sep 25 @ 5:49pm 
I notice "Count Only Highest Attack" doesn't work correctly, this should be very easy to get a roll for, but having "Count Only Highest Attack" enabled is causing the checks to fail: https://steamcommunity.com/sharedfiles/filedetails/?id=3574822954
Balensiad  [author] Sep 25 @ 5:50am 
@Tyrant
Sorry for the late reply. You’re right—with this mod, Normal and Fast use the same algorithm.
Tyrant Sep 21 @ 9:54pm 
Does this make it so Normal and Fast are identical?
Balensiad  [author] Sep 13 @ 2:01am 
@2383960245
It’s possible, but I’d prefer not to. I sometimes make mistakes when coding, and after a patch the reroll speed can become extremely slow. In that case, anyone who sets the reroll count above 50,000 might have to wait tens of minutes for it to finish or force-quit. Either way, it would be a very unpleasant experience.
2383960245 Sep 12 @ 4:45pm 
May I ask if a larger random number option can be added
Balensiad  [author] Sep 10 @ 4:51am 
영어 버전 기준으로는 트레잇을 Req에서 Pool로 바꿔야 할겁니다.
Balensiad  [author] Sep 10 @ 4:48am 
@dniie 저는 잘 작동합니다. 혹시 어떤식으로 설정하셨는지 알 수 있을까요?
해당 옵션은 한글버전 기준으로 "필수"가 아닌 "허용" 옵션으로 설정한 특성의 최소 개수로 필터링하는 기능입니다.
dniie Sep 10 @ 4:43am 
감사합니다! 아 그리고 required traits in pool 0 1 2 3 고르는 옵션은 작동이 안되는건가요? 이건 어제도 안되더라구요
Balensiad  [author] Sep 10 @ 4:41am 
@dniie 빠른 답글 감사드립니다. 오늘 내일 제가 바쁜 일이 있어서 당장 고치긴 힘들어서 일단 바로 이전 버전으로 롤백했습니다. 불편을 드려 죄송합니다.
dniie Sep 10 @ 4:26am 
성별 필터는 안켜놨습니다. 특성 두개, 나이, 열정 수, 건강, 결격사항만 체크해뒀는데 5만번 리롤 시 맥북 기준 15초 걸리고 윈도우 기준 35초에서 45초 걸리는 상태입니다. 업데이트 전에는 둘 다 1초에서 1.5초 사이로 걸렸습니다
Balensiad  [author] Sep 10 @ 4:22am 
@UNNAMED @dniie
혹시 성별 필터를 켜셨나요? 아니면 안켜도 느려지나요?
어제 성별 필터쪽을 조금 수정했는데, 제가 테스트할 땐 별 차이가 없었습니다.
자세히 말씀해주시면 감사드립니다. 문제가 심하면 내일 롤백하겠습니다.
UNNAMED Sep 9 @ 11:19pm 
너무 느려졌어요..
dniie Sep 9 @ 10:25pm 
선생님 어제 업뎃 이후로 속도가 많이 느려졌는데 정상인가요?
Balensiad  [author] Sep 9 @ 7:39am 
@SneakyFlamingo Thanks for the report! I couldn’t reproduce the "5,966 rerolls" you mentioned, but it led me to a bug where gender wasn’t being reset during rerolls. I’ve fixed it now. I hope this also resolves the issue on your side; if not, please share more details.
SneakyFlamingo Sep 8 @ 10:33am 
5966 rerolls for a female pawn with no other filters? something is off
Balensiad  [author] Sep 2 @ 10:54am 
@lean+asics Thanks for using the mod :D
betonov Aug 30 @ 3:20pm 
you best
눈_눈 Aug 12 @ 6:21pm 
오 감사합니다.
Balensiad  [author] Aug 10 @ 1:41pm 
@눈_눈 수정됐습니다. 제보 감사합니다.
Balensiad  [author] Aug 10 @ 11:48am 
눈_눈 네 자세한 설명 감사합니다. 재현에 성공했습니다.
눈_눈 Aug 10 @ 3:55am 
네, 모드는 하모니, 랜플, 패랜플, 한글번역 4종만 넣었는데도 그렇네요.
필터를 빡세게해서 최대치까지 돌아간 상황에서도 목적한 림이 안나왔을때 그렇게 나오는 것 같습니다.

일단 제가 재현을 위해 구성해본 상황은
추락시나리오에 강제특성으로 모든캐릭터에 싸움꾼을 넣어줬구요.(확률은 별 상관 없는것 같습니다.)
필터는 강인함 난사광 신속 작업결격 없음이었습니다.
Balensiad  [author] Aug 8 @ 1:23am 
@눈_눈 혹시 다른 모드들을 빼고 랜덤플러스, 패스터랜덤플러스만 넣고 종족을 일반인으로 설정한 뒤 리롤을 돌려도 동일한가요? 코드상으로는 시나리오 강제특성의 효과가 중첩되는 부분을 찾을 수가 없습니다.
제가 시나리오 강제특성을 싸움꾼으로 설정하고 5만 회 리롤을 계속 돌렸지만 격투20림이 나오지 않았고, 1회 리롤을 돌리며 확인해봐도 격투 스킬 4레벨 짜리 림도 자주 나왔습니다. 제쪽에서는 재현이 안됩니다.
Balensiad  [author] Aug 8 @ 12:45am 
눈_눈 확인해보겠습니다.
눈_눈 Aug 7 @ 7:54am 
이번에 세이브파일이 터져서 새지구 파다가 새로운 버그를 발견해 버렸습니다...
시나리오의 강제특성이 생성되는 플레이어 림의 기술레벨에 영향을 주는 특성이라면 해당 레벨이 중첩됩니다.
예를들어 격투+4를 주는 싸움꾼을 강제특성으로 삼으면 격투 20림이 툭툭 튀어나오는 식입니다.

확인해주실수 있나요?
눈_눈 Jul 28 @ 4:58am 
오 감사합니다.
Balensiad  [author] Jul 25 @ 9:39pm 
@눈_눈 사용자 지정 시나리오를 말하셨던 것 같네요. 이번에 수정했습니다.
Balensiad  [author] Jul 25 @ 1:24am 
@CUTE 저한텐 그런 문제가 없어서 모르겠습니다. 재현도 안돼서 아무래도 다른 모드가 원인일 가능성도 있습니다. 혹시 RandomPlus만 썼을때도 안뜨나요?
SEXYB0Y Jul 24 @ 10:40pm 
선생님 혹시 오른쪽 상단 섞기 버튼 아래에 돌리는 횟수 그게 안뜨는데 해결 방법이 있을까요? 기능은 제대로 하는거 같습니다
Balensiad  [author] Jul 23 @ 4:53pm 
@눈_눈 어떤 시나리오에 강제특성이 어떤 게 있는지 알려주실 수 있나요?
눈_눈 Jul 23 @ 3:48am 
특성 필터를 사용하면 시나리오 강제특성 확률이 무시됩니다.
Bobkiri Jul 18 @ 10:03am 
원본 5만회 돌릴때 생각하면 이정도도 감지덕지죠
Balensiad  [author] Jul 18 @ 9:29am 
@Bobkiri 추가 최적화 완료됐습니다.
근데 어제까지의 속도는 안나올 것 같습니다.. ㅠㅠ 오류를 해결하니까 지금은 이정도 속도가 한계인 것 같습니다..
Balensiad  [author] Jul 18 @ 8:07am 
@Bobkiri 네. 좀 많이 느려진 것 같아서 추가 최적화중입니다.