It is currently 14 Aug 2025, 16:33
   
Text Size

SVN Bug Reports

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: SVN Bug Reports

Postby Jaedayr » 20 Jan 2011, 22:34

r5417

Thanks for the quick responses Fnoed and Sol. I found the config and am testing that now. But I tried to use my new and improved Defense of the Heart.

This appeared on the stack.

1. Defense of the Heart - Human Sacrifices 1 null. Search your library for 2 Creature and put those cards onto the battlefield. Then shuffle your library.

Followed by this.

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


null


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_Sacrifice.sacrificeHuman(AbilityFactory_Sacrifice.java:251)
   at forge.AbilityFactory_Sacrifice.sacrificeResolve(AbilityFactory_Sacrifice.java:228)
   at forge.AbilityFactory_Sacrifice$1.resolve(AbilityFactory_Sacrifice.java:24)
   at forge.TriggerHandler$1.resolve(TriggerHandler.java:700)
   at forge.MagicStack.resolveStack(MagicStack.java:631)
   at forge.Phase.passPriority(Phase.java:501)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:284)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:233)
   at forge.InputControl.updateInput(InputControl.java:147)
   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:492)
   at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
   at forge.GuiInput.selectButtonOK(GuiInput.java:35)
   at forge.GuiDisplay4.okButtonActionPerformed(GuiDisplay4.java:977)
   at forge.GuiDisplay4.access$3(GuiDisplay4.java:976)
   at forge.GuiDisplay4$24.actionPerformed(GuiDisplay4.java:764)
   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)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Jaedayr » 20 Jan 2011, 23:11

I played three quest matches and visited the deck editor and card shop in between. I am not seeing the lag when using your suggestion. Yay! :D

Code: Select all
-Xmx1024m
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Fnoed » 20 Jan 2011, 23:21

Good. As stated before, the image cache seems to grow continuously. It is supposed to release resources automatically, but I don't see that happening. Can anybody confirm that it actually has a maximum size?
If it doesn't it shouldn't be that hard to put in a cap on the number of images, purging the images in a least-recently-used approach.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby Snacko » 20 Jan 2011, 23:51

It uses weak references, meaning as you get less memory those resources will be garbage collected.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: SVN Bug Reports

Postby Fnoed » 20 Jan 2011, 23:58

So when does it decide that it is low on memory? Is it based on heap size? Forcing a garbage collection does not seem to purge the cache.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby friarsol » 21 Jan 2011, 00:28

Jaedayr wrote:r5417

Thanks for the quick responses Fnoed and Sol. I found the config and am testing that now. But I tried to use my new and improved Defense of the Heart.

This appeared on the stack.

1. Defense of the Heart - Human Sacrifices 1 null. Search your library for 2 Creature and put those cards onto the battlefield. Then shuffle your library.

Followed by this.
Yep. I'll have a fix for this soon. Sacrifice wasn't working the way I thought. But gotta make dinner first.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby lazylockie » 21 Jan 2011, 01:36

r5415

I think this has been going on for a while:

When +2 from Venser, the Sojourner (and possibly other stuff that exiles and brings back) following stuff happens:

- Creatures are coming back tapped, if they were tapped
- Planeswalkers are accumulating loyalty counters when coming back. For example, when exiling a 6 Jace Beleren, it comes back with 9 loyalty counters, instead of 3.

---

AEthersnipe isn't triggering bounce effect (neither when evoking, normal casting or entering the battlefield another way)

-----------

r5508

Preordain scry might be messed up, because it's showing 2 Darksteel Axe and I'm certain I have only 1 on my deck.

Path to Exile search land isn't working. It's actually strange, because when I AI casts on my creature, the land I choose goes to AI or something like that
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: SVN Bug Reports

Postby Jaedayr » 22 Jan 2011, 21:00

r5535

I know this was broke at one point but then I thought it got fixed and was working fine. :?:

