unknown errors - string and some other stuff

I`ve been doing a rewrite of requiem diplomacy.

At first i put in a few small rewrites to see it worked.

 

Then i made a large amount or rewrites in entrenchment. They worked in entrenchment.

I converted everything properly to diplomacy like i did the incremental changes.

 

I got a number of errors and cleared up the smaller ones. Manifest is correct. String is correct.

 

AND STILL I GET A STRING ERROR and some other stuff..

 

Error 1:

Assert @ c:\Projects\P4\SinsDiplomacy\Release\CodeSource\Engine/Archive/TextFileArchive.cpp(183)

*stringSrc == _T('"')

 

Error 2:

Assert @ c:\Projects\P4\SinsDiplomacy\Release\CodeSource\GS/Entity/Interfaces/IAbility.cpp(297)

NeedsSingleTarget()

 

Error 3:

Assert @ c:\Projects\P4\SinsDiplomacy\Release\CodeSource\GS/Entity/Interfaces/IBuff.cpp(2344)

(instantAction.instantActionTriggerType == InstantActionTriggerType::AlwaysPerform) || (instantAction.instantActionTriggerType == InstantActionTriggerType::OnChance)

 

What does this mean? I`ve spent hours trying to sort it and i can`t for the life of me figure what`s wrong.

All the abilities are correct and work properly. Player files are updated. String and manifest count is correct.

 

I`ve even installed requiem all over again and redid all the changes, but get the same errors..

 

UPDATE:

The errors are native to the REQUIEM MOD. I didn`t notice them earlier because i only recently started using the dev.exe.

The errors only pop up in dev.exe.. The game itself actually plays fine.

 

I might have spent the last 6 hours on absolutely nothing::(

 

3,905 views 1 replies
Reply #1 Top

Error 3 is because the enum value of instantActionTriggerType for periodicActions can only be "AlwaysPerform" or "OnChance". I am not sure if it will change the enum value to AlwaysPerform if it is neither of the above mentioned or that it will still work. There are certain "errors" in dev.exe where it complains, but the entity still works.