It is currently 13 Aug 2025, 19:37
   
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 Chris H. » 07 Jul 2011, 11:00

I see that Slapshot was able to merge in the fix, thank you.

That pesky ".classpath" file is hard to find as it is an invisible file. I saw the error in the Problems View and right clicked on it and saw the option for a Quick Fix.

Quick Fix has saved the day for me a few times in the past.
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

Re: SVN Bug Reports

Postby Jaedayr » 07 Jul 2011, 21:26

friarsol wrote:Is someone looking into the Bug regarding Triggers occurring for the wrong player when a different player from the owner controls them?
Of course I read this after I opened issue 140. I think I am seeing the same bug.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby friarsol » 07 Jul 2011, 23:57

Jaedayr wrote:
friarsol wrote:Is someone looking into the Bug regarding Triggers occurring for the wrong player when a different player from the owner controls them?
Of course I read this after I opened issue 140. I think I am seeing the same bug.
That's fine. Having an issue to track is better especially since noone has stated they are looking at it. It might be a timing issue with ChangeZone | GainControl$ and how triggers get created. Jaedayr, when you create a bug mark as New, but don't mark yourself as the Owner. Unless you are going to start fixing coding bugs? :twisted:
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby goonjamin » 08 Jul 2011, 00:00

r10466

I received the attached error when I tried to block Huang Zhong, Shu General with my Sunweb. Since Sunweb can't block creates with power 2 or less I would have expected it to just not let me.

Code: Select all
An error has occurred. 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: "creatures with power 2 or less"


Version:
Forge -- official beta: $Date: 2011-07-02 00:20:39 -0400 (Sat, 02 Jul 2011) $, SVN revision: $Revision: 10300 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_26 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NumberFormatException: For input string: "creatures with power 2 or less"
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at forge.CombatUtil.canBlock(Unknown Source)
   at forge.gui.input.Input_Block.selectCard(Unknown Source)
   at forge.GuiInput.selectCard(Unknown Source)
   at forge.GuiDisplay4$17.mousePressed(Unknown Source)
   at java.awt.AWTEventMulticaster.mousePressed(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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.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)
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: SVN Bug Reports

Postby friarsol » 08 Jul 2011, 01:29

Alright I just fixed the Lord of Tresserhorn issue.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Jaedayr » 08 Jul 2011, 02:36

friarsol wrote:. Jaedayr, when you create a bug mark as New, but don't mark yourself as the Owner. Unless you are going to start fixing coding bugs? :twisted:
I know noTHING! Hmm, I didn't mean to be an owner, I will gladly sell it to anyone who wants it, on second thought you can have it for free. Is there a way to un-own an issue?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby friarsol » 08 Jul 2011, 02:39

Jaedayr wrote:I know noTHING! Hmm, I didn't mean to be an owner, I will gladly sell it to anyone who wants it, on second thought you can have it for free. Is there a way to un-own an issue?
Goto the Issue, select your name under Owner, delete and save.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby slowe » 08 Jul 2011, 04:26

An odd bug that's popped up for me several times:
When I start a new game and click too quickly (my gimpy mouse could be at fault), sometimes the game starts twice. I get the coinflip twice - the second time, the battlefield has already shown up and I've drawn my seven cards. Clicking through the second coinflip results in me drawing an additional seven cards. :shock:
I tried once to mulligan down to seven to fix it, but I was unable to mulligan. I've never tried to actually play a game when this happens, so I don't know what other strangeness it could spawn, but forfeiting and restarting works with no other symptoms. Potential fixes: disable the New Game button (more quickly?), or use a check during new game initiation to make sure no game is currently being played.

My Sangromancer's discard ability triggers when I discard a card. There's no trigger when one of my creatures dies and AI has a Sangromancer I own from Beacon of Unrest.

Rev 10469 for both.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: SVN Bug Reports

Postby friarsol » 08 Jul 2011, 12:21

slowe wrote:My Sangromancer's discard ability triggers when I discard a card. There's no trigger when one of my creatures dies and AI has a Sangromancer I own from Beacon of Unrest.
Yep. This is a known bug that has been referenced a few times lately. It seems to happen when a card is stolen from an opposing player's graveyard. I've been able to repro it, but not sure where the fix needs to happen. Hopefully someone with more intimate knowledge of triggers can take a crack at 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 Chris H. » 08 Jul 2011, 13:01

Using rev 10488 I went to the deck editor and all cards now have displayed in the card detail panel:

Owner: Human
Controller: Human
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

Re: SVN Bug Reports

Postby Hellfish » 08 Jul 2011, 13:19

Oh, my mistake, that was for debugging Steal Enchantment interactions. I'll remove it.
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 Chris H. » 08 Jul 2011, 14:01

Hellfish wrote:Oh, my mistake, that was for debugging Steal Enchantment interactions. I'll remove it.
`
No prob.

Now, if I really was the owner for all of those cards. :wink:
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

Re: SVN Bug Reports

Postby Hellfish » 08 Jul 2011, 14:44

friarsol wrote:
slowe wrote:My Sangromancer's discard ability triggers when I discard a card. There's no trigger when one of my creatures dies and AI has a Sangromancer I own from Beacon of Unrest.
Yep. This is a known bug that has been referenced a few times lately. It seems to happen when a card is stolen from an opposing player's graveyard. I've been able to repro it, but not sure where the fix needs to happen. Hopefully someone with more intimate knowledge of triggers can take a crack at it.
Oh god, it seems Setup Game State does something differently, because all is fine in this test:
Code: Select all
HumanCardsInHand=Beacon of Unrest; Shock; Shock; Shock
AICardsInGraveyard=Sangromancer
AICardsInPlay=Memnite; Memnite; Memnite
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 Corwin72 » 08 Jul 2011, 15:25

r 10490
I am getting the error:

| Open
An error has occurred. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgerror@yahoo.com


Error loading Quest Data


Version:
Forge -- official beta: $Date: 2011-07-02 00:20:39 -0400 (Sat, 02 Jul 2011) $, SVN revision: $Revision: 10300 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:62)
at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:43)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
at forge.quest.data.QuestDataIO.loadData(Unknown Source)
at forge.Gui_QuestOptions.continueQuestButton_actionPerformed(Unknown Source)
at forge.Gui_QuestOptions$2.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)


This happens after I create a new quest and import a constructed deck. I then have to close and open Forge and try to access my existing quest.
Any thoughts?
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 friarsol » 08 Jul 2011, 15:29

Hellfish wrote:Oh god, it seems Setup Game State does something differently, because all is fine in this test:
Yea it's not a reliable testing tool for some reason. I think it has to do with copyCard not working 100% as we expect it to.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 46 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 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 46 guests

Login Form