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

sphereii's DMT Mods

Hey SphereII, I think I ran into the first in-game issue after updating to this latest version of Core. Suddenly zombies started ignoring me, I could walk around them and they didn't attack me. I checked the console and got a red sea full of this error:

InvalidCastException: Specified cast is not valid.

Here's the log.

Then I closed the game, so anything related to this error should be at the end of the log.

EDIT:

If the above wasn't enough, here's what I experienced a bit later, I couldn't really describe it so I simply recorded it for you...

https://i.imgur.com/QjLT0gK.mp4

 
Last edited by a moderator:
Pushed some fixes today.

1) Stay should work across all entities now

2) Faction fixes, including example items in item.xml in how to manipulate them

3) Fixed the Trader Voice Stealling shennanigans.
Sphereii i just posted on DMT NPCs thread about a few issues,one of them il explain here regarding trader voice.

The trader voice doesnt attach to an NPC any more but i did happen once as i got close to a trader with 2 NPCs.

The trader was Jen(female voice dialogue) and as i got near,either her or an NPC spoke with a trader Joel voice.

I didnt hear my NPCs use the voice a 2nd time. The NPCs also died when i exited traders.I left some detail about a few things on Xyths thread if your interested.

 
Has there been any problems with this mod causing me not being able to loot some things cuz since i installed this i cant loot alot of things i should be able to including working stiff shamway an the other crates so i could use some help an if anyone knows maybe another mod tht is doing it let me kno

 
Has there been any problems with this mod causing me not being able to loot some things cuz since i installed this i cant loot alot of things i should be able to including working stiff shamway an the other crates so i could use some help an if anyone knows maybe another mod tht is doing it let me kno
All mods are known to be working in this list. Do you have any errors in your log?

 
How I do change the traders to be non protected I have ur mod installed but it's not working they are still protected

 
How I do change the traders to be non protected I have ur mod installed but it's not working they are still protected
They are still protected by default, because everyone likes different settings. If you wish to change it, then you will have to look inside blocks.xml of this mod, there are these lines:

<property class="AdvancedPrefabFeatures" >
<property name="Logging" value="false"/>
<property name="DisableTraderProtection" value="false" /> <!-- Disables Trader Protection in their prefabs -->
</property>


There is a property called DisableTraderProtection with value false. You have to somehow change that "false" value to "true". You can do this directly in this mod (not recommended), or you can quickly craft your own mod that would change this value for you automatically. The advantage of the latter is that no matter how often 0-SphereIICore mod gets updated, it will be always updated correctly and you won't need to mess with those settings again every time new update may change them.

If you wish to do it the safe way through creating your own mod, create an empty folder inside your Mods folder. Call it something like TraderProtectionDisabled. Enter the folder and inside create a new xml file called ModInfo.xml with this content:

<?xml version="1.0" encoding="UTF-8"?>
<xml>
<ModInfo>
<Name value="TraderProtectionDisabled" />
<Description value="Disables Trader Protection - Requires 0-SphereIICore." />
<Author value="ALT_Pain" />
<Version value="1.0" />
<Website value="" />
</ModInfo>
</xml>


Still in the same folder, create a new folder called Config. Go inside the Config folder and create a new xml file called blocks.xml with this content:

<configs>
<!-- Disables trader protection -->
<set xpath="/blocks/block[@name='ConfigFeatureBlock']/property[@class='AdvancedPrefabFeatures']/property[@name='DisableTraderProtection']/@value">true</set>
</configs>




That's pretty much all there is to it. Of course this relies on 0-SphereIICore mod, so you must first make sure you have that mod properly installed for this to work.

Enjoy!

 
Last edited by a moderator:
Hey all, not sure if this is in the right place but, after installing 7 days (Stable) through the mod launcher ( I usually had played it directly through Steam, but wanted some Harmony/DMT features that come with 0-SphereIICore), and now starting a new game, and proceeding to the "Creating Player" stage, the console is spammed by the following:

FieldAccessException: Field `PlayerActionsLocal:InventoryActions' is inaccessible from method `SphereII_PlayerMoveController_Patch/SphereII_PlayerMoveControllerUpdate:Prefix (PlayerMoveController)'

  at (wrapper dynamic-method) PlayerMoveController.Update_Patch1(object)
 
