LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: egan on March 27, 2017, 02:25:01 PM

Title: Bugged gamezones in plugin
Post by: egan on March 27, 2017, 02:25:01 PM
Hi, I have problem with bugged gamezones in my plugin. I'm attempting to create a Duel Masters plugin, because it seems, that all the other ones are unaccessible. I've run into a problem - out of programmed gamezones, one is not displayed in gamezone viewer bar; also, tabs in this bar are shifted weirdly, so it is hard to operate. It seems to be normal on the side gamezone bar though, all of the zones are displayed there.

I've attached files of the plugin, without the images though.
Title: Re: Bugged gamezones in plugin
Post by: AuraDragon on March 28, 2017, 03:29:53 PM
Hi!

A plugin cannot be loaded if it doesn't have a cardback image in it's root directory.  I just put in a dummy cardback to make it work, but keep that in mind for future debug releases (if any.)

And secondly, the problem you encountered is Lackey's expectation of at least one general function being included as a button: " <includeasbutton>yes</includeasbutton> ".  Add that to one of your general functions and it should work!

: )  Happy plugin building!
Title: Re: Bugged gamezones in plugin
Post by: egan on March 31, 2017, 05:35:59 PM
It worked! Thank you very much :D