RimWorld

RimWorld

FasterRandomPlus
69 Comments
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 네. 좀 많이 느려진 것 같아서 추가 최적화중입니다.
Bobkiri Jul 18 @ 7:32am 
최근 업뎃 몇번 한뒤로 속도가 살짝 느려진 것 같은데 정상인가요? 아니면 제가 그동안 추가한 모드에 문제가있는거일텐데
Balensiad  [author] Jul 18 @ 12:41am 
@Tayenn 해결되었습니다. 갑작스레 문제가 발생하게 되어 죄송합니다.
Balensiad  [author] Jul 18 @ 12:12am 
@Tayenn 문제 확인했습니다. 조치하겠습니다.
Tayenn Jul 17 @ 11:51pm 
어제까지는 잘 사용했는데 지금 버전은 섞기를 한번 누르니까 모든 능력치가 0이 되고 더이상 섞기가 눌러지지 않아요. 혹시나 해서 Randomplus만 남겨두고 해당 모드를 지우니까 다시 섞기가 되네요.
Balensiad  [author] Jul 17 @ 10:34pm 
@BlackCoil 해결됐습니다. 제보 감사합니다.
BlackCoil Jul 17 @ 12:56pm 
선생님 미성년들이 성인배경까지 달고나와요 어떻게 해야하죠?
Balensiad  [author] Jul 15 @ 2:37pm 
@Ro, thank you for using it too.

@gygf, I didn’t include any code to fix that issue, but I’m glad it got resolved.
Balensiad  [author] Jul 15 @ 2:37pm 
@Bobkiri 네. 한번만 돌아가는데 횟수가 두번으로 나오는겁니다. 사소한 표기오류인데 해결하기 귀찮아서 놔뒀습니다.

@nijumiK ^^
Ro Jul 15 @ 11:18am 
thanks, everything is working fine ~
gygf Jul 15 @ 6:28am 
Thank y for mod. I dont know why but original mod random plus didnt show up in my mod list . i did all i could and it couldnt help until i download this mod. Now it appeared, thanks.