Lords are escaping from prison

Users who are viewing this thread

Crownclownn

Recruit
Hello, I am catching the lords, but they are escaping from prison. What should I do to prevent them from escaping when they are caught? What should I change in the game files?
 
I tweaked it to be half the default chance 5 and 100 respectively. Even then its not uncommon for multiple lords to escape prisons each day. Of course this is reflective of how many prisoners you have in total.

With 25 or so lords in captivity with prison towers, I would lose several lords every 2 or so days. Typically two at a time. That seems reasonable as I slightly increased the formula for capture rates.
 
You're either insanely unlucky, or there is something wrong with your code...
Random chance is always tricky to test, so hands-on analysis might be the best approach.
Feel free to post your code, I (or somebody else) might have a look.
 
You're either insanely unlucky, or there is something wrong with your code...
Random chance is always tricky to test, so hands-on analysis might be the best approach.
Feel free to post your code, I (or somebody else) might have a look.
I did all this stuff years ago, so my knowledge isn't all that on-point.

The raw code I have looks like this:
Code:
5 2121 3 1224979098644774913 100

Far as I know the final value is determined by Stewards Prisoner management skill. The defaults, at least in PoP, are 10 and 200. Maybe my perception of it is slightly skewed in terms of timeframe, but I do get random peaks of escapes pretty frequently.

Might also be worth mentioning that the escape chance is per lord and that my Stewards have only 7 Prisoner management. I think that works out to be 3 or 4% multiplied by 25 or so captives. Even so I would agree it does seem a little off. I have noticed that in peacetime where I will manually evacuate most lord captives, the escape rate becomes non-existent which would at lest coincide with the reduced number of attempts.
 
That's compiled text file. What about your source code? It's a lot easier to edit source code.
Modding compiled files is doable, but leads to easy mistakes.
 
That's compiled text file. What about your source code? It's a lot easier to edit source code.
Modding compiled files is doable, but leads to easy mistakes.

I've never worked with the module system, namely because I haven't played vanilla in probably 12-15 years. The mods I play/played typically don't have source code available.

Most of what I use are tested/published modifications in compiled format from the tweak database for PoP and excerpts here and there. I'd say the above tweak is working as intended, at least I can't see how I could mess up such a simple edit on such a short piece of code. I'm actually okay with the results anyway.
 
Back
Top Bottom