Sudden minidump error

I'm developing a mod compilation, and all of a sudden I've started getting this minidump error:

Assert @ c:\projects\Perforce\SinsDiplomacy\main\CodeSource\GS/Player/PlayerEntities.cpp(131)

ref->GetIFrigatePtr() != NULL

 

What does this mean, and what can I do to fix it??

7,864 views 8 replies
Reply #2 Top

shikami, it IS a different matter than a out of memory dump. my guess is either that a player entity is pointing to an unlisted in manifest entity OR the frigate types are MISSING an essential roletype, but I do NOT know.

harpo

 

Reply #3 Top

I think its older entities in a new game. When merging an old mod you will need to use something like notepads++ compare file feature and just take the lines you need and add them to the new file.

Use the devs more. They can be used on the fly and point you to the error before you do to many changes.

I suspect one of your player.entity files is trying to load a frigate thats not in the GameInfo folder or it is in there but you did not add it to the manifest.

Reply #4 Top

As far as I can see, there is nothing wrong with the entity.manifest.  All the frigates in my custom Player.entity files are in the GameInfo folder and in the Manifest.  Also, the mod I was merging (only one ship from this mod) is fully up to date with Diplomacy v1.011, as is my game.

Harpo, what do you mean by the frigate types may be missing an "essential roletype"?

Reply #5 Top

bcxtreme, I remember reading a post from major stress that he found that there were sme essential roletypes needed for the game. it might be this issue ie colony, lrf, planet bombing.

could the problem be that a frigate is in the manifest, but not in the player entity's? OR a single letter in the WrOnG CaSe? sins IS very EXPLICIT on it's capitalisation and spelling.

harpo

 

Reply #6 Top

Harpo, so how would I tell if the issue was related to roletypes, and how would I fix it?

I do have a Capital Ship entity that is in the manifest, but I'm not currently using it in any of the Player entities.  It was like that before this problem popped up though...

I'm going to try process of elimination and figure out what file is doing this...

Reply #7 Top

bcxtreme, are you getting the error in the dev?

perhaps it is two frigates with the same roletype?

an example from the diplomacy frigatephasecarrier entity showing the roletype and statcounttypes

frigateRoleType "Carrier"
statCountType "FrigateCarrier"

these are lines 10 and 11 from the file.

hope this helps

harpo

 

Reply #8 Top

OK, I figured it out!  One of my cruiser entities had some artifacts (things I forgot to change) left over from when it used to be a cap ship.  Problem solved!  Thanks everyone!