(Filename:  Line: -1)

Of note, this doesn't happen when I use that specific "modlet" with Darkness Falls. So am I to understand that it doesn't work with the "Vanilla" game, or is something else the culprit?

Edit: Turns out it was the 10 slot tool belt. No idea why that would cause that error...

 
Last edited by a moderator:
Hey all, not sure if this is in the right place but, after installing 7 days (Stable) through the mod launcher ( I usually had played it directly through Steam, but wanted some Harmony/DMT features that come with 0-SphereIICore), and now starting a new game, and proceeding to the "Creating Player" stage, the console is spammed by the following:

FieldAccessException: Field `PlayerActionsLocal:InventoryActions' is inaccessible from method `SphereII_PlayerMoveController_Patch/SphereII_PlayerMoveControllerUpdate:Prefix (PlayerMoveController)'

  at (wrapper dynamic-method) PlayerMoveController.Update_Patch1(object)
 
(Filename:  Line: -1)

Of note, this doesn't happen when I use that specific "modlet" with Darkness Falls. So am I to understand that it doesn't work with the "Vanilla" game, or is something else the culprit?

Edit: Turns out it was the 10 slot tool belt. No idea why that would cause that error...
Same happened to me. It's the pdb file that causes this problem. Not sure what's wrong with it, but I solved it by downloading a fresh copy of the mod and replacing the one in the Mods folder with this fresh copy.

 
Last edited by a moderator:
Ah good,  thank you, I'll give that a try.
You're welcome, just to be clear I meant the 10 Slot Toolbelt mod. Just replace the whole mod with a freshly downloaded copy and it should work again.

The problem is definitely in the pdb file as it's the only file that has changed over time. Sphereii was mentioned as one of the authors of the mod, so I asked him what's wrong with that mod. He checked it out but couldn't reproduce the issue. Then I informed him that the problem is probably in the pdb file, but he never replied to my message, so I kinda gave up on a chance for a better solution than just replacing the whole thing every time it may act up again.

 
Last edited by a moderator:
You're welcome, just to be clear I meant the 10 Slot Toolbelt mod. Just replace the whole mod with a freshly downloaded copy and it should work again.

The problem is definitely in the pdb file as it's the only file that has changed over time. Sphereii was mentioned as one of the authors of the mod, so I asked him what's wrong with that mod. He checked it out but couldn't reproduce the issue. Then I informed him that the problem is probably in the pdb file, but he never replied to my message, so I kinda gave up on a chance for a better solution than just replacing the whole thing every time it may act up again.
Yes, I realized you meant the 10 slot, and I d/l a new copy from Git, but have yet to see if it's changed.

One other thing that may have been connected is, after the errors, I had to, of course, shut it down via task manager. Then upon restart, new world etc. I spawned in with nothing, no food, torch, or quests...but went with it anyways lol. Trying to locate a trader was a PITA.

 
OK well I no longer get spammed by that error, however...the 10 slot still isn't working.

I have the health bar from 0-SphereIICore working, so that's fine. Don't understand why the slot one isn't.

Tried only 10 slot as well with no luck..on a new d/l from steam install.

Unless I am missing something else I need for it in the mods folder.

 
OK well I no longer get spammed by that error, however...the 10 slot still isn't working.

I have the health bar from 0-SphereIICore working, so that's fine. Don't understand why the slot one isn't.

Tried only 10 slot as well with no luck..on a new d/l from steam install.

Unless I am missing something else I need for it in the mods folder.
What was the location you downloaded 10 Slot Toolbelt from?

Try the one from this link. It's KhaineGB's official gitlab repository.

 
Last edited by a moderator:
What was the location you downloaded 10 Slot Toolbelt from?

Try the one from this link. It's KhaineGB's official gitlab repository.
That's where I got it from, as the launcher will not d/l it at all.

Of note, when I throw the folder into my mods folder, and start the launcher, then hit play mod, since the modinfo.xml is missing, it creates another folder to stick it into. Thing is, the names don't match. One is "10 Slot Toolbelt" with the Modinfo.xml, and the other is "10SlotToolbelt".

