News:

A forum for users of LackeyCCG

Main Menu

Lackeyccg wont open

Started by greasontim, May 23, 2011, 06:07:34 PM

Previous topic - Next topic

greasontim

I was working on my plug-in on the plugininfo.txt and now lackey wont open.
Can someone take a look and tell me where my mistake is.

[attachment deleted by admin due to age]

Carpemortis

I'm not sure about all of this, but these are the problems I see, and would try fixing.

PLUGINVERSION:"0.1" 
Should be PLUGINVERSION:"1.0" (not sure about this one, but the tutorial says use 1.0)

GLOBALSTAT0: 
If you are not going to use this line, just delete it. (Again not sure, but it might be looking for something here and not finding it.  Deleting the line will prevent it from looking.)

GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT0DEGREES" Untap All 1
All of your functions (general and card) have the same issue.  The name needs to be in "" as well as the call.  IE: "Untap All"  So the correct line in this case would be:
GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT0DEGREES" "Untap All" 1
again all the GENERALFUNCTION, and CARDFUNCTION lines need this fix.

Trevor

#2
GLOBALSTAT0:
is invalid syntax.

Just like PLAYERSTAT, you need to define a label and an initial setting for the stat.

GLOBALSTAT0:"Tally"   0
will work.

Carpemortis is right about the name labels. They need to be in quotes so you can use spaces in them if you want to.

greasontim

#3
Ok removed,
Globalstat0:

pluginversion is now 1.0 (BTW 0.1 works)

Sorry but it is a updated version now of the txt file and it still crashs.

[attachment deleted by admin due to age]

Trevor

Quote from: greasontim on May 23, 2011, 10:27:09 PM
Ok removed,
Globalstat0:

pluginversion is now 1.0 (BTW 0.1 works)

Sorry but it is a updated version now of the txt file and it still crashs.
Why do you have a whole bunch of extra white space in your file at the end of lines?

Saethori

It should be noted, but I found out (accidentally!) that an invalid setinfo.txt could also cause the plugin to crash. So don't forget to check that file for notable errors as well.

greasontim

I have no clue......
I just grabbed the War300 plugininfo and I'm editing it, so it doesn't crash anymore but cards don't show up right now :(

Trevor

Quote from: greasontim on May 23, 2011, 10:40:47 PM
I have no clue......
I just grabbed the War300 plugininfo and I'm editing it, so it doesn't crash anymore but cards don't show up right now :(
Start with a similar working plugin, in the new format imo.

greasontim

The plugin works now, just need the rest of the cards to be made. :)