Lestradae wrote:1.) How did you fix the Constitution for your tests?
I don't remember every step with Charlies Constitution, but for testing it's always the same. First comes the deep dumb blind work:
- Delete unnecessary files for the test (readmes, other cad-files, pdfs, bmps, gifs, demoships, illegal_goods, ...)
- Open every remaining plist
- Delete every unnecessary entry (comments, blank lines, trailing spaces, trailing tabs)
- Replace leading spaces with tabs
- Sort everything alphabetically (first entities, then keys)
- While sorting you will already find some things (bounty as string declared,...)
- Then take a look if every subent has a corresponding entry, same for messages
- For XML - Check if every opening tag has a closing tag. For OpenStep - Check braces, commatas and semikolons.
- Use the verifier (Repeat it)
- Very often there are some unneccessary declarations (mostly weapon_positions, view_positions, max_missiles) for NPCs - e.g. a ship with only a front weapon doesn't need all weapon_positions declared. Delete unneccessary stuff.
- Use the verifier (Repeat it)
- Sort the rest out (mostly fuzzy booleans)
Then comes the interesting part:
- Check the roles, scanClasses and AI declarations - change them if necessary (I gave the Constitution a testrole+AI for the test)
- Check the AIs (syntax)
- Use the verifier (Repeat it)
With Charlies oxps there are still problems after these steps, so:
- Take a deeper look in his subents. The Constitution uses some Dummies. Delete these entries.
- Then fire up Oolite and check the log. If there are still problems - fix them.
- Use the verifier (Repeat it)
And after all these things you can start testing. First with the Flasher declarations (a few times) then delete the Flashers and test it again (a few times). It is a lot of work, but hey - that's oxp'ing.
Lestradae wrote:2.) I did dig ... but atm I am more than a bit clueless. I just don't have any idea where to look for the leakage, except that according to Screet, it must have something to do with a common denominator of the four big ship classes, and there especially the Constitution(s) and perhaps the Condor. That's why I was thinking flashers - perhaps subentity count?
We don't know what it is - so testing is necessary. Try a few things, move entities in and out, maybe delete even hundreds of them to see what happens or delete only subents, single keys. OXPing is not only fun, mainly it is hard work and testing needs a lot more time than scripting. But to get a good result...