Thanks, I will try!Very unlikely. I pushed a new version that remove some stray buffs from an evil extends...
Could it have something to do with SphereII Mod Localization Hook? Sphereii mentioned that this mod changes mods into SDX versions so that it can attach localizations to the original files. I installed this mod because I have quite a few mods that contain localizations, so I wanted to automate the process of adding those localizations into the main file. But I was getting NRE even before, it's a rare one. It happened at least twice during my testing time and I'm not sure how to reproduce it, but in both cases I was in the trader area when it happened and those bandits were somewhere outside, near the trader area.I noticed your loading EntityBanditsdx and my EntityBanditssdx. Perhaps the first one is coming from another modlet and is causing this issue.
But the spam of NRE stopped when I killed BanditEve - Entity 422This is your error:
2019-05-11T13:36:39 4659.617 INF Entity 466 killed by 426.
NullReferenceException: Object reference not set to an instance of an object
at EntityNPC.OnUpdateLive () [0x00000] in <filename unknown>:0
at EntityAlive.OnUpdateEntity () [0x00000] in <filename unknown>:0
at World.TickEntities (Single _partialTicks) [0x00000] in <filename unknown>:0
at GameManager.gmUpdate () [0x00000] in <filename unknown>:0
at GameManager.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
Its seems to point to the EntityNPC not EntityBandit.
The log didn't finish with saving and quitting because I was still in the game when I manually opened the log file and saved its content to a new file and uploaded it for you. But in game console, it stopped after killing her. It took couple of seconds to take effect, but I thought maybe there's a delay since they don't despawn immediately when they die.The log shows the NRE spam to the end, unless you truncated it before pasting. Could be a conflict with another modlet. The Bandits only have a dozen lines of code that changes their movement speed, the rest is all Vanilla class code and xml.
Well, I did have other mods installed, even the whole HDHQ pack, UMA zombies and basically everything I could find to enhance the gameplay, but honestly it is hard to believe there would be some conflict with those mods, individually they don't seem to change too much.Ok. Might be another buff on them that's not being cleared or might be Sphereiis NPC code changes to the base NPC code is impacting the bandit class which extends from that (if I remember correctly)
This is probably where Sphereii could use his magic and make sure that they won't spawn inside the trader area by checking the spawn coordinates to see if it's not somewhere too close to the trader area or even inside of it. Maybe I'm wrong, but I do believe that the game knows the POI locations on the map, so in theory it should be possible to put such check there, if there aren't other obstacles that would prevent it.Good catch. She probably spawned inside the protected area. I recall this was an issue in A16 as well, but not aware of any fix.
I would need to see you game logfiles in order to help. Never saw that error on spawning before.Ive been trying to get this along with the NPC mod working, but upon attempting to spawn the enemies via Entity spawner menu, i get an error saying "error executing command 'spawnentityat' failed: object reference not set to an instance of an object
I have the wandering traders mod working just fine and they spawn and work as intended. But the bandits and npcs mod are not.
Im only getting this error on my Server, not on Singleplayer.I would need to see you game logfiles in order to help. Never saw that error on spawning before.
My full log is hereException: No action class 'DialogRequirementHasQuestSDX, Mods found!at DialogFromXml.ParseRequirement (System.Xml.XmlElement e) [0x00000] in <filename unknown>:0
at DialogFromXml.ParseResponse (.Dialog dialog, System.Xml.XmlElement e) [0x00000] in <filename unknown>:0
at DialogFromXml.ParseDialog (System.Xml.XmlElement e) [0x00000] in <filename unknown>:0
at DialogFromXml.ParseNode (System.Xml.XmlNode root) [0x00000] in <filename unknown>:0
at DialogFromXml.CreateDialogs (.XmlFile xmlFile) [0x00000] in <filename unknown>:0
at DialogFromXml.Load (.XmlFile _xmlFile) [0x00000] in <filename unknown>:0
at WorldStaticData+<loadSingleXml>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
<loadSingleXml>c__Iterator1:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
(Filename: Line: -1)
2019-06-10T10:03:49 516.374 INF Executing command 'spawnentityat "NPCFarmer" -1683.897 48.00781 -1066.625 1 0 79.57401 0 Dynamic' from client 765611980138977002019-06-10T10:03:49 516.375 ERR Unknown entity -126290556
2019-06-10T10:03:49 516.375 EXC Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
at ConsoleCmdSpawnEntityAt.Execute (System.Collections.Generic.List`1 _params, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0
at SdtdConsole.executeCommand (System.String _command, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
SdtdConsole:executeCommand(String, CommandSenderInfo)
SdtdConsole:ExecuteSync(String, ClientInfo)
ConnectionManager:ServerConsoleCommand(ClientInfo, String)
NetPackageConsoleCmdServerrocessPackage(World, INetConnectionCallbacks)
ConnectionManagerrocessPackages(INetConnection, NetPackageDirection)
ConnectionManager:Update()
(Filename: Line: -1)
2019-06-10T10:03:52 519.856 INF Client 76561198013897700/Jerseyetr executing client side command: le
2019-06-10T10:03:55 522.836 INF Executing command 'se' from client 76561198013897700
2019-06-10T10:03:58 525.429 INF Time: 7.71m FPS: 36.24 Heap: 2637.5MB Max: 3111.1MB Chunks: 291 CGO: 21 Ply: 1 Zom: 1 Ent: 7 (11) Items: 3 CO: 1 RSS: 5373.3MB
2019-06-10T10:04:02 529.400 INF VehicleManager Save
2019-06-10T10:04:28 555.459 INF Time: 8.21m FPS: 36.30 Heap: 2515.1MB Max: 3111.1MB Chunks: 291 CGO: 21 Ply: 1 Zom: 1 Ent: 7 (8) Items: 3 CO: 1 RSS: 5374.6MB
2019-06-10T10:04:30 557.830 INF Executing command 'se 174 124' from client 76561198013897700
2019-06-10T10:04:30 557.830 ERR Unknown entity 792516045
2019-06-10T10:04:30 557.831 WRN Ignore spawning of empty entity
2019-06-10T10:04:47 574.681 INF Executing command 'se 174 123' from client 76561198013897700
2019-06-10T10:04:47 574.681 ERR Unknown entity 1372365283
2019-06-10T10:04:47 574.681 WRN Ignore spawning of empty entity
2019-06-10T10:04:53 580.480 INF Client 76561198013897700/Jerseyetr executing client side command: le
2019-06-10T10:04:58 585.509 INF Time: 8.71m FPS: 36.21 Heap: 2544.9MB Max: 3111.1MB Chunks: 291 CGO: 21 Ply: 1 Zom: 1 Ent: 7 (8) Items: 3 CO: 1 RSS: 5374.6MB
2019-06-10T10:05:05 592.658 INF Executing command 'settime 10000' from client 76561198013897700
2019-06-10T10:05:12 599.787 INF Executing command 'spawnentityat "BanditArcher" -1677.471 48.00781 -1070.228 1 0 94.57401 0 Dynamic' from client 76561198013897700
2019-06-10T10:05:12 599.787 ERR Unknown entity 1372365283
2019-06-10T10:05:12 599.787 EXC Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
at ConsoleCmdSpawnEntityAt.Execute (System.Collections.Generic.List`1 _params, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0
at SdtdConsole.executeCommand (System.String _command, CommandSenderInfo _senderInfo) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
SdtdConsole:executeCommand(String, CommandSenderInfo)
SdtdConsole:ExecuteSync(String, ClientInfo)
ConnectionManager:ServerConsoleCommand(ClientInfo, String)
NetPackageConsoleCmdServerrocessPackage(World, INetConnectionCallbacks)
ConnectionManagerrocessPackages(INetConnection, NetPackageDirection)
ConnectionManager:Update()
(Filename: Line: -1)