How to FIX stuck prisoners (prisoners that have to WEE)
Moderator: NBJeff
How to FIX stuck prisoners (prisoners that have to WEE)
UPDATE: I've added this to bug tracker. http://bugs.introversion.co.uk/view.php?id=10
Also, this fix also dislodges prisoners stuck on medi-beds.
ISSUE: Prisoners get stuck with the "WEE" graphic displayed, usually in their cell. They will stay stuck forever. After a while, all of their needs will be at maximum.
If you play long enough you could have 1/3 to 1/2 of your prison population stuck like this. Edit your savegame file and take a look at a stuck prisoner:
BEGIN "[i 471]"
Id.i 471
Id.u 2423279
Type Prisoner
SubType 1
Pos.x 139.311
Pos.y 83.9998
Dest.x 185.000
Dest.y 85.0000
AiSetTarget true
Cell.i 32
Cell.u 2406268
Gang.id 1
Gang.timer 0.676531
BEGIN Needs
BEGIN Needs
Size 8
BEGIN "[i 0]" id.i 0 id.u 2423271 Type Bladder ActionPoint 63.0000 TimeToAction 600.000 TimeToFailure 720.000 Charge 100.000 END
BEGIN "[i 1]" id.i 1 id.u 2423272 Type Bowels ActionPoint 58.0000 TimeToAction 600.000 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 2]" id.i 2 id.u 2423273 Type Sleep ActionPoint 64.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 3]" id.i 3 id.u 2423274 Type Food ActionPoint 64.0000 TimeToAction 960.000 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 4]" id.i 4 id.u 2423275 Type Hygiene ActionPoint 63.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 5]" id.i 5 id.u 2423276 Type Defense ActionPoint 33.0000 TimeToAction -360.000 TimeToFailure -360.000 END
BEGIN "[i 6]" id.i 6 id.u 2423277 Type Family ActionPoint 37.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 7]" id.i 7 id.u 2423278 Type [dev]Weapon ActionPoint 33.0000 END
END
END
END
To dislodge all stuck prisoners search and replace "AiSetTarget true" with "AiSetTarget false" or delete the lines that contain "AiSetTarget true" and leave a blank or neatly remove the line. At this point if you load your save game all of your prisoners will be unstuck and will begin to satisfy their needs as normal, but there is still one problem. It relates to "Charge 100.000." If these prisoners have been stuck for a wihle you will see their needs set to maximum, "Charge 100.000." These newly unstuck prisoners will be mighty pissed. http://www.youtube.com/watch?v=dgQzZbNxZZ0 Search and replace "Charge 100.000" with "Charge 1.0000" in your savegame file. Now when you load up your game you will enjoy several hours of relative peace and no stuck prisoners.
Here is what a fixed prisoner looks like:
BEGIN "[i 471]"
Id.i 471
Id.u 2423279
Type Prisoner
SubType 1
Pos.x 139.311
Pos.y 83.9998
Dest.x 185.000
Dest.y 85.0000
AiSetTarget false
Cell.i 32
Cell.u 2406268
Gang.id 1
Gang.timer 0.676531
BEGIN Needs
BEGIN Needs
Size 8
BEGIN "[i 0]" id.i 0 id.u 2423271 Type Bladder ActionPoint 63.0000 TimeToAction 600.000 TimeToFailure 720.000 Charge 1.0000 END
BEGIN "[i 1]" id.i 1 id.u 2423272 Type Bowels ActionPoint 58.0000 TimeToAction 600.000 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 2]" id.i 2 id.u 2423273 Type Sleep ActionPoint 64.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 3]" id.i 3 id.u 2423274 Type Food ActionPoint 64.0000 TimeToAction 960.000 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 4]" id.i 4 id.u 2423275 Type Hygiene ActionPoint 63.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 5]" id.i 5 id.u 2423276 Type Defense ActionPoint 33.0000 TimeToAction -360.000 TimeToFailure -360.000 END
BEGIN "[i 6]" id.i 6 id.u 2423277 Type Family ActionPoint 37.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 7]" id.i 7 id.u 2423278 Type [dev]Weapon ActionPoint 33.0000 END
END
END
END
Also, this fix also dislodges prisoners stuck on medi-beds.
ISSUE: Prisoners get stuck with the "WEE" graphic displayed, usually in their cell. They will stay stuck forever. After a while, all of their needs will be at maximum.
If you play long enough you could have 1/3 to 1/2 of your prison population stuck like this. Edit your savegame file and take a look at a stuck prisoner:
BEGIN "[i 471]"
Id.i 471
Id.u 2423279
Type Prisoner
SubType 1
Pos.x 139.311
Pos.y 83.9998
Dest.x 185.000
Dest.y 85.0000
AiSetTarget true
Cell.i 32
Cell.u 2406268
Gang.id 1
Gang.timer 0.676531
BEGIN Needs
BEGIN Needs
Size 8
BEGIN "[i 0]" id.i 0 id.u 2423271 Type Bladder ActionPoint 63.0000 TimeToAction 600.000 TimeToFailure 720.000 Charge 100.000 END
BEGIN "[i 1]" id.i 1 id.u 2423272 Type Bowels ActionPoint 58.0000 TimeToAction 600.000 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 2]" id.i 2 id.u 2423273 Type Sleep ActionPoint 64.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 3]" id.i 3 id.u 2423274 Type Food ActionPoint 64.0000 TimeToAction 960.000 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 4]" id.i 4 id.u 2423275 Type Hygiene ActionPoint 63.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 5]" id.i 5 id.u 2423276 Type Defense ActionPoint 33.0000 TimeToAction -360.000 TimeToFailure -360.000 END
BEGIN "[i 6]" id.i 6 id.u 2423277 Type Family ActionPoint 37.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 7]" id.i 7 id.u 2423278 Type [dev]Weapon ActionPoint 33.0000 END
END
END
END
To dislodge all stuck prisoners search and replace "AiSetTarget true" with "AiSetTarget false" or delete the lines that contain "AiSetTarget true" and leave a blank or neatly remove the line. At this point if you load your save game all of your prisoners will be unstuck and will begin to satisfy their needs as normal, but there is still one problem. It relates to "Charge 100.000." If these prisoners have been stuck for a wihle you will see their needs set to maximum, "Charge 100.000." These newly unstuck prisoners will be mighty pissed. http://www.youtube.com/watch?v=dgQzZbNxZZ0 Search and replace "Charge 100.000" with "Charge 1.0000" in your savegame file. Now when you load up your game you will enjoy several hours of relative peace and no stuck prisoners.
Here is what a fixed prisoner looks like:
BEGIN "[i 471]"
Id.i 471
Id.u 2423279
Type Prisoner
SubType 1
Pos.x 139.311
Pos.y 83.9998
Dest.x 185.000
Dest.y 85.0000
AiSetTarget false
Cell.i 32
Cell.u 2406268
Gang.id 1
Gang.timer 0.676531
BEGIN Needs
BEGIN Needs
Size 8
BEGIN "[i 0]" id.i 0 id.u 2423271 Type Bladder ActionPoint 63.0000 TimeToAction 600.000 TimeToFailure 720.000 Charge 1.0000 END
BEGIN "[i 1]" id.i 1 id.u 2423272 Type Bowels ActionPoint 58.0000 TimeToAction 600.000 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 2]" id.i 2 id.u 2423273 Type Sleep ActionPoint 64.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 3]" id.i 3 id.u 2423274 Type Food ActionPoint 64.0000 TimeToAction 960.000 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 4]" id.i 4 id.u 2423275 Type Hygiene ActionPoint 63.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 5]" id.i 5 id.u 2423276 Type Defense ActionPoint 33.0000 TimeToAction -360.000 TimeToFailure -360.000 END
BEGIN "[i 6]" id.i 6 id.u 2423277 Type Family ActionPoint 37.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 1.0000 END
BEGIN "[i 7]" id.i 7 id.u 2423278 Type [dev]Weapon ActionPoint 33.0000 END
END
END
END
Last edited by Guvnor on Sat Oct 06, 2012 7:51 am, edited 1 time in total.
-
- level0
- Posts: 3
- Joined: Mon Oct 01, 2012 6:22 am
I don't see the AiSetTarget true value for my stuck prisoner. This is what I have for him:
Would just changing his x and/or y position unstick him?
Code: Select all
BEGIN "[i 788]"
Id.i 788
Id.u 530053
Type Prisoner
SubType 1
Pos.x 179.415
Pos.y 79.0681
Shackled true
Cell.i 71
Cell.u 517510
Timer 0.780339
Gang.id 1
Gang.timer 1.76480
BEGIN Needs
BEGIN Needs
Size 10
BEGIN "[i 0]" id.i 0 id.u 530043 Type Bladder ActionPoint 33.0000 TimeToAction 600.000 TimeToFailure 720.000 Charge 75.7876 END
BEGIN "[i 1]" id.i 1 id.u 530044 Type Bowels ActionPoint 50.0000 TimeToAction 600.000 TimeToFailure 1440.00 Charge 65.9657 END
BEGIN "[i 2]" id.i 2 id.u 530045 Type Sleep ActionPoint 53.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 66.6670 END
BEGIN "[i 3]" id.i 3 id.u 530046 Type Food ActionPoint 36.0000 TimeToAction 960.000 TimeToFailure 1440.00 Charge 89.8883 END
BEGIN "[i 4]" id.i 4 id.u 530047 Type Hygiene ActionPoint 38.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 81.0761 END
BEGIN "[i 5]" id.i 5 id.u 530048 Type Comfort ActionPoint 56.0000 TimeToAction 720.000 TimeToFailure 1440.00 Charge 94.3597 END
BEGIN "[i 6]" id.i 6 id.u 530049 Type Defense ActionPoint 48.0000 TimeToAction -360.000 TimeToFailure -360.000 END
BEGIN "[i 7]" id.i 7 id.u 530050 Type Freedom ActionPoint 63.0000 TimeToAction -1440.00 TimeToFailure -1440.00 END
BEGIN "[i 8]" id.i 8 id.u 530051 Type Recreation ActionPoint 34.0000 TimeToAction 1440.00 TimeToFailure 1440.00 Charge 100.000 END
BEGIN "[i 9]" id.i 9 id.u 530052 Type [dev]Weapon ActionPoint 48.0000 END
END
END
END
Would just changing his x and/or y position unstick him?
Guvnor wrote:I don't think he's stuck, he's handcuffed. Just remove the line "shackled true" and save the file. That should do it.
He's been sitting handcuffed in the same spot in the canteen for three days now, not doing anything else. He's pretty stuck. I'll try the handcuffs, though.
Edit: Setting the handcuff stat to false worked Also was able to test the first way on a stuck prisoner, and it worked. Thanks ^^
MrCai,
Grounds Keepers are in there as well. Their object type is "Gardener." They look like this:
I've not seen a stuck gardner waiting for a MediBed, but I have seen a stuck guard. I was able to free the guard by clicking on him and choosing "cancel task." I think it was a right-click. You can also edit the save file and remove the line that includes the word "Damage." That will fully heal him.
Guvnor
Grounds Keepers are in there as well. Their object type is "Gardener." They look like this:
Code: Select all
BEGIN "[i 459]"
Id.i 459
Id.u 2472224
Type Gardener
Pos.x 43.5745
Pos.y 121.249
Or.x -0.999890
Or.y -0.00273836
Walls.x -1.00000
Damage 0.0778273
Vel.x -1.24763
Vel.y -0.00341682
Dest.x 37.5000
Dest.y 121.500
Timer 5.00000
JobId 41036
END
I've not seen a stuck gardner waiting for a MediBed, but I have seen a stuck guard. I was able to free the guard by clicking on him and choosing "cancel task." I think it was a right-click. You can also edit the save file and remove the line that includes the word "Damage." That will fully heal him.
Guvnor
In my crazy mind I feel the handcuffed prisoners that just sit there are suppose to go into lock down but due to the amount of trouble caused their timer runs down before they are moved and the job is lost so they just sit there unlike the ones going to solitary their timer doesn't start until they are put there.
I have had success with escorting them to the holding cell after it quiets down resets them and gets the handcuffs removed allowing them to continue with their needs.
I have had success with escorting them to the holding cell after it quiets down resets them and gets the handcuffs removed allowing them to continue with their needs.
Robert wrote:In my crazy mind I feel the handcuffed prisoners that just sit there are suppose to go into lock down but due to the amount of trouble caused their timer runs down before they are moved and the job is lost so they just sit there unlike the ones going to solitary their timer doesn't start until they are put there.
I have had success with escorting them to the holding cell after it quiets down resets them and gets the handcuffs removed allowing them to continue with their needs.
Sounds reasonable to me. Most prisoners get stuck when they have to be escorted (eg sickbay or handscuffed prisoners).
Who is online
Users browsing this forum: No registered users and 24 guests