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

A19 NPCs DMT Mod

Status
Not open for further replies.
I don't have a log from that incident, but I do have to say, only with the NPC mod do I get this error, and this is also causing issues currently on my server..



Used the same mods in A17 and got the same error. We actually had to remove the NPC mod because of it. Wandering trader and Bandits mod works just fine.

Removed this mod, error gone. Put the mod back. turn on the server, error is back.

EDIT: Server is having the same issue we had back in A17.. players can't join after a certain amount of time, and our server hangs saying a player is still there, when they are not. Happens when they get around NPCs. A player said they hired an NPC for bloodmoon, and then the server crashed and kicked him off, but the server was still on, and unable to have players connect.

Also, this spam in log makes it extremely frustrating to debug any errors we may have... 15min of my server being on and my log file size is 12,623,245 bytes......
I'm looking into the Invalid Layer index '1'. We've never tracked down the source yet.

 
Just fyi, NPCs are working well on SP but still not attacking on Dedi. Debugging continues.

 
version 1.55 with dedi fix for animation. Still some command issues left.
Quick question, does it make a difference if I'm playing A18 Stable vs. Experimental (18.1)? I'd like to start a new game with this mod, via the mod launcher, and would like to know which version to install.

 
Quick question, does it make a difference if I'm playing A18 Stable vs. Experimental (18.1)? I'd like to start a new game with this mod, via the mod launcher, and would like to know which version to install.
it should not make a difference what you choose.

 
it should not make a difference what you choose.
Great, thanks! That means I don't have to download A18 Stable.

