RestInPieces
New member
Want to completely remove quests (not traders) and challenges from the game.
After doing the modifications listed below they get removed, however, after a while, I get constant null reference errors in the console (after starting a new game) and can't play the game
Does anyone know a way which will let me remove them cleanly?
Thanks.
quests.xml:
<config>
<remove xpath="/quests/quest"/>
<remove xpath="/quests/quest-list"/>
<remove xpath="/quests/quest_items"/>
<remove xpath="/quests/quest_tier_reward"/>
</config>
challenges.xml:
<config>
<remove xpath="/challenges/challenge"/>
<remove xpath="/challenges/challenge_category"/>
<remove xpath="/challenges/challenge_group"/>
</config>
The null reference error in question is this (I have also tried to keep quest list but it still throws a null reference for quests)
After doing the modifications listed below they get removed, however, after a while, I get constant null reference errors in the console (after starting a new game) and can't play the game
Does anyone know a way which will let me remove them cleanly?
Thanks.
quests.xml:
<config>
<remove xpath="/quests/quest"/>
<remove xpath="/quests/quest-list"/>
<remove xpath="/quests/quest_items"/>
<remove xpath="/quests/quest_tier_reward"/>
</config>
challenges.xml:
<config>
<remove xpath="/challenges/challenge"/>
<remove xpath="/challenges/challenge_category"/>
<remove xpath="/challenges/challenge_group"/>
</config>
The null reference error in question is this (I have also tried to keep quest list but it still throws a null reference for quests)
Code:
NullReferenceException: Object reference not set to an instance of an object
at EntityTrader.PopulateQuestList () [0x00050] in <cf106f0fabce4b568ad6c0e783024e88>:0
at EntityTrader.OnUpdateLive () [0x00013] in <cf106f0fabce4b568ad6c0e783024e88>:0
at EntityAlive.OnUpdateEntity () [0x00035] in <cf106f0fabce4b568ad6c0e783024e88>:0
at World.TickEntity (Entity e, System.Single _partialTicks) [0x0011e] in <cf106f0fabce4b568ad6c0e783024e88>:0
at World.TickEntitiesSlice (System.Int32 count) [0x00037] in <cf106f0fabce4b568ad6c0e783024e88>:0
at World.TickEntitiesSlice () [0x00000] in <cf106f0fabce4b568ad6c0e783024e88>:0
at GameManager.UpdateTick () [0x00026] in <cf106f0fabce4b568ad6c0e783024e88>:0
at GameManager.gmUpdate () [0x00495] in <cf106f0fabce4b568ad6c0e783024e88>:0
at GameManager.Update () [0x00000] in <cf106f0fabce4b568ad6c0e783024e88>:0
Last edited by a moderator: