• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Skyrim Style Lockpicking MiniGame

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?

 
Last edited by a moderator:
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.

 
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...)

 
Last edited by a moderator:
Is it only me that is getting a blank screen when trying to unlock things after the latest update to the Experimental?

 
Thank you! I just saw their update on the 7daystodiemods.com page, I had to go out after I posted and just got back, can confirm, works like intended btw

 
You now need a new version of SCore compatible with B317.  Link was updated to that this morning.  His repo is the best place to get latest update, I just bundle as a .zip occasionally but its not always current quickly

 
Hello! Im trying to load the mod 0-Score. I have the latest version for 1.0 But every time I load and check the console I see

"Failed initializing ModAPI instance on mod '0-SCore_sphereil; from DLL 'SCore.dll'
"EXC Could not load file or asssembly '0Harmony, Version=222.13.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies."

Is there something I've done wrong? Its version 1.0.45.853 the latest

 
Hello! Im trying to load the mod 0-Score. I have the latest version for 1.0 But every time I load and check the console I see

"Failed initializing ModAPI instance on mod '0-SCore_sphereil; from DLL 'SCore.dll'
"EXC Could not load file or asssembly '0Harmony, Version=222.13.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies."

Is there something I've done wrong? Its version 1.0.45.853 the latest
Do you have the 0_TFP_Harmony folder in your Mods folder where you installed SCore? If it isn't there, validate your game files to get it back. 

 
2024-08-10T11:20:33 11.018 ERR Error loading types from assembly 'SCore, Version=21.2.205.1412, Culture=neutral, PublicKeyToken=null' (Z:\SteamLibrary\steamapps\common\7 Days To Die\Mods\0-SCore\SCore.dll)
2024-08-10T11:20:33 11.023 EXC Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 0100012f from typeref (expected class 'QuestActionShowTip' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:QuestActionShowTip member:(null)
Could not resolve type with token 0100012f from typeref (expected class 'QuestActionShowTip' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:QuestActionShowTip member:(null)
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <467a840a914a47078e4ae9b0b1e8779e>:0
at ReflectionHelpers.FindTypesWithAttribute[T] (System.Action`1[T] _typeFoundCallback, System.Boolean _allowAbstract) [0x0002c] in <40e9b6e9762f43cf836123d0f549ad32>:0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)




I'm trying to load SCore to use the lockpick minigame feature, but I'm getting the following error. Note, I've only download and extracted the 0-SCore folder into my mods folder. Any ideas?

 
2024-08-10T11:20:33 11.018 ERR Error loading types from assembly 'SCore, Version=21.2.205.1412, Culture=neutral, PublicKeyToken=null' (Z:\SteamLibrary\steamapps\common\7 Days To Die\Mods\0-SCore\SCore.dll)
2024-08-10T11:20:33 11.023 EXC Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 0100012f from typeref (expected class 'QuestActionShowTip' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:QuestActionShowTip member:(null)
Could not resolve type with token 0100012f from typeref (expected class 'QuestActionShowTip' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:QuestActionShowTip member:(null)
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <467a840a914a47078e4ae9b0b1e8779e>:0
at ReflectionHelpers.FindTypesWithAttribute[T] (System.Action`1[T] _typeFoundCallback, System.Boolean _allowAbstract) [0x0002c] in <40e9b6e9762f43cf836123d0f549ad32>:0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)




I'm trying to load SCore to use the lockpick minigame feature, but I'm getting the following error. Note, I've only download and extracted the 0-SCore folder into my mods folder. Any ideas?
Your using the A21 version of SCore on V1     Version=21.2.205.1412 is version 21.2

Code:
[COLOR=#ebe7e3]ERR Error loading types from assembly 'SCore, Version=21.2.205.1412,[/COLOR]
 
Last edited by a moderator:
Your using the A21 version of SCore on V1     Version=21.2.205.1412 is version 21.2

ERR Error loading types from assembly 'SCore, Version=21.2.205.1412,



I'm having trouble finding a link to the v1.0 of this. Where might I find it? Thanks in advance for your help! :D

 
Silly question as I haven't used this mod in a while and on a new system. Both SCore and Locks folders stay separate, in their own folders, in the mods folder? Have both and normal lockpicking is still in place. Cheers

 
Silly question as I haven't used this mod in a while and on a new system. Both SCore and Locks folders stay separate, in their own folders, in the mods folder? Have both and normal lockpicking is still in place. Cheers
Yes, load both mods.  When in game, press escape and open the score menu and make sure you are not toggling vanilla lockpicking on

 
Could you please tell me where I find the version for alpha 21.2 and what exactly I need to download? I only find versions for A20 and the releases 1.xxx versions

 
Could you please tell me where I find the version for alpha 21.2 and what exactly I need to download? I only find versions for A20 and the releases 1.xxx versions
The Locks mod hasn't changed between versions, but its dependancy, the SCore mod, changes every alpha version.  You would need to install an SCore version compatible with 21.2

 
Back
Top