Thread Tools Display Modes
Prev Previous Post   Next Post Next
12/16/20, 01:28 PM   #1
myristican
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 10
Append new data to saved vars

I am pretty new to Lua after avoiding it in my job back when we had things using it but I've picked up an old addon and have been trying to get it to do things that I want it to do, the original creator left it a long time back.

It pulls guild bank deposits/withdrawals and dumps it in a Lua, it does the whole pull all in one go when you kick off the scan, which isn't ideal in the first place but I don't mind for now.

The problem I have is it can only use whats in the guild history even if it has older data it seems to just overwrite it and then its lost, so really I'm just looking to see if someone can help show me how I can get it to pull in the current data, append the new stuff to it and remove dupes.

Any help would be appreciated, I've attached the lua just to make it easier for someone to check as I have tried to work out what functions are doing what but my lack of knowledge doesnt help there.
Attached Files
File Type: lua NewGuildBankLedger.lua (21.6 KB, 430 views)
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Append new data to saved vars


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