Jump to content

Skyrim Style Lockpicking MiniGame


xyth

Recommended Posts

There seems to be an issue when trying to lock/unlock/coding a Door with the mod loaded, it just opens the door instead. 

When removing the mod it works as usual again.

It's a minor bug for SP but raiders can walk in and shoot your face if doors aren't locked, otherwise works great!

Link to comment
Share on other sites

  • 3 weeks later...
On 7/21/2023 at 10:36 AM, Milkshakes said:

There seems to be an issue when trying to lock/unlock/coding a Door with the mod loaded, it just opens the door instead. 

When removing the mod it works as usual again.

It's a minor bug for SP but raiders can walk in and shoot your face if doors aren't locked, otherwise works great!

Totally missed this bug report.  Fix is in the works. 

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 month later...
On 12/6/2023 at 10:33 PM, Jayman said:

Updated to newest version and still can't lock pick.. I don't have to start a new save, do I?

 

 

image.thumb.jpeg.4e1f7506c6f35bb32897599035c994ba.jpeg

That random texture issue has been around since this mod was created.  I have not be able to find a clue why it occasionally happens, but it only seems to happen to a random lock at very rare intervals.   

Link to comment
Share on other sites

  • 4 weeks later...

Hi there.


I'm using "Scomar82_ColoredContainerStates" to put some text with colour, for example:
 

Key,File,Type,UsedInMainMenu,NoTranslate,english,Context / Alternate Text,spanish

itemTooltipFocusedOne,UI,Use Prompt,,,[EEEE22]{0}[-] to collect {1},,[EEEE22]{0}[-] para recoger {1}


