RimWorld

RimWorld

[1.6] JobsLimitsTweak
 This topic has been pinned, so it's probably important
Lun  [developer] 4 May, 2020 @ 9:44am
Some additional explanations aka Rant
Originally posted by mabbakittyu:
I dont get it... I mean, I understand what a tick is(or at least I thought I did)
and I have gotten that error for 10 jobs within a second or whatever it was....

but. wtf is a pawn trying to start so many jobs so quickly for anyhow? It can only do 1 job at a time,... I dont understand.
And if thats the case, why the hell would I want anything other than it checking for 1 job any given tick?

When this mod was started Rimworld was in Beta 18 stage. And I'll speak from what I know from back then. Might be wrong on stuff, cuz some info can be outdated.

Tick is... well... I don't remember what it is in Rimworld. It might be a single frame in framerate. Or it can be a more virtual thing. Where there would be thousands of ticks in a mere second. And the actual number of ticks would defined by how much work cpu have to do.

Also there is another way to describe a tick. If it not tied directly to FPS. In case with Windows a tick - is something that comes from the windows itself. It called "message" system or something as far as I remember. And rimworld just as any other program waiting for signal from windows to execute that "tick". Wich is in terms of game engine that Rimworld uses - called Update. But principles of "how much work cpu have to do" are still adhered to.

So first. Term "Pawns can start more then one job in a 10 ticks" - is true.
Second. The cause of such behaviour can be different.

For one and to be clear this mod mostly intended to be used with bionics mods. And they can make pawns doing jobs super fast. I.e more that 10 jobs in 10 ticks. Is it cheating to have such pawns? Dunno. I'm not a cheating expert.

For another case. Pawn can became bugged. And for unknown reasons to me - start attempting to do ALOT of things at a time. Move up. Move down. Pick up a thing. Drop it. Pathfing can stuck. (Don't use this mod if it's the case.) And oh so more things where wrong in the Beta...

And a third case is that there is too many things to process for CPU. (Not sure on thins one.) So ticks per second value drops. So timespan of tick might became more then 166ms. A second for example. 1 tick in 1 second - how does it sound? Can pawn do two jobs in 1 second? It could. (And somehow, with weird code shenanigans I can imagine it happening.) So we already have more than one job in a tick. Why? Well... it is big question that involves physics, engineering, theory of time, a lot of math, and all the pretty things that people call The laws of the universe that was put in a small box that we call computer.

There could be more cases but alas I'm not aware of them.

And the things about jobs and ticks and how they... work? Don't think I can explain it properly, so not going to touch that topic more than that. It would involve some technical and programming stuff.

tl;dr
If your pawns are super fast and you get the Warning. Then by all means you can use this mod. But if your pawns get stuck, bugged and what's not then don't use this mod. It won't do any good to your computer. If your cpu can't handle game - it is not my area of expertise. And if it's not your case... then I don't know what it is.
Last edited by Lun; 5 May, 2020 @ 6:05am
< >
Showing 1-3 of 3 comments
WabbaCat 4 May, 2020 @ 11:16am 
I dont get the error often, just meant that occasionally I see it.

But this rant/discussion was helpful. Thank you.
Lun  [developer] 4 May, 2020 @ 11:57am 
@mabbakittyu Another tip I clould give is to pause game right when error appears. And look around. There might be a specific place with pawn. And doing something weird. Like pawn twitching or being still unmoving. That causing the issue. Gotta be carefully observant. And experiment with changing base design. If you want to get them nasty errors away.
WabbaCat 4 May, 2020 @ 4:16pm 
well,.. the last time I got it was due to the cardian half cycler I think. My doctor had it, and didnt need to sleep at all,... so he would repeatably switch between waking up and resting in a hospital bed whenever he needed to get treatment. I simply removed the implant
< >
Showing 1-3 of 3 comments
Per page: 1530 50