prism_packets.php, the Pit Work flags seem to be defined incorrectly.
It should start with 1, then 2, 4 and so on, but it actually starts from (1 << 1) = 2. Also, it goes from PSE_FR_WHL = (1 << 4) to PSE_LE_FR_DAM = (1 << 6).
So I think it should be numbered like this instead. This one detected the pit work correctly in my plugin rather than the original one.
Using PRISM 0.4.4.
It should start with 1, then 2, 4 and so on, but it actually starts from (1 << 1) = 2. Also, it goes from PSE_FR_WHL = (1 << 4) to PSE_LE_FR_DAM = (1 << 6).
So I think it should be numbered like this instead. This one detected the pit work correctly in my plugin rather than the original one.
<?php
// Pit Work Flags
define('PSE_NOTHING', (1 << 0)); // bit 0 (1)
define('PSE_STOP', (1 << 1)); // bit 1 (2)
define('PSE_FR_DAM', (1 << 2)); // bit 2 (4)
define('PSE_FR_WHL', (1 << 3)); // etc...
define('PSE_LE_FR_DAM', (1 << 4));
define('PSE_LE_FR_WHL', (1 << 5));
define('PSE_RI_FR_DAM', (1 << 6));
define('PSE_RI_FR_WHL', (1 << 7));
define('PSE_RE_DAM', (1 << 8));
define('PSE_RE_WHL', (1 << 9));
define('PSE_LE_RE_DAM', (1 << 10));
define('PSE_LE_RE_WHL', (1 << 11));
define('PSE_RI_RE_DAM', (1 << 12));
define('PSE_RI_RE_WHL', (1 << 13));
define('PSE_BODY_MINOR', (1 << 14));
define('PSE_BODY_MAJOR', (1 << 15));
define('PSE_SETUP', (1 << 16));
define('PSE_REFUEL', (1 << 17));
define('PSE_NUM', 20);
?>