Annoying "starBaseName == sourceAbility->GetIAbilityPtr()" error

The one popup error I can't seem to eliminate

Hi modders,

Are any of you getting (or managed to eliminate) this particular popup error?

"starBaseName == sourceAbility->GetIAbilityPtr()->GetDef()->m_buffApplyAction.entityTypeToCreate"

I'm a bit of a perfectionist when it comes to making stable, error-free mods and for the life of me I can't work out why this appears despite picture perfect files.

Is anyone else getting this?

ref: http://sins.imperial.cc

 

 

5,946 views 5 replies
Reply #1 Top

Your star base entity has a line for creationSourceAbility. The ability referenced here needs to have a buffInstantActionTyp of CreateStarBase with the starBaseType set to the Star Base entity name that has it as the creationSourceAbility.

Reply #2 Top

Hi ZomebieRus5,

Thanks for the reply... actually all the stuff you suggested is already configured and it all works fine.. except for the annoying error message.

I think it's a hard coding bug since I can take vanilla starbase files and just rename them and add them to the manifest and it still triggers the error (though I seem to recall there was a period in Entrenchment where the error ceased to pop).

 

StarBase_EMP.entity contains:

"creationSourceAbility "AbilityDeployStarBase_EMP"

AbilityDeployStarBase_EMP contains:

buffInstantActionType "CreateStarBase"
instantActionTriggerType "AlwaysPerform"
starBaseType "StarBase_EMP"
placementRadius
    Level:0 1000.000000


So that appears all in order. But given that the error relates to name I also checked StarBase_EMP.entity for name reference and:

nameStringID "IDS_STARBASE_EMP_NAME"

which exists in English.str

In the player entity file, "Player_EMP_Loy.entity" also has valid settings:

randomStarBaseNamePrefix "IDS_STARBASENAME_EMP"
...
starBaseInfo
     count 1
      entityDefName "StarBase_EMP"
...
raceNameParsePrefix "EMP"
raceNameParsePrefixFallback "TECH"

 

I'm surprised I'm the only one with this warning message!

 

Reply #3 Top

Quoting JasonFJ, reply 2
I think it's a hard coding bug since I can take vanilla starbase files and just rename them and add them to the manifest and it still triggers the error (though I seem to recall there was a period in Entrenchment where the error ceased to pop).

This is part of my point. The creationSourceAbility would reference an ability that does not create that starbase type which you show you have right on your stuff.

I don't get these errors in my mod and have lots and lots of secondary star bases which is odd.

 

Reply #4 Top

Stupid stuff I wonder about when all other things look right.

What happens if you remove the underscore in the entity file name?

 

Reply #5 Top

Belated reply, but no difference. :(

I've now confirmed that something to do with starbase building causes a sync error that causes a divergence every time a starbase is built.

Hmm, if you aren't getting any errors it must be something I'm missing.... grr!