-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a new addon Cards to track job AFs and Omen cards #2402
base: dev
Are you sure you want to change the base?
Conversation
The reason it was suggested to make a new addon for this, is because |
Thanks for your concerns @z16 , |
You might want to double check, because in this commit you are uploading a data\settings.xml file, and your cards.lua has all of findall functions in the code, even if they're inaccessible from the command. Furthermore, the way it is written, I'm pretty sure it's going to overwrite findall's own item data storage files! |
|
You did not only upload a folder, that folder contained a settings.xml file. As per the addon guidelines that Arcon mentioned, we do not upload any content of any data folder, otherwise at each update of the client the users will find their own data folders overwritten with the files contained in the repo. So yes, the data folder and any file in it absolutely must go in order for the PR to be viable at all.
This is a horrible idea because it will clobber (conflict during read/write) the file and will eventually end up corrupting it, causing all sorts of issues. Findall is excellent at keeping its own internal storage updated in real time, and should stay the only thing that edits its own files. Not to mention, what will you do if findAll eventually changes its own format (unlikely, but not impossible), and your addon does not?
That is up to you, but my recommendation is to make your addon access the findall disk storage only if you want the addon to be able to search offline characters. For the character that is currently logged in, the best thing to do is to access the inventory directly through Dupefind accesses findall's offline storage in order to be able to tell you if you have items scattered around alts and mules - that is an example of an usecase where using the offline storage is useful. If you're only examining the current character, there's absolutely no reason to do so - see https://github.com/lili-ffxi/FFXI-Addons/blob/master/collector/ for an example of another addon that only examines the inventory of the character currently logged in. |
Thanks for taking the time to reply and explain everything @lili-ffxi
Yup I totally agree, it's kinda why I wanted to make Cards just as an extra command for findAll in the first place.
I wanted to have the ability to also find job cards stored on mules for a future update ( I tend to send my card to mules to free up space), so having the same system as findAll was my preferred starting point. I think I'd rather split away from findAll completely as it's causing more issues than anticipated, I'll do some tweaks to the code and do a new commit soon. Thanks again ! |
… read/write with findAll
@lili-ffxi |
Hello, life threw me a curveball so I don't really have the time to look at windower stuff lately. I'll be back at it in a few days (hopefully), in the meantime if other devs are willing to help you I'll have to pass the ball to them. |
Addon that tracks the AF cards you have and need for upgrades.
It looks for the AFs NQ, +1, +2, +3 that you have for a specific job and tells you how many cards you already have and need to augment them to +3.
Command:
//cards
Examples:
//cards GEO
//cards WHM