|
|
Author |
Message |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Tue Dec 05, 2006 12:20 am Post subject: DKP per Event |
|
|
Looking to switch to DKPLP from a home grown perl script parser our old guild leader wrote, so I have a whole load of old log files to re-parse into a new EQDKP setup.
Using the old system, we would "take attendance" at intervals throughout the raid, awarding (normally) 1 DKP per attendance event. So I figure the best match in DKPLP would be event based DKP awarding, but try as I might, I cannot seem to set it up to award 1 DKP per /whoraid. It correctly parses in each /whoraid as an event, but always has a reward of 0.0.
I have the DKP System set to Event-based, and the Parse pattern set to Everquest 2 (/whoraid events).
I also have to figure out how to award 2 DKP rather than 1 to the "End" event (we give an extra DKP bonus to those present when the end of raid is called).
I also cannot get it to pick up Loot from my log files at all - I've tried changing the pattern to pick up our old format, and I've also tried changing the log file so that the loot text said is off the format *Loot <name> - <item> - <cost> but either way it refuses to pick it up.
I've attached an example log file in the format our home grown parser likes it - any suggests very gratefully received!
| Description: |
|
 Download |
| Filename: |
aug22.txt |
| Filesize: |
7.86 KB |
| Downloaded: |
67 Time(s) |
|
|
Back to top |
|
 |
Lokorin Site Admin
Joined: 03 Apr 2006 Posts: 697
|
Posted: Thu Dec 07, 2006 1:33 pm Post subject: Re: DKP per Event |
|
|
| Faeth wrote: |
So I figure the best match in DKPLP would be event based DKP awarding, but try as I might, I cannot seem to set it up to award 1 DKP per /whoraid. It correctly parses in each /whoraid as an event, but always has a reward of 0.0.
I have the DKP System set to Event-based, and the Parse pattern set to Everquest 2 (/whoraid events). |
You need to make a tweak to the event format, I have added a note about it.
| Quote: |
| I also have to figure out how to award 2 DKP rather than 1 to the "End" event (we give an extra DKP bonus to those present when the end of raid is called). |
I'm afraid that events can't be specially treated depending on order, only reward intervals can. But all is not lost as your log includes that information (see below).
| Quote: |
I also cannot get it to pick up Loot from my log files at all - I've tried changing the pattern to pick up our old format, and I've also tried changing the log file so that the loot text said is off the format *Loot <name> - <item> - <cost> but either way it refuses to pick it up.
I've attached an example log file in the format our home grown parser likes it - any suggests very gratefully received! |
Thanks for the log. The log tells how much DKP should be awarded for each attendance, so it should be easy to fit the patterns to both your attendance and loot formats. I have posted the changes in another thread.
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 3:11 pm Post subject: |
|
|
As stated in the other thread - You are a complete star )
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 3:23 pm Post subject: |
|
|
Hehe - sorry one other quick query.
When I upload this to the EQDKP server, it uploads both the participation, and the events as raids, so they end up getting double the DKP. Is there a way of getting it to just upload one or the other?
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 4:00 pm Post subject: |
|
|
Okay well I've managed to get it so that it is only awarding DKP for one, and not the other, but it looks a bit odd - visit http://kekueq2.dkphost.net/f/listraids.php?s= to see what I mean...
|
|
Back to top |
|
 |
Lokorin Site Admin
Joined: 03 Apr 2006 Posts: 697
|
Posted: Thu Dec 07, 2006 6:28 pm Post subject: |
|
|
So that future readers know what the fix is: Uncheck the Upload reward intervals with reward equal to 0 checkbox.
As for the strangeness: strange. It seems to work fine for me with the patterns and formats I posted. Please double check that nothing was missed when you copied the patterns and formats, my guess is that the event format was altered in some way.
If that's not it then please try uploading the raid to the EQDKP sandbox (user: Tester, password: tester) in order to ensure that the problem is not on the server side.
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 7:23 pm Post subject: |
|
|
That's got it - the Event format wasn't quite right - all good now
Thanks again!
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 7:48 pm Post subject: |
|
|
LOL - okay I'm back again - bet you're sick of me by now....
For some reason, the first event is picked up as an event, but has no participants.
Using the same log file as before.
Also it appears that the participants for the event are shifted one event - by that I mean that event 2 seems to contain the participants for event 1, event 3 has the participants for event 2, etc.
I tried parsing a log file where I did the /whoraid first, and the /gu TAKING ATTENDANCE line after, but it didn't seem to make a difference... although it did correct the Participation tabs reporting of attendees, it didn't affect the Event Participation tab.
|
|
Back to top |
|
 |
Lokorin Site Admin
Joined: 03 Apr 2006 Posts: 697
|
Posted: Thu Dec 07, 2006 8:41 pm Post subject: |
|
|
| Faeth wrote: |
| I tried parsing a log file where I did the /whoraid first, and the /gu TAKING ATTENDANCE line after, but it didn't seem to make a difference... |
It does seem to work for me when I use modified version of your log. I changed the timestamp (the 10 digits) at the start of each line (the order of the lines has no importance). For instance the following registers correctly for me:
| Code: |
(1156291204)[Wed Aug 23 01:00:04 2006] /whoraid search results for The Barren Sky:
...
(1156291204)[Wed Aug 23 01:00:04 2006] You say to the guild,"TAKING ATTENDANCE FOR Start FOR 1 DKP" |
(Note the changed timestamp of the last line)
|
|
Back to top |
|
 |
Faeth
Joined: 04 Dec 2006 Posts: 9
|
Posted: Thu Dec 07, 2006 9:14 pm Post subject: |
|
|
Okay so the TAKING ATTENDANCE line needs to have a timestamp that is the same or later than the /whoraid. No problems
|
|
Back to top |
|
 |
|