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

NPCMod and Addons

Just be aware that you modify the XML files at your own risk. Once you do that, it's nearly impossible to help you, because we don't know how your edits might have affected things.

(Example: the entity_class tags in entityclasses.xml don't have an attribute called "id", so we can have no idea what you reordered, or why you believed order was important in the first place.)

My advice? First make sure you covered all the basics:

  • You verified the 7D2D game files through Steam.
  • You installed the latest, unmodified versions of all modlets from these forums. (If you get them from 7daystodiemods or similar, they're often out of date.)
  • After putting the modlets into the server's Mods directory, you restarted the server. (Or at least restarted the game's executable.)
  • After restarting the server, you started a completely new game, you didn't continue an existing game.
  • Prior to joining the server, all clients (your game and your friends' games) had the same modlets, and the same version of those modlets, installed locally to their Mods folders.
If that all is true, and you find that the problem still persists, don't try to change anything. Instead use Pastebin to give us the logs from the dedicated server, and, if possible, the logs from the player that experienced the issue.

You can find info on the output log directories, using Pastebin, and other useful tips in this post from TFP bug reporting team:


Hello Khzmusik! I ended up expressing badly the way I spoke of the entities. It was to call tags and ended up using id.

What I actually did was just arrange the files the same way they were in RaiderGurlzPack: name="Tags" value="entity,female,npc,melee,UMA2,bandit"/>

RaiderzPack had the same ones, but in different orders. I know it wouldn't affect it directly, but the fact is that after having organized, one of the players managed to damage the npcs.

The third player, I found out where the problem was, was his game installation.

After uninstalling completely, backing up his saves, deleting the 7daystodie folder from the appdata and the same folder from the steam installation, I asked to be able to install it again.

It downloaded the same files we have and it worked normally.

I tested it with a fourth player who wasn't on the server yet and it worked normally.

Thanks for all your attention!

 
Last edited by a moderator:
I cant sell or talk to the traders? With this mod it seems to have broken them? Alpha 20.5 b2.

Any ideas? Thank you!

 
I cant sell or talk to the traders? With this mod it seems to have broken them? Alpha 20.5 b2.

Any ideas? Thank you!


Remove all mods except for The NPCCore and SCore mods then retest.  Still having problems?  Link your logfile, and we can help you sort it.

 
Last edited by a moderator:
I'm having trouble getting this one to work on my dedi server.

Works really well with single player, only thing I noticed was I can't hurt the friendlies but that's a non issue as long as I can hurt the baddies, which I can!

But when I upload the files to the server I encounter two files refusing to upload. One of them is the .pdb file which I know I don't need from previous posts but the other is the .dll file which I believe is important? I put the entire 0-Score folder into my local 7dtd files and it works fine, but I can't just move that folder to GTX gaming ( where I have my server)

Now what has confused me the most is the .pdb file is in 0-Score folder. I a was always under the impression that the folder containing a modinfo.xml is the one to use however that folder, in my case, contains that unnecessary file. 

I've used the 0-Score from both xyth and sepherii github pages. And also, I tried running the server with out those files and I just get a never ending string of red text with two messages

EXC did not find "extends" entity npcclubtemplate

ERRxml loader. loading and parsing failed.

I hope that's enough info to help me troubleshoot this. I'm really impressed with what I saw so far, especially the voice lines.

 
I'm having trouble getting this one to work on my dedi server.

Works really well with single player, only thing I noticed was I can't hurt the friendlies but that's a non issue as long as I can hurt the baddies, which I can!

But when I upload the files to the server I encounter two files refusing to upload. One of them is the .pdb file which I know I don't need from previous posts but the other is the .dll file which I believe is important? I put the entire 0-Score folder into my local 7dtd files and it works fine, but I can't just move that folder to GTX gaming ( where I have my server)

Now what has confused me the most is the .pdb file is in 0-Score folder. I a was always under the impression that the folder containing a modinfo.xml is the one to use however that folder, in my case, contains that unnecessary file. 

I've used the 0-Score from both xyth and sepherii github pages. And also, I tried running the server with out those files and I just get a never ending string of red text with two messages

EXC did not find "extends" entity npcclubtemplate

ERRxml loader. loading and parsing failed.

I hope that's enough info to help me troubleshoot this. I'm really impressed with what I saw so far, especially the voice lines.
Some hosts don't like mods that have dll files. You can try messaging them and see if they will install the mods for you. My advice would be to find another host that has more freedom. Without that dll SCore isn't loading properly, leading to your errors.

 
Some hosts don't like mods that have dll files. You can try messaging them and see if they will install the mods for you. My advice would be to find another host that has more freedom. Without that dll SCore isn't loading properly, leading to your errors.
Thanks for the timely response!

 
Some hosts don't like mods that have dll files. You can try messaging them and see if they will install the mods for you. My advice would be to find another host that has more freedom. Without that dll SCore isn't loading properly, leading to your errors.


Thanks for the timely response!


After opening a support ticket, I was "approved" to upload .dll files within 5 minutes... not sure why I had to do that but to anyone having that same issue, just open a ticket and see what they say.

 
One of them is the .pdb file which I know I don't need from previous posts but the other is the .dll file which I believe is important?


I see you've worked this out, but if you're curious, here's what those files are.

The .dll file is the compiled binary file that contains all of the custom code for the modlet. It is required. (7D2D doesn't care about the source files. Those are included either for people to look at the code, or because the mod author wants to keep the source code in the repository, or both.)

If you didn't upload that file, then basically you didn't upload the mod at all (as far as the game is concerned), so it's not surprising that you got errors.

The .pdb file is a Microsoft "program database" file. It contains details about the relationship between the compiled .dll and the source code. It is mainly included for debugging purposes - for example, if an error was thrown within the .dll, then without the .pdb, you couldn't get the stack trace for the error. So it's not required, but it is worthwhile to have.

Just in case you're curious.

 
Last edited by a moderator:
Hy, this is a bug report: After installing automaticly 7D2D Version 20.6 over steam, there comes a red notice if I load the game: Requested value on self ranged burst shoot was not found.

Can you please fix it? The Mod is very very good. Best regards.

 
Hy, this is a bug report: After installing automaticly 7D2D Version 20.6 over steam, there comes a red notice if I load the game: Requested value on self ranged burst shoot was not found.

Can you please fix it? The Mod is very very good. Best regards.
there is already a fix for 20.6 (confirmed working here) 😉

Details in this post:




 
ähm...perhaps i am some not good in surching. I don´t find the downloadlink, sorry. Can someone please help?

Ahh...thans a lot

 
Hy, the patch doesn´t works. I get a red message: ERR XML loader: loading and parsing failed.

extend item gunNPCPistol is not specifiedfor item gun NPCPistolHidden

 
I'm running the NMM mod which is powered by Score/XNPC on the stable version A20.6(b9) and also using the NPC patch which continues to be compatible.

I could load out with no warnings.

20220817111616_1.jpg

For anyone seeing errors, it is possible other mods (particularly those with connections to weapons) also need to be updated for exactly the same issue that the NPC Mod was patched for.

 
Hy, thanks please let me ask. What is this for a NPC Patch? Where can I find it? I play with all modern NPC Files. Best regards

 
Out of curiosity if a hired npc gets killed shouldn't the H and the thumb's up sign in my HUD go away ?image.jpeg

I had a hired NPC standing outside of a POI and apparently she got killed because she wasn't there when I came back out .

 
Hy, thanks please let me ask. What is this for a NPC Patch? Where can I find it? I play with all modern NPC Files. Best regards
This patch is stored in the NPCMod team area on this Github account, and is added just like any other mod in the Mods folder.
https://github.com/7D2D/A20Mods/blob/main/0-XNPCCore-A20.6(b8).zip

TFP made a small update in their xml code from A20.68(b8) from 'onSelfRangedBurstShot' which has become obsolete to 'onSelfRangedBurstShotStart' or 'onSelfRangedBurstShotEnd'. This patch uses 'onSelfRangedBurstShotStart' so we'll see things like gun muzzle flashes begin very quickly when a weapon is discharged.

 
Back
Top