[workaround] Unstick prisoners

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.

Moderator: NBJeff

DonGonzo
level1
level1
Posts: 16
Joined: Wed Sep 26, 2012 7:15 pm

[workaround] Unstick prisoners

Postby DonGonzo » Fri Sep 28, 2012 9:40 pm

Any many of you have noticed, prisoners have an innate ability to get stuck in a "blank" state where they no longer undertake any actions.

I have noticed two different versions of this stick.

One of them seems to occur without reason, they are not shacked but will simply stop responding to regime schedule. This is a more dangerous state as they still seem to accrue desire/demand and will complain loudly if left unattended. It seems you can unstick this particular case with a guard search. Your mileage may vary-- but it has worked a number of times for me.

The more complex "stick" seems to occur when a guard shackles a prisoner while they are busy showering, eating, etc-- and never return to unshackle them. They accrue desires and demands but never complain or act upon them. These prisoners can be unstuck, though it requires a more complex process. First, make a note of the prisoner number of any/all prisoners that are stuck, save the game, and exit Prison Architect. Second, open up the save file with your favorite text editor and do a search for "i [prisoner number]" sans quotes and brackets.

You should see some text resembling the following.

Code: Select all

    BEGIN "[i 180]"   
        Id.i                 180 
        Id.u                 302535 
        Type                 Prisoner 
        SubType              1 
        Pos.x                14.0004 
        Pos.y                28.0991 
        Damage               0.148344 
        Vel.x                0.330514 
        Vel.y                -0.305386 
        Dest.x               15.4150 
        Dest.y               33.1806 
        AttackTimer          1.53468 
        Shackled             true 
        Cell.i               13 
        Cell.u               312951 
        Timer                1.56479 
        Gang.id              1 
        Gang.timer           1.45026 


To fix him, simply delete the "Shackled true" line and reload the save file you edited. Occasionally the game seems to load the autosave, so if the prisoner doesn't unstick try manually loading the save file you edited.
The prisoner should be unstuck and carry about his normal routine!

Be forewarned: The collective desires/demands of the prisoner will still be completely full... so they may well be a bit ornery-- unstick with care, and expect them to soil themselves before making it to a toilet.

BACK UP YOUR SAVES BEFORE EDITING
MILEAGE MAY VARY

Sorry if dupe post.
Bolt404
level0
Posts: 4
Joined: Mon Jan 23, 2012 8:45 pm

Postby Bolt404 » Fri Sep 28, 2012 9:49 pm

Very impressive you went that far to find a fix, I hate to do this to you, but something I found that works 90% of the time is simply to click the prisoner in question and give him a move order to any cell.
A guard will then come pick him up and move him to the cell you clicked :)
Restarting your PC and running the mission has weirdly enough also had a good effect on the AI, but I can't for the life of me figure out why.
DonGonzo
level1
level1
Posts: 16
Joined: Wed Sep 26, 2012 7:15 pm

Postby DonGonzo » Fri Sep 28, 2012 10:19 pm

Bolt404 wrote:Very impressive you went that far to find a fix, I hate to do this to you, but something I found that works 90% of the time is simply to click the prisoner in question and give him a move order to any cell.
A guard will then come pick him up and move him to the cell you clicked :)
Restarting your PC and running the mission has weirdly enough also had a good effect on the AI, but I can't for the life of me figure out why.



Okie silly dilly dokie, yo.

I'm an idiot.
Mile5
level1
level1
Posts: 12
Joined: Fri Sep 28, 2012 1:15 pm
Location: Netherlands

Postby Mile5 » Sat Sep 29, 2012 12:23 am

This is good to unshackle large numbers of prisoners though, just use the replace all function (turning all "shackled true" to "shackled false").
I have a seriously overcrowded prison with over 100 prisoners, at some point 2/3 of them must have been stuck, clicking every single one of those is too much effort. :wink:

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 2 guests