Was to remove the rogue "</array>" a working solution?
Cheers
L
*sigh* The parser found three errors, but I haven't yet found the problematic lines.
Does anyone know of a good text editor that gives you line numbers?
EDIT: Ah, found the problem. However, I don't think a C++ compiler was meant to be used for checking .plist files. It does give line numbers, though, which is what I needed.
Let's see if it works now.
EDIT2: Okay, it's working now. Of course, another bug popped up as soon as I squashed that one, but that's programming for you.
Dream as if you'll live forever
Live as if you'll die tomorrow
Nemoricus,
I have previously recommended Scite on windoze. Its got line numbers, will show end of line CR, LF etc and can change it, I originally broke some scripts by adding CRLF to scripts which had previously contained only LF.
It can also be easily customised to support different languages for highlighting, comments etc.
I am not on commission. It's free anyway. GPL, I believe.
Sorry, didn't spot that. Just that I've recommended this editor before so I don't want to be seen to be pushing it too much. It is, however, designed to work on windoze, mac and Linux, including formatting issues.
If I would have known I'd be in so much of a demand I'd have checked in sooner! RL as a JAG has gotten the better of me - not sure how little bear does it.
I love that someone can update Galactic Navy to the Java Script Age!! I would have done it a long time ago if I had the capability, and I fully support implementing some sort of local area mission constraint as well as crediting the player after missions have been completed. Probably all easily done with java script. You've all got my full support.
Additionally, I have an unreleased (although promised several times) version that includes two new general mission types if you want to include them in the java release. One is an especially cool rescue type mission where you defend a disabled carrier from waves of thargoids. The other involves delivering an urgent message to a carrier commander which may or may not result in a follow up fleet engagement.
I made some other bug fixes, but never documented for myself what they were and have since forgotten. I know one was serious problem where planet numbers were not matching up with the planet names in certain galaxies. These types of bugs are probably irrelevant with the java wizardry anyway.
Edit -
And, I see the newer version of Oolite makes the Spec Op mission unplayable, but Eric (who has saved this oxp more than once) crafted a patch. That's also something that should be included in an update.
Hmm...it seems that in the course of my edits, I somehow replaced the fixed version of the shipdata.plist with the broken one. This rebreaks the mission.
However, I've fixed the problem for the next beta. I just need to finish testing my new mission completion code and I'll put it up.
Dream as if you'll live forever
Live as if you'll die tomorrow
Sorry, didn't spot that. Just that I've recommended this editor before so I don't want to be seen to be pushing it too much. It is, however, designed to work on windoze, mac and Linux, including formatting issues.
Thanks for pointing this editor out, Capt. Slog. It's great so far.
The next version of Galactic Navy is in the works. I've fixed the only major bug to come up so far. If matt approves and I don't hear anything else, I plan to release Galactic Navy 5.0.0 this weekend.
Dream as if you'll live forever
Live as if you'll die tomorrow