OMG I'm having flashbacks... or a stroke...Callback to the best Windows 3.1 theme.
lol
OMG I'm having flashbacks... or a stroke...Callback to the best Windows 3.1 theme.
Hi there, I just started to use this great tool when exobioing. Thanks for this!
However I've run into a problem. Whenever I jump I get various error message popups that disrupts the game. They seem to relate to the Evaluator plug. Everything else seems to work fine.
Anything I missed or can do to resolve this?
See image for example of errors, and thanks in advance.
That error is saying the methodHi there, I just started to use this great tool when exobioing. Thanks for this!
However I've run into a problem. Whenever I jump I get various error message popups that disrupts the game. They seem to relate to the Evaluator plug. Everything else seems to work fine.
Anything I missed or can do to resolve this?
See image for example of errors, and thanks in advance.
AddGridItems
is not being found. That particular method was added in the very latest release of Observatory (which is actually over a year old at this point, but still...). So it seems highly likely you don't have the latest release - go grab the latest release from here - it's the one in the Export Options section. Not sure if you're using the standalone version (which is ObservatoryCore.zip
) or the installer (which is ObservatorySetup.exe
) - if the former then just copy the entire contents of the zip over what you have alerady or if the latter just run the installer (in both cases, make sure Observatory is closed beforehand).Thank you sir. I somehow didn't have the latest one. Had to uninstall, delete the folder and install the new one from scratch and it appears to work flawless now.That error is saying the methodAddGridItems
is not being found. That particular method was added in the very latest release of Observatory (which is actually over a year old at this point, but still...). So it seems highly likely you don't have the latest release - go grab the latest release from here - it's the one in the Export Options section. Not sure if you're using the standalone version (which isObservatoryCore.zip
) or the installer (which isObservatorySetup.exe
) - if the former then just copy the entire contents of the zip over what you have alerady or if the latter just run the installer (in both cases, make sure Observatory is closed beforehand).
::Terraformable body::
if scan.TerraformState == 'Terraformable' then
return true, 'Terraformable ' .. scan.PlanetClass
end
::Detail::
'Terraformable body'
Exception message: [string "chunk"]:2: unexpected symbol near 'if'
Stack trace:
at NLua.Lua.ThrowExceptionFromError(Int32 oldTop)
at NLua.Lua.DoString(String chunk, String chunkName)
at Observatory.Explorer.CustomCriteriaManager.RefreshCriteria(String criteriaPath)
:: Terraformable body ::
scan.TerraformState == 'Terraformable'
I'm very new to this app and I have tried to look this up elsewhere. I keep getting logs for planets after probing them that show more biologicals that signals (i.e. only one signal on the planet but Bioinsights shows Frutexa and Stratum as being on the planet. Does that mean that there are both and I just need to keep looking or is Bioinsights incorrect?
The planet class would have just been the icing on the cake, but this is good enough if it works. Will try it tomorrow, thank you!Since its only one criteria the filter is very simple:
Code::: Terraformable body :: scan.TerraformState == 'Terraformable'
Speech output does work with it.
If you want to have specific speech outputs for tf hmc, tf ww and tf landables you need to ask someone else.
No, it says that all the bio listed "could" occur on the planet, but once you surface map the planet it will eliminate the ones that aren't there. You are doing the FSS bit but missing out the DSS bit. The FSS results just give all "possible" bio that "might" be on the planet, the DSS narrows it down to the exact bio.
View attachment 392027
So does this mean it removed them after I DSSd the planet? I had already DSS the planets and was just looking for clarification.
Since its only one criteria the filter is very simple:
Code::: Terraformable body :: scan.TerraformState == 'Terraformable'
Speech output does work with it.
If you want to have specific speech outputs for tf hmc, tf ww and tf landables you need to ask someone else.
Seems to work. I didn't find any actual terraformable bodies, because I had too little time, but Observatory Core no longer logs any errors, not even after a restart, so I guess it's fine.
Weird that I can't even get simple conditionals or a return statement with string concatenation to work in that Lua language, I feel like a complete imbecile here.
if
in the criteria, just the thing(s) you want to check, so it'd look like Alkibiades suggested. You could also have added the type in the Detail (though I don't think that gets read out, it just appears in the output), something like this:::Terraformable body::
scan.TerraformState == 'Terraformable'
end
::Detail::
'Terraformable ' .. scan.PlanetClass
::Criteria::
if scan.TerraformState and Scan.PlanetClass and scan.TerraformState == 'Terraformable' then
return true, 'Terraformable ' .. scan.PlanetClass, scan.PlanetClass
end
::End::
if scan.TerraformState and Scan.PlanetClass
) just checks the values aren't null (e.g. a Gas Giant doesn't have a TerraformState, and a Star doesn't have a PlanetClass). I think Observatory actually does this check itself now but it never used to and it's a good habit to get into - more complex criteria might still trip you up with unexpected nulls. I also added an extra argument in the return as the complex criteria allows for 3 return variable - the extra one just appears in the detail column so it could be improved.::something::
lines. So I have to stick to one format strictly.Thanks a lot! I will try it, likely today!
Not sure if I and Lua are going to become friends though.
I wasn't aware that I seemingly switched the format by changing those::something::
lines. So I have to stick to one format strictly.
Right. The LuaThanks a lot! I will try it, likely today!
Not sure if I and Lua are going to become friends though.
I wasn't aware that I seemingly switched the format by changing those::something::
lines. So I have to stick to one format strictly.
::Label::
syntax is used here in a non-standard way. In standard Lua they are just goto
targets, but I've repurposed them for criteria annotation. In retrospect it may have been more sensible to use comments so that if anyone wanted to they could still use goto
in their criteria without it being kind of an ambiguous mess? But I digress.::Criteria Name::
scan.whatever > 10
::Detail::
'Some other information: ' .. scan.whatever
::Detail::
label indicates that the following line is an expression to evaluate to put in the "Details" column.::Criteria::
if (more complex evaluation) then
-- As complex code as you like
return 'Description', 'Detail'
end
::End::
::Criteria::
and end with ::End::
on their own lines. The return value from the criteria must be in the form of either boolean, string, string
, or just string, string
. You can use the first form if you're more comfortable sending back an explicit true or false, or the second if you're fine with anything that comes back being implicity a "true" criteria and simply falling out of the function with no return value is equivalent to "false".::Criteria::
if scan.TerraformState and Scan.PlanetClass and scan.TerraformState == 'Terraformable' then
return true, 'Terraformable ' .. scan.PlanetClass, scan.PlanetClass
end
::End::
[2024/05/08 17:25:12] Error encountered in Elite Observatory from plugin Explorer while processing custom criteria 'Criteria0' on scan:
{ "timestamp":"2019-03-24T17:56:02Z", "event":"Scan", "ScanType":"AutoScan", "BodyName":"Hepa 2", "BodyID":8, "Parents":[ {"Star":0} ], "DistanceFromArrivalLS":388.145691, "TidalLock":false, "TerraformState":"", "PlanetClass":"Sudarsky class I gas giant", "Atmosphere":"", "AtmosphereComposition":[ { "Name":"Hydrogen", "Percent":69.190788 }, { "Name":"Helium", "Percent":30.809208 } ], "Volcanism":"", "MassEM":7.705753, "Radius":25729286.000000, "SurfaceGravity":4.639476, "SurfaceTemperature":21.134399, "SurfacePressure":0.000000, "Landable":false, "SemiMajorAxis":116363403264.000000, "Eccentricity":0.000009, "OrbitalInclination":0.146388, "Periapsis":330.440338, "OrbitalPeriod":70189312.000000, "RotationPeriod":102962.531250, "AxialTilt":-0.262425, "Rings":[ { "Name":"Hepa 2 A Ring", "RingClass":"eRingClass_Icy", "MassMT":7.9732e+10, "InnerRad":4.6691e+07, "OuterRad":6.8762e+07 } ], "ReserveLevel":"CommonResources" }
NOTE: Custom criteria processing has been disabled to prevent further errors.
Exception message: [string "chunk"]:2: attempt to index a nil value (global 'Scan')
Stack trace:
at NLua.Lua.ThrowExceptionFromError(Int32 oldTop)
at NLua.Lua.CallFunction(Object function, Object[] args, Type[] returnTypes)
at Observatory.Explorer.CustomCriteriaManager.CheckInterest(Scan scan, Dictionary`2 scanHistory, Dictionary`2 signalHistory, ExplorerSettings settings)