Need help getting my info into Deck Builder area

Started by Handlin, April 16, 2011, 12:21:42 PM

Previous topic - Next topic

Handlin

I recently started making a new plugin and i cant seem to get anything to show up in deck builder.

I can get my cardback and spawned cards to show up and all the card and general functions work.

I dont know if its naming problems or if im not making all the right files.

I even tried getting my carddata.txt down to just one card to get it to work but still didnt work D:

any ideas on what im doing wrong?

Trevor

Post your card data file, your plugininfo.txt file, and your setlist.txt file.

Common reasons for this is the columns in your card data file need to match those defined in the plugininfo.txt file.

Also, the first three columns of the card data file cannot be blank.

Handlin

ok that makes sense because i created a lot of columns when i was working on the plugininfo.txt but a lil later i just wanted to try and get a test of it working and just did the 3 needed for carddata.txt, sounds simple enough of a fix. Heres my files if u could give them a look over :D

plugininfo.txt


PLUGINVERSION:"1.0"

GLOBALSTAT0:

PLAYERSTAT0:"Power"   0

SUPERZONE0:"House"   1   1
SUPERZONE1:"Deck"   0   0
SUPERZONE2:"Plot Deck"   1   0

ZONE0:"Hand"   1   0
ZONE1:"Discard"   1   1
ZONE2:"Dead"   1   1
ZONE3:"House"   1   1

PHASE0:"Plot"
PHASE1:"Draw"
PHASE2:"Marshalling"
PHASE3:"Challenges"
PHASE4:"Dominance"
PHASE5:"Standing"

GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT0DEGREES"   "Stand All"      1
GENERALFUNCTION1:"DRAWCARD"            "Draw"         1
GENERALFUNCTION2:"FLIPCOIN"            "Flip Coin"      0
GENERALFUNCTION3:"ROLLD6"            "Roll D6"      1
GENERALFUNCTION4:"ROLLD20"            "Roll D20"      0
GENERALFUNCTION5:"SPAWNCARD"            "Spawn Card"      0
GENERALFUNCTION6:"ALLYOURCARDSMAKERIGHT90DEGREES"   "Kneel All"      0
GENERALFUNCTION7:"TRANSFERCARD"            "Mill"         0   -1   1 T -1 2 T
GENERALFUNCTION8:"PREVIOUSPHASE"         "Previous Phase"   0
GENERALFUNCTION9:"NEXTPHASE"            "Next Phase"      0
GENERALFUNCTION10:"NEXTTURN"            "Next Turn"      0
GENERALFUNCTION11:"PREVIOUSTURN"         "Previous Turn"      


CARDFUNCTION0:"MAKERIGHT0DEGREES"         "Untap"         1
CARDFUNCTION1:"MAKERIGHT90DEGREES"         "Tap"         1
CARDFUNCTION2:"EDITNOTE"            "Edit Note"      1   .4   .95
CARDFUNCTION3:"TURNOVER"            "Turn Over"      1
CARDFUNCTION4:"TOGGLETURNALLIMMUNITY"         "Doesn't Untap"      0
CARDFUNCTION5:"CHANGEOWNER"            "Take Control"      1
CARDFUNCTION6:"ADDCOUNTERBLUE"            "Blue+1"      1   .75   .04
CARDFUNCTION7:"REMOVECOUNTERBLUE"         "Blue-1"      1
CARDFUNCTION8:"ADDCOUNTERRED"            "Red+1"         1   .5   .04
CARDFUNCTION9:"REMOVECOUNTERRED"         "Red-1"         1
CARDFUNCTION10:"CLEARCARD"            "Clear"         1


COLUMN0:"Name"         1
COLUMN1:"Set"         1
COLUMN2:"ImageFile"      0
COLUMN3:"House"         1
COLUMN4:"Cost"         1
COLUMN5:"Type"         1
COLUMN6:"Unique"      1
COLUMN7:"Trait"         1
COLUMN8:"Strength"      1
COLUMN9:"M"         1
COLUMN10:"I"         1
COLUMN11:"P"         1
COLUMN12:"Rarity"      1
COLUMN13:"Text"         1

REUSECARDIMAGES:"yes"

ISYOURFACEDOWNVISIBLE:"yes"

CARDBACK0:"cardback"

setlist.txt

1
westerosblock.txt

