Jump to content

Recommended Posts

So I rebuilt DMT for the dedi and those errors went away however the NRE still persists when in the proximity of an NPC with dialogue.

 

Edit:

I did a clean install of the server files and the client files and reinstalled only the NPC mod and it's dependencies. I am still getting NRE spam when near an NPC I can talk to. This eliminates the possibility of the error being a conflict with any mods i'm using. Is there a specific way to get this mod to work on servers that i'm not understanding? I have nearly run out of ideas for how to fix this. I appreciate your patience with me so far though, I don't have much experience with modding outside of basic XML modification.

 

Server Output Log:

 

Player Log(Me):

output_log_dedi__2020-04-06__03-12-20.txt

Player.txt

Edited by Bartledoo (see edit history)
Link to post
Share on other sites

Strange. That error doesn't have much useful info. Will do a little research, but we cant repo the error on a dedi. Maybe build a new world, as a change to the NPC mod might have corrupted the game

Edited by xyth (see edit history)
Link to post
Share on other sites

Is there anything else I can provide to help you guys out? I really love this mod.

 

I just tried again on new world; still happening. Another weird thing I noticed is that even after the NPC with dialogue options dies and is laying on the ground, the NRE still happens until the body despawns.

 

Is it possible to play with the NPCs in the game, just with no Dialogue? Like if I just build the mods 0-CreaturePackHumans and 1-NPCPackHumans??

Edited by Bartledoo (see edit history)
Link to post
Share on other sites

So I redownloaded the newest versions of the mod and it's dependencies and I rebuilt the dlls for the server and the client. The error still happens. Is this mod compatable with A18.4?

 

Edit: There is only 4 things to build to the server and the client right?

0-CreaturePackHumans

0-SpherellCore

1-NPCPackHumans

Spherell NPC Dialog Windows

Edited by Bartledoo (see edit history)
Link to post
Share on other sites

Turns out it a section of code that we use that is available on the clientside but not included in the dedi/MP code. So its not a quick fix, but its being worked on by Sphereii right now. The NRE is fixed but there are other issues to be resolved.

Link to post
Share on other sites

NPC NRE issue should be fixed, please let us know if you have any further problems.

 

Pushed a change to the spawning as folks were complaining too few NPCs were in the world. Frankly its impossible to balance to satisfy everyone's idea of how many humans should be around. Feel free to edit the entitygroups.xml values to suit your tastes.

Link to post
Share on other sites
NPC NRE issue should be fixed, please let us know if you have any further problems.

 

Pushed a change to the spawning as folks were complaining too few NPCs were in the world. Frankly its impossible to balance to satisfy everyone's idea of how many humans should be around. Feel free to edit the entitygroups.xml values to suit your tastes.

 

Thank you for the update and also for rebalancing the spawns. I travelled across the whole world and never found a single NPC, but I found quite a few raiders and hostile survivors, but not a single friendly one, whether just the one from creature pack alone or NPC mod, I already started thinking that's problem on my side again. Apparently I wasn't alone who felt lonely lol

Link to post
Share on other sites
Its tough balancing between 3 things, vanilla, CPHumans and NPCs. I tripled the NPC spawn and slightly reduced the CPHumans.

 

 

I think cp humans was okay-ish, bandits didn't show up too often, but when they did show up, it was usually when I was in the middle of a bigger zombie fight, so the bandits (with boosted health from my custom settings mod) made those encounters pretty dangerous sometimes, especially when I suddenly ran out of ammo lol

 

Well, I'm trying to come up with some balance for my own gameplay and it's getting dangerous and I actually started dying more, so I guess we are getting somewhere lol

Link to post
Share on other sites

Xyth I hate to bother you about this again but the NRE still happens with the newest update.

 

NullReferenceException: Object reference not set to an instance of an object

at EntityUtilities.Stop (System.Int32 EntityID) [0x00027] in <7a40ba8725814d7bb9a1cb32695e189b>:0

at EntityAliveSDX.OnUpdateLive () [0x004f8] in <7a40ba8725814d7bb9a1cb32695e189b>:0

at EntityAlive.OnUpdateEntity () [0x0001e] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntity (Entity e, System.Single _partialTicks) [0x0015d] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntitiesSlice (System.Int32 count) [0x00037] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntitiesSlice () [0x00000] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.UpdateTick () [0x00026] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.gmUpdate () [0x00297] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.Update () [0x00000] in <3ca2702590144b2c95bd610195728952>:0

Link to post
Share on other sites

Hi Xyth i just updated to 2.0 . in honesty iv been away for a long time so maybe im doing something wrong. But after installing the mod its working fine but i cant talk to NPCs who spawn. IF i spawn them in then i can talk and they are recruitable etc. Sphere NPC dialogue says its up to date in the launcher. What could be the issue? Nevermind it seems some are not supposed to be recruitable.

 

Also iv noticed that there are ALOT of NPCs spawning..i saw 5 within a very short radius after spawning

 

EDIT : just read this : NPC NRE issue should be fixed, please let us know if you have any further problems.

 

Pushed a change to the spawning as folks were complaining too few NPCs were in the world. Frankly its impossible to balance to satisfy everyone's idea of how many humans should be around. Feel free to edit the entitygroups.xml values to suit your tastes.

 

I have just noticed a far bigger issue. I have constant stuttering when even one NPC is hired or near me. A quick succession of micro stuttering.Not a graphics issue as i run 60 FPS. It seems to be CPU related but i ran the last version of this mod perfectly fine.

 

Any ideas?

Edited by Redarmy45 (see edit history)
Link to post
Share on other sites
Xyth I hate to bother you about this again but the NRE still happens with the newest update.

 

NullReferenceException: Object reference not set to an instance of an object

at EntityUtilities.Stop (System.Int32 EntityID) [0x00027] in <7a40ba8725814d7bb9a1cb32695e189b>:0

at EntityAliveSDX.OnUpdateLive () [0x004f8] in <7a40ba8725814d7bb9a1cb32695e189b>:0

at EntityAlive.OnUpdateEntity () [0x0001e] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntity (Entity e, System.Single _partialTicks) [0x0015d] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntitiesSlice (System.Int32 count) [0x00037] in <3ca2702590144b2c95bd610195728952>:0

at World.TickEntitiesSlice () [0x00000] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.UpdateTick () [0x00026] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.gmUpdate () [0x00297] in <3ca2702590144b2c95bd610195728952>:0

at GameManager.Update () [0x00000] in <3ca2702590144b2c95bd610195728952>:0

 

NRE Confirmed. Investigating.

Edited by xyth (see edit history)
Link to post
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...