I'm getting errors on the client and server in Universe::GetEffectsAndTargets when GetBuildingType is called. For just the type of content lookup, the content names have an extra set of "" in them... So the "BLD_SHIPYARD_BASE" is passed, instead of just BLD_SHIPYARD_BASE.
This isn't happening for species, or any other type of content as far as I've noticed.
Is anyone else seeing something similar in a recent SVN build?
GetBuildingType parameter "" wrapping?
Moderator: Committer
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: GetBuildingType parameter "" wrapping?
did you apply the in-progress UniverseGenerator.py patch there? The initial versions of that changed the stripping done when loading the buiding types, taking out whitespace but leaving in the extra quotes. That shouldn't actually be in the svn repository.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: GetBuildingType parameter "" wrapping?
Probably...Dilvish wrote:did you apply the in-progress UniverseGenerator.py patch there?