Export as .txt Suggestion
TappedOut forum
Posted on Nov. 19, 2014, 10:37 a.m. by varygoode
Whenever I export a deck as a .txt, which is how I import them into xMage, I always have to go in and manually put each card on a new line.
For instance, I'd get something like this:4 Lure4 Shock4 Mountain
Which I'd have to turn into:
4 Lure
4 Shock
4 Mountain
Otherwise, it won't import correctly, if at all.
It looks like your export code is simply missing a new line or end line after outputting the card. If it's similar to C++, it'll just be a matter of adding a "n" or endl inside your loop.
Such a fix would be remarkably appreciated.
varygoode says... #2
That "n" should've been a backslash n, but even the TappedOut forum code screws with things! :(
November 19, 2014 10:39 a.m.