phpBB Forum

It is currently Wed 23. May 2012, 17:10

All times are UTC + 1 hour

Forum rules


Hello dearest user and welcome to our EQDKP-Plus support forum.

Please read the following rules and terms before posting anything! Failure in doing so will result in being ignored or being banned. Posting in our boards means you have read, understood and accepted those rules.

English Board Rules – Click here



Post new topic Reply to topic  [ 100 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next
Author Message
Offline
 Post subject: Need decay system, could do it myself, but...
PostPosted: Tue 16. Sep 2008, 10:11 

Joined: Tue 16. Sep 2008, 09:32
Posts: 4
Hi. With the release of Wrath of the Lich King my guild will need new DKP system. And we will of course need at least two pools (10ppl and 25ppl), so further use of EQDKP+ is natural choice. But raiding in Burning Crusade show us very serious flaws in current EQDKP+ mechanics, when player stacked tons of points without gearing themselves in midcontent drops just in expectation for one big throats cutting biddings at Illidan.

So now we want to implement decay system, when between last raid at tuesday and first raid at wednesday (or whatever new instance reset day will be) admin will click "Deflate all DKP data in this pool by 10%" button, so it is will prevent to stack too many points by players. At some point they will weekly lose as much points as they earn by raiding. It will also prevent them from taking too long vacations :>

I could easily program this functionality, but... I'm lost in multi-dkp databases. It is somehow unclear to me, how the system stores this data in tables.
Where can I find some documentation for this feature?

Best regards.



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Tue 16. Sep 2008, 10:21 
Moderator
User avatar

Joined: Thu 6. Mar 2008, 16:32
Posts: 4317
Location: Remshalden
Multi DKP doesn't save DKP per Member. It saves the raid and its points and saves the attendees of a raid. Later it calculates the DKP per

Sum(Sum(all raids the member attended),Corrections)

So if you want such a decay system, you need to add the decay as a group / individual correction.



ImageImage



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Tue 16. Sep 2008, 10:57 

Joined: Tue 16. Sep 2008, 09:32
Posts: 4
[quote1221557287=Ghoschdi]
Multi DKP doesn't save DKP per Member. It saves the raid and its points and saves the attendees of a raid. Later it calculates the DKP per

Sum(Sum(all raids the member attended),Corrections)
[/quote1221557287]
Thanks for help. Is this calculation done once and cached, or is it calculated every refresh? Which multidkp function is responsible for this calculation?

Some of my ideas:
- succesively week by week multiply all previous raid values by 0.9 (and same with corrections). Done by script launched by admin.
- leave current raid value but for the calculation don't get bare dkp value, but value multiplied by 0.9^n (where n is the number of weeks that passed after particular raid, rounded down). This could be done without any ingerention into database and seem to be most elegant solution. But from the other point of view - may be performance killer.

Any sugestions?

Best regards and thanks for all the good job with EQDKP+ :)



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Sat 20. Sep 2008, 09:27 
Core-Developer
User avatar

Joined: Wed 10. Dec 2008, 13:04
Posts: 1372
It's done every refresh and currently there is no function to do it, it's implemented on every part of code where it's needed (e.g. listmembers, leaderboard, quickdkp). This will change with cleanups coming with v0.7.

Thought about adding "on the fly" decay for 0.7, but scrapped it cause there will be questions like "what happend to my points?"

Best solution imho would be a plugin/seperate function for decay (and maybe point cap) which creates adjustments, so people can see "hey I lost XX DKP due to decay or cap".

Might be a feature of 0.7, lots of things to do ;)



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Tue 23. Sep 2008, 15:50 

Joined: Fri 1. Feb 2008, 01:48
Posts: 47
We use a decay system for our raiders.. And it's based on attendance and a set amount of decay.

Here you can see an example:
http://dkp.leftoverexiles.com/attendance/attendance.php
http://dkp.leftoverexiles.com/attendance/att08_08.php

The decay is manually added with "Add Individual Adjustment" after each month is passed.

I can put up the source for these php files if anyone wants.



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Fri 26. Sep 2008, 07:49 

Joined: Thu 25. Sep 2008, 12:06
Posts: 3
Hi i have been looking for something to do exactly this

90-100% attendance 0 decay
50-90% attendance 20 etc
(values dont need to be exact just eg)

if you could post a plugin/script you used would be most appreciated.

does this also require the raid planner addon to be up and running or can it be setup as in our guild does 5 raids a week so when the data is uploaded it will check that weeks attendances and calculate from there?



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Sun 5. Oct 2008, 18:17 

Joined: Sat 5. Jan 2008, 18:42
Posts: 93
/bump
Would love to have someone who knows some PHP to code something up to add a decay :D


Image



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Sat 8. Nov 2008, 04:41 

Joined: Sat 8. Nov 2008, 04:25
Posts: 7
[quote1226115067=Asys/Turalyon]
We use a decay system for our raiders.. And it's based on attendance and a set amount of decay.

Here you can see an example:
http://dkp.leftoverexiles.com/attendance/attendance.php
http://dkp.leftoverexiles.com/attendance/att08_08.php

The decay is manually added with "Add Individual Adjustment" after each month is passed.

I can put up the source for these php files if anyone wants.
[/quote1226115067]

I would love the source code for adding a decay column to my EQDKP at http://sanguis-attexo.com/eqdkp. If you could post the source files for your work I would really appreciate it.



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Tue 18. Nov 2008, 18:03 

Joined: Sat 5. Jan 2008, 18:42
Posts: 93
Bump once again, this would work so well.

Also, is there a way to do a percentage based adjustment?


Image



Top
 Profile  
 
Offline
 Post subject:
PostPosted: Tue 18. Nov 2008, 20:17 

Joined: Wed 5. Nov 2008, 11:52
Posts: 40
I can give you a script in the next few days, if you like. Its not a real plugin. its just a script, which adds adjustment for ALL members who have more the 0 DKP, but i don't know how it behaves with a multidkp pool, because i dont need one.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 100 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

(C) The EQdkp-Plus Developer Team
EQdkp Plus Template by Ramon Kaes