Mod keeps crashing

I tried creating what I hoped to be a fairly simple mod. All I want to do is stop races from using mines. I changed the race.entity's and removed the ability to research mines and changed the line counts appropriately.

 

I get into the game and everything is working fine, the button to research mines is gone. but after about 20 minutes or so the game crashes. The .dmp file is jibberish, and when I tried it with the dev.exe the log it created provided no helpful information.

 

Any ideas, or tips? thanks a lot.

2,779 views 8 replies
Reply #1 Top

Sins Version? Where did you get your reference files? What races are in the game(s) you've gotten the minidump in?

Reply #2 Top

You need to change

*All player entity files

*string

*manifest

 

you didn`t mention manifest so maybe that`s where your issue is. If something is wrong in the manifest file that also tends to cause errors in the dev.exe that can be difficult to understand..

 

And how did you delete the lines? Did you go a bit too fast and maybe remove one of the " in the previous or following line?

Reply #3 Top

The version i was using at the time was diplomacy 1.011. and was playing as TEC when the game crashes.

 

I changed all the race entity files and double checked to make sure I didn't get over zealous with my deleting.

 

Not sure what changes I need to make in string, or manifest, nor am I completely sure what they are. This is my first attempt at modding and I didn't see anything about manifests in modding guide .pdf I have.

 

I really appreciate the help, thanks.

Reply #5 Top

Hehe..:)

 

I was where you are now only a few weeks ago. Lots of friendly people more than happy to provide advice..

 

Manifest.entity and string.entity are to be found in the mods folder where the gameinfo folder is located.

They are written in plain text.

 

manifest contains a list of all files for the game while string contains a list of information for everything in the game.

Both files are count numbers that must be updated after adding or deleting anything.

 

VERY IMPORTANT TO KEEP TRACK..

can`t begin to state how frustrating it is to loose count..

 

just do a "search" for the info you want to change and you should find every reference..

 

It might be a good idea to take copies of the original files before you start meddling- in case you end up breaking something..:)

Reply #6 Top

Notepad++ Count Feature

Start by double clicking the word that needs to be counted, in this case "entityName". All those words should now be highlighted. Navigate to the menu bar, Search ---> Find. Make sure all the boxes are checked in the image below and press the "Count" button. 


Reply #7 Top

Quoting myfist0, reply 6
Notepad++ Count Feature
End of myfist0's quote

ooooooo

didn't know about that feature

Reply #8 Top

Genius with the count feature

Definately getting that..:)