LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Adalam on May 23, 2010, 11:55:48 PM

Title: Plugin Help
Post by: Adalam on May 23, 2010, 11:55:48 PM
Hey, what all needs to be there for the software to read my plugin? Cause I'm working on my own card game, but the software still won't let me choose my plugin for me to run it.
Title: Re: Plugin Help
Post by: mathman1550 on May 24, 2010, 07:31:40 AM
Follow all directions here: http://lackeyccg.com/plugintutorial.html (http://lackeyccg.com/plugintutorial.html)
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 12:25:43 PM
That didn't help. It still won't work. The tutorial was the first thing I did.
Title: Re: Plugin Help
Post by: innuendo on May 24, 2010, 12:36:45 PM
How about getting specific.  Possibly post a link to your plugin?  You can't just say "FIX IT NOW" and expect anyone to know what to do...
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 01:15:48 PM
I'll try to figure that part out as well.
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 04:22:26 PM
Plugin (http://warriorsofthekingdom.proboards.com/index.cgi?action=display&board=pz&thread=1) There's the URL for the plugin. Couldn't attach it here, the attachment size was an inhibitor.
Title: Re: Plugin Help
Post by: mathman1550 on May 24, 2010, 07:06:03 PM
Looking at your plugininfo, I noticed that you were using spaces instead of tabs.
I also noticed that you have a TRANSFERCARD without the needed numbers behind it to tell it what to do. You only use TRANSFERCARD if you want a function of moving a card in one specific spot to another (like milling in MTG will always take the top card of library and put in graveyard).
You were also missing GENERALFUNCTION6.
I have attached a fixed copy and will look at the card data next

[attachment deleted by admin]
Title: Re: Plugin Help
Post by: mathman1550 on May 24, 2010, 07:20:24 PM
In your card data baseset.txt (and BTW, if you ever plan to make more sets in the future I suggest you just rename this as carddata.txt and change the setlist.txt accordingly) I found some extra items under the set column without a card name, which could give you trouble. I also put in a temporary name for each of your card image names, which you can sort out later.

[attachment deleted by admin]
Title: Re: Plugin Help
Post by: mathman1550 on May 24, 2010, 07:25:57 PM
I notice that your image folders are not set up exactly right. Inside your sets folder you need a  new folder called setimages. You will need to place your general folder inside setimages. So you will have the following file structure LackeyCCG\plugins\Warriors of the Kingdom\sets\setimages\general
Title: Re: Plugin Help
Post by: greasontim on May 24, 2010, 10:15:55 PM
Should be like this
(Folder with the name of the game)
  plugininfo.txt
  setlist.txt
  Packs (Folder)
    packdefinitions.txt
    SamplePack.jpg
  Sets (Folder)
    SetImages (Folder)
      setinfo.txt
      General (Folder)
        cardback.jpg
        spawned.jpg
      First Set (Folder(can name it whatever your first set is called if you wish))
        ????.jpg  (your set folders other than general hold your card pics)

those files seem to benn 100% required no if ands or buts about it.

What issues are you having?
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 10:57:54 PM
Well, it runs, but now it crashes Lackey, so I dunno.
Title: Re: Plugin Help
Post by: greasontim on May 24, 2010, 11:02:49 PM
Can you put the plugininfo.txt in a post please so i can look at it
and i'll also need carddata.txt/setinfo.txt
that way i can find out if u mess up in one of those
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:04:11 PM
http://warriorsofthekingdom.proboards.com/index.cgi is the website to find the plugin. Go to the Plugin Zone board to download the main one. It should be the first reply to the Main Plugin thread.
Title: Re: Plugin Help
Post by: greasontim on May 24, 2010, 11:12:34 PM
just put it here, not in the mood to sign up for more stuff this week.
already signed up for like 6 forums trying to find artists for my game
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:13:46 PM
It's too big. It won't let me upload it.
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:15:22 PM
Here it is.

[attachment deleted by admin]
Title: Re: Plugin Help
Post by: greasontim on May 24, 2010, 11:23:06 PM
so your columns are setup in your card file?
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:25:01 PM
YEah
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:25:21 PM
Here's the card file.

[attachment deleted by admin]
Title: Re: Plugin Help
Post by: greasontim on May 24, 2010, 11:38:21 PM
Check list
setlist.txt = correct
plugininfo.txt = looks fine
baseset.txt = columns are there so its fine

1. your missing baseset(folder under setimages to hold the pictures of your cards) not the problem though
Title: Re: Plugin Help
Post by: Adalam on May 24, 2010, 11:39:27 PM
Good
Title: Re: Plugin Help
Post by: greasontim on May 25, 2010, 12:38:13 AM
Files you should atleast add to the plugin so it atleast looks more complete
in your plugin folder
defaultchat.txt
updatelist.txt
recentdesks.txt

Folders (still in your main folder)
packs (for dafts incase you wish to let ppl play that way)
sounds (custom sounds for your game)
saved (idk what this is for just add it anyways lol)
images (custom images for your phases)
Title: Re: Plugin Help
Post by: mathman1550 on May 25, 2010, 07:56:47 AM
One possible reason it will run but will crash lackey is because of the name of the plugin. All the other plugins have a single word name like Magic, VTES, harrypotter, etc. perhaps your should change the plugin name (folder) to be WotK and test it out again.
Title: Re: Plugin Help
Post by: Adalam on May 25, 2010, 09:42:59 AM
It works now, so I dunno that the name was ever a problem.