DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
Merging of Participation lists

 
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

Sterich



Joined: 14 Sep 2006
Posts: 6

PostPosted: Thu Sep 14, 2006 9:26 am    Post subject: Merging of Participation lists

Reply with quote


Heya, I've searched and didn't seem to find what I was looking for. What I'd like to do is to be able to import a log and merge the participation of each event into 1 segment.

Meaning, with each event found, I might have x number of participation percentages for that event. I'd like to me able to simply merge all of them into 1 100% participation, so that when I upload, there is just a single "event" or "raid" listed on the website.

Currently, you do have the "join" feature, but when I select 2 or more participation listings, some members are removed in the join. I can't seem to find out how to stop it from removing members and just to merge the 2 lists together.

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Sep 16, 2006 8:17 am    Post subject:

Reply with quote


So what you're looking for is a union operation, which doesn't exist (join is intersection). What I don't really understand is why you want it. If you would union participation like that then you would end up with a participation that is incorrect. If I understand you correctly then you want everyone to be present in every event even if they were not, which doesn't make sense to me.

If this is just a question of representing events in another way then the event representation might help.

Back to top

Sterich



Joined: 14 Sep 2006
Posts: 6

PostPosted: Sat Sep 16, 2006 8:27 pm    Post subject:

Reply with quote


Yes, that makes sense in a dkp (points) point of view.

Though we do use eqdkp, we have removed the points part of it.

How we use eqdkp and how the guild manages raids/loots (which everyone seems to like so far), is that there is no different is you participated 100% of the raid or the last 10%. If you were in the raid roster, you show up as an antendee.

The loot is passed out on who attended the most % raids and who was the person who didn't get a reward recently. It kinda cycles through the people who raid list.

The guild chose not to use the point system because there are people who don't work and raid 100% of the time who end up getting just about everything, and there are people who have jobs and they can't keep up with the points.

A raid is a single event. If the guild raids a zone and it takes 2 hours, and we do a /whoraid 10 times in that 2 hours as people come and go, that's really 1 event for us. I noticed the parser turning that into 10 events. I try and merge that into 1 event with the participation for those 10 into 1.

Thanks! Hope that made sense Smile

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Sep 16, 2006 9:38 pm    Post subject:

Reply with quote


Okay, now I understand. What might work is rewriting the patterns so that everyone is automatically seen as having participated from the start to the end. That depends on what game you're using DKP Log Parser with though, so please tell me and I will see if I can come up with some fitting patterns.

Back to top

Sterich



Joined: 14 Sep 2006
Posts: 6

PostPosted: Sat Sep 16, 2006 9:54 pm    Post subject:

Reply with quote


Thanks Lokorin,

It's everquest 2.

--Sterich

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sun Sep 17, 2006 11:47 am    Post subject:

Reply with quote


I'm assuming that you're using "EverQuest 2 (/whoraid events)", If so then the following will work:

Set parsed times are in UTC to false.
Log member pattern:
Code:
\(\d+\)\[\w{3} (\w{3}) (\d{2}) (\d{2}):(\d{2}):(\d{2}) (\d{4})\] \[.*?\] (\w+) \(.+\)

Log member format:
Code:
$6|$1|$2|21|0|0|$7

Event pattern:
Code:
\(\d+\)\[\w{3} (\w{3}) (\d{2}) (\d{2}):(\d{2}):(\d{2}) (\d{4})\] /whoraid search results for (.*?):

Event format:
Code:
$6|$1|$2|21|0|0|foo|0


That will make it so that everyone present in any /whoraid will be present in the one and only event created during the day: an event named "foo" at 21:00:00. Replace "foo" with whatever you want to call the event. Replace "21|0|0" in both formats with the point in time during the day that you want the event to occur (e.g. 17|42|13 if you want the event at 17:42:13).

Back to top

Sterich



Joined: 14 Sep 2006
Posts: 6

PostPosted: Fri Sep 29, 2006 10:00 pm    Post subject:

Reply with quote


I see.

Well, the end goal is to try and see if I could parse the log for each raid per zone per day. (Meaning an event would be created for each zone we're in per day). The delimiter would be a whoraid and the zone name changes.

So if we raid Zone A, then later that day raid Zone B, those would show up as separate events. As people come and go within the event, they would show up (to the parser) as attendence 100%. If the parser picks up bogus people, I wouldn't mind that as I can remove them after the parsing.

As for the other thread for loot, any regex result for any items picked up by anyone (inside or outside the raid) would get included and I can remove trash loot from the parser before submitting to the dkp server.

It's always easier to remove items than it is to put them in.

If it's possible to get both working together, that would make me a happy camper.

I'm also looking into the java code to see if I can make a few changes to make it custom for me. But if it's possible to do without changing code, that would be awesome.

I wish that EQ2 had the same raid output EQ1 had. <sigh>

--Sterich

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