Bartledoo Posted April 6, 2020 Share Posted April 6, 2020 (edited) 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.txtPlayer.txt Edited April 6, 2020 by Bartledoo (see edit history) Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 Unless I'm missing something, neither of those logs show an error. Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 Pushed more DarkStarDragon NPC characters. He can tell you more ;-) Link to comment Share on other sites More sharing options...
Darkstardragon Posted April 6, 2020 Share Posted April 6, 2020 lol, adapted female raiders to be npcs and added RaiderHumongous and RaiderRat Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 Pushed an update to lower the spawnrate of NPCs as we added so many that its flooding the game :-) Also added GuppySoldiers to biome spawning Link to comment Share on other sites More sharing options...
Bartledoo Posted April 6, 2020 Share Posted April 6, 2020 You are right, I sent the wrong player log. actual one that shows NRE I have photos of what is happening but they are too big to post here Player.txt Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 (edited) 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 April 6, 2020 by xyth (see edit history) Link to comment Share on other sites More sharing options...
Bartledoo Posted April 6, 2020 Share Posted April 6, 2020 (edited) 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 April 6, 2020 by Bartledoo (see edit history) Link to comment Share on other sites More sharing options...
Guppycur Posted April 6, 2020 Share Posted April 6, 2020 I would *guess* that the server doesn't have the dmt mods running correctly. Link to comment Share on other sites More sharing options...
Bartledoo Posted April 6, 2020 Share Posted April 6, 2020 Is there a specific way to get DMT mods to run on a dedi that I missed? Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 Not really, In DMT setup you enter the paths to the client game install and the dedi game installs. It builds both versions. Link to comment Share on other sites More sharing options...
Guppycur Posted April 6, 2020 Share Posted April 6, 2020 Did you build the dlls against the server in dmt as well? Can't just copy them over from the client, unfortunately. Link to comment Share on other sites More sharing options...
xyth Posted April 6, 2020 Author Share Posted April 6, 2020 Also make sure everyone updates the zombiepack if your using that as that had an obscure NRE that's been patched. Link to comment Share on other sites More sharing options...
Bartledoo Posted April 7, 2020 Share Posted April 7, 2020 (edited) 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 April 7, 2020 by Bartledoo (see edit history) Link to comment Share on other sites More sharing options...
xyth Posted April 7, 2020 Author Share Posted April 7, 2020 (edited) Yes. I will do some additional dedi testing today to see if I can reproduce this. Reproduced. Tracking down the bug now, thanks for finding this. Edited April 7, 2020 by xyth (see edit history) Link to comment Share on other sites More sharing options...
Bartledoo Posted April 7, 2020 Share Posted April 7, 2020 Im just glad I might be able to help. I really love your guys' work, really makes it seem like a whole different game. Link to comment Share on other sites More sharing options...
xyth Posted April 7, 2020 Author Share Posted April 7, 2020 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 comment Share on other sites More sharing options...
Bartledoo Posted April 7, 2020 Share Posted April 7, 2020 Alright. In the meantime I will play with 0CreaturePackHumans and 0-Spherell core that way I can still play with NPCs. Thanks again Xyth. Link to comment Share on other sites More sharing options...
xyth Posted April 8, 2020 Author Share Posted April 8, 2020 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 comment Share on other sites More sharing options...
mr.devolver Posted April 8, 2020 Share Posted April 8, 2020 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 comment Share on other sites More sharing options...
xyth Posted April 9, 2020 Author Share Posted April 9, 2020 Its tough balancing between 3 things, vanilla, CPHumans and NPCs. I tripled the NPC spawn and slightly reduced the CPHumans. Link to comment Share on other sites More sharing options...
mr.devolver Posted April 9, 2020 Share Posted April 9, 2020 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 comment Share on other sites More sharing options...
Bartledoo Posted April 9, 2020 Share Posted April 9, 2020 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 comment Share on other sites More sharing options...
Redarmy45 Posted April 9, 2020 Share Posted April 9, 2020 (edited) 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 April 9, 2020 by Redarmy45 (see edit history) Link to comment Share on other sites More sharing options...
xyth Posted April 9, 2020 Author Share Posted April 9, 2020 (edited) 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 April 9, 2020 by xyth (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts