Project Zomboid

Project Zomboid

zRe Better Lockpicking Patch
10 Comments
Manu 6 Jul, 2024 @ 6:51am 
Great! then how about you remove it?
J. Purdy 11 Mar, 2024 @ 5:47pm 
There's not much I could really tell you other than my previous statement. But since it has been merged with the other mod, I'll remove this patch and hope for the best. The hosting site I'm using seems to be a bit finicky with some mods
Lina  [author] 10 Mar, 2024 @ 3:07pm 
@JustPurdy, Yes, this patch is merged into the original mod. I test it both locally and on my server. It's still fine either with or without this patch mod. Could you tell me more details about it?
J. Purdy 10 Mar, 2024 @ 11:53am 
The lockpicking mod was working on my server yesterday and now it isn't. Did something change?
kERHUS 9 Mar, 2024 @ 5:31pm 
thanks, integrated
Lina  [author] 9 Mar, 2024 @ 4:52pm 
@kERHUS, 3 places to change in media\lua\client\Lockpicking\BobbyPin\BobbyPinWindow.lua
1)LINE 393: replace UIManager.getMillisSinceLastRender() to win.deltaTime
2)LINE 407: replace UIManager.getMillisSinceLastRender() to win.deltaTime
3)LINE 461-472: change BobbyPinWindow.onTick function to the code used in this patch mod (and
the "local lastMillis" line is no more needed)

Finally the file should be like this. https://pastebin.com/Znu1K9rf
kERHUS 9 Mar, 2024 @ 9:50am 
hey, do you can help me integrate this into original BL? Not sure what i should rewrite...
Balance 21 Feb, 2024 @ 7:43pm 
That is not what this does.
This is a patch to improve the performance of the original mod, when you have the off screen ui rendering enabled.
In the base mod it's recommended you disable it for better performance during the mini-games and this mod is made to give better performance without disabling the ui off screen rendering setting. The original mod still works to date and this is an optional add on depending on your personal preferences.
Kam17245 28 Jan, 2024 @ 12:32pm 
WaKKO151 what this fixed is the original plugin was last updated around 2021 and the game updated so its not compatible anymore
WaKKO151 26 Jan, 2024 @ 10:07pm 
I don't understand what this does exactly? What issue?