OK, "run as admin" fixed the issue of not writing to the file; but, I'm almost certain I never had to before now.
Here's one I wrote to look for a high water content atmosphere. Should be about the same for the logic.
Code:::Criteria:: --Landable with water atmosphere if scan.Landable and scan.SurfacePressure > 0 and scan.AtmosphereComposition then for material in materials(scan.AtmosphereComposition) do if string.find(string.lower(material.name),'water') and material.percent >= 50 then return true, 'Landable with water atmosphere', 'Pressure: ' .. math.floor(100*scan.SurfacePressure/101325)/100 .. ', Water percentage: ' .. material.percent end end end ::End:
Very possible. In fact the multi-line criteria example demonstratingfor
loops in the documentation is already very close to what you need. Just need to change it to look for oxygen instead of carbon dioxide and nitrogen, and add a threshold for the amount.
I'll leave it to you to make the changes, but if you need help (or simply want it done) just say so!
Just installed version "0.5.21.297" of the "older" Elite Observatory. As soon as I launched it and checked setting/clicked "edit" for custom criteria, it deleted the file and keeps saying access to the file is denied every time I try to copy back the contain save/verify.
Definitely strange. Sounds like it's located somewhere that your user account doesn't have write permission for so it can't edit the file. You could try installing it in a different location or changing the permissions on its folder.OK, "run as admin" fixed the issue of not writing to the file; but, I'm almost certain I never had to before now.
You have missed nothing. Frontier added some new details to the station services in the journal which Observatory doesn't know what to do with yet. It will be fixed in the next release, but for now at least shouldn't interfere with exploration-based usage.First time user. I get this error. What have I missed...thanks
View attachment 273941
many thanksDefinitely strange. Sounds like it's located somewhere that your user account doesn't have write permission for so it can't edit the file. You could try installing it in a different location or changing the permissions on its folder.
What I find most strange is that the error makes sense, I can see how it would happen, but I don't recall anyone ever reporting it before.
You have missed nothing. Frontier added some new details to the station services in the journal which Observatory doesn't know what to do with yet. It will be fixed in the next release, but for now at least shouldn't interfere with exploration-based usage.
Huh, that's actually an issue in Observatory, not that criteria, as far as I can tell. I also get the same error, so it looks like there's a problem in theTried to adapt this but mine didn't work at all. Then I decided to copy it as is to test it and it still didn't work at all. Comes up with error "index is outside the bounds of the array"
materials
iterator. @Orvidius I assume it's working fine for you?Huh, that's actually an issue in Observatory, not that criteria, as far as I can tell. I also get the same error, so it looks like there's a problem in thematerials
iterator. @Orvidius I assume it's working fine for you?
Huh, that's actually an issue in Observatory, not that criteria, as far as I can tell. I also get the same error, so it looks like there's a problem in thematerials
iterator. @Orvidius I assume it's working fine for you?
Yep, I've been using it fine. I tested it out by running it against my entire journal history (the planets are infrequent enough that I had to do it that way anyway).
EDIT: Added image:
The last entry is for the 05 Nov but there are log files after that date; should it read the latest files?View attachment 274098
Are you sure anything "interesting" happened in them? In the screenshot there are 6 more journals after 5th Nov, but 5 of those are < 60K - which is almost firing up the game and doing nothing. Even the last file is under half the size of the 5th Nov one. Maybe you just didn't scan anything worthwhile in those?The last entry is for the 05 Nov but there are log files after that date; should it read the latest files?View attachment 274098
Yep, I've been using it fine. I tested it out by running it against my entire journal history (the planets are infrequent enough that I had to do it that way anyway).
Replying to myself.
I just wanted to add, I've been "using" that custom criteria in that it tested OK with my previous journals, but I haven't encountered a new body with it in real-time yet.
Replying to myself.
I just wanted to add, I've been "using" that custom criteria in that it tested OK with my previous journals, but I haven't encountered a new body with it in real-time yet.
Oh (the elite forums seriously censor out "eff eff ess"?!). The criteria and materials iterator are both fine, it was just an incomplete copy/paste and we all missed it. Look at the script termination closely:When I tried to run it as is to test it the error came up immediately I jumped into a new system so if it is going to play up you shouldn't have to wait long!
::End:
:
. Oh (the elite forums seriously censor out "eff eff ess"?!). The criteria and materials iterator are both fine, it was just an incomplete copy/paste and we all missed it. Look at the script termination closely:
::End:
It's missing a:
.![]()