Not sure what's up, but every time I click the button to "read all logs" I get a bunch of errors and the program isn't able to read my logs.
Not sure what's up, but every time I click the button to "read all logs" I get a bunch of errors and the program isn't able to read my logs.
I'm familiar with this error, but made a bugfix for it a long time age (v0.3.19.262). What version are you using?Not sure what's up, but every time I click the button to "read all logs" I get a bunch of errors and the program isn't able to read my logs.
<Criteria Comparator="And">
<Criteria Comparator="Less" Value=".25">
<Operation Operator="Divide">
<FirstValue Type="Operation">
<Operation Operator="Subtract">
<FirstValue Type="EventData">Ring:1:OuterRad</FirstValue>
<SecondValue Type="EventData">Ring:1:InnerRad</SecondValue>
</Operation>
</FirstValue>
<SecondValue Type="EventData">Radius</SecondValue>
</Operation>
</Criteria>
<Criteria Comparator="Equal" Value="1">
<Operation Operator="None">
<FirstValue Type="EventData">Ring:Count</FirstValue>
</Operation>
</Criteria>
<Description>Taylor's Ring</Description>
<Detail>
<Item>PlanetClass:</Item>
<Item>DistanceFromArrivalLS</Item>
</Detail>
</Criteria>
rings.count == 1 && (rings[0].outerRad - rings[0].innerRad) / radius < 0.25
I'm familiar with this error, but made a bugfix for it a long time age (v0.3.19.262). What version are you using?
Another tidbit that I think people might be more excited about. I have the first pass at the new custom criteria evaluator working!
Using the Taylor's Ring criteria from earlier in this thread as an example:
XML:<Criteria Comparator="And"> <Criteria Comparator="Less" Value=".25"> <Operation Operator="Divide"> <FirstValue Type="Operation"> <Operation Operator="Subtract"> <FirstValue Type="EventData">Ring:1:OuterRad</FirstValue> <SecondValue Type="EventData">Ring:1:InnerRad</SecondValue> </Operation> </FirstValue> <SecondValue Type="EventData">Radius</SecondValue> </Operation> </Criteria> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">Ring:Count</FirstValue> </Operation> </Criteria> <Description>Taylor's Ring</Description> <Detail> <Item>PlanetClass:</Item> <Item>DistanceFromArrivalLS</Item> </Detail> </Criteria>
Code:rings.count == 1 && (rings[0].outerRad - rings[0].innerRad) / radius < 0.25
This should hopefully make things much easier for people trying to come up with new criteria.
I still have some work to do, such as implement a way to decorate the criteria with custom naming and notification details, but the general gist is that you will use C#-like syntax like this in a text file to simply evaluate a true/false expression, with one criteria per line (plus whitespace for readability).
<!-- Check for ELW orbiting another ELW-->
<Criteria Comparator="And">
<Criteria Comparator="Equal" Value="1">
<Operation Operator="None">
<FirstValue Type="EventData">Parent:PlanetClass:Earthlike Body</FirstValue>
</Operation>
</Criteria>
<Criteria Comparator="Equal" Value="1">
<Operation Operator="None">
<FirstValue Type="EventData">PlanetClass:Earthlike Body</FirstValue>
</Operation>
</Criteria>
<Description>ELW orbiting another ELW</Description>
</Criteria>
I'm on my phone right now which makes it difficult to verify with certainty, but at the very least it looks like you're on the right track. I'll take a closer look later when I'm at a computer.Hello @Vithigar , first of all, thank you for this great tool! I am using it daily and it helped me to discover many interesting things on my exploration trips...
I'm sorry to bother you with such a simple request, but what seems to be simple stuff for one, is a great challenge for the other...
I was looking for a custom criteria, that would allow me to go through my journals and alert me of interesting combinations, like:
etc...
- ELW orbiting another ELW
- WW orbiting ELW
- ELW orbiting GG
I tried to understand the syntax of the language:
Code:<!-- Check for ELW orbiting another ELW--> <Criteria Comparator="And"> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">Parent:PlanetClass:Earthlike Body</FirstValue> </Operation> </Criteria> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">PlanetClass:Earthlike Body</FirstValue> </Operation> </Criteria> <Description>ELW orbiting another ELW</Description> </Criteria>
Anyone skilled enough to see whether that could work?
Thank you!
Much appreciated!I'm on my phone right now which makes it difficult to verify with certainty, but at the very least it looks like you're on the right track. I'll take a closer look later when I'm at a computer.
I added that to my custom criteria file and another one where I just changed the orbiting body to be a WW.Hello @Vithigar , first of all, thank you for this great tool! I am using it daily and it helped me to discover many interesting things on my exploration trips...
I'm sorry to bother you with such a simple request, but what seems to be simple stuff for one, is a great challenge for the other...
I was looking for a custom criteria, that would allow me to go through my journals and alert me of interesting combinations, like:
etc...
- ELW orbiting another ELW
- WW orbiting ELW
- ELW orbiting GG
I tried to understand the syntax of the language:
Code:<!-- Check for ELW orbiting another ELW--> <Criteria Comparator="And"> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">Parent:PlanetClass:Earthlike Body</FirstValue> </Operation> </Criteria> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">PlanetClass:Earthlike Body</FirstValue> </Operation> </Criteria> <Description>ELW orbiting another ELW</Description> </Criteria>
Anyone skilled enough to see whether that could work?
Thank you!
<!-- Check for WW orbiting ELW-->
<Criteria Comparator="And">
<Criteria Comparator="Equal" Value="1">
<Operation Operator="None">
<FirstValue Type="EventData">Parent:PlanetClass:Earthlike Body</FirstValue>
</Operation>
</Criteria>
<Criteria Comparator="Equal" Value="1">
<Operation Operator="None">
<FirstValue Type="EventData">PlanetClass:Water world</FirstValue>
</Operation>
</Criteria>
<Description>WW orbiting ELW</Description>
</Criteria>
I added that to my custom criteria file and another one where I just changed the orbiting body to be a WW.
Code:<!-- Check for WW orbiting ELW--> <Criteria Comparator="And"> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">Parent:PlanetClass:Earthlike Body</FirstValue> </Operation> </Criteria> <Criteria Comparator="Equal" Value="1"> <Operation Operator="None"> <FirstValue Type="EventData">PlanetClass:Water world</FirstValue> </Operation> </Criteria> <Description>WW orbiting ELW</Description> </Criteria>
After scanning all my journals it returned one WW orbiting an ELW, so I'd say you don't need to change anything - it's working.