Download
(1 Kb)
Download
Updated: 11/03/14 06:01 PM
Pictures
File Info
Compatibility:
Live (1.0)
Updated:11/03/14 06:01 PM
Created:04/25/14 07:59 PM
Monthly downloads:16
Total downloads:2,170
Favorites:3
MD5:
LootDice
Version: 3.5
by: zireko [More]
(UPDATE) 3.5: This update is just to the APIVersion so that it doesn't say the addon is out of date.

(UPDATE 3.0) In this update I've cleaned up some of the code and made the code more local functions so not to conflict with other addons. If you have suggetions or problems with the code please let me know. If you can provide info on fixing/cleaning the code please leave the info in comments.

(UPDATE) I have been out of the game a while and have just returned. I do not know if I will be updating this addon or if I will be continuing with a new one. So please feel free to use my code I worked on with this addon. I hope this can help anyone new to addons.

(UPDATE) I went a head and updated this so that it should now load instead of having to be loaded in out of date. Still for any new addon authors feel free to use my code and learn from it. This is a very small code and great to start with. Also feel free to us the code as a base for any type of addon you want to make with it.

This is my very first addon. LootDice allows you to get a totally random roll and can be used by guild members or anyone that leads a group to get a random roll for loot or anything that you might want to roll for. Also this is a stand alone addon so it doesn't require you to be in a group or have any other addon for it to run.

2.0 is now out with the new fix so that it will now save to the location of where you last put it. I had a lot of help from Pure_Decimation do to there hard work teaching me we finally have the code working.

Credit: Pure_Decimation - stuck with me teaching me every detail and writing much of the code to help me understand how things work.

Please go easy on me this is my first time programming anything other than old school html websites.

If there is any problem with the addon please let me know in comments.
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Uploader
Date
3.0
1kB
zireko
10/28/14 06:07 AM
2.5
1kB
zireko
10/26/14 06:23 AM
2.0
1kB
zireko
04/28/14 09:38 AM
1.0
1kB
04/25/14 07:59 PM


Post A Reply Comment Options
Unread 04/28/14, 04:06 PM  
iolitefire

Forum posts: 0
File comments: 3
Uploads: 0
Hiya!

Thank you for putting out a mod like this! I just had a few questions. I have it installed and it looks great.

Is there a way for other people to see my rolls? If so, how can they? Do they need to install the addon?

Thanks in advance!
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 05:40 AM  
zireko
 
zireko's Avatar
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 30
Uploads: 4
It's more of a personal dice roll. I haven't made it where others can see it. However if you're in a group of good friends you know or with guild members they should trust your answer giving you don't lie about it. This is why I was saying it's best for the lootdice to be with the lead of the group or raid. I may add a feature in the future that can share with the group. I love to use the LootDice for when I have to make a choice in the story line because sometimes I have a hard time making a decision.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 07:37 AM  
zireko
 
zireko's Avatar
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 30
Uploads: 4
Originally Posted by iolitefire
Hiya!

Thank you for putting out a mod like this! I just had a few questions. I have it installed and it looks great.

Is there a way for other people to see my rolls? If so, how can they? Do they need to install the addon?

Thanks in advance!
Well I was thinking about what you said and was planning on it. But I looked into some of the coding and the SendChatMessage in the code is set to private. This means I can't send a message to a group. If anyone else knows a way we can do this let me know. If you have any more questions hit me back in the comments. Sorry I couldn't help more.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 06:26 PM  
Pure_Decimation
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 9
Uploads: 1
Originally Posted by zireko
Originally Posted by iolitefire
Hiya!

Thank you for putting out a mod like this! I just had a few questions. I have it installed and it looks great.

Is there a way for other people to see my rolls? If so, how can they? Do they need to install the addon?

Thanks in advance!
Well I was thinking about what you said and was planning on it. But I looked into some of the coding and the SendChatMessage in the code is set to private. This means I can't send a message to a group. If anyone else knows a way we can do this let me know. If you have any more questions hit me back in the comments. Sorry I couldn't help more.
There is a method of inputting text into chat that requires the user only to press the enter key to send the message. But a chat message would be too easy for an untrustworthy or greedy member of a group to spoof. I think the only real way to implement his idea would be some kind of network communication that is past the limitations of what can be done from a simple addon.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 06:37 PM  
zireko
 
zireko's Avatar
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 30
Uploads: 4
Originally Posted by Pure_Decimation
Originally Posted by zireko
Originally Posted by iolitefire
Hiya!

Thank you for putting out a mod like this! I just had a few questions. I have it installed and it looks great.

Is there a way for other people to see my rolls? If so, how can they? Do they need to install the addon?

Thanks in advance!
Well I was thinking about what you said and was planning on it. But I looked into some of the coding and the SendChatMessage in the code is set to private. This means I can't send a message to a group. If anyone else knows a way we can do this let me know. If you have any more questions hit me back in the comments. Sorry I couldn't help more.
There is a method of inputting text into chat that requires the user only to press the enter key to send the message. But a chat message would be too easy for an untrustworthy or greedy member of a group to spoof. I think the only real way to implement his idea would be some kind of network communication that is past the limitations of what can be done from a simple addon.
I know I won't be able to do it for a while but I remember ummm a wow addon that is called carbonite and it some how networks to anyone that has the addon and shares some info. But I know that is way out of my reach currently.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: