morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

Cops are able to chase you and cuff you in stealth #67

Closed ghost closed 3 years ago

ghost commented 3 years ago

This occurs even if you aren't detected by them. I noticed this on Election Day, Day 2 when Guards chased me while interacting behind them. I'll send a video soon.

(I might be wrong, but this also caused performance issues on my end)

ghost commented 3 years ago

https://youtu.be/81x5eQmcYQk

morerokk commented 3 years ago

LMAO, that's great. Sorry.

This is already fixed on the beta version, but I'm assuming I forgot to push the stealth fix to master. Sorry about that! Please refer to this beta build for a fix: https://github.com/HugoZink/IreNFist/issues/66

If it still happens on the beta build (unlikely), you can turn the Cop Behavior changes off there entirely. If you don't want to switch to the beta build, you can go to PAYDAY 2/mods/saves, edit infsave.txt, and change enablenewcopbehavior to false.

morerokk commented 3 years ago

As for your performance issues: if your PC is low-end, I strongly recommend enabling the new "Think Faster" option in the options, but setting the task throughput to the minimum of 100. This should perform just a little bit better than vanilla. If not, you could turn off the Think Faster feature entirely.

morerokk commented 3 years ago

Actually disregard the beta, after some thoughts I have decided to just merge the build into master. You should get an auto-update soon.

ghost commented 3 years ago

No worries. It made me chuckle as well.

As for the Think Faster option, enabling it actually decreases my performance, even though I have the task throughput set to 100.

morerokk commented 3 years ago

While it's a little odd to not get any performance increases at all, it's also not super surprising I guess. In this case your PC is probably not limited by task throughput, but rather by the amount of cops on the map (and adding more tasks can make the game spawn more cops).

I'll change the minimum limit to 60 (which is vanilla) in the next update, and see if that makes any difference. I'll also lower the default settings by quite a bit as 400 seems a little excessive.