Skivholme Posted January 15, 2018 Share Posted January 15, 2018 Hi, Does anyone know if its stil possible to remove a zombie from the game, on a dedicated server? i've tried editing entitygroups.xml. Both renaming and deleting every entry of the zombie, but it just results in errors in the log file. When the errors happens you can't see the other players movement, they just stay in the same place. "2018-01-14T21:16:32 53.749 INF Spawning bloodmoon zombie from feralHordeStageGS16 NullReferenceException: Object reference not set to an instance of an object" "NullReferenceException: Object reference not set to an instance of an object at EntityGroups.GetRandomFromGroup (System.String _sEntityGroupName) [0x00000] in <filename unknown>:0 at AIDirectorBloodMoonParty.ZA (.World , .EntityPlayer , Vector3 , Vector3 ) [0x00000] in <filename unknown>:0 at AIDirectorBloodMoonParty.Tick (.World _world, Double _dt, Boolean _canSpawn) [0x00000] in <filename unknown>:0 at AIDirectorBloodMoonComponent.Tick (Double _dt) [0x00000] in <filename unknown>:0 at AIDirector.SA (Double ) [0x00000] in <filename unknown>:0 at AIDirector.Tick (Double dt) [0x00000] in <filename unknown>:0 at World.OnUpdateTick (Single _partialTicks, ArraySegment`1 _activeChunks) [0x00000] in <filename unknown>:0 at GameManager.GJ () [0x00000] in <filename unknown>:0 at GameManager.Update () [0x00000] in <filename unknown>:0" Even though feralHordeStageGS16 doesn't include any of the zombies i have removed. Link to comment Share on other sites More sharing options...
Gazz Posted January 15, 2018 Share Posted January 15, 2018 Do a search for "text in files" in the config folder and remove any reference in any file to that zombie that is NOT in entityclasses.xml Then it's gone. Or you made an XML formatting typo somewhere... Link to comment Share on other sites More sharing options...
skullpoker Posted January 15, 2018 Share Posted January 15, 2018 I find it works better to add prob="0" to each entry rather than deleting them, so that line is still there(satisfying the code) but won't spawn. If that is the only entry in a given group, remember to add something else that can spawn in it's place. Link to comment Share on other sites More sharing options...
dreamdancer Posted January 15, 2018 Share Posted January 15, 2018 As another option, you could rewrite the entry for the zombie you want to be rid of in entityclasses. Simply make a copy of all the data of a zombie you don't mind doubling up on, give the copy the name of the zombie you want to be rid of, and then comment out or delete the offending one. Viola. -Much- easier than trying to dig around for every reference to the bugger. Link to comment Share on other sites More sharing options...
Skivholme Posted January 16, 2018 Author Share Posted January 16, 2018 As another option, you could rewrite the entry for the zombie you want to be rid of in entityclasses. Simply make a copy of all the data of a zombie you don't mind doubling up on, give the copy the name of the zombie you want to be rid of, and then comment out or delete the offending one. Viola. -Much- easier than trying to dig around for every reference to the bugger. Thank you, i went with this approach and it worked flawlessly Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.