DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
Incorrect EQ2 parser patterns

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports

Author

Message

Orcon



Joined: 24 May 2007
Posts: 1

PostPosted: Thu May 24, 2007 12:46 am    Post subject: Incorrect EQ2 parser patterns

Reply with quote


Hi,

I'm just starting to use this great program. Working flawlessly so far, but I had to fix two of the regex patterns for use with Everquest 2.

1. The predefined loot pattern did not pick up on items with hyphens in their name. Changed it to:

Code:
\((\d+)\)\[.*?\] You tell .*? \(\d+\),"\*[Ll]oot\s+(\w+)\s+-\s+(.*?(?=\s+-\s+))\s+-\s+(-?\d+(?:\.\d+)?)"\Z


I should point out that the above also allows more than one space in the format, i.e. the following works as well:

Code:
*loot      NAME    -  ITEM -   #


Just change \s+ to \s if you don't like that behaviour, it is useful for us since people tend to enter more than one space at times.

2. The predefined log member pattern in /whoraid mode would also pick up people that were checked with /who, which was very annoying. Changed the pattern to this to fix that:

Code:
\((\d+)\)\[.*?\] \[.*?\] (\w+) \(.+\)$


I hope this is useful for somebody.

Thanks again for this helpful tool,

Orcon

Back to top

Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Error reports All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
SoftGreen 1.1 phpBB theme © DaTutorials.com 2005