#Custom Cards, Creatures showing as Tokens when they're not meant to be?

22 messages Β· Page 1 of 1 (latest)

true frost
#

Hey guys! First question here, but I've been trying to solve this for a while and ultimately failing. I hope I'm asking in the right place, sorry if I'm not πŸ˜„ I'm working on a set of custom cards, about 880 cards in total, but there are a few cards that are shown in cockatrice as being Tokens even though they're not made as tokens in Magic Set Editor. I've got no idea how to fix this, and checking the XML file doesn't show a flag of being a token as far as I can tell. Could someone lend me a hand please?

lilac kiln
#

You are best off sending the xml so we can figure out the issue

true frost
true frost
#

Wait, all the creatures that are showing as tokens have the same name as tokens that already exist in Magic... There's probably something there with Cockatrice loading data from tokens right?

graceful charm
#

That does seem to be the case, given the incorrect power/toughness and color listed. However, the tokens are named with "Token" after them (e.g. "Assassin Token", "Wizard Token", etc) in the xml so I am suprised that there would be a mix up

true frost
#

Yeah... how do tokens work in cockatrice? Do they have a different XML I can edit or delete and replace with a new one?

#

I'm trying ot just use cockatrice for custom card testing at the minute, so don't mind being destructive πŸ˜„

graceful charm
#

simply loading your xml into my custom sets folder works for me without adjustments

#

they are definitely creatures

#

to answer your question, tokens do have a separate xml (tokens.xml) that you can find the path to in Cockatrice>Settings>General>Token Database. should be in the same spot as cards.xml. but, I'm sure that's the issue here as I can't reproduce your problem with tokens.xml and cards.xml untouched

true frost
#

That's so weird! Ok I'll try re-importing, bare with me a minute

graceful charm
#

where did you put your xml to use it in cockatrice?

lilac kiln
#

You could possibly have an old tokens.xml from before we added Token to all the generic tokens

true frost
#

I've added the XML here

#

Ooo quite possibly, I'll have a look

graceful charm
#

oh, that's a good point. Help>Check for Card Updates or simply deleting the tokens file if you dont need it would fix it if so

#

great, that's a fine place for it.

true frost
#

It worked! I just had to delete the token.xml just as you said πŸ˜„ thank you very much guys!

graceful charm
#

yeah, you're welcome.

quasi ingot
#

cockatrice can't have multiple cards with the same name in the xmls, all cards need a unique name

true frost
#

Yeah that makes perfect sense πŸ˜„