LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: MediumSexy on November 03, 2015, 07:51:13 PM

Title: Unable to use multiple card backs
Post by: MediumSexy on November 03, 2015, 07:51:13 PM
I can't get the multiple cardback function to work.

I have the following image saved in both the /general folder and in the set folder for the card: routinecardback.jpg

The plungininfo.txt file ends with the following:

......   <cardfunction>
      <label>Edit_Note</label>
      <kind>EDITNOTE</kind>
      <includeasbutton>yes</includeasbutton>
   </cardfunction>

<definition><kind>ISALLOWINGMULTIPLECARDBACKS/kind></definition>

</plugin>

The cardinfo file has (in the column for image names):

coolandcalm,routinecardback

I've also tried it as:
coolandcalm , routinecardback
coolandcalm, routinecardback

It's not working at all. In fact, the front of the card doesn't load, it attempts to download the image "coolandcalm,routinecardback.jpg" (or the other variants.)

I'm stuck. Can anyone help?
Title: Re: Unable to use multiple card backs
Post by: AuraDragon on November 03, 2015, 09:05:54 PM
Did you mean:

Quote
<definition><kind>ISALLOWINGMULTIPLECARDBACKS</kind></definition>

You forgot a right angle bracket (<) before "/kind".  :P
Title: Re: Unable to use multiple card backs
Post by: MediumSexy on November 03, 2015, 11:11:46 PM
This guy right here.

Thanks man! I was cutting/pasting from the tutorial and everything to make sure it was right.

It's working now, thanks again!