EQdkp levels 100+
EQdkp was not designed to handle levels greater than 99. For games with levels of 100+, some changes need to be made to handle a three digit level number.
Parsing logs
In order to properly parse log entries of players of level 100+, make the following changes to admin/parse_Everquest.php (other games have not been investigated).
Line 130:
Change
$line = preg_replace("/\[[A-Za-z]{3} [A-Za-z]{3} [0-9]{2} [0-9]{2}\:[0-9]{2}\:[0-9]{2} [0-9]{4}\]/", , $log_file[$j]);
to
$line = preg_replace("/\[[A-Za-z]{3} [A-Za-z]{3} [0-9]{3} [0-9]{3}\:[0-9]{3}\:[0-9]{3} [0-9]{4}\]/", , $log_file[$j]);
Line 144:
Change
if (preg_match("/^[0-9]{1,2} (.+) ([0-9]{1,2}) ([a-z A-Z]+)/", $line_to_read, $raid_line))
to
if (preg_match("/^[0-9]{1,3} (.+) ([0-9]{1,3}) ([a-z A-Z]+)/", $line_to_read, $raid_line))
Line 311:
Change
$pattern .= ( (isset($_POST['findall'])) || (isset($_POST['findrole'])) ) ? "\[(ANONYMOUS|([0-9]{1,2})(.+) (.+))\]" : "\[([0-9]{1,2})(.+) (.+)\]";
to
$pattern .= ( (isset($_POST['findall'])) || (isset($_POST['findrole'])) ) ? "\[(ANONYMOUS|([0-9]{1,3})(.+) (.+))\]" : "\[([0-9]{1,3})(.+) (.+)\]";