Stack Overflow Error with Modded research.txt
Posted: Mon Nov 21, 2016 1:14 am
Hey folks,
I recently decided to take a stab at modding, and I've hit a bug that has been befuddling me for several hours now.
I was working on research.txt with the goal of consolidating/removing some of the filler techs and reorganizing other areas to provide less of a simple linear pathway, along with adjusting research costs to promote some level of decision making. An example of this would be tweaking the costs between the 3rd-generation of a tier two weapon (ex. Velocity Shard v3) versus the 1st-gen Plasma Torpedo in such a way that there's an actual choice: grab the weapon upgrade for a more immediate benefit, or spend less money/time and go straight for the new weapon.
The issue is that I've managed to get clr.dll-related stackhash/stackoverflow errors --> CTDs as a direct result of the attached research.txt during the galaxy creation process when starting a new game. I can run a different theme and start a new game without a hitch; the issue lies in something I've done, likely without noticing. I have a hunch some of the parent/child tech relationships are still off, yet the game can successfully parse the file without problems.
I'd definitely appreciate any advice/help pinning down the exact issue as chances are I'm just too blind to spot the problem at this point.
I recently decided to take a stab at modding, and I've hit a bug that has been befuddling me for several hours now.
I was working on research.txt with the goal of consolidating/removing some of the filler techs and reorganizing other areas to provide less of a simple linear pathway, along with adjusting research costs to promote some level of decision making. An example of this would be tweaking the costs between the 3rd-generation of a tier two weapon (ex. Velocity Shard v3) versus the 1st-gen Plasma Torpedo in such a way that there's an actual choice: grab the weapon upgrade for a more immediate benefit, or spend less money/time and go straight for the new weapon.
The issue is that I've managed to get clr.dll-related stackhash/stackoverflow errors --> CTDs as a direct result of the attached research.txt during the galaxy creation process when starting a new game. I can run a different theme and start a new game without a hitch; the issue lies in something I've done, likely without noticing. I have a hunch some of the parent/child tech relationships are still off, yet the game can successfully parse the file without problems.
I'd definitely appreciate any advice/help pinning down the exact issue as chances are I'm just too blind to spot the problem at this point.