So I fixed it through trial and error, by moving the Modinfo.xml from the newly created folder to the "10SlotToolbelt" folder, deleted the second, now empty folder, and renamed the remaining to "10 Slot Toolbelt"

So, all that remains is to see why "BackpackButtonsSDX" aren't showing in game...I may have to use War3zuk's mod.

Edit: The launcher does d/l it, except it only goes into the GitLabMods folder, which is where I snagged the "BackpackButtonsSDX" from.

 
Last edited by a moderator:
That's where I got it from, as the launcher will not d/l it at all.

Of note, when I throw the folder into my mods folder, and start the launcher, then hit play mod, since the modinfo.xml is missing, it creates another folder to stick it into. Thing is, the names don't match. One is "10 Slot Toolbelt" with the Modinfo.xml, and the other is "10SlotToolbelt".

So I fixed it through trial and error, by moving the Modinfo.xml from the newly created folder to the "10SlotToolbelt" folder, deleted the second, now empty folder, and renamed the remaining to "10 Slot Toolbelt"

So, all that remains is to see why "BackpackButtonsSDX" aren't showing in game...I may have to use War3zuk's mod.

Edit: The launcher does d/l it, except it only goes into the GitLabMods folder, which is where I snagged the "BackpackButtonsSDX" from.
BackpackButtonsSDX? You know SDX mods are no longer used, SDX was replaced with DMT, so if you're using a deprecated SDX mod, it might cause some issues, especially when combined with a more recent DMT mod like 10 Slot Toolbelt. Not saying this is what's happening in your case, but it's quite possible, I would check that out. I believe there's a new version of a mod which does the same as BackpackButtonsSDX, except it doesn't require SDX. The thing is that the backpack buttons are already there, just not visible and so the new version which is xml only is just making those buttons visible. You should try that newer version instead and see if it has any effect on your 10 Slot Toolbelt mod. It's from the same author as 10 Slot Toolbelt mod and I've been using both with no issues.

By the way, it is possible to have a custom folder name, you just have to make sure the mod name inside ModInfo.xml is the same as the name of the folder where it's located. Doing so also prevents Mod Launcher from creating empty mod folders with only ModInfo.xml in them.

 
mr.devolver said:
BackpackButtonsSDX? You know SDX mods are no longer used, SDX was replaced with DMT, so if you're using a deprecated SDX mod, it might cause some issues, especially when combined with a more recent DMT mod like 10 Slot Toolbelt. Not saying this is what's happening in your case, but it's quite possible, I would check that out. I believe there's a new version of a mod which does the same as BackpackButtonsSDX, except it doesn't require SDX. The thing is that the backpack buttons are already there, just not visible and so the new version which is xml only is just making those buttons visible. You should try that newer version instead and see if it has any effect on your 10 Slot Toolbelt mod. It's from the same author as 10 Slot Toolbelt mod and I've been using both with no issues.

By the way, it is possible to have a custom folder name, you just have to make sure the mod name inside ModInfo.xml is the same as the name of the folder where it's located. Doing so also prevents Mod Launcher from creating empty mod folders with only ModInfo.xml in them.
Yes, I know of the SDX/DMT upgrade, however BackpackButtonsSDX was included with Khaine's d/l of "10 slot Toolbelt" deposited into the GitLabMods folder, so I assumed it was used in Darkness Falls.

That said, I  know War3zuk has a version included in a mod which I'll try.

 
Yes, I know of the SDX/DMT upgrade, however BackpackButtonsSDX was included with Khaine's d/l of "10 slot Toolbelt" deposited into the GitLabMods folder, so I assumed it was used in Darkness Falls.

That said, I  know War3zuk has a version included in a mod which I'll try.
What I was trying to say is basically that BackpackButtonsSDX is not the mod I'm using and it's most likely the one KhaineGB mentioned as the one for Alpha 17, so I would be surprised if it worked without issues in Alpha 18...

Anyway, if you want to try the versions of these two mods that I'm using and that actually work, you can find them here:

10 Slot Toolbelt

Backpack Buttons

 
Back
Top