Download
(2Kb)
Download
Updated: 07-21-09 11:43 AM
Pictures
File Info
Updated:07-21-09 11:43 AM
Created:07-19-09 12:56 PM
Downloads:2,292
Favorites:9
MD5:

Shard Keeper

Version: 1.02
by: Shooshting [More]

ShardKeeper is a simple addon which does pretty much the same as other shard tossing addons.

It lets you set a limit to how many shards you keep with the slash command:
(Example : To set the shard limit to 15)
/sk 15

ShardKeeper will confirm the new limit is set.

The icon is movable with the left mouse button and with a click from the right mouse button it will toss 1 shard at a time if you need space.

Oh and it will tell you how many shards you have in your inventory.

Simple stuff really, was made for my wife who wanted a simple shard controlling addon with the option to quickly toss a few shards out the bag quick and easy.

-Made some slight changes to the code so it works from item id's and not names (should work in all clients)
-Added Hexenmeister so our fellow WoW DE client users can use the addon
Optional Files (0)


Post A Reply Comment Options
Unread 07-20-09, 01:09 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
No ShardKeeper Icon and the slash command does not seem to do anything on DEde client...
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 02:54 AM  
Shooshting
A Kobold Labourer
 
Shooshting's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 28
Uploads: 9
Originally posted by KleinerMink
No ShardKeeper Icon and the slash command does not seem to do anything on DEde client...
Hi there, I don't have a DE client so it's hard for me to test.

If you can run this inside WoW:

/script DEFAULT_CHAT_FRAME:AddMessage(UnitClass("player"))

and let me know what it outputs, I should be able to get it working for you.
__________________
My Addons Live @
www.YetiKitn.com
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 12:05 PM  
Robsato
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 46
Uploads: 5
Originally posted by Shooshting
Hi there, I don't have a DE client so it's hard for me to test.

If you can run this inside WoW:

/script DEFAULT_CHAT_FRAME:AddMessage(UnitClass("player"))

and let me know what it outputs, I should be able to get it working for you.
Actually it would be better to use the second return value of UnitClass since that return value is language independant. So basically you could use something like this:

Code:
local playerClass, englishClass = UnitClass("player");

if englishClass == "WARLOCK" then
-- rest of the code here
This will work for all language versions. Check out the wowwiki page for UnitClass for more info.

Another problem you will encounter is the use of the ItemName ("Soul Shard" is used in several occasions which is "Seelensplitter" in german). You probably want to use the ItemId for the soulshard (6265) instead of the name since the ItemId is the same for all languages. Most functions accept either ItemName or ItemId, for others you might need to look for an alternate function.
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 01:20 PM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
Originally posted by Shooshting
Hi there, I don't have a DE client so it's hard for me to test.

If you can run this inside WoW:

/script DEFAULT_CHAT_FRAME:AddMessage(UnitClass("player"))

and let me know what it outputs, I should be able to get it working for you.
If i enter the above the client outputs:

Hexenmeister

...which is german for Warlock.
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 01:35 PM  
Shooshting
A Kobold Labourer
 
Shooshting's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 28
Uploads: 9
Originally posted by KleinerMink
If i enter the above the client outputs:

Hexenmeister

...which is german for Warlock.
Ahhh thanks so much, I thought this would be the problem. You see the addon looks to make sure that your character is = "warlock" which is why it's not doing anything.

I'll pop a condition in there for you so it'll work in the DE client. Shouldn't take long at all
__________________
My Addons Live @
www.YetiKitn.com
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 01:38 PM  
Shooshting
A Kobold Labourer
 
Shooshting's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 28
Uploads: 9
All updated! should work just fine for you now
__________________
My Addons Live @
www.YetiKitn.com
Report comment to moderator  
Reply With Quote
Unread 07-20-09, 03:27 PM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
Originally posted by Shooshting
All updated! should work just fine for you now
Yay!
Report comment to moderator  
Reply With Quote
Unread 07-21-09, 12:30 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
The Icon now appears but the shard count does not seem to work. I have 14 shards but it still shoes "0".
Report comment to moderator  
Reply With Quote
Unread 07-21-09, 05:31 AM  
Shooshting
A Kobold Labourer
 
Shooshting's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 28
Uploads: 9
Originally posted by KleinerMink
The Icon now appears but the shard count does not seem to work. I have 14 shards but it still shoes "0".
Just wonder is Soul Shard different in German ?
__________________
My Addons Live @
www.YetiKitn.com
Report comment to moderator  
Reply With Quote
Unread 07-21-09, 11:44 AM  
Shooshting
A Kobold Labourer
 
Shooshting's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 28
Uploads: 9
I have made another update, so now that addon should work in any client, enjoy!
__________________
My Addons Live @
www.YetiKitn.com
Report comment to moderator  
Reply With Quote
Unread 07-21-09, 01:02 PM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 70
Uploads: 0
We are all happy now.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: