kampnkarl Posted December 19, 2021 Share Posted December 19, 2021 Hello, been getting a null reference exception error when another player joins my game. Any thoughts as to what it's about? NullReferenceException: Object reference not set to an instance of an object at ItemHasTags.IsValid (MinEventParams _params) [0x0000d] in <e905376b19ea4fabb0377334749ef142>:0 at MinEffectGroup.canRun (MinEventParams _params) [0x0004e] in <e905376b19ea4fabb0377334749ef142>:0 at MinEffectGroup.ModifyValue (MinEventParams _params, EntityAlive _self, PassiveEffects _effect, System.Single& _base_value, System.Single& _perc_value, System.Single level, FastTags _tags, System.Int32 _multiplier) [0x00000] in <e905376b19ea4fabb0377334749ef142>:0 at MinEffectController.ModifyValue (EntityAlive _self, PassiveEffects _effect, System.Single& _base_value, System.Single& _perc_value, System.Single _level, FastTags _tags, System.Int32 multiplier) [0x0004b] in <e905376b19ea4fabb0377334749ef142>:0 at ProgressionClass.ModifyValue (EntityAlive _ea, ProgressionValue _pv, PassiveEffects _effect, System.Single& _base_value, System.Single& _perc_value, FastTags _tags) [0x0001c] in <e905376b19ea4fabb0377334749ef142>:0 at Progression.ModifyValue (PassiveEffects _effect, System.Single& _base_val, System.Single& _perc_val, FastTags _tags) [0x00055] in <e905376b19ea4fabb0377334749ef142>:0 at EffectManager.GetValue (PassiveEffects _passiveEffect, ItemValue _originalItemValue, System.Single _originalValue, EntityAlive _entity, Recipe _recipe, FastTags tags, System.Boolean calcEquipment, System.Boolean calcHoldingItem, System.Boolean calcProgression, System.Boolean calcBuffs, System.Int32 craftingTier, System.Boolean useMods) [0x001d1] in <e905376b19ea4fabb0377334749ef142>:0 at EntityStats..ctor (EntityAlive entity) [0x00056] in <e905376b19ea4fabb0377334749ef142>:0 at EntityAlive.constructEntityStats () [0x00000] in <e905376b19ea4fabb0377334749ef142>:0 at EntityAlive.Init (System.Int32 _entityClass) [0x00007] in <e905376b19ea4fabb0377334749ef142>:0 at EntityPlayer.Init (System.Int32 _entityClass) [0x0002e] in <e905376b19ea4fabb0377334749ef142>:0 at EntityFactory.CreateEntity (EntityCreationData _ecd) [0x001da] in <e905376b19ea4fabb0377334749ef142>:0 at GameManager.RequestToSpawnPlayer (ClientInfo _cInfo, System.Int32 _chunkViewDim, PlayerProfile _playerProfile) [0x00272] in <e905376b19ea4fabb0377334749ef142>:0 at NetPackageRequestToSpawnPlayer.ProcessPackage (World _world, GameManager _callbacks) [0x00007] in <e905376b19ea4fabb0377334749ef142>:0 at ConnectionManager.ProcessPackages (INetConnection _connection, NetPackageDirection _disallowedDirection, ClientInfo _clientInfo) [0x000c8] in <e905376b19ea4fabb0377334749ef142>:0 at ConnectionManager.Update () [0x00030] in <e905376b19ea4fabb0377334749ef142>:0 1 Link to comment Share on other sites More sharing options...
jacetheace3 Posted December 19, 2021 Share Posted December 19, 2021 Experiencing the same issue putting this here if you end up getting an answer Link to comment Share on other sites More sharing options...
BFT2020 Posted December 19, 2021 Share Posted December 19, 2021 Really need you guys to read this post and follow instructions for pasting logs 2 Link to comment Share on other sites More sharing options...
BFT2020 Posted December 19, 2021 Share Posted December 19, 2021 25 minutes ago, jacetheace3 said: Came here for help not a lecture you brainless @%$# head go @%$# yourself with a broom handle @%$#head Really? I give you instructions on what you need to do to help us help you, and this is how you respond? 2 Link to comment Share on other sites More sharing options...
kampnkarl Posted December 19, 2021 Author Share Posted December 19, 2021 Was an error in the progression.xml, thanks though. 1 Link to comment Share on other sites More sharing options...
BFT2020 Posted December 19, 2021 Share Posted December 19, 2021 17 minutes ago, kampnkarl said: Was an error in the progression.xml, thanks though. Was it caused by a mod or a corrupted file? Link to comment Share on other sites More sharing options...
kampnkarl Posted December 19, 2021 Author Share Posted December 19, 2021 32 minutes ago, BFT2020 said: Was it caused by a mod or a corrupted file? A Mod. In case you're looking for the same thing I'll give you the code. I tested changing base states with base_add and base_set, but neither are working for multiplayer. Both work just fine in singleplayer, and throw no errors or warnings. <!-- Health and Stam Per leavel in Fort and Agil GIVES NULL ERROR WHEN SOMEONE JOINS MULTIPLAYER, Neither work <append xpath="/progression/attributes/attribute[@name='attAgility']/effect_group"> <passive_effect name="StaminaMax" operation="base_add" level="2,10" value="5,45"/> </append> <append xpath="/progression/attributes/attribute[@name='attFortitude']/effect_group"> <passive_effect name="HealthMax" operation="base_set" level="2" value="110"/> <passive_effect name="HealthMax" operation="base_set" level="3" value="115"/> <passive_effect name="HealthMax" operation="base_set" level="4" value="120"/> <passive_effect name="HealthMax" operation="base_set" level="5" value="125"/> <passive_effect name="HealthMax" operation="base_set" level="6" value="130"/> <passive_effect name="HealthMax" operation="base_set" level="7" value="135"/> <passive_effect name="HealthMax" operation="base_set" level="8" value="140"/> <passive_effect name="HealthMax" operation="base_set" level="9" value="145"/> <passive_effect name="HealthMax" operation="base_set" level="10" value="150"/> </append> --> Link to comment Share on other sites More sharing options...
BFT2020 Posted December 19, 2021 Share Posted December 19, 2021 Is the mod loaded on the server or just your machine? Some mods can be server side only, some should be on both client and server. Link to comment Share on other sites More sharing options...
kampnkarl Posted December 20, 2021 Author Share Posted December 20, 2021 I have tried both client and server. Both cause the null reference. Link to comment Share on other sites More sharing options...
SylenThunder Posted December 21, 2021 Share Posted December 21, 2021 Without a full log on Pastebin, there isn't a whole lot I can do. Instructions are Pinned, and have also been linked to in this thread. Link to comment Share on other sites More sharing options...
kampnkarl Posted December 21, 2021 Author Share Posted December 21, 2021 14 hours ago, SylenThunder said: Without a full log on Pastebin, there isn't a whole lot I can do. Instructions are Pinned, and have also been linked to in this thread. It's all good, I found the problem. Link to comment Share on other sites More sharing options...
jerseyetr Posted December 25, 2021 Share Posted December 25, 2021 On 12/21/2021 at 5:53 PM, kampnkarl said: It's all good, I found the problem. What was the issue? Link to comment Share on other sites More sharing options...
BFT2020 Posted December 25, 2021 Share Posted December 25, 2021 1 hour ago, jerseyetr said: What was the issue? If you are having an issue, it is best if you post your log files in pastebin. Null referenced errors can mean lots of things, so troubleshooting your issue will require more details. Link to comment Share on other sites More sharing options...
kampnkarl Posted December 31, 2021 Author Share Posted December 31, 2021 On 12/25/2021 at 8:14 AM, jerseyetr said: What was the issue? An issue with progression.xml. Editing base health and stamina via perk points was causing connection errors in multiplayer. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now