Re: SVN Bug Reports
C'mon man... Everyone is doing it.friarsol wrote:What a pusher you are.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=3721
C'mon man... Everyone is doing it.friarsol wrote:What a pusher you are.
`timmermac wrote:I'm using r6165 and am having the same problem. Is there something that can be done for people that use Snacko's scripts?
Name:Reveillark
ManaCost:4 W
Types:Creature Elemental
Text:no text
PT:4/3
K:Flying
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReturnCreatures | TriggerDescription$ When CARDNAME leaves the battlefield, return up to two target creature cards with power 2 or less from your graveyard to the battlefield.
K:Evoke:5 W
SVar:TrigReturnCreatures:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature.powerLE2+YouCtrl | TgtPrompt$ Choose target creature
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+evoked | Execute$ TrigSac | Secondary$ True | TriggerDescription$ When CARDNAME enters the battlefield, if you cast it by it's evoke cost, sacrifice it.
SVar:TrigSac:AB$Sacrifice | Cost$ 0
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/reveillark.jpg
SetInfo:MOR|Rare|http://magiccards.info/scans/en/mt/22.jpg
EndAn 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
null
Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (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.NullPointerException
at forge.AbilityFactory_ChangeZone.changeKnownOriginCanPlayAI(AbilityFactory_ChangeZone.java:676)
at forge.AbilityFactory_ChangeZone.changeZoneCanPlayAI(AbilityFactory_ChangeZone.java:124)
at forge.AbilityFactory_ChangeZone.access$0(AbilityFactory_ChangeZone.java:116)
at forge.AbilityFactory_ChangeZone$1.doTrigger(AbilityFactory_ChangeZone.java:35)
at forge.TriggerHandler$1.doTrigger(TriggerHandler.java:321)
at forge.TriggerHandler.runSingleTrigger(TriggerHandler.java:803)
at forge.TriggerHandler.runTrigger(TriggerHandler.java:192)
at forge.GameAction.moveTo(GameAction.java:77)
at forge.GameAction.moveToGraveyard(GameAction.java:165)
at forge.GameAction.sacrificeDestroy(GameAction.java:2068)
at forge.GameAction.destroyNoRegeneration(GameAction.java:674)
at forge.AbilityFactory_Destroy.destroyResolve(AbilityFactory_Destroy.java:353)
at forge.AbilityFactory_Destroy$2.resolve(AbilityFactory_Destroy.java:60)
at forge.MagicStack.resolveStack(MagicStack.java:666)
at forge.Phase.passPriority(Phase.java:507)
at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:286)
at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
at forge.ComputerAI_Input.think(ComputerAI_Input.java:43)
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.Phase.passPriority(Phase.java:498)
at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
at forge.GuiInput.selectButtonOK(GuiInput.java:35)
at forge.GuiDisplay3.okButtonActionPerformed(GuiDisplay3.java:962)
at forge.GuiDisplay3.access$3(GuiDisplay3.java:961)
at forge.GuiDisplay3$26.actionPerformed(GuiDisplay3.java:756)
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.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6352)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6117)
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.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
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)
I'll take a look tomorrow. I have wings and guac to eat, and football to watch.Chris H. wrote:I have converted the last evoke card that I can handle via AF and trigger. The card works OK for me but when the card resolves the LtB ability for the AI I get this null error exception. Error exception and card file below:
`friarsol wrote:I'll take a look tomorrow. I have wings and guac to eat, and football to watch.
I downloaded to check it out. But I don't see Call Hierarchy on the right click menu. Anyway to get that on there? I use that crap all the time.Fnoed wrote:C'mon man... Everyone is doing it.
For now, you can get it to compile by using this batch file to start the build.Chris H. wrote:`timmermac wrote:I'm using r6165 and am having the same problem. Is there something that can be done for people that use Snacko's scripts?
Good point. I assume that Snacko's scripts will need modification to handle the new xstream library. Lazylockie, Timmermac and a few other people may need to wait until the script is updated.
Those jar files should already be there in r6165.timmermac wrote:Can the 2 XStream jar files that are present on the googlecode SVN page be placed in the /res/lib folder in the r6165 folder that I have to make that release work? The files are xstream-1.3.1.jar and xpp3_min-1.1.4c.jar
Just adding the two jar files is not enough to fix the script. I get the same error as Corwin.Fnoed wrote:For now, you can get it to compile by using this batch file to start the build.
Hey Chris I just tested this and it worked for me. What conditions were you testing it under (Did the AI have any creatures in the grave? Was it Evoked?)Chris H. wrote:I have converted the last evoke card that I can handle via AF and trigger. The card works OK for me but when the card resolves the LtB ability for the AI I get this null error exception. Error exception and card file below:
`friarsol wrote:Hey Chris I just tested this and it worked for me. What conditions were you testing it under (Did the AI have any creatures in the grave? Was it Evoked?)Chris H. wrote:I have converted the last evoke card that I can handle via AF and trigger. The card works OK for me but when the card resolves the LtB ability for the AI I get this null error exception. Error exception and card file below:
Bah. Should be fixed now.Chris H. wrote:I would go back now and try to retest, but I synced with the SVN and now have 31 errors. Eclipse is telling me that "Constant.Rarity" cannot be resolved.