LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Bis2Fioute on February 12, 2012, 06:34:43 AM

Title: Cannot store my cards in Set-named folder
Post by: Bis2Fioute on February 12, 2012, 06:34:43 AM
Hello again,

I don't get it, when I put the card images in sets\setimages\general it works but as soon as I store them in a folder (named after the different sets), the images don't show.
Do I need to indicate somehow that Lackey needs to go look in a folder ?

Thanks,
Title: Re: Cannot store my cards in Set-named folder
Post by: innuendo on February 12, 2012, 08:31:58 AM
I do this with one of my plugins. It works fine. The set names must match exactly the set name in the card info files. If they don't, it wont detect them.
Title: Re: Cannot store my cards in Set-named folder
Post by: Bis2Fioute on February 12, 2012, 09:28:32 AM
I have a couple of plugins that work fine like that too. I don't know what's wrong...

Here is a screenshot of the cardlist and the path :
(http://i45.servimg.com/u/f45/16/45/24/90/pictur12.png) (http://www.servimg.com/image_preview.php?i=6&u=16452490)
Title: Re: Cannot store my cards in Set-named folder
Post by: Trevor on February 12, 2012, 11:20:04 AM
A screenshot of a text file doesn't show if it has hidden characters that mess things up. Post the plugininfo.txt file and card data file, or preferably the whole plugin, and I will investigate.
Title: Re: Cannot store my cards in Set-named folder
Post by: Bis2Fioute on February 12, 2012, 12:14:17 PM
Here is the plugin :

[attachment deleted by admin due to age]
Title: Re: Cannot store my cards in Set-named folder
Post by: Bis2Fioute on February 12, 2012, 12:16:13 PM
And here is card list, sorry it didn't fit one post :

Thanks for your help.

I only could put one card image, hopefully, that'll be enough.

[attachment deleted by admin due to age]
Title: Re: Cannot store my cards in Set-named folder
Post by: Saethori on February 12, 2012, 12:33:36 PM
Quote<definition><kind>REUSECARDIMAGES</kind></definition>
This line in your plugininfo.txt is your problem. It tells the plugin to look for all images (and download them to) the general\ folder (where you say they work), but prevents it from looking at the [setname]\ folder (where it doesn't).

If you remove this line, the reverse will be true.
Title: Re: Cannot store my cards in Set-named folder
Post by: Bis2Fioute on February 12, 2012, 12:48:25 PM
And that's why I should never use sentence I don't understand  :P.

It works now, thanks so much.