Author Topic: Calculate Item Costs via Item Level  (Read 966 times)

Kevin_R

  • Newbie
  • *
  • Posts: 2
    • View Profile
Calculate Item Costs via Item Level
« on: March 29, 2009, 05:39:18 pm »
My guild uses fixed item costs for items, based on the item level and a multiplier which varies depending on the GetItemInfo INVTYPE query.

For example a level 100 neck piece drops.  We use a multiplier of 1 for INVTYPE_NECK so the DKP cost would be: 100*1 = 100DKP

Would it be possible to add something like this, or even explain to me where I'd need to add code to make this possible?

Thanks.
« Last Edit: April 26, 2009, 04:23:02 pm by Eris »
Logged

Eris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 447
    • View Profile
    • Email
Re: Calculate Item Costs via Item Level
« Reply #1 on: March 30, 2009, 03:38:32 pm »
with the next release the itemlevel will be displayed when you get ask for the costs so you could just copy this, is this ok for you?
Logged

Kevin_R

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Calculate Item Costs via Item Level
« Reply #2 on: April 01, 2009, 03:51:26 pm »
I've managed to add the code myself.  It works, but it's probabaly very in-efficient.

I look forward to the new releases!
Logged

eled

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Calculate Item Costs via Item Level
« Reply #3 on: April 16, 2009, 06:26:34 pm »
Kevin_R Can I get that code please? Trying same thing as well but I'm really unaware of lua coding :(

Tried to sort it out using ML_RaidTracker_Custom_Example.lua with the newest version but I really couldn't manage it.
Logged

Mizpah

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Calculate Item Costs via Item Level
« Reply #4 on: June 18, 2009, 02:32:01 pm »
Hi Guys,

These seems like the most relevent place to post this!

We use (as I am sure do others) the addon 'itemleveldkp' to work out item costs for our Zerosum system.

This is essentially an automation of the ilevel calculations, with slot modifiers, that display the actual DKP costs for an item on the tooltip.

This means, that in essence, I am making an item link in chat of the item, and clicking it to get the dkp cost.  I am thinking there must logically be a way to populate the raidtracker with actual DKP value automatically as its being displayed already, to save the extra lookup, and to the automate it completely ?


In essence just prepopulating the value field per item, or adding a button 'add default' next tothe bank/disenchant buttons would do it - now I dont have vast coding expereince, but woudl have a go if people have any pointers ? 

Or is this somthing that you might consider adding into the product ?

Cheers!

Miz
Logged

Eris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 447
    • View Profile
    • Email
Re: Calculate Item Costs via Item Level
« Reply #5 on: June 18, 2009, 03:18:34 pm »
'itemleveldkp' is supported by version 1.7.13
Logged