<feed xmlns='http://www.w3.org/2005/Atom'>
<title>evtclib/src/analyzers/raids, branch v0.7.1</title>
<subtitle>arcdps EVTC reading/parsing library for Rust</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/'/>
<entry>
<title>add Twisted Castle</title>
<updated>2021-11-22T22:10:17+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2021-11-22T22:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=d4cd8c978c87d83945a0c2d57d17a0e9b047acd9'/>
<id>d4cd8c978c87d83945a0c2d57d17a0e9b047acd9</id>
<content type='text'>
There's not many useful things we can do with this log, other than
providing a way for downstream applications to identify those logs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's not many useful things we can do with this log, other than
providing a way for downstream applications to identify those logs.
</pre>
</div>
</content>
</entry>
<entry>
<title>switch order of operands in SH analyzer</title>
<updated>2021-11-18T18:37:05+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2021-11-18T18:37:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=ae884762ca300b265355afb6aeaed5010352f167'/>
<id>ae884762ca300b265355afb6aeaed5010352f167</id>
<content type='text'>
Comparing the int is a very cheap operation, and it is also a very good
indicator already that we've found the right event. Due to the short
circuiting behaviour of &amp;&amp;, it is better to check that first before
doing the Log::is_boss check - which is relatively costly. Remember that
we do this check for every buff application event!

This brings a speedup of around 50x:
new:    654.1±25.18µs
old:    34.9±0.69ms
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Comparing the int is a very cheap operation, and it is also a very good
indicator already that we've found the right event. Due to the short
circuiting behaviour of &amp;&amp;, it is better to check that first before
doing the Log::is_boss check - which is relatively costly. Remember that
we do this check for every buff application event!

This brings a speedup of around 50x:
new:    654.1±25.18µs
old:    34.9±0.69ms
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement the River of Souls encounter</title>
<updated>2021-11-13T19:32:14+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2021-11-13T19:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=91902f7ddb1941a1bd078d786a52b91979fffc36'/>
<id>91902f7ddb1941a1bd078d786a52b91979fffc36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>return Outcome::Success if a raid was rewarded</title>
<updated>2020-09-29T15:25:26+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-09-29T15:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=65bd385540db567751405df000f6b063226d8b8a'/>
<id>65bd385540db567751405df000f6b063226d8b8a</id>
<content type='text'>
If the reward has been given out, we can be 99.9% sure that the fight
succeeded, in which case we don't need to do any other convuluted
checking. This has the benefit of catching some false-negatives (edge
cases in success detection), at the cost of making the detection a bit
... weirder, in the sense that a log's success might now depend on
whether it was the first kill in the week or not.

However, given that our sucess detection works pretty well overall, I'd
say it's worth to catch a few more false-negatives and try to classify
as many logs correctly as possible. At least, this does not introduce
any false-positives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the reward has been given out, we can be 99.9% sure that the fight
succeeded, in which case we don't need to do any other convuluted
checking. This has the benefit of catching some false-negatives (edge
cases in success detection), at the cost of making the detection a bit
... weirder, in the sense that a log's success might now depend on
whether it was the first kill in the week or not.

However, given that our sucess detection works pretty well overall, I'd
say it's worth to catch a few more false-negatives and try to classify
as many logs correctly as possible. At least, this does not introduce
any false-positives.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix formatting</title>
<updated>2020-09-28T11:19:50+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-09-28T11:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=4be9a3bac6fda057e5c95f605c320bec2a278e68'/>
<id>4be9a3bac6fda057e5c95f605c320bec2a278e68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>re-introduce Boss</title>
<updated>2020-09-23T13:41:53+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-09-23T13:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=14b6a38e61b2e7b6d3d21a350283b3ec60a757ea'/>
<id>14b6a38e61b2e7b6d3d21a350283b3ec60a757ea</id>
<content type='text'>
This is now the enum that contains the IDs of the single bosses, like
Nikare and Kenut. This means we can do away with the NIKARE_ID and such.

The enum is not publicly re-exported, as we re-export Encounter (which
is more of a replacement of the old Boss).

Special casing still remains (mostly in lib.rs), but we should be able
to do away with this now with a more general Encounter::bosses and
Boss::encounter methods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is now the enum that contains the IDs of the single bosses, like
Nikare and Kenut. This means we can do away with the NIKARE_ID and such.

The enum is not publicly re-exported, as we re-export Encounter (which
is more of a replacement of the old Boss).

Special casing still remains (mostly in lib.rs), but we should be able
to do away with this now with a more general Encounter::bosses and
Boss::encounter methods.
</pre>
</div>
</content>
</entry>
<entry>
<title>rename Boss to Encounter</title>
<updated>2020-09-23T13:23:55+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-09-23T13:22:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=39972d54be41bfc7b8b7f38b1f5a4d60e2453da5'/>
<id>39972d54be41bfc7b8b7f38b1f5a4d60e2453da5</id>
<content type='text'>
This is the first step in differentiating between Encounters and Bosses.
It sounds a bit weird at first, but there are some events without any
bosses (like the River of Souls), and some events which have multiple
bosses (like Twin Largos or the kodan strike mission). If we want to
support this better, without relying on extra IDs, special casing and
constants (like NIKARE_ID), we should differentiate between Encounters
and Bosses.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first step in differentiating between Encounters and Bosses.
It sounds a bit weird at first, but there are some events without any
bosses (like the River of Souls), and some events which have multiple
bosses (like Twin Largos or the kodan strike mission). If we want to
support this better, without relying on extra IDs, special casing and
constants (like NIKARE_ID), we should differentiate between Encounters
and Bosses.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove leftover debug output</title>
<updated>2020-08-28T13:52:30+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-08-28T13:52:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=7561a928912b62e0fea384840ebaec1d3c4d291c'/>
<id>7561a928912b62e0fea384840ebaec1d3c4d291c</id>
<content type='text'>
Since downstream applications will also print this, we should remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since downstream applications will also print this, we should remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>more documentation</title>
<updated>2020-07-24T12:09:51+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-07-24T12:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=f6717fc45188870341e9b6185ef5f3102f5a96ae'/>
<id>f6717fc45188870341e9b6185ef5f3102f5a96ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>more documentation &amp; adjustments</title>
<updated>2020-07-23T15:57:59+00:00</updated>
<author>
<name>Daniel Schadt</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-07-23T15:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/evtclib/commit/?id=75f5ce065efb6a186570b365c88e564871915d76'/>
<id>75f5ce065efb6a186570b365c88e564871915d76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
