phpBB Forum

It is currently Wed 23. May 2012, 00:44

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  [ 5 posts ] 
Author Message
Offline
 Post subject: Function help
PostPosted: Fri 12. Jun 2009, 23:53 

Joined: Mon 18. May 2009, 11:13
Posts: 11
Hi,

is there an easy way to read and update dkp values in GetDKP from another addon?
The addon is on the same pc so I'm hoping there are functions I can call.
Something like:

x = GetDKP_PlayerDKP( playerName );

GetDKP_UpdateDKP( playerName, increaseAmount );

Thanks...



Top
 Profile  
 
Offline
 Post subject: Re: Function help
PostPosted: Mon 15. Jun 2009, 11:41 

Joined: Mon 18. May 2009, 11:13
Posts: 11
I guess my question was unclear.
We want to use our own bidding addon, but we will continue to use yours
What I want to know is; if I want my addon to know the dkp for a player, can it just read the value from:
gdkp["players"][playername]["dkp_current"]

and when it needs to update dkp, can it just update:
gdkp["players"][playername]["dkp_earned"]
gdkp["players"][playername]["dkp_spend"]
gdkp["players"][playername]["dkp_current"]

??

(Of course for new players I'm guessing this will need to be added)

Thanks...



Top
 Profile  
 
Offline
 Post subject: Re: Function help
PostPosted: Mon 15. Jun 2009, 17:58 
Core-Developer
User avatar

Joined: Wed 10. Dec 2008, 13:06
Posts: 9025
Location: Heilbronn, Germany
you have to wait for sylna. i could say "no, i think not that its possible", but i've absolutely no clue..


Support my work:
Image Image
Donate your played PS3 games:
Alternative: Donate your played Playstation3 games (PAL, Region Code 2).



Top
 Profile  
 
Offline
 Post subject: Re: Function help
PostPosted: Sat 27. Jun 2009, 17:51 

Joined: Tue 28. Apr 2009, 17:33
Posts: 26
that's will be difficult, because for that, the developpers have to work on your 2 addons, getdkp is not a probleme, but yours will be one, because this addon isn't from EQDKP plus team, so they need to be in contact to make this work, and the second reason is simply:

there is already a bid system on getdkp, and it work well, if you want some modification, make it directly to your getdkp.

i make some change for my guild, i use the bid system (bid2) to make the difference bitween the raider who need (he write +1 on raid chat) and the raider who need for the offspe (he write +2) so my need word is +1, and offspe will be write as +2.

i modify some announce too, so when i click on the item in the Loot windows, it's say :

+1 pour les need, +2 pour seconde spe pour [Objet].

we use fixed DKP values, so the bid system is just here to make the difference between +1 and +2 ;)



Top
 Profile  
 
Offline
 Post subject: Re: Function help
PostPosted: Mon 6. Jul 2009, 14:14 
Developer
User avatar

Joined: Thu 23. Aug 2007, 18:48
Posts: 413
There is atm no Interface to provide dkp information to other addons. I will keep that in mind for next major release (that's not a promise to provide that interface in the future).

No parts of GetDKP are declared private so of course you can hook GetDKP from any addon you code by your own, but this is always at your own risk and not supported in any way.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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