News:

A forum for users of LackeyCCG

Main Menu

Dropbox and CardGeneralURLs

Started by Kayes, July 14, 2016, 03:54:49 AM

Previous topic - Next topic

Kayes

For the past while, me and some other people have been using a plugin of custom magic cards, and decided it's about time to set up an AutoUpdateURL instead of downloading a large zip file every time we add sets. I eventually got everything to work... except for CardGeneralURLs. I set up a public Dropbox folder, and made sure the url folder titles lined up, yet hovering over the cards in the deck builder won't load the images.

The updatelist file:
? https://dl.dropboxusercontent.com/u/583716647/MSE_Magic_Other/updatelist.txt

Some examples of card urls:
? https://dl.dropboxusercontent.com/u/583716647/MSE_Magic_Other/images/MMC/21.jpg
? https://dl.dropboxusercontent.com/u/583716647/MSE_Magic_Other/images/MKA/176.jpg

Linking individual card images to people let's them see it, so I don't think it's an issue of privacy/sharing settings. Any thoughts on why the images won't download via Lackey?

AuraDragon

#1
CardGeneralURLs works in such a way that it expects all the card images to be in the folder you point to, i.e. it doesn't look inside of subfolders like MMC and MKA for the images 21.jpg and 176.jpg.

Either you need to rename your images to MMC_21.jpg (for example) and put them all in a common folder, or you need to create a CardImageURLs file with all the image pointers.  Creating a CardImageURLs file is pretty easy if you have any kind of spreadsheet program like Excel.

EDIT : Attached is a text file containing 400 entries for the set "MKA".  You can create your own CardImageURLs file and append that text file to it, as well as use the Replace function to change "MKA" to "MMC" or what-have-you, and then append THAT to the CardImageURLs file.

Also remember that if you use the /mkupdate command it currently has a bug that changes your "CardURLFiles: " sometimes, so be sure to check for that when updating your plugin.  ;)

AuraDragon

#2
;P  You also might want to fix your updatelist.txt since it currently overwrites the main Magic plugin's packdefinition1.xml:

Quote
plugins/magic/packs/packdefinitions1.xml   https://dl.dropboxusercontent.com/u/583716647/MSE_Magic_Other/packdefinitions1.xml   464628

Sure made me confused when I was trying to update the Magic plugin...  "How'd this get in here?  What is this LPP set abbreviation?  :-X  "

Kayes

Yeah, shit, sorry about that. Noticed it a bit earlier today while trying to bug fix something else. Your fix for the CardImageURLs worked (thanks for that, by the way!), so I passed everything on to the main organizer of the plugin. He added packs and such and I guess lost track of some copy+paste. Again, sorry.