Tabletop Simulator

Tabletop Simulator

Magic the Gathering Cube Draft
29 Comments
Pol  [author] 3 Nov, 2024 @ 8:44pm 
@Perfect X. Creating a cube is documented above. Creating custom cards in not supported (you can however copy a card and change the face image directly as any other card in TTS)
Perfect X 22 Oct, 2024 @ 7:55pm 
How do I add/edit my own cards?
SnaccDaddy 3 Apr, 2024 @ 9:40pm 
@jackyaboy I ran into the same issue. It seems you have to "set" the cube you load in as the one to deal the boosters. If you right click the cube, then go to "Scripting", you'll see a "GUID" code you can Copy. Copy it, then in the "Configure Boosters" at the top left, paste it in the "GUID" box. I noticed the cube deck was highlighted at that point, and I was able to deal the boosters. Hope this helps!
jackyaboy 12 Oct, 2023 @ 10:10pm 
When I try to deal boosters it says Error in Script (Global) function <onDealBoosters>: chunk_3:(322,11-18): attempt to index a nil value <5>
Pol  [author] 18 Aug, 2023 @ 2:08pm 
@TwinkleHood @Treska I updated the lands on the table to the new Scryfall domain for images.
Pol  [author] 15 Jul, 2023 @ 6:48am 
@TwinkleHood I'm currently in some music festival. But as soon as I get to a computer I'll get to that.
TwinkleHood 14 Jul, 2023 @ 11:38pm 
Scryfall changed their domains. I've gone through the json and updated the basic lands which are hardcoded to use their new domain, not sure how I can contribute this work back to you @Pol.
Treska 19 Dec, 2022 @ 7:19pm 
WWW Image Error: Cannot resolve destination host at [ https://img.scryfall.com ] etc.
skyvoc 11 Sep, 2022 @ 7:06pm 
@pol thank you so much, AMAZING work!
Pol  [author] 11 Sep, 2022 @ 6:41pm 
@skyvoc The tool only loads the cube as a single pile and shuffle it all. It's meant to be used as a cube draft not a booster draft. If you want to have rarity split boosters, you can do this manually. If you want multiple piles by rarity, you can run the load window multiple times with each time a sublist of a single rarity (just move the output cards before so it doesn't make a single pile again.
skyvoc 11 Sep, 2022 @ 6:31pm 
This is one of the best, if not THE best MTG workshop item. my only question is if there is a way to have the packs sorted by rarity or is it only possible by pulling them out of the cube yourself? im not super good at tabletop!
Pol  [author] 2 Aug, 2022 @ 6:47pm 
If any of you have the same issue as t3hSn0wm4n and Stickchane below, that is the deck loading stops somewhere in the middle while you are importing a tappedout deck exported for MTGA (with the set codes):

The probable issue is that tappedout exports some cards with set code "000" (I don't know why). To easily find the cards that cause this issue (and to validate this is the issue) look at the last card successfully imported (that will be the one on top of the pile). The next card in your decklist caused the problem. Fix, rince repeat. (if it's not the (000) issue feel free to ask for guidance in the comments).

The possible fixes are as follow:
-Use the text export from tappedout (it will not use set codes, only latest print version will be used).
-Replace 000 by a valid set code for this card.
-Remove the " (000) #" part of the line for that card (it will use latest print version).
Pol  [author] 2 Aug, 2022 @ 6:46pm 
@SilverPanda @TheHeckingFrog I would guess it's because of a list exported to the MTGA format from tappedout. If that's the case I copied the answer I gave under the other mod I made (the one not specifically made for draft). If this is not your issue, feel free to post a link to your decklist, I try to find what card fails the whole process.
SilverPanda 1 Aug, 2022 @ 8:02pm 
Im having the same issue, as @TheHeckingFrog , any updates on this? @Pol
TheHeckingFrog 9 Apr, 2022 @ 3:14pm 
I keep getting "Error in Script (Global) function <onLoadDeck>: chunk_3:(94,2-7 1): attempt to index a nil value"

How do I avoid getting this error?
Pol  [author] 24 Jan, 2022 @ 6:05pm 
@Cremaster Thanks for the good words
CremasterContusion 24 Jan, 2022 @ 5:53pm 
Pol, Thank you for putting this together. This has allowed my group of friends to get together online no matter where we are in the world and play a friendly draft together. You are the GOAT dude.
Pol  [author] 16 Jul, 2021 @ 5:36pm 
@ecoabismo Thanks!
ecoabismo 9 Apr, 2021 @ 12:13pm 
Amazaing work! thanks so much!
Pol  [author] 2 Feb, 2021 @ 4:28pm 
@The Hero un-sets are not supported. I don't think I'll get arount to support them as there are multiple weird things in the database pertaining to those set.
Pol  [author] 2 Feb, 2021 @ 4:27pm 
@Buckaroo Banzai okclayton is right.
Three Woopers in a Trench Coat 29 Dec, 2020 @ 12:48pm 
Are the Un-sets not supported? The cube loads fine until it tries to load "Sword of Dungeons & Dragons". The chat says it is trying to index a nil value. Replacing that card with any other, black bordered card works fine.
okclayton 28 Nov, 2020 @ 6:33pm 
@Buckaroo Banzi you need to type a 1 before each card name. The script is reading the blank space as nil for the index and doesn't know how many copies to import.
Buckaroo Banzai 10 Nov, 2020 @ 9:16am 
I am currently getting "Error in Script (Golbal): chunk_3(9,2-13-3) attempt to index a nil value,
I have provided a list formatted per your spec.
Pol  [author] 8 Oct, 2020 @ 7:30pm 
Fixed the issue with Zendikar Rising double sided cards.
Pol  [author] 28 Sep, 2020 @ 5:38pm 
@watch this nub If you can get what card is the one that don't work, I could try to see if those specific cards are the issue. I think the double cards from zendikar rising are an issue at the moment. I don't know of another specific issue.
Pol  [author] 28 Sep, 2020 @ 5:34pm 
@AlbertMelfo when you right click on the deck object there is a menu item to copy the guid (the id of the object). You paste this in the cube deck guid to tell the script from what pile of card to draw the card from.
watch this nub 26 Aug, 2020 @ 7:14pm 
For some reason when i try to load the cube i'm getting errors. Formatting seems to be ok since it starts generating some of the cards but then stops. Very early on. Sometimes only generating 1, sometimes going up to 9.

Error I'm getting is:
Error in Script (Global): chunk_0:(679,11-67): Expected string argument to JSON.decode(),got HTML?

Any idea?
AlbertMelfo 22 Jul, 2020 @ 6:06am 
New to using tabletop and etc. What do you enter to configure boosters properly? Like, what do you type in the "Cube Deck guid"? Is there any tutorial video or youtube vid of someone setting this up?