phpBB Forum

It is currently Tue 7. Feb 2012, 23:32

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  [ 2 posts ] 
Author Message
Offline
 Post subject: GetDKP: Second Bid + n (How to change the value of 'n'?)
PostPosted: Wed 17. Mar 2010, 11:38 

Joined: Tue 4. Aug 2009, 14:23
Posts: 12
Hi!

It might just be me using the wrong keywords while searching but I've been unable to find a topic that explains how to change the value of 'n'. For those of you that haven't grasped what I'm talking about, here's an example;

Quote:
Player 1 bids 25 (Second highest bid) dkp.
Player 2 bids 50 (Highest bid) dkp.

Player 2 wins for 26 (Second highest bid + n) dkp.


The default setting for 'n' is 1 and I would like to change this value to something that fits our guild policy more. If someone would just paste a line containing the value that I need to change that'd be terrific!

Regards,
Oliver


EQDKP-Plus version: 0.6.4.4
PHP: 5.2.10
mySQL: 5.1.37
Web Server: Apache 2.2.12



Top
 Profile  
 
Offline
 Post subject: Re: GetDKP: Second Bid + n (How to change the value of 'n'?)
PostPosted: Mon 23. Aug 2010, 12:29 

Joined: Tue 4. Aug 2009, 14:23
Posts: 12
Since there was obviously no interest or possibility for any support regarding this issue, I spent some time and managed to find it on my own. It was however only recently that I had to reinstall my interface so I was forced to search for it again, anyhow as some of you may have an interest in changing this value as well, I thought I'd post the change here.

With the GetDKPAdmin.lua located in the GetDKP/GetDKPAdmin/ folder, you should be able to find the following line:

Default
Code:
msg = msg..GDA_WINS..(GetDKPAdmin_List[var+FauxScrollFrame_GetOffset(GDA_ListScrollFrame)+1].points+1).."


Modified
Code:
msg = msg..GDA_WINS..(GetDKPAdmin_List[var+FauxScrollFrame_GetOffset(GDA_ListScrollFrame)+1].points+5).."


The value you should change is the second "+1". Please note that changing the first will cause a lua-error.

Please post a reply if this has helped you or if you have any other suggestions that we could add to the developer of this great addon.

Best Regards,
Oliver


EQDKP-Plus version: 0.6.4.4
PHP: 5.2.10
mySQL: 5.1.37
Web Server: Apache 2.2.12



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron

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