westerosblock.txt
Name   Set   ImageFile   Taken Hostage   Westeros   Wes001



i have all the cards i want but i just wanted to try and get one to show, thanks for the help and this awesome program

Handlin

I changed my plugininfo to this and still no change

PLUGINVERSION:"1.0"

GLOBALSTAT0:

PLAYERSTAT0:"Power"   0

SUPERZONE0:"House"   1   1
SUPERZONE1:"Deck"   0   0
SUPERZONE2:"Plot Deck"   1   0

ZONE0:"Hand"   1   0
ZONE1:"Discard"   1   1
ZONE2:"Dead"   1   1
ZONE3:"House"   1   1

PHASE0:"Plot"
PHASE1:"Draw"
PHASE2:"Marshalling"
PHASE3:"Challenges"
PHASE4:"Dominance"
PHASE5:"Standing"



GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT0DEGREES"   "Stand All"      1
GENERALFUNCTION1:"DRAWCARD"            "Draw"         1
GENERALFUNCTION2:"FLIPCOIN"            "Flip Coin"      0GENERALFUNCTION3:"ROLLD6"            "Roll D6"      1
GENERALFUNCTION4:"ROLLD20"            "Roll D20"      0
GENERALFUNCTION5:"SPAWNCARD"            "Spawn Card"      0
GENERALFUNCTION6:"ALLYOURCARDSMAKERIGHT90DEGREES"   "Kneel All"      0
GENERALFUNCTION7:"TRANSFERCARD"            "Mill"         0   -1   1 T -1 2 T
GENERALFUNCTION8:"PREVIOUSPHASE"         "Previous Phase"   0
GENERALFUNCTION9:"NEXTPHASE"            "Next Phase"      0
GENERALFUNCTION10:"NEXTTURN"            "Next Turn"      0
GENERALFUNCTION11:"PREVIOUSTURN"         "Previous Turn"      0





CARDFUNCTION0:"MAKERIGHT0DEGREES"         "Untap"         1
CARDFUNCTION1:"MAKERIGHT90DEGREES"         "Tap"         1
CARDFUNCTION2:"EDITNOTE"            "Edit Note"      1   .4   .95
CARDFUNCTION3:"TURNOVER"            "Turn Over"      1
CARDFUNCTION4:"TOGGLETURNALLIMMUNITY"         "Doesn't Untap"      0
CARDFUNCTION5:"CHANGEOWNER"            "Take Control"      1
CARDFUNCTION6:"ADDCOUNTERBLUE"            "Blue+1"      1   .75   .04
CARDFUNCTION7:"REMOVECOUNTERBLUE"         "Blue-1"      1
CARDFUNCTION8:"ADDCOUNTERRED"            "Red+1"         1   .5   .04
CARDFUNCTION9:"REMOVECOUNTERRED"         "Red-1"         1
CARDFUNCTION10:"CLEARCARD"            "Clear"         1


COLUMN0:"Name"         1
COLUMN1:"Set"         1
COLUMN2:"ImageFile"      0

REUSECARDIMAGES:"yes"

ISYOURFACEDOWNVISIBLE:"yes"

CARDBACK0:"cardback"

Trevor

#4
Quote from: Trevor on April 16, 2011, 04:59:20 PM
Common reasons for this is the columns in your card data file need to match those defined in the plugininfo.txt file.
Quote
COLUMN0:"Name"         1
COLUMN1:"Set"         1
COLUMN2:"ImageFile"      0
COLUMN3:"House"         1
COLUMN4:"Cost"         1
COLUMN5:"Type"         1
COLUMN6:"Unique"      1
COLUMN7:"Trait"         1
COLUMN8:"Strength"      1
COLUMN9:"M"         1
COLUMN10:"I"         1
COLUMN11:"P"         1
COLUMN12:"Rarity"      1
COLUMN13:"Text"         1

westerosblock.txt
Name   Set   ImageFile   Taken Hostage   Westeros   Wes001

Your plugin info says your card data file will have 14 columns. Also, you need to include the header columns.

Also, the numbers next to labels are important. You include GENERALFUNCTION2 and GENERALFUNCTION4 but no GENERALFUNCTION3. That's an error in the syntax.

Handlin

mmk i tried the fixes and still no cards showing up in the deck editor D: lemme repost the flies

plugininfo.txt

PLUGINVERSION:"1.0"

GLOBALSTAT0:

