Page 1 of 1

So, Here's My Issue :

PostPosted: 23 Jan 2017, 04:50
by PsyintZ
Originally I was playing Forge with no problems. I was using it to practice my Cube drafting using the built-in custom Cube called 'MTGO Vintage Cube 2016.' After a while, I noticed that it was missing some cards that I believed would make it more fun to draft. This is when I looked up how to create my own custom Cube for Forge. It looked simple, so I followed the instructions: 1) Create a new .dck file in the "Cube" folder using the [metadata] tag at the top, then "Name=MyCubeName," followed by a [main] tag, and then the list of all of the cards I want included in my Cube preceded by a "1" (for the Singleton Command). Then I moved over to the "Draft" folder and created a file called "cube_mycubename.draft" and simply borrowed the exact same text from the "MTGO Vintage Cube 2016.draft" file and pasted it into mine.

Here's where the problem arose. After doing all of this and reloading Forge in attempt to draft my new Cube... it crashed. All of the other draft formats still work, but as soon as I try to enter the "Custom Draft" list, it crashes. Figuring I may have misspelled something in my cube files that was causing this crash, I took out both of the new files I had created from the Cube and Draft folders. Still crashing!

Now I can't draft ANY type of Custom Draft as it crashes whenever I try. Even after restoring it back to how it was when it was working. I figured reinstalling might solve that issue, and then I ran into ANOTHER issue: I cannot download the Forge installer file anymore. Whenever I click on the (tar.gz2) link in the "Newest Beta Release" thread, nothing happens. It just continues to try and load the file but never does. And strangely enough, I am perfectly able to download ANY other file from the Forge directory, just not the one I need.

Does anybody know what I may have done wrong? Why my personal custom cube wouldn't work? How I can stop Forge from crashing when I try to load a custom draft? Why I can't download the Forge install file, in order to attempt reinstalling?

Any help would be greatly appreciated. Thanks in advance!

Sincerely,
Psy

Re: So, Here's My Issue :

PostPosted: 24 Jan 2017, 02:02
by friarsol
What's the error message say? It might help to post your custom files, without any of that its hard to figure out what exactly is wrong.

Re: So, Here's My Issue :

PostPosted: 24 Jan 2017, 06:28
by PsyintZ
Okay, let me provide some more information. This is the error message I currently get when I try to load ANY type of Custom Draft:

| Open
Forge Version: 1.5.58-SNAPSHOT-r-1
Operating System: Windows 10 10.0 amd64
Java Version: 1.8.0_111 Oracle Corporation

java.lang.ArrayIndexOutOfBoundsException: 1
at forge.limited.CustomLimited.parse(CustomLimited.java:107)
at forge.limited.BoosterDraft.loadCustomDrafts(BoosterDraft.java:233)
at forge.limited.BoosterDraft.generateProduct(BoosterDraft.java:143)
at forge.limited.BoosterDraft.createDraft(BoosterDraft.java:63)
at forge.screens.home.sanctioned.CSubmenuDraft.setupDraft(CSubmenuDraft.java:186)
at forge.screens.home.sanctioned.CSubmenuDraft.access$100(CSubmenuDraft.java:39)
at forge.screens.home.sanctioned.CSubmenuDraft$3.run(CSubmenuDraft.java:73)
at forge.toolbox.FLabel._doMouseAction(FLabel.java:314)
at forge.toolbox.FLabel.access$1300(FLabel.java:55)
at forge.toolbox.FLabel$6.onLeftClick(FLabel.java:352)
at forge.toolbox.FMouseAdapter.mouseReleased(FMouseAdapter.java:246)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


This is how I had my personal cube file (PsyintzCube.dck) set up inside the "Cube" folder:

| Open
[metadata]
Name=PsyintzCube
[main]
1 AEther Vial
1 All is Dust
1 Arcbound Ravager
1 Azorius Signet
1 Basalt Monolith
1 Basilisk Collar
1 Batterskull
1 Black Lotus
(... rest of card list)


And this is how I have my personal cube file (cube_psyintz.draft) in the "Draft" folder:

| Open
Name:PsyintzCube
DeckFile:PsyintzCube
Singleton:True
CustomRankings:cube_drafting_rankings.txt
Booster: 15
AnyNumPacks: 3



If you need any other information, feel free to ask. I appreciate you trying to help me out, friarsol. Aside from hoping I can get everything working again, I really wish I knew why I am unable to download that specific tar.gz2 file. Hopefully you will notice something that I have been overlooking and we can get this problem solved.


Thanks again in advance,
Psy

Re: So, Here's My Issue :

PostPosted: 25 Jan 2017, 03:31
by friarsol
I feel like your draft file is wrong...

Name:MTGO Vintage Cube 2016
DeckFile:MTGO Vintage Cube 2016
Singleton:True
CustomRankings:cube_drafting_rankings.txt

Booster: 15 Any
NumPacks: 3
This is the MTGO Vintage Cube I see, but your version says "AnyNumPacks" oh I see what happened.. It should be

Booster: 15 Any
NumPacks: 3

Re: So, Here's My Issue :

PostPosted: 25 Jan 2017, 08:21
by PsyintZ
You are the man, friarsol! That little error you found in my draft file is exactly what was causing the crash! Thank you so much for pointing that out to me. I really appreciate it! Now if only I could figure out why I am not able to download that specific tar.gz2 file from you "Latest Beta Release" thread. Once I solve that issue, everything will be back to normal. :)

Thanks again,
Psy