I added a line to show colours in your mini-game text but nothing happens... Can you give me a clue? Maybe the "Type" is wrong?( I have in the same file different lines that use: "Use Prompt", "HUD", "Menu" and "Tooltip"...
 

Key,File,Type,UsedInMainMenu,NoTranslate,english,Context / Alternate Text,spanish

advancedlockpicking_desc,UI,HUD,,,Use the [8D26B6]arrow keys[-] or [8D26B6]A[-] and [8D26B6]D[-] to change the position of the pick locks. Then [8D26B6]space[-] to try to unlock.,Utilice las [8D26B6]flechas[-] o [8D26B6]A[-] y [8D26B6]D[-] para reposicionar las ganzúas. Luego [8D26B6]espacio[-] para intentar desbloquear.

 

Edited by Boudriov (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

A great mod, many times better than the original lock picking system! The only thing that is a little annoying is that when you open a large lock, the top of its texture goes beyond the frame and the upper part disappears...lock.png.52c14ba761174c5c9ad8dcc0dfa15583.png

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
  • xyth changed the title to Skyrim Style Lockpicking MiniGame

Latest v1.0 SCore adds lockpicking feature for testing:

 

    [ Advanced Lock Picking ]
        - New-ish UI window for Advanced Lock picks with some cleaner description.
        - Added new lines in the blocks.xml to allow customized key bindings
        - These are comma delimited list, so you may add more to the list.
                <property name="Left" value="Keypad4" />
                <property name="Right" value="Keypad6" />
                <property name="Turn" value="Keypad8,Keypad5,Keypad2" />
        - Defaults are still hard coded:
            - A / D / Space
            - Joy stick support
            - Mouse support - Scroll up / down to move, click to try.
            - Follows mouse position as well.

 

The test version of SCore required for these new features on game version 1.0 is at https://github.com/7D2D/V1.0-Mods/blob/main/0-SCore.zip

Link to comment
Share on other sites

2 hours ago, dujinyuan said:

OK~~~but i'm still remember this.This red text appears every once in a while:object reference not set to an instance of an object......If I approach the trader's house at night....In the daytime nothing happen.why?

 

 

That is like your check engine light going on in your car.  Your car is telling you something is not right, but not what it is exactly.  The same thing with that code.  Something is not right in your game (either from vanilla or mods), but without the logs as @bdubyah mentioned, nobody is going to be able to help you root cause the issue.

Link to comment
Share on other sites

19 hours ago, BFT2020 said:

 

 

That is like your check engine light going on in your car.  Your car is telling you something is not right, but not what it is exactly.  The same thing with that code.  Something is not right in your game (either from vanilla or mods), but without the logs as @bdubyah mentioned, nobody is going to be able to help you root cause the issue.


I'm getting the same error and it makes the game stutter while doing it. Only seems to happen at night and near the trader.
The error code from the log is here:

 

(Filename: C:/Builds/7DaysToDie/Mods/0-SCore/Features/LockPicking/Harmony/LockPickingUtils.cs Line: 8)

NullReferenceException: Object reference not set to an instance of an object
  at Features.LockPicking.LockPickingUtils.CheckForMiniGame (EntityAlive entityAlive) [0x00001] in C:\Builds\7DaysToDie\Mods\0-SCore\Features\LockPicking\Harmony\LockPickingUtils.cs:8 
  at Features.LockPicking.BlockDoorSecurePatch+BlockDoorSecureOnBlockActivated.Prefix (Block& __instance, System.String _commandName, WorldBase _world, System.Int32 _cIdx, Vector3i _blockPos, BlockValue _blockValue, EntityPlayerLocal _player) [0x00022] in C:\Builds\7DaysToDie\Mods\0-SCore\Features\LockPicking\Harmony\BlockDoorSecurePatch.cs:25 
  at (wrapper dynamic-method) BlockDoorSecure.DMD<System.Boolean BlockDoorSecure:OnBlockActivated(System.String, WorldBase, System.Int32, Vector3i, BlockValue, EntityPlayerLocal)>(BlockDoorSecure,string,WorldBase,int,Vector3i,BlockValue,EntityPlayerLocal)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Boolean BlockDoorSecure:OnBlockActivated(System.String, WorldBase, System.Int32, Vector3i, BlockValue, EntityPlayerLocal)>(BlockDoorSecure,string,WorldBase,int,Vector3i,BlockValue,EntityPlayerLocal)
  at (wrapper dynamic-method) TraderArea.DMD<System.Boolean TraderArea:SetClosed(World, System.Boolean, EntityTrader, System.Boolean)>(TraderArea,World,bool,EntityTrader,bool)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Boolean TraderArea:SetClosed(World, System.Boolean, EntityTrader, System.Boolean)>(TraderArea,World,bool,EntityTrader,bool)
  at EntityTrader.OnUpdateLive () [0x002af] in <5176467e17874e86b9743320f44f08c8>:0 
  at EntityAlive.OnUpdateEntity () [0x00035] in <5176467e17874e86b9743320f44f08c8>:0 
  at World.TickEntity (Entity e, System.Single _partialTicks) [0x0011e] in <5176467e17874e86b9743320f44f08c8>:0 
  at World.TickEntitiesSlice (System.Int32 count) [0x00037] in <5176467e17874e86b9743320f44f08c8>:0 
  at World.TickEntitiesSlice () [0x00000] in <5176467e17874e86b9743320f44f08c8>:0 
  at GameManager.UpdateTick () [0x00026] in <5176467e17874e86b9743320f44f08c8>:0 
  at GameManager.gmUpdate () [0x0038a] in <5176467e17874e86b9743320f44f08c8>:0 
  at GameManager.Update () [0x00000] in <5176467e17874e86b9743320f44f08c8>:0 

(Filename: C:/Builds/7DaysToDie/Mods/0-SCore/Features/LockPicking/Harmony/LockPickingUtils.cs Line: 8)


Also, and I've no clue if it's a mistake or whatnot, but the path C:/Builds(...) is wrong. I have 7DtD installed in C:/Games/Steam/(etc...)

Edited by Frenzyc
Forgot some details. (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...