[Bug 1.1 Beta] Typo in StarbaseModuleDefs prevents point defense upgrades past Counter Measures

The Prerequ section of DroidSentrySystemModule has a space after CounterMeasureModule which seemed to be causing the problem.

 

Original

...

    <Prerequ>
      <Techs>
        <Option>DroneSentrySystems</Option>
      </Techs>
      <UpgradesFrom>CounterMeasureModule </UpgradesFrom>
    </Prerequ>

 

Fix

...

    <Prerequ>
      <Techs>
        <Option>DroneSentrySystems</Option>
      </Techs>
      <UpgradesFrom>CounterMeasureModule</UpgradesFrom>
    </Prerequ>

8,617 views 7 replies
Reply #1 Top

Yeah thats pretty annoying seeing as this issue was ticketed and reported back on the 21st and we've had 2 updates since.

Quoting Deathwynd, reply 52

There are also spaces in the following files, I checked and these all fail to match corresponding entries and are undoubtedly causing issues.

StarbaseModuleDefs.xml
Line 1040: <InternalName>CounterMeasureModule </InternalName>
Line 1110: <UpgradesFrom>CounterMeasureModule </UpgradesFrom>
Line 3550: <Option>Interstellar Tourism</Option>

DrenginTechDefs.xml
Line 1846: <InternalName>DrenginProtein Resequencing</InternalName>
Line 1847: <GenericName>Protein Resequencing</GenericName>

ImprovementDefs.xml 
Line 13532: <InternalName>Universal Soil Adapter</InternalName>
Line 13532: <InternalName>Universal Soil Adapter</InternalName>
Line 13674: <Improvement>Xeno Anthropology Center</Improvement>
Line 13675: <Improvement>Universal Outreach Center</Improvement>
Line 13676: <Improvement>Future Studies Center</Improvement>

StaticShipBlueprintDefs.xml
Line 638: <ShipComponents>AssaultCarrier Module</ShipComponents>
Line 639: <ShipComponents>AssaultCarrier Module</ShipComponents>

 Ticket #RVF-106-50035

In fact it looks like they only implemented part of the correction previously reported, they took the space out of the Internal name but left it in the UpgradesFrom tag.

Reply #2 Top

I thought I had seen an earlier post about it but didn't see it in my initial search.

Thanks.

Reply #3 Top

Ok this is really weird, in reviewing my own files I find that the above error is fixed while I never fixed it.

So I checked it with winmerge and it shows the original game file with no such space.

So I checked the original game file with notepad, just straight up plain old windows notepad and it shows it doesnt have the space.

So I go back and reopen that file with notepad++ which is where I do all my editing and IT shows the space being there now I'm totally confused.

Reply #4 Top

I verified my local cache in Steam before posting and I found the space. I'm running it again in case it was fixed.

Update: The only extraneous trailing space I found in StarbaseModuleDefs is the one at the end of CounterMeasureModule [line 1110].

Reply #5 Top

Yeah after doing some digging online I found the issue, Notepad++ is a very comprehensive editor and recognizes all the possible formatting codes.

Other programs including standard windows notepad are more generalized and not as comprehensive and so some of the more esoteric codes used to represent things like spaces are not always recognized, for example windows notepad is written to the windows standard for text editing and many unix OSX and mac standards aren't even recognized by it.

So basically the GC3editor that is mentioned in the xml files must use a spacing that windows notepad doesn't recognize but Notepad++ does.

Ultimately you are totally correct that typo still exists and now that they fixed the internal name for countermeasures the upgrade precursor for dronesentysystems doesnt work.

Reply #6 Top

Funny how a little space, in a big space game, can cause so much trouble.  Good catch.

 

Reply #7 Top

Thanks for posting.