Thread Tools Display Modes
09/01/19, 11:23 AM   #1
Rybinsk
Join Date: Sep 2019
Posts: 3
Lightbulb REQUEST: Extended Guild Raffle Addon

There are many guild raffle addons that base the raffle tickets completely on gold deposited into the guild bank, and I would like to see an addon that uses more of the Guild History for giving out raffle tickets.

For instance, in my guild, in addition to getting 10 tickets for depositing 1000 gold in the Guild Bank, members can also get 5 tickets for recruiting a new member. New members get 5 tickets in that week's raffle as well. Each guild member gets 1 ticket for being in the guild by default.

I'm currently keeping track of these details by hand in a spreadsheet, which can be exhausting or forgotten at times. It would be nice to have something in-game that handles the information and chooses 3 random winners each week.

Thank you for reading!
-Rybinsk
  Reply With Quote
09/01/19, 11:49 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Not interested into creating such an addon as the guild history is shut down for addons already several times and I feel one shouldn't create the next addon to mess around with it and stress the servers.

But a few thoughts:
I doubt there is a way to see if someone recruited a member or are all your guild members allowed to invite someone? And does this count as "recruited" then?
Not even sure if the API tells who has invited someone. Let me check this:
EVENT_GUILD_INVITE_ADDED (number eventCode, number guildId, string guildName, Alliance guildAlliance, string inviterDisplayName)
Yep, could be tracked by help of "inviterDisplayName" as it seems (if this is not the invited user but the invitER).
Anmd here is the invited name then:
EVENT_GUILD_INVITE_PLAYER_SUCCESSFUL (number eventCode, string playerName, number guildId) - Added in 100028
or
EVENT_GUILD_MEMBER_ADDED (number eventCode, number guildId, string displayName)

As one can invite someone and the accept can be several hours later afaik it would be difficutl to track this though as the event data is only given if YOU are online and have the addon enabled at the time the events happen. So if there is no info in the guild history about who invited whom, you don't have the information if you are not 24/7 online.

And in the history you got only something like
"..."joined the guild.
"xxx" invited "..." to join the guild.
So you always would have to connect those two information, even over time, from the history's "text" which would be a mess to do I think.

Last edited by Baertram : 09/13/19 at 12:30 PM.
  Reply With Quote
09/13/19, 10:07 AM   #3
Mircalla1803
Join Date: Feb 2018
Posts: 1
If someone wants to fix RaffleGold...

Since the patch on 8/12/19 RaffleGold has stopped working. I can try to add someone to the mod so they can edit it and fix it if they want to take a look (I'm not a modder but my old GM created the mod). It has all the things Rybinsk asked for - pulls the list from donations to the guild bank, and has a bonus ticket function. Someone told me that it still worked in the CLI, but I can't get it to work - the "/rg set ticket price" function is not being properly stored as a variable and when I try to "/rg draw guild" it says I need to set a ticket price.
  Reply With Quote
09/13/19, 12:31 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Check the comments, there is an updated version of Raffle Gold Tally
https://www.esoui.com/downloads/info....html#comments

It should have some options of the ones you have requested.
  Reply With Quote
03/29/20, 08:17 AM   #5
Rybinsk
Join Date: Sep 2019
Posts: 3
Originally Posted by Baertram View Post
Check the comments, there is an updated version of Raffle Gold Tally
https://www.esoui.com/downloads/info....html#comments

It should have some options of the ones you have requested.
Thank you!
  Reply With Quote
04/10/20, 09:57 PM   #6
Rybinsk
Join Date: Sep 2019
Posts: 3
Exclamation

Originally Posted by Baertram View Post
Check the comments, there is an updated version of Raffle Gold Tally
https://www.esoui.com/downloads/info....html#comments

It should have some options of the ones you have requested.
Is there any way you could help me understand the error I get when running this add-on? I have the Add-on and the LibGuildHistory dependency.

Code:
user:/AddOns/RaffleGoldTally_3_BAERTRAM/RaffleGoldTally/RaffleGoldTally.lua:19: Cannot find a library instance of "LibGuildHistory".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:87: in function 'LibStub:GetLibrary'
|caaaaaa<Locals> self = [table:1]{SILENT = T, minor = 7}, major = "LibGuildHistory" </Locals>|r
user:/AddOns/RaffleGoldTally_3_BAERTRAM/RaffleGoldTally/RaffleGoldTally.lua:19: in function '(main chunk)'
|caaaaaa<Locals> LAM = [table:2]{} </Locals>|r
  Reply With Quote
04/11/20, 09:08 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Check the addon path! You have extarcted it wrong.

Code:
user:/AddOns/RaffleGoldTally_3_BAERTRAM/RaffleGoldTally
Correct:
Code:
user:/AddOns/RaffleGoldTally
Do not let the zip file name create a new folder, just extract the contents so the folder is elder scrolls online/live/AddOns/<AddonName>.

Check this for manually installing addons:
https://www.esoui.com/forums/faq.php..._howto_install
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » REQUEST: Extended Guild Raffle Addon

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off