I just upgraded to the 1/4 plant wall pet with deathtouch and the jpg is not being used. All the pics for the previous level plant wall work fine, and I have a g_1_4_plant_wall_deathtouch.jpg in the tokens folder. I checked both the old and new quest UI and got the same results with both.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Zay » 23 Jan 2011, 15:16

Ancient Tomb only does 1 damage.

-Zay
Zay
 
Posts: 14
Joined: 30 Dec 2010, 15:05
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby Hellfish » 23 Jan 2011, 15:36

Fixed Ancient Tomb. Also, forgot to mention, scrying is fixed.

EDIT: Partially fixed AEthersnipe. See below

Bug in r5600:
Evoke seems to be out of commission, and looks like it has been for a while. First, I don't get the option to evoke, say, AEthersnipe. Second, either the usage of Evoke in the cards currently in Forge is wrong or our docs are wrong. (Evoke is used as SVars, whereas in the keyword/AF topic it's a keyword) Neither way gives me the option to evoke.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: SVN Bug Reports

Postby friarsol » 23 Jan 2011, 17:09

Hellfish wrote:Bug in r5600:
Evoke seems to be out of commission, and looks like it has been for a while. First, I don't get the option to evoke, say, AEthersnipe. Second, either the usage of Evoke in the cards currently in Forge is wrong or our docs are wrong. (Evoke is used as SVars, whereas in the keyword/AF topic it's a keyword) Neither way gives me the option to evoke.
Looks like all the Evoke cards are hard-coded too :(. We could do this with an Evoke keyword which gives a secondary cost (similar to the Kicker one i did last night). I have an idea how to make it smoother which I can write into Kicker as well if it works as expected.

Each of the Evoke cards will have their normal ETB ability. And a secondary ETB ability which will basically be When this ETB, if it was evoked (Card.self+evoked), sacrifice it.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Zay » 23 Jan 2011, 18:37

Casting Temporal Fissure and targeting multiple objects i receive this error.

null
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.MagicStack.resolveStack(Unknown Source)
at forge.Phase.passPriority(Unknown Source)
at forge.Input_PassPriority.selectButtonOK(Unknown Source)
at forge.GuiInput.selectButtonOK(Unknown Source)
at forge.GuiDisplay4.okButtonActionPerformed(Unknown Source)
at forge.GuiDisplay4.access$3(Unknown Source)
at forge.GuiDisplay4$25.actionPerformed(Unknown Source)
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)

-Zay
Zay
 
Posts: 14
Joined: 30 Dec 2010, 15:05
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby lazylockie » 24 Jan 2011, 00:11

r5603

AI isn't equipping Sword of Body and Mind. It had plenty of mana and plenty of creatures, but didn't equip in any of them. Does AI know how to use the Swords?

Reki, the History of Kamigawa is triggering twice when casting a legendary spell

This isn't exactly a bug, but is there a way to revert to the old quest UI locally? By my 3rd match it starts to slow everything.
lazylockie
 
Posts: 508
Joined: 13 Jul 2010, 22:44
Has thanked: 74 times
Been thanked: 15 times

Re: SVN Bug Reports

Postby Corwin72 » 24 Jan 2011, 01:34

build 5619
Playing against Spider-Man medium in Quest mode.
Crash with this error:

AbilityFactory Parsing Error in getAbility() : Split length of ChangeType$ ChangeType$ Creature.cmcLE1 in Ranger of Eos is not 2.
User avatar
Corwin72
 
Posts: 793
Joined: 15 Sep 2009, 13:26
Location: Grayson, Ga
Has thanked: 25 times
Been thanked: 9 times

Re: SVN Bug Reports

Postby Chris H. » 24 Jan 2011, 14:09

lazylockie wrote:This isn't exactly a bug, but is there a way to revert to the old quest UI locally? By my 3rd match it starts to slow everything.
`
The Quest Options window includes a "Use new Quest UI" checkbox. It is located at the lower left corner.
User avatar
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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 8 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 8 guests

Login Form