PLAYERSTAT0:"Power"   0

SUPERZONE0:"House"   1   1
SUPERZONE1:"Deck"   0   0
SUPERZONE2:"Plot Deck"   1   0

ZONE0:"Hand"   1   0
ZONE1:"Discard"   1   1
ZONE2:"Dead"   1   1
ZONE3:"House"   1   1

PHASE0:"Plot"
PHASE1:"Draw"
PHASE2:"Marshalling"
PHASE3:"Challenges"
PHASE4:"Dominance"
PHASE5:"Standing"



GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT0DEGREES"   "Stand All"      1
GENERALFUNCTION1:"DRAWCARD"            "Draw"         1
GENERALFUNCTION2:"FLIPCOIN"            "Flip Coin"      0
GENERALFUNCTION3:"ROLLD6"            "Roll D6"      1
GENERALFUNCTION4:"ROLLD20"            "Roll D20"      0
GENERALFUNCTION5:"SPAWNCARD"            "Spawn Card"      0
GENERALFUNCTION6:"ALLYOURCARDSMAKERIGHT90DEGREES"   "Kneel All"      0
GENERALFUNCTION7:"TRANSFERCARD"            "Mill"         0   -1   1 T -1 2 T
GENERALFUNCTION8:"PREVIOUSPHASE"         "Previous Phase"   0
GENERALFUNCTION9:"NEXTPHASE"            "Next Phase"      0
GENERALFUNCTION10:"NEXTTURN"            "Next Turn"      0
GENERALFUNCTION11:"PREVIOUSTURN"         "Previous Turn"      0



CARDFUNCTION0:"MAKERIGHT0DEGREES"         "Untap"         1
CARDFUNCTION1:"MAKERIGHT90DEGREES"         "Tap"         1
CARDFUNCTION2:"EDITNOTE"            "Edit Note"      1   .4   .95
CARDFUNCTION3:"TURNOVER"            "Turn Over"      1
CARDFUNCTION4:"TOGGLETURNALLIMMUNITY"         "Doesn't Untap"      0
CARDFUNCTION5:"CHANGEOWNER"            "Take Control"      1
CARDFUNCTION6:"ADDCOUNTERBLUE"            "Blue+1"      1   .75   .04
CARDFUNCTION7:"REMOVECOUNTERBLUE"         "Blue-1"      1
CARDFUNCTION8:"ADDCOUNTERRED"            "Red+1"         1   .5   .04
CARDFUNCTION9:"REMOVECOUNTERRED"         "Red-1"         1
CARDFUNCTION10:"CLEARCARD"            "Clear"         1

COLUMN0:"Name"         1
COLUMN1:"Set"         1
COLUMN2:"ImageFile"      0

REUSECARDIMAGES:"yes"

ISYOURFACEDOWNVISIBLE:"yes"

CARDBACK0:"cardback"

setlist.txt
1
westerosblock.txt

westerosblock.txt
Name   Set   ImageFile   
Taken Hostage   Westeros   Wes001   
Hand of the King   Westeros   Wes002
The Lion's Mouth   Westeros   Wes003
Blood of the First Men   Westeros   Wes004
House Stark   Westeros   Wes005
Brienne of Tarth   Westeros   Wes006
White Raven   Westeros   Wes007
Knight of Flowers   Westeros   Wes008
Hedge Knight   Westeros   Wes009
Hedge Wizard   Westeros   Wes010
House Maester   Westeros   Wes011
Lyseni Pirates   Westeros   Wes012

Trevor

You need to post the actual files. Copy/paste won't necessarily show all the formatting things.

Handlin

oh srry here ya go

[attachment deleted by admin due to age]

Trevor

Quote from: Handlin on April 18, 2011, 12:50:57 AM
oh srry here ya go
You have tons of extra tabs in your plugininfo.txt file.
For example, there should be one tab between "DRAWCARD" and "Draw". You had about 4.

I cleaned up your formatting and it works for me now. I emailed you the fixed files.

Handlin

argh i thought that end up being a problem initially but after looking at it too long i would have never guessed the empty spaces i made would mess me up lol, thanks again :D

Handlin

Not to sound like nuisance but how do i get the card images to show up :(((

I have the actual images in this order lackeyccg/plugins/AGOT/sets/setimages/Westeros

then all the images are named simply Wes001, Wes002... and so on???

Sorry again for the bother