DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
EQ2 join/leave 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 -> Patterns

Author

Message

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sun Jun 18, 2006 11:40 am    Post subject: EQ2 join/leave patterns

Reply with quote


This is in response to a thread about easier ways to record participation data in EQ2. The suggestion in the thread is to have a pattern set for EQ2 that can take two manual commands, *join and *leave, to tell the parser that someone has joined or left the raid. I'm assuming that a /whoraid command in the beginning should work as a series of join commands.

The pattern set is based on the existing /whoraid pattern set for EQ2. I do not have access to a whole lot of testlogs for EQ2, so the testing done is minimal.

The basic idea is to at the start of the raid do a /whoraid followed by a *begin command (by saying "*Begin" to a chat channel). Then whenever someone joins or leaves the raid one issues a *join or *leave command by saying "*Join foo" or "*Leave foo" where "foo" is the name of the person who joined or left. Then at the end of the raid one issues an *end command.

Settings

    Input type: Text
    Parse mode: Join/Leave
    Parsed times are in UTC: True

Patterns and formats (in the "Parse patterns" tab's "Join/Leave" subtab)
Join pattern
Code:
\((\d+)\)\[.*?\] (\[.*?\]|You tell .*? \(\d+\),"\*[jJ]oin) (\w+)

Join format
Code:
0|0|0|0|0|$1|$3

Leave pattern
Code:
\((\d+)\)\[.*?\] You tell .*? \(\d+\),"\*[lL]eave (\w+)"\Z

Leave format
Code:
0|0|0|0|0|$1|$2

Begin pattern
Code:
\((\d+)\)\[.*?\] You tell .*? \(\d+\),"\*[bB]egin"\Z

Begin format
Code:
0|0|0|0|0|$1

End pattern
Code:
\((\d+)\)\[.*?\] You tell .*? \(\d+\),"\*[eE]nd"\Z

End format
Code:
0|0|0|0|0|$1


The rest (e.g. the loot pattern etc) can be copied from the existing EQ2 pattern sets.

Back to top

SuprSurfr



Joined: 24 May 2007
Posts: 21

PostPosted: Fri May 25, 2007 9:30 pm    Post subject:

Reply with quote


Would this be correct if i wanted to take the commands from the raid channel?

Join Pattern:
Code:
\((\d+)\)\[.*?\] (\[.*?\]| You say to the raid party,"\(\d+\),"\*[jJ]oin) (\w+)


Join Format"
Code:
0|0|0|0|0|$1|$3


Leave Pattern:
Code:
\((\d+)\)\[.*?\] You say to the raid party,"\(\d+\),"\*[lL]eave (\w+)"\Z


Leave Format:
Code:
0|0|0|0|0|$1|$2


I am in classic mode.

Thanks in advance.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat May 26, 2007 10:08 am    Post subject:

Reply with quote


SuprSurfr wrote:
Would this be correct if i wanted to take the commands from the raid channel?


Please provide some samples of the messages you're trying to capture so I can check whether they match.

Back to top

SuprSurfr



Joined: 24 May 2007
Posts: 21

PostPosted: Sun May 27, 2007 4:15 am    Post subject:

Reply with quote


Lokorin wrote:
SuprSurfr wrote:
Would this be correct if i wanted to take the commands from the raid channel?


Please provide some samples of the messages you're trying to capture so I can check whether they match.


Code:
(1180222593)[Sat May 26 19:36:33 2007] You say to the raid party,"*join Laniala"


I guess I am not sure when I need to do the *join command...
When a new member joins or leaves the raid I do a /whoraid.
For some reason they are not being added to the raid.

here is my current config.



current.xml
 Description:

Download
 Filename:  current.xml
 Filesize:  9.97 KB
 Downloaded:  182 Time(s)

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Tue May 29, 2007 7:17 pm    Post subject:

Reply with quote


SuprSurfr wrote:
I guess I am not sure when I need to do the *join command...
When a new member joins or leaves the raid I do a /whoraid.
For some reason they are not being added to the raid.


The *join command would be done whenever someone joins. I.e. if player Foo joins the raid then you do "*join Foo". The /whoraid command would only be the done at the beginning (i.e. only once). The patterns have not been tested especially much as I do not have any good log to test with, so they might not be working correctly.

The basic flow of a raid with this pattern set would be as follows:

The raid is about to start, you do a /whoraid and then "*begin".
Someone joins the raid, you do "*join NameOfPersonThatJoined".
Someone leaves, you do "*leave NameOfPersonThatLeft".
...
The raid is ended, you do "*end"

Back to top

SuprSurfr



Joined: 24 May 2007
Posts: 21

PostPosted: Tue May 29, 2007 11:52 pm    Post subject:

Reply with quote


May I PM you my raid log so you can test?

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Wed May 30, 2007 9:03 pm    Post subject:

Reply with quote


Looking in you log I saw that you say the commands in the raid party channel, they are intended to be used in chat channels. They shouldn't be especially hard to modify to fit a raid party channel if you want that instead though.

Back to top

Sundew



Joined: 05 Aug 2008
Posts: 4

PostPosted: Tue Aug 05, 2008 8:40 pm    Post subject:

Reply with quote


First of all, thank you for an excellent tool. I have just set it up and started working with it.

Whenever I raid, I like to be able to link the loot in the command. That by default give me something along the lines of:

\aITEM -1651017392 1711664321:Battleguard of Atrebe\/a
as loot item. So I have modified your pattern a bit to remove the linking info such that I get:
Battleguard of Atrebe
as output from the parser

Code:

\((\d+)\)\[.*?\] You say to the raid party,\s*"\*[Ll]oot (\w+) -  (.*?) - (-?\d+(?:\.\d+)?)"


and the format becomes:
Code:

0|0|0|0|0|$1|$2|$3|$4


I use it for the raid channel, but it can easily be modified for use in chat channels:

Code:

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


/Sundew

EDIT: The pattern still works for non-linked items of course

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 -> Patterns All times are GMT
Page 1 of 1

 


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