Download
(10 Kb)
Download
Updated: 08/28/20 10:02 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Greymoor (6.0.5)
Harrowstorm (5.3.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Updated:08/28/20 10:02 AM
Created:01/27/16 09:58 PM
Monthly downloads:80
Total downloads:13,726
Favorites:17
MD5:
Raffle Gold  Popular! (More than 5000 hits)
Version: 18.23.5
by: calia1120, dlrgames, Mircalla1803
Edit 8/28/2020 - dlrgames
Updated the wording displayed when the addon is building the database.
Please see the comments channel for a VERY useful process to speed up processing of Guild bank records.


Edit 4/17/2020 - dlrgames

New version with API updated for Harrowstorm. No other changes have been made.
Please note that due to the Guild data API changes collecting all the deposit info for a Guild raffle can take a LONG time. Even a small number of records may require over an hour!
If the addon tells you it needs to update the database, please be patient and let it run. It will tell you when it is ready.

Edit 1/2/2020 - dlrgames

I've uploaded a new version updated for the new API introduced with Scalebreaker (U23) and made a few small corrections in the tooltips. All functionality remains the same.

The embedded libraries have been removed, you will need to install the latest LibAddonMenu-2.0 seperately.

If you need an updated version of the addon with the Regrouper Workaround slash commands, you can find it here.

------------------------------------------------------------------------------
Raffle Gold is a convenient method for handling raffle percentages for gold while in-game.

Invalid Start / End Date: If you receive a message about an invalid start and/or end date after an update to the API and/or game client, select a different date, choose your previously selected date and the addon will work as intended.

You can access Raffle Gold by going to Settings -> Addon Settings -> Raffle Gold
or type in your chat window: /rafflegold

------------------------------------------------------------------------------
How to manually install addons:
  1. Locate the "Elder Scrolls Online" folder in your Documents
    For Windows: C:\Users\<username>\Documents\Elder Scrolls Online\<version>\
    For Mac: ~/Documents/Elder Scrolls Online/<version>/
    (replace <version> with the client you're using - "live" or "liveeu")
  2. You should find an AddOns folder, if you don't, create one.
  3. Extract the addon from the downloaded zip file into the AddOns folder.
  4. Log into the game, and on the character creation/selection screen you'll find the Addons menu. Enable your addons from there.
------------------------------------------------------------------------------

Raffle Gold offers two options for selecting raffle winners.

Option 1 - Basic Raffle Drawing
  • Entry Price: Amount required to purchase raffle tickets. Required only if not using Total Amount below.
  • 1st Place %: The percentage that the first place winner wins, based on the total amount of tickets purchased.
  • 2nd Place %: The percentage that the second place winner wins. (a zero amount will negate this, and 3rd, option)
  • 3rd Place %: The percentage that the third place winner wins. (see 1st and 2nd place for more information)
  • Total Entries: The total number of entries, not tickets, purchased.
  • Total Amount: The total amount generated from the raffle. Only required if Entry Price is empty above. If both Entry Price and this have values, then the addon will check the math.
  • Draw Raffle: This will check the information above and output the winning raffle ticket numbers and the amount that each place wins into the chat window.
Option 2 - Guild Bank Raffle Drawing
  • Entry Price: Amount required to purchase raffle tickets. (Required)
  • (OPTIONAL) Price per Ticket: The actual ticket price. Example: entry fee is $1k, but you get 10x tickets, this would be $100 per ticket
  • 1st Place %: The percentage that the first place winner wins, based on the total amount of tickets purchased.
  • 2nd Place %: The percentage that the second place winner wins. (a zero amount will negate this, and 3rd, option)
  • 3rd Place %: The percentage that the third place winner wins. (see 1st and 2nd place for more information)
  • Guild: The guild that you would like to use to draw the raffle.
  • Exclude Guild Rank(s) #: The guild rank(s) to exclude, in the order they appear in the guild pane, and above for any deposits made in increments of the "Entry Price". 1 = Guild Master
    For example: selecting #3 will exclude that rank as well as #1 and #2
  • Starting Amount $: This is the base amount being offered, without any raffle tickets even being purchased. (Any raffle tickets purchased will only build upon this amount, but can help if there is minimal participation for those that do enter)
  • Starting Date: This is the date that entries started being deposited for the raffle.
  • Starting Time: This is the time that entries started being deposited. (this should be based on your system time and not server)
  • Ending Date: This is the date that the entries finished being deposited for the raffle.
  • Ending Time: Any deposits made after this time, on the Ending Date, will be excluded from this raffle.
  • Prizes Per Username: The number of allowed prizes per username.
    • One: Can only win one of the 3 places
    • Multiple: Winners selected based on first ticket # drawn
  • Guild Raffle: This will compile the guild bank's history and output to the chat window when it is ready to continue.
    Clicking this again will let you know how many entries, the number of tickets (if different from entries), the amount, time remaining (if it hasn't ended yet), the username of each winner (once the raffle has finished), the ticket number and amount won.
  • Display Results: This does the same thing as Guild Raffle, but will include the amount that the guild earned, if the raffle has ended.
------------------------------------------------------------------------------
Slash Commands
/rafflegold - Opens the settings menu UI
/rg help - Displays the list of commands
/rg help set - Displays the command settings
/rg help list - Displays the commands for showing the current setting(s)
/rg help draw - Displays the commands for drawing the raffle
/rg help reset - Displays the commands for resetting the raffle
Raffle Settings
/rg set entry price <AMOUNT> - Sets the "Entry Price"
/rg set ticket price <AMOUNT> - Sets the "Ticket Price"
/rg set first place <PERCENT> - Sets the "1st Place" percentage
/rg set second place <PERCENT> - Sets the "2nd Place" percentage
/rg set third place <PERCENT> - Sets the "3rd Place" percentage
/rg set total entries <AMOUNT> - Sets the "Total Entries" for Basic Raffle
/rg set total amount <AMOUNT> - Sets the "Total Amount $" for Basic Raffle
/rg set guild <GUILD_NAME> - Sets the "Guild" for Guild Bank Raffle (case sensitive)
/rg set rank <GUILD_RANK_NUMBER> - Sets the "Exclude Guild Rank(s)" for Guild Bank Raffle (numeric value)
/rg set start amount <AMOUNT> - Sets the "Starting Amount $" for Guild Bank Raffle
/rg set start date <M/D/YYYY> - Sets the "Starting Date" for Guild Bank Raffle
/rg set start time <H:MM> - Sets the "Starting Time" for Guild Bank Raffle (military format)
/rg set end date <M/D/YYYY> - Sets the "Ending Date" for Guild Bank Raffle
/rg set end time <H:MM> - Sets the "Ending Time" for Guild Bank Raffle (military format)
/rg set prizes <One OR Multiple> - Sets the number of prizes a username can win per raffle
/rg set bonus <AMOUNT> <QUANTITY> - Gives QUANTITY of free tickets when AMOUNT of tickets purchased, per deposit, not username
/rg set bonus multi <YES or NO> - Sets whether a deposit can receive multiple bonuses, default is "YES"
List Raffle Settings
/rg list entry price - Displays the "Entry Price" amount
/rg list ticket price - Displays the "Price per Ticket" amount
/rg list percents - Displays the percentages for 1st, 2nd and 3rd
/rg list first place - Displays the "1st Place" percentage
/rg list second place - Displays the "2nd Place" percentage
/rg list third place - Displays the "3rd Place" percentage
/rg list basic settings - Displays the "Basic Raffle" specific settings
/rg list total entries - Displays the "Total Entries" for the Basic Raffle
/rg list total amount - Displays the "Total Amount" for the Basic Raffle
/rg list guild settings - Displays the "Guild Bank Raffle" specific settings
/rg list guild - Displays the "Guild" for the Guild Bank Raffle
/rg list rank - Displays the "Exclude Guild Rank(s)" for the Guild Bank Raffle
/rg list start amount - Displays the "Starting Amount" for the Guild Bank Raffle
/rg list start date - Displays the "Starting Date" for the Guild Bank Raffle
/rg list start time - Displays the "Starting Time" for the Guild Bank Raffle
/rg list end date - Displays the "Ending Date" for the Guild Bank Raffle
/rg list end time - Displays the "Ending Time" for the Guild Bank Raffle
/rg list prizes - Displays the "Prizes Per Username" for the Guild Bank Raffle
/rg list bonus - Displays all ticket purchase amounts and the number of free tickets for that amount
Raffle Drawing
/rg draw basic - This will draw the Basic Raffle
/rg basic results - Results from the last Basic Raffle drawing
/rg draw guild - This will run the Guild Bank Raffle\n(In-progress displays information; Ended displays winners)
/rg guild results - Results from the last Guild Bank Raffle drawing\n(A new draw will overwrite this information)
/rg entry <ENTRY_NUMBER> - Displays username, number of tickets, ticket numbers and amount deposited
/rg entry <USERNAME> - Displays all entries for the username, with a total deposited amount
/rg draw first - This will draw only the 1st place winner
/rg draw second - This will draw only the 2nd place winner
/rg draw third - This will draw only the 3rd place winner
Reset Raffle Settings
/rg reset all - Resets ALL of the stored information
/rg reset defaults - Resets only the default UI information
/rg reset bonus - Resets all bonus ticket amounts
/rg remove bonus <AMOUNT> - Removes bonus tickets for the specified amount
------------------------------------------------------------------------------

How does Raffle Gold work?
Raffle Gold does nothing more than simple math and selecting random numbers when using the basic raffle option.
The guild bank raffle utilizes the game's built-in API calls to query and compile the guild bank transactions within the timeframe specified. This does not interact with anything in the guild bank, whether items or currency. Using the guild bank raffle system ensures that there is a record available to all guild members of those that made a deposit.

For anyone concerned about Raffle Gold doing anything while in the guild bank, just keep in mind that you cannot access the settings menu, which is how you would interact with Raffle Gold, while using the guild bank.

The following Q and A directly pertains to the guild bank raffle option...

Can I make a deposit into the guild bank without buying raffle tickets?
Yes. You will just need to make a deposit that is not in increments of the entry price.
For example: if the entry price is $1k, $3,001 or $2999 would not count towards the raffle

Can I buy raffle tickets in bulk?
Yes. As long as the amount deposited can be divided by the entry amount it will be considered a raffle ticket purchase.
For example: if the entry price is $500, $9k and $16.5k would both be considered raffle ticket purchases

How are the raffle ticket numbers assigned?
In the order purchased, oldest to newest deposits.
For example: entry amount = 1k, price per ticket = zero
Guild Member #1 deposits 3k, they'd have ticket numbers 1, 2 and 3
Guild Member #2 deposits 1k, they'd have ticket number 4
Guild Member #3 deposits 5k, they'd have ticket numbers 5 - 9
Guild Member #1 deposits 2k, they'd also have ticket numbers 10 and 11

Why are there options to select just 1st, 2nd or 3rd place?
If you have any players that would like to donate to the raffle, but do not want to actually be selected during the drawing, you can use this feature to choose a different winner. It is recommended that you run for the entire raffle and update/replace anyone that was selected that didn't intend/want to be chosen.

Can I list items using Raffle Gold
No. But you could use the Raffle Unlimited addon that allows you to raffle items, gold (at a flat rate) and/or free raffle tickets (for the next raffle).

Will Raffle Gold interfere with other addons?
Raffle Gold will only scan your guild bank history when you draw and/or check the stats for the current raffle that is in-progress. It is a completely on-demand addon, and once it has compiled the information it will be dormant, until you run it again.

Limitations
  • Deposits that are made within the last minute might not appear when using the "Guild Raffle" to get the (current) results.
    Try waiting ~1 minute to use the "Guild Raffle" ability, which should include the deposit(s) in question.
  • The guild history on the server stores only 10 days worth of information, so it is important that this tool is used in a timely manner once a raffle has ended, to ensure that the information isn't lost.
  • Guilds that have plenty of guild bank transactions can take longer to build the information, but Raffle Gold will let you know in the chat window when it has finished and is ready for use.
  • There currently is no method for exporting in-game data to an external file, but any of the saved variables are stored in a file. IF you would like to access the information for the entrants when using the Guild Bank Raffle Drawing, the SavedVariables\RaffleGold.lua contains the entrant's information, i.e. entry number, username, number of tickets, amount deposited and raffle ticket number(s).
    The only issue is you will need to parse this information, if you would like to post it anywhere in a readable format. A parsing tool for Raffle Gold can be found at http://www.juliabedriy.com/rafflegold.html, where you can upload the raw LUA data file, found in the SavedVariables folder, directly into it.
This addon requires the following library:
v.18.23.5
API bump
Changed the text displayed when building the database

v.18.23.4
Updated API version for Harrowstorm. No other changes.

v.18.23.3
Updated version for Dragonhold release.
Updated for U23 API changes that broke previous versions.
Removed embedded libraries. LibAddonMenu-2.0 must now be independently installed.
Corrected tooltip text for draw 3rd place functions.

v.18.23.0
Updated version number to Homestead API build

v.17.23.0
Updated to LibAddonMenu version: 2.0 r23
Revised version number to reflect Current_ZOS_API_Build.LibAddonMenuRevision.AddonRevisionNumber

v.1.8.17
Updated version number to One Tamriel API build

v.1.8
Updated to LibAddonMenu v 2.0 r22

v.1.7.16
Updated version number to Shadows of the Hist API build
Updated to LibAddonMenu v 2.0 r21

v.1.7
Updated to LibAddonMenu v 2.0 r20

v.1.6.15
Updated version number to Dark Brotherhood API build

v.1.6.14
Updated version number to Thieves Guild API build

v1.6.1
Corrected an issue with the bonus ticket tiers not sorting properly.

v1.6
Added bonus ticket option at multiple tiers.
Removed "Price per Ticket", replaced by bonus ticket option.
Updated to LibAddonMenu v 2.0 r19

v1.5
Added a total deposited amount when using the slash command: /rg entry <USERNAME>

v1.4.4
Added a saved variable for excluded guild ranks to be used in the parsing script to HTML.

v1.4.3
Added the ability to exclude guild ranks from being included in receiving raffle tickets.

v1.4.2
Added the ability to restrict usernames to only one prize.

v1.4.1
Corrected an issue where any new transactions appeared above the oldest records retrieved.
Added additional slash commands.

v1.4
Corrected an issue where the guild bank history was not retrieving any new transactions without logging out and back in.
Added slash commands for all elements of the UI.

v1.3a
Corrected the guild "Starting Amount" from not being included in the "Current Amount" when checking an in-progress raffle.

v1.3
Added Starting Amount to the guild raffle option.

v1.2
Changed Duration to a selectable Ending Date and Time.

V1.1a
Corrected folder issue that made the addon not install properly.

v1.1
Corrected an issue if no guild bank deposits were made during the specified timeframe.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
18.23.1
60kB
06/27/19 08:07 PM
Patch


Archived Files (11)
File Name
Version
Size
Uploader
Date
18.23.4
11kB
dlrgames
04/17/20 01:56 PM
18.23.3
11kB
dlrgames
01/02/20 12:56 PM
18.23.0
50kB
depeshmood
02/06/17 08:00 AM
17.23.0
50kB
depeshmood
10/31/16 05:15 AM
1.8.17
47kB
depeshmood
10/05/16 05:10 AM
1.8
47kB
depeshmood
08/06/16 02:35 PM
1.7.16
46kB
depeshmood
08/01/16 05:04 AM
1.7
49kB
depeshmood
06/07/16 07:14 AM
1.6.15
45kB
depeshmood
05/30/16 10:24 AM
1.6.14
45kB
depeshmood
03/07/16 06:30 AM
1.6.1
45kB
depeshmood
02/27/16 09:55 PM


Post A Reply Comment Options
Unread 09/02/19, 11:23 AM  
windwillow

Forum posts: 0
File comments: 1
Uploads: 0
update pleeeeeeeeeeease
Report comment to moderator  
Reply With Quote
Unread 08/14/19, 11:12 AM  
MasterCG17

Forum posts: 2
File comments: 30
Uploads: 0
Re: Re: Re: Re: FIX FOUND!

Originally Posted by girlpoison
Originally Posted by MasterCG17
I don't use that one. If you see a LUA error in the game screenshot and check out the lines it says the error is on in he Lua file. Then make a backup copy to your desktop of the LUA file. And looke around those lines and see if you find 'RequestGuildHistoryCategoryNewest' or 'RequestGuildHistoryCategoryOlder' replace every instance with 'RequestMoreGuildHistoryCategoryEvents'
No LUA error and I checked the .lua file for those strings and they don't exist. The add on is just a blank window registering 0 deposits. I requested on the forum for a fix...hopefully some kind soul takes on the task
Was the addon working before this last patch?
Report comment to moderator  
Reply With Quote
Unread 08/13/19, 07:18 PM  
girlpoison

Forum posts: 7
File comments: 7
Uploads: 0
Re: Re: Re: FIX FOUND!

Originally Posted by MasterCG17
I don't use that one. If you see a LUA error in the game screenshot and check out the lines it says the error is on in he Lua file. Then make a backup copy to your desktop of the LUA file. And looke around those lines and see if you find 'RequestGuildHistoryCategoryNewest' or 'RequestGuildHistoryCategoryOlder' replace every instance with 'RequestMoreGuildHistoryCategoryEvents'
No LUA error and I checked the .lua file for those strings and they don't exist. The add on is just a blank window registering 0 deposits. I requested on the forum for a fix...hopefully some kind soul takes on the task
Report comment to moderator  
Reply With Quote
Unread 08/13/19, 02:45 PM  
MasterCG17

Forum posts: 2
File comments: 30
Uploads: 0
Re: Re: FIX FOUND!

Originally Posted by girlpoison
Originally Posted by MasterCG17
Find the LUA file under, documents > Elder Scrolls Online > live > AddOns > Raffle Gold

Using Notepad++
Line 670: Replace 'RequestGuildHistoryCategoryNewest' with 'RequestMoreGuildHistoryCategoryEvents' (no quotes)
Would you mind taking a look at the Raffle Gold Tally add on and seeing if a fix for that is just as easy?
I don't use that one. If you see a LUA error in the game screenshot and check out the lines it says the error is on in he Lua file. Then make a backup copy to your desktop of the LUA file. And looke around those lines and see if you find 'RequestGuildHistoryCategoryNewest' or 'RequestGuildHistoryCategoryOlder' replace every instance with 'RequestMoreGuildHistoryCategoryEvents'
Report comment to moderator  
Reply With Quote
Unread 08/13/19, 04:28 AM  
girlpoison

Forum posts: 7
File comments: 7
Uploads: 0
Re: FIX FOUND!

Originally Posted by MasterCG17
Find the LUA file under, documents > Elder Scrolls Online > live > AddOns > Raffle Gold

Using Notepad++
Line 670: Replace 'RequestGuildHistoryCategoryNewest' with 'RequestMoreGuildHistoryCategoryEvents' (no quotes)
Would you mind taking a look at the Raffle Gold Tally add on and seeing if a fix for that is just as easy?
Report comment to moderator  
Reply With Quote
Unread 08/12/19, 11:55 PM  
MasterCG17

Forum posts: 2
File comments: 30
Uploads: 0
FIX FOUND!

Find the LUA file under, documents > Elder Scrolls Online > live > AddOns > Raffle Gold

Using Notepad++
Line 670: Replace 'RequestGuildHistoryCategoryNewest' with 'RequestMoreGuildHistoryCategoryEvents' (no quotes)
Report comment to moderator  
Reply With Quote
Unread 08/12/19, 10:43 AM  
MasterCG17

Forum posts: 2
File comments: 30
Uploads: 0
It seems like the new patch broke the addon one more time. I will post of screenshot of the error message later tonight.
Lua Code:
  1. user:/AddOns/RaffleGold/RaffleGold.lua:670: function expected instead of nil
  2. stack traceback:
  3. user:/AddOns/RaffleGold/RaffleGold.lua:670: in function 'RaffleGold:BuildHistory'
  4. |caaaaaa<Locals> self = tbl, gID = 370167, sT = 1565571600, cT = 1565663116, eT = 1566176400 </Locals>|r
  5. user:/AddOns/RaffleGold/RaffleGold.lua:438: in function 'RaffleGold:GuildRaffle'
  6. |caaaaaa<Locals> self = tbl </Locals>|r
  7. user:/AddOns/RaffleGold/RaffleGold.lua:237: in function 'func'
  8. user:/AddOns/CombatMetrics/libs/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:63: in function 'callback'
  9. user:/AddOns/CombatMetrics/libs/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:72: in function '(anonymous)'
  10. |caaaaaa<Locals> args = tbl, callback = user:/AddOns/CombatMetrics/libs/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/button.lua:62 </Locals>|r
Last edited by MasterCG17 : 08/12/19 at 08:30 PM.
Report comment to moderator  
Reply With Quote
Unread 07/25/19, 02:21 AM  
apepman

Forum posts: 0
File comments: 4
Uploads: 0
Cant find Guild in UI

Hey Thank you so much for this addon ^^

I have one question tho: I updated the API version in the txt file but still cant find my guild in the GuildRaffle menu. I cant find a single guild. I can access and withdraw from the guildbank but im not the owner. does that matter? I opened a testGuild to see but I cant even see this one (1 member only tho).

Do any of you know why this could be?

regards

ApePmaN
Report comment to moderator  
Reply With Quote
Unread 07/13/19, 07:15 AM  
calia1120
 
calia1120's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 232
Uploads: 5
Re: Regrouper Workaround

Feel free to pop into Discord, I'm usually around in there. I've got a bot set up that pulls in comments from all the addons I work on so I can keep tabs on things in one spot. Gankis, if you can, drop the patch in the troubleshooting channel for me - https://discord.gg/qGwxcMa

Originally Posted by GankisKhan
Hey, just in case others need this:

I uploaded a plug-in/patch version with the updated embedded libraries and I changed the slash command from /rg to /rfg so they weren't swallowed by Regrouper.

You can determine if is an issue for you by typing /rg help in game. If the help dialogue for Raffle Gold comes up, hooray! You probably don't need this. If not, and you see help for Regrouper, download away!

I don't have time to fiddle around and learn what's wrong with the UI portion but this should restore functionality for the slash commands if Regrouper was in your way.
Report comment to moderator  
Reply With Quote
Unread 06/28/19, 03:44 PM  
GankisKhan
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Regrouper Workaround

Hey, just in case others need this:

I uploaded a plug-in/patch version with the updated embedded libraries and I changed the slash command from /rg to /rfg so they weren't swallowed by Regrouper.

You can determine if is an issue for you by typing /rg help in game. If the help dialogue for Raffle Gold comes up, hooray! You probably don't need this. If not, and you see help for Regrouper, download away!

I don't have time to fiddle around and learn what's wrong with the UI portion but this should restore functionality for the slash commands if Regrouper was in your way.
Last edited by GankisKhan : 06/28/19 at 03:51 PM.
Report comment to moderator  
Reply With Quote
Unread 06/09/19, 03:20 PM  
SammiSakura
 
SammiSakura's Avatar

Forum posts: 0
File comments: 106
Uploads: 0
awwh youre a doll! IRL comes first of course! We will live xD

Originally Posted by calia1120
Nice Mait3rz! I'll try to get that uploaded sometime in the next couple days. Currently have a task list from my realtor to make mortgage company happy. The joys of house buying.....
Report comment to moderator  
Reply With Quote
Unread 06/08/19, 12:37 PM  
calia1120
 
calia1120's Avatar
AddOn Author - Click to view AddOns

Forum posts: 62
File comments: 232
Uploads: 5
Nice Mait3rz! I'll try to get that uploaded sometime in the next couple days. Currently have a task list from my realtor to make mortgage company happy. The joys of house buying.....
Report comment to moderator  
Reply With Quote
Unread 06/08/19, 09:16 AM  
SammiSakura
 
SammiSakura's Avatar

Forum posts: 0
File comments: 106
Uploads: 0
My Man! YOU ARE A LIFESAVER. it never even occured to me to use the slash commands, i just presumed it was broken. Hopefully someone can update the UI for us xD

Originally Posted by Mait3rz
Hello, you can get it to work. It just appears the UI is a little outdated.

This add-on also comes with 2 dependencies, I updated both and placed them into this add-on:

(Might not be necessary but I did it and have had no issues)
https://www.esoui.com/downloads/info44-LibStub.html

https://www.esoui.com/downloads/info7-LibAddonMenu.html


You are unable to set the Guild from the UI menu, the drop down just shows -. If you use the /rg set guild <GUILD_NAME> - Sets the "Guild" for Guild Bank Raffle (case sensitive). When you go back into the UI you’ll notice the drop down is now empty and no longer has it set to -. Do not touch the drop down the guild should now be set. Set the ticket price and raffle times and do a test. Deposit some gold into the Guild Bank.

If you then use /rg draw Guild you should get an error message stating the ads-on is checking new entries, after a few seconds it should say it’s ready.

Use the command again and you should see the gold you deposited in the total prize pool, how many tickets are sold, how many user entries there is, and how much time is remaining on the raffle.

After the timer expires using the above command again will draw the winners.

The add-on works but you need to familiarise yourself with the / commands.

Also don’t forget to update to the latest API version in the text file.
Report comment to moderator  
Reply With Quote
Unread 06/06/19, 01:20 AM  
Mait3rz

Forum posts: 0
File comments: 5
Uploads: 0
Hello, you can get it to work. It just appears the UI is a little outdated.

This add-on also comes with 2 dependencies, I updated both and placed them into this add-on:

(Might not be necessary but I did it and have had no issues)
https://www.esoui.com/downloads/info44-LibStub.html

https://www.esoui.com/downloads/info7-LibAddonMenu.html


You are unable to set the Guild from the UI menu, the drop down just shows -. If you use the /rg set guild <GUILD_NAME> - Sets the "Guild" for Guild Bank Raffle (case sensitive). When you go back into the UI you’ll notice the drop down is now empty and no longer has it set to -. Do not touch the drop down the guild should now be set. Set the ticket price and raffle times and do a test. Deposit some gold into the Guild Bank.

If you then use /rg draw Guild you should get an error message stating the ads-on is checking new entries, after a few seconds it should say it’s ready.

Use the command again and you should see the gold you deposited in the total prize pool, how many tickets are sold, how many user entries there is, and how much time is remaining on the raffle.

After the timer expires using the above command again will draw the winners.

The add-on works but you need to familiarise yourself with the / commands.

Also don’t forget to update to the latest API version in the text file.
Last edited by Mait3rz : 06/06/19 at 10:16 AM.
Report comment to moderator  
Reply With Quote
Unread 06/05/19, 11:42 AM  
SammiSakura
 
SammiSakura's Avatar

Forum posts: 0
File comments: 106
Uploads: 0
Originally Posted by Mait3rz
Originally Posted by calia1120
Are you getting error messages at all? If so, those would be extremely helpful.
Hi mate I got working last night, it just seems some of the UI is broken.
You can’t select any Guilds from the drop down menus.

You can still select a guild using /rg set guild <GUILD_NAME>, did some testing with donations and all seems to be ok.

*****THE BELOW IS NOT A FIX FOR THIS ADD-ON*****
It could be irrelevant but another add on I tried for a Guild Welcomer wasn’t working correctly either. The owner replied with this message:

The issue is the way guildIds changed. I have patched this for elsweyr, but haven't gone about publishing anything yet.
If you're comfortable editing, do this:
GuildWelcomer.lua line 7, change GetGuildName(i) to GetGuildName(GetGuildId(i))

change guildId to newgid on line 23, and then add the following block of code at line 21:
Code:
local newgid = 0
for gi=1, GetNumGuilds() do
local gcheck = GetGuildId(gi)
if(guildId == gcheck) then newgid = gi end
end

Doing what he said did get his Guild Welcomer tool to work correctly.

I am also looking for an update for this addon, pleeeeeease! having to do the lottery manually with a spreadsheet is infuriating haha
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.