BL Coding Wonder anyone knows about this error

正在查看此主题的用户

helokero13

Recruit
The Mod
Just encounter this error when installed my own mod, don't really know about the reason for this error
Seem to related mobile party pathing if looking at the error log.
Is it really related pathing or related number of mobile party, clan, kingdom or any other things?
I just can't figure it out.

Error log:
- Reasons
Source: TaleWorlds.CampaignSystem
Index was outside the bounds of the array.

- Inner exception
Source: No module
No inner exception was thrown

- Callstacks

Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line.

Inner exception callstack: No inner exception was thrown
Outer exception callstack:
at TaleWorlds.CampaignSystem.MobileParty.TickLogicAsMobileParty(Single realDt, Single dt)
at TaleWorlds.CampaignSystem.PartyBase.InternalTick(Single realDt, Single dt)
at TaleWorlds.CampaignSystem.PartyBase.Tick(Single realDt, Single dt)
at TaleWorlds.CampaignSystem.Campaign.RealTick(Single realDt)
at TaleWorlds.CampaignSystem.MapState.OnMapModeTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at TaleWorlds.Core.Game.OnTick(Single dt)
at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, Single dt)
 
If it is simply adding a kingdom into the game i have a guide i wrote to help people implement a custom kingdom into the game. Check what you have done against it.
https://www.nexusmods.com/mountandblade2bannerlord/mods/2161
Then my mod may be a bit different than this one, because the kingdom formed in my mod, it's all processing in-game, I didn't modify any xml manually, but using the in-game method to spawn clan, clan memebers and the kingdom
 
点赞 0
I really don't know in that case it maybe to do with party templates or something like that. TBCH adding a kingdom through XML files is the safest way.
 
点赞 0
后退
顶部 底部