phpBB Forum

It is currently Tue 22. May 2012, 12:07

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: Change formula to get current DKP
PostPosted: Mon 21. Feb 2011, 03:16 

Joined: Tue 28. Dec 2010, 05:48
Posts: 14
I have successfully changed my eqdkp site to show the player's current dkp without subtracting their spent points.

Anywhere I saw the member_earned - member_spent + member_adjustment, (or w.e the variables were called) I deleted the "- member_spent"

The problem is I would love to use GetDKP to have this info in-game but the DKP number showing in-game is subtracting the member's spent points.

I don't know in which file I can find the above mentioned formula to correct it.

I changed it in 2 places in the pluskernel/include/data_export.class.php (where I found that forumla) but when I took out the member_spent part, I know get errors when running GetDKP:



DKP.EXE Version 9.3 (13th September 2009) (9300) LOGFILE
System time: 21/02/2011 01:58:23 UTC

Requesting version information ... done
Command: C:\Users\Public\Games\World of Warcraft\Interface\AddOns\GetDKP\GetDKPData\dkp.exe http://www.pgbullies/dkp/getdkp.php C:\Users\Public\Games\World of Warcraft\Interface\Addons\GetDKP\dkp_list.lua /g (argc=4, started by GUI)


WebPath: http://www.pgbullies/dkp/getdkp.php
LuaPath: C:\Users\Public\Games\World of Warcraft\Interface\Addons\GetDKP\dkp_list.lua

Renaming old 'dkp_list.lua' for backup ... file contains errors
Connecting to http://www.pgbullies ... done
Downloading raw DKP data ... failed
Error 404: The requested file could not be found on the server.
Removing temporary files ... done

Final WebPath: http://www.pgbullies/dkp/getdkp.php
Final LuaPath: C:\Users\Public\Games\World of Warcraft\Interface\Addons\GetDKP\GetDKPData\dkp_list.lua

Trying to restore old data ... no backup file found
An error occured while updating. The DKP information have NOT been updated!
====> END OF LOGFILE <====



Any suggestions?


EQDKP-Plus version: 0.6.3.2
PHP: 5.2.17
mySQL: 5.1.49



Top
 Profile  
 
Offline
 Post subject: Re: Change formula to get current DKP
PostPosted: Mon 21. Feb 2011, 05:15 

Joined: Tue 28. Dec 2010, 05:48
Posts: 14
wow, nevermind.

I forgot to close off a parenthesis... >.<

All works fine thanks!


EQDKP-Plus version: 0.6.3.2
PHP: 5.2.17
mySQL: 5.1.49



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:  

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