I'm going to try this one and the Bandits mod together (since they're based on the same NPC code, from what I gather). This should be great, a giant leap towards what I wanted to mod in myself (if I wasn't so lazy).

EDIT: Am I missing something? There is no "DMT section" in the mod launcher. I'm adding the GitHub links instead, we'll see how it goes.

EDIT 2: OK, I figured it out. If you want to use a different copy of the game for the mods, use "Add new My Mods" (using whatever name) in the launcher, then use the "Manage Modlets" button once it's installed.

 
Last edited by a moderator:
Well, now that I have installed this and played with it a bit, I'm pretty sure I have found a bug. It is almost certainly due to a conflict between this modlet and the Wandering Traders modlet, which I also installed.

If you go up to one of the non-trader NPCs and hit the <E> button, it opens up a trader menu - the one that starts with "Can I see your inventory?" But, because these are not traders, the menu screen is bugged. There is no mouse cursor at all, and you have to leave by hitting the <ESC> button.

I only played for a couple hours, so the only one I know for certain acts this way, is the "chef" NPC (far left in the image in the first post). If you like I can continue testing to see if they all act this way, but I don't see why they wouldn't.

If you don't need me to test more, I'll probably just disable the Wandering Traders mod, since I'm far less interested in that one.

 
Well, now that I have installed this and played with it a bit, I'm pretty sure I have found a bug. It is almost certainly due to a conflict between this modlet and the Wandering Traders modlet, which I also installed.
That bug was fixed in NPC version 1.5 The current version is 1.55 What version are you loading?

 
I put the following in Mods folder in 7D2D directory:

0-SpherellCore

Spherell NPC Dialog Windows

xyth_NPCs

I use DMT to compile them- errors:

Running BackupFiles

Unhandled Exception: System.NotImplementedException: Instruction is not an i4 opcode

at DMT.Extensions.GetValueAsInt(Instruction i)

at DMT.Tasks.BackupFiles.GetVersionInfo()

at DMT.Tasks.BackupFiles.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

process exited with error code -532462766

Any idea on how i can fix this, i intend to find bugs and try to help out with this mod.

Concept is awsome.

Note: using alpha 18

 
I put the following in Mods folder in 7D2D directory:0-SpherellCore

Spherell NPC Dialog Windows

xyth_NPCs

I use DMT to compile them- errors:

Running BackupFiles

Unhandled Exception: System.NotImplementedException: Instruction is not an i4 opcode

at DMT.Extensions.GetValueAsInt(Instruction i)

at DMT.Tasks.BackupFiles.GetVersionInfo()

at DMT.Tasks.BackupFiles.Patch(PatchData data)

at DMT.PatchData.Patch()

at DMTViewer.Program.Main(String[] args)

process exited with error code -532462766

Any idea on how i can fix this, i intend to find bugs and try to help out with this mod.

Concept is awsome.

Note: using alpha 18
Are you using DMT version 1.5 ( or higher?)?

 
I went to this website:

https://7d2dmods.github.io/HarmonyDocs/index.htm?Scripts.html

Click "DMT Latest Release"

Downloaded file "DMTv1.0.zip"

I'm thinking i dont have the latest?

Where else can i find the latest?

EDIT: Located DMTv1.4

FROM: https://7daystodie.com/forums/showthread.php?117235-DMT-Modding-Tool

DOUBLE EDIT: launched DMTv.14 -> shown me that there was an update (1.5)

Will test now.

TRIPLE EDIT: updated to DMTv1.5 -> shown mods folder + directory -> Compiled successfully

: launched game and creating new world -> no errors.

Happy hunting for me. Thank you.

Ill report back any errors/problems/bugs

Note: playing coop with another 1 person. who also ran through these steps with me.

 
Last edited by a moderator:
1st none game breaking bug:

In my window (im the host) some zombies will be crawling and some will be walking

In coop buddy's window (also installed client side) sees my crawling zombies as walking zombies //visa versa

 
1st none game breaking bug:In my window (im the host) some zombies will be crawling and some will be walking

In coop buddy's window (also installed client side) sees my crawling zombies as walking zombies //visa versa
That's normal on multiplayer. Some things in this game are calculated client side and not synced with the server.

 
That bug was fixed in NPC version 1.5 The current version is 1.55 What version are you loading?
Whatever the Mod Launcher loaded. I opened the "Manage Modlets" window, and clicked the "Installed Modlets" radio button. It says the version of Xyth NPCs is version 1.21.

How should I get the mod launcher to use the latest version?

EDIT: I right-clicked on the modlet and selected "Update". But now the modlet isn't even showing up in the list of installed modlets. Downloading it again does not seem to help.

I guess this is some kind of bug with the mod launcher? Should I say something in its forum thread instead?

EDIT 2: Well, going directly to the mod folder, it does seem like it's installed. From the mod.xml file the version is 1.55. So I guess it did update, even if it says otherwise in the mod manager window.

I'll try again and let you know how it goes.

 
Last edited by a moderator:
The launcher isnt showing the correct version located in my repo for some reason. We are looking into it now. With 1.55 loaded are you still getting errors?

 
Hi mod author i really like this mod,infact i bought 7 days specifically for this mod,i spent all day yesterday learning what is DMT/SphereII,and how to compile this mod with those scripts,Via DMT and did follow the instructions but i cannot see NPCs in game.

I use F6 to bring up menu for spawn entities, and i see "Baker" Harley quinn" etc ...your NPCs i believe. when i try spawn them,it gives error in debug about them not being an entity or something,and i have flown around map and cant see them either for a long time.Im guessing i did something wrong,any way you could help me sort this?

Thanks

 
The launcher isnt showing the correct version located in my repo for some reason. We are looking into it now. With 1.55 loaded are you still getting errors?
I didn't get a chance to play yesterday. I'm going to start again tonight, I'll let you know.

In the meantime - I took a screenshot of the mod launcher, and the folder where the mods are actually installed. You should be able to see the discrepancy.

Let me know if this should go in the mod launcher thread instead.

EDIT: The board does not seem to like large image attachments... I tried uploading again, I think this is the best I can do.

modlauncher.jpg

 
Last edited by a moderator:
This mod needs three modlets all loaded and compiled by dmt or the mod launcher. The Sphereii core, the NPC dialog window, and the NPC modlet. If those 3 are loaded in the mod launcher it should work as expected. If not, please post a copy of your log file so we can help you debug your install.

 
This mod needs three modlets all loaded and compiled by dmt or the mod launcher. The Sphereii core, the NPC dialog window, and the NPC modlet. If those 3 are loaded in the mod launcher it should work as expected. If not, please post a copy of your log file so we can help you debug your install.
Thanks for the reply. I compiled the NPC mod and two sphere required mods through DMT,it succesfully compiled via the information on the right hand side of the screen,i then hit the "play" button up top.... but i didnt try the launcher way of installing it because NPC mod i cannot find in the launcher,your description says its in the DMT section of the launcher,sorry if im blind but where is that?

I also tried to add the mod to the mod launcher but i dont see any options for that nor can i find any tutorials.

i will also try to reinstall DMT and get log for you but can you guide through the mod launcher option?

Sorry if this sounds basic but i have spent a whole day online looking for answers.

 
Status
Not open for further replies.
Back
Top