SVN Bug Reports
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: SVN Bug Reports
by Professor » 15 Feb 2011, 00:03
Um, that link doesn't take me anywhere relevant... I'm using Snacko's build procedure from about 6 months ago. It looks like this:Sloth wrote:Did you try to use this builder by Fnoed?:Professor wrote:OK, but is that a specific file, or what? I used the same Update-and-build.bat file I always have. I ran it minutes before I posted. Has something about the procedure changed lately?
viewtopic.php?f=52&t=3721&start=345#p52863
- Code: Select all
build\svn.exe update forge-svn
java -jar build\ecj-3.5.2.jar forge-svn\src -1.5 -classpath forge-svn\src;forge-svn\res\lib\google-collections-1.0.jar;forge-svn\res\lib\java-image-scaling-0.8.4.jar;forge-svn\res\lib\miglayout-3.7.3.1-swing.jar;forge-svn\res\lib\jl1.0.1.jar;forge-svn\res\lib\napkinlaf-1.2.jar;forge-svn\res\lib\nimrodlf.jar;forge-svn\res\lib\substance.jar -g:none -d output
mkdir output\META-INF
copy forge-svn\build\manifest.forge output\META-INF\MANIFEST.MF /Y
cd output
..\build\7z.exe a -tzip -r -mx=9 ..\forge.jar *.class META-INF/MANIFEST.MF
cd ..
rmdir forge /s /q
mkdir forge
xcopy forge-svn\res\* forge\res\ /Y /S
copy forge-svn\forge.properties forge\ /Y
move forge.jar forge\
copy build\forge.exe forge\
del forge.zip
build\7z.exe a -tzip -r -mx=9 forge.zip forge/*

-------------------------------------
PostCount=PostCount+1
PostCount=PostCount+1
-
Professor - Posts: 172
- Joined: 27 Jul 2009, 21:02
- Has thanked: 0 time
- Been thanked: 0 time
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Bug Reports
by SoulStorm » 15 Feb 2011, 00:35
Thanks Rob, you Rock! But you're still a fearsome interrogator!Rob Cashwalker wrote:OK, I submitted changes to the Quest Deck Editor and the Regular Deck Editor that should prevent this kind of crash in a number of different spots, which may or may not need it right now....


Re: SVN Bug Reports
by slapshot5 » 15 Feb 2011, 04:31
r6422
Error in Helix Pinnacle (played by AI):
Error in Helix Pinnacle (played by AI):
- Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
There is an error in the card code for Helix Pinnacle:
Version:
Forge -- official beta: $Date: 2011-01-06 10:34:48 -0600 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Mac OS X Version: 10.6.6 Architecture: x86_64
Java Version: 1.6.0_22 Vendor: Apple Inc.
Detailed error trace:
java.lang.NumberFormatException: For input string: "PayX"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.parseInt(Integer.java:499)
at forge.AbilityFactory.calculateAmount(AbilityFactory.java:711)
at forge.ComputerUtil.canPayCost(ComputerUtil.java:191)
at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:178)
at forge.ComputerAI_General.getMain2(ComputerAI_General.java:144)
at forge.ComputerAI_General.playCards(ComputerAI_General.java:34)
at forge.ComputerAI_General.main2(ComputerAI_General.java:30)
at forge.ComputerAI_Input.think(ComputerAI_Input.java:65)
at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:31)
at forge.GuiInput.setInput(GuiInput.java:27)
at forge.GuiInput.update(GuiInput.java:21)
at java.util.Observable.notifyObservers(Observable.java:142)
at java.util.Observable.notifyObservers(Observable.java:98)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.InputControl.resetInput(InputControl.java:52)
at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:39)
at forge.GuiInput.selectButtonOK(GuiInput.java:35)
at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:946)
at forge.GuiDisplay4.access$3(GuiDisplay4.java:945)
at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:733)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(BasicButtonListener.java:287)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1639)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6129)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
at java.awt.Component.dispatchEventImpl(Component.java:4586)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: SVN Bug Reports
by friarsol » 15 Feb 2011, 16:11
Edit: Alright I'm just going to comment out that section for now. I'll get back to it once I'm ready to start implementing X costs throughout AFs. Helix Pinnacle probably shouldn't be in an AIs deck though.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: SVN Bug Reports
by Chris H. » 15 Feb 2011, 16:33
`friarsol wrote:Edit: Alright I'm just going to comment out that section for now. I'll get back to it once I'm ready to start implementing X costs throughout AFs. Helix Pinnacle probably shouldn't be in an AIs deck though.
I did a search and we have 56 cards with "SVar:X:Count$xPaid" with a corresponding "X" in "Cost$". I can add a "SVar:RemAIDeck:True" to these cards and then merge them into the SVN for you.
Once your work is finished and tested we can the remove these added "SVar:RemAIDeck:True" from these cards if the AI can use any of them.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Bug Reports
by Chris H. » 15 Feb 2011, 19:07
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: SVN Bug Reports
by Jaedayr » 15 Feb 2011, 21:49
r6447
Paid for 3 tokens and got the following while casting Gelatinous Genesis.
Paid for 3 tokens and got the following while casting Gelatinous Genesis.
- Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
For input string: "Count$xPaid"
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NumberFormatException: For input string: "Count$xPaid"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at forge.AbilityFactory.calculateAmount(AbilityFactory.java:711)
at forge.AbilityFactory_Token.doStackDescription(AbilityFactory_Token.java:252)
at forge.AbilityFactory_Token.access$3(AbilityFactory_Token.java:250)
at forge.AbilityFactory_Token$2.getStackDescription(AbilityFactory_Token.java:164)
at forge.SpellAbility_Requirements.addAbilityToStack(SpellAbility_Requirements.java:110)
at forge.SpellAbility_Requirements.finishPaying(SpellAbility_Requirements.java:90)
at forge.Cost_Payment.payCost(Cost_Payment.java:373)
at forge.Cost_Payment$3.selectButtonOK(Cost_Payment.java:709)
at forge.GuiInput.selectButtonOK(GuiInput.java:35)
at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:946)
at forge.GuiDisplay4.access$3(GuiDisplay4.java:945)
at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:733)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
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.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)
Re: SVN Bug Reports
by friarsol » 15 Feb 2011, 21:53
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: SVN Bug Reports
by friarsol » 16 Feb 2011, 00:00
After Proliferating an AIs creature down to a 0/0 the static effect to put it in the graveyard doesn't seem to trigger. I've noticed this a few times recently. Not sure if it's triggering and just not calculating the toughness properly, or what the deal is.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: SVN Bug Reports
by jeffwadsworth » 16 Feb 2011, 17:33
Cheers.
Last edited by jeffwadsworth on 16 Feb 2011, 18:11, edited 1 time in total.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: SVN Bug Reports
by Sloth » 16 Feb 2011, 17:54
Brimstone Mage worked for me. I just fixed the description (it was incomplete). Can you test again or tell me what you mean?jeffwadsworth wrote:R. 6470
The level up cards appear to be broken. You can only add LEVEL counters.
Check Brimstone Mage for an example.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: SVN Bug Reports
by jeffwadsworth » 16 Feb 2011, 18:12
I was testing it and others on the first turn when it had summoning sickness using generated mana. Sorry for the trouble.Sloth wrote:Brimstone Mage worked for me. I just fixed the description (it was incomplete). Can you test again or tell me what you mean?jeffwadsworth wrote:R. 6470
The level up cards appear to be broken. You can only add LEVEL counters.
Check Brimstone Mage for an example.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: SVN Bug Reports
by SoulStorm » 16 Feb 2011, 20:27
: Patron Wizard causes the game to crash if you tap more than one Wizard to counter a spell. The game crashes when you try to resolve the stack. Being able to tap more wizards than the opponent has mana is the whole point of Patron Wizard.
Thanks!
Thanks!
Re: SVN Bug Reports
by Jaedayr » 16 Feb 2011, 20:54
r6475
AI had Ertai, Wizard Adept in play. I was casting Wingrattle Scarecrow (new card I am testing) and got the following.
AI had Ertai, Wizard Adept in play. I was casting Wingrattle Scarecrow (new card I am testing) and got the following.
- Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com
There is an error in the card code for Ertai, Wizard Adept:
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $
OS: Windows XP Version: 5.1 Architecture: x86
Java Version: 1.6.0_23 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.NullPointerException
at forge.AbilityFactory_CounterMagic.counterCanPlayAI(AbilityFactory_CounterMagic.java:278)
at forge.AbilityFactory_CounterMagic.access$3(AbilityFactory_CounterMagic.java:260)
at forge.AbilityFactory_CounterMagic$1.canPlayAI(AbilityFactory_CounterMagic.java:79)
at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:178)
at forge.ComputerAI_General.getOtherPhases(ComputerAI_General.java:165)
at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:271)
at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
at forge.InputControl.updateInput(InputControl.java:145)
at forge.GuiInput.update(GuiInput.java:19)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.InputControl.resetInput(InputControl.java:52)
at forge.Input.stop(Input.java:39)
at forge.AbilityFactory_CounterMagic$6.showMessage(AbilityFactory_CounterMagic.java:592)
at forge.GuiInput.setInput(GuiInput.java:27)
at forge.GuiInput.update(GuiInput.java:21)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.InputControl.setInput(InputControl.java:20)
at forge.AbilityFactory_CounterMagic.counterCanPlay(AbilityFactory_CounterMagic.java:255)
at forge.AbilityFactory_CounterMagic.access$2(AbilityFactory_CounterMagic.java:241)
at forge.AbilityFactory_CounterMagic$1.canPlay(AbilityFactory_CounterMagic.java:74)
at forge.ComputerAI_General.getPlayable(ComputerAI_General.java:178)
at forge.ComputerAI_General.getOtherPhases(ComputerAI_General.java:165)
at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:271)
at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
at forge.InputControl.updateInput(InputControl.java:145)
at forge.GuiInput.update(GuiInput.java:19)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:9)
at forge.InputControl.resetInput(InputControl.java:52)
at forge.Phase.passPriority(Phase.java:505)
at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
at forge.GuiInput.selectButtonOK(GuiInput.java:35)
at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:946)
at forge.GuiDisplay4.access$3(GuiDisplay4.java:945)
at forge.GuiDisplay4$25.actionPerformed(GuiDisplay4.java:733)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
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.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)
Who is online
Users browsing this forum: No registered users and 21 guests