error with only 2 files in mod

I'm working in Diplomacy 1.34 trying to add a new ability. I've taken all files out and left only the new ability & the buff file in the mod folder. These files are copies of the PowerSurge (located in Entrenchment files) abilitiy, with only the filenames changed. I have created the entity.manifest with these two new names. Yet when I run Sins in dev mode I get the following:

Assert @ C:\Projects\P4\SinsDiplomacy\Release\CodeSource\GS/Entity/EntitySystemHelpers.cpp(356)

pipCloudEntityDefNames.At(i).IsValid()

(I press skip and receive 3 more exactly like the one above)

Assert @ C:\Projects\P4\SinsDiplomacy\Release\CodeSource\Engine/DataStructures/DynamicVector.h(172)

i >= 0

I'm at a loss as one of the tutorials for the original sins had me create new ability and rename the file. Has something changed for Diplomacy?

What should be my next step to try to figure out what is wrong?

Thank you

12,717 views 7 replies
Reply #1 Top

Did you increase the count at the top of the entity.manifest?

Reply #2 Top

you ARE using copies of the CURRENT sins/entrenchment/diplomacy files arn't you, because the official reference files ARE ancient and WILL cause the dreaded minidump.

if you want the latest unofficial reference files try this link

harpo

 

Reply #3 Top

you said you took all the files out and left only your changes in?

Actually, just paste.bin the files and put a link here so we can read the files.

 

Reply #4 Top

I don't pretend to understand this, but I copied the full entity.manifest from diplomacy reference files into my mod directory, then added the two references to the new ability & buff and it got rid of the errors.

Maybe that is covered someplace but I doubt it as I've tried to find tutorials etc for modding Diplomacy with no luck.

Thanks to those that answered and yes I use the latest version of files ( if it is in Diplomacy I use it, if not I look in Entrenchment, then lastly vanilla )

Reply #6 Top

kosaim, your problem was the instructions were and are for vanilla sins, but both entrenchment AND diplomacy use the entity manifest to load the entity files that are to be used, so if a new entity is added it needs to be added to the entity manifest for any mod for entrenchment OR diplomacy(and if adding OR deleting entries from the manifests you also NEED to alter the count of entries at the TOP of the manifest.

harpo

 

+1 Loading…
Reply #7 Top

Quoting GoaFan77, reply 1
Did you increase the count at the top of the entity.manifest?

Quoting kosiam, reply 4
I don't pretend to understand this, but I copied the full entity.manifest from diplomacy reference files into my mod directory, then added the two references to the new ability & buff and it got rid of the errors.

Maybe that is covered someplace but I doubt it as I've tried to find tutorials etc for modding Diplomacy with no luck.

Thanks to those that answered and yes I use the latest version of files ( if it is in Diplomacy I use it, if not I look in Entrenchment, then lastly vanilla )

Quoting harpo99999, reply 6
kosaim, your problem was the instructions were and are for vanilla sins, but both entrenchment AND diplomacy use the entity manifest to load the entity files that are to be used, so if a new entity is added it needs to be added to the entity manifest for any mod for entrenchment OR diplomacy(and if adding OR deleting entries from the manifests you also NEED to alter the count of entries at the TOP of the manifest.

harpo

 

Thank you all very much!  I have been struggling with my attempt to add a new ability to Dip for almost two weeks.