It is currently 15 Aug 2025, 07:51
   
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 friarsol » 10 Feb 2011, 19:52

Permanents with alternate costs (like Borderposts) don't display them in the CardDisplayPanel.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Corwin72 » 10 Feb 2011, 19:56

build 6277
I cast Rite of Replication on the opponents Sedge Troll. The opponent got the token instead of me.
I am sad.
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 Jaedayr » 10 Feb 2011, 20:20

r6484

When I try to run Forge I get the following. I reverted back to r6472 and the error did not appear, I updated to 6484 and it is back again. After my first sync to 6484 I tried running setinfoscript and it processed two cards and stopped and hung up. I had to break out of it.

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.ReadCard.loadCard(ReadCard.java:154)
   at forge.ReadCard.run(ReadCard.java:118)
   at forge.CardFactory.readCards(CardFactory.java:99)
   at forge.CardFactory.<init>(CardFactory.java:68)
   at forge.AllZone.<clinit>(AllZone.java:29)
   at forge.Gui_NewGame$2.run(Gui_NewGame.java:142)
   at java.awt.event.InvocationEvent.dispatch(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 friarsol » 10 Feb 2011, 20:26

Jaedayr wrote:r6484

When I try to run Forge I get the following. I reverted back to r6472 and the error did not appear, I updated to 6484 and it is back again. After my first sync to 6484 I tried running setinfoscript and it processed two cards and stopped and hung up. I had to break out of it.
Wow. What's Forge like in the future? We're only in the 6200s for revisions. :D

Edit: This doesn't sound like a real problem, it just sounds like you messed up one of your card.txt files when you killed the python script. And then it couldn't be read proeprly.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby gofishus » 10 Feb 2011, 20:32

Hellfish wrote:I think that this later error is because of a card that lacks setinfo. Try running the setInfoScript.py script if you have python.
EDIT: On second thought, you may have to resave the deck as well. Open it in the deck editor and "save as" another filename and the load that.
Ran the python script, no luck. Can't open it in the deck editor because of the same error (albeit at a different location). Would like to clarify that they are the same kind of error, the first one in GameAction when I try to play the deck and the second in Gui_deckeditor_menu when I try to edit the deck.
Code: Select all
java.lang.ArrayIndexOutOfBoundsException: 1
   at forge.Gui_DeckEditor_Menu.showConstructedDeck(Gui_DeckEditor_Menu.java:828)
   at forge.Gui_DeckEditor_Menu.openConstructed(Gui_DeckEditor_Menu.java:813)
   at forge.Gui_DeckEditor_Menu.access$8(Gui_DeckEditor_Menu.java:798)
   at forge.Gui_DeckEditor_Menu$21$1.run(Gui_DeckEditor_Menu.java:1273)
   at java.awt.event.InvocationEvent.dispatch(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)
Last edited by gofishus on 10 Feb 2011, 20:35, edited 1 time in total.
gofishus
 
Posts: 34
Joined: 09 Oct 2010, 04:57
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby Jaedayr » 10 Feb 2011, 20:34

friarsol wrote:Wow. What's Forge like in the future? We're only in the 6200s for revisions. :D
It is quite fabulous, you can play cards just by thinking about them, there are sound effects for each creature as they enter the battlefield (and when they die) and the AI is very able to take its cards and beat you, then swap cards with you and beat you again. :D

I think I fixed the problem. I am guessing that something happened to setinfoscript when it got hung up. Rewind got messed up and when I deleted it and re synced everything seems to be working.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby friarsol » 10 Feb 2011, 20:36

gofishus wrote:Ran the python script, no luck. Can't open it in the deck editor because of the same error (albeit at a different location). Would like to clarify that they are the same kind of error, the first one in GameAction when I try to play the deck and the second in Gui_deckeditor_menu when I try to edit the deck.
Gofishus, do you have access to the code? If so, can you goto the two lines you have this problem and change

Code: Select all
String s[] = cardName.split("\\|");
Code: Select all
String s[] = cardName.split("\\|", 2);
and test again? It looks like it should be the same change in both spots.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby gofishus » 10 Feb 2011, 21:34

friarsol wrote:
gofishus wrote:Ran the python script, no luck. Can't open it in the deck editor because of the same error (albeit at a different location). Would like to clarify that they are the same kind of error, the first one in GameAction when I try to play the deck and the second in Gui_deckeditor_menu when I try to edit the deck.
Gofishus, do you have access to the code? If so, can you goto the two lines you have this problem and change

Code: Select all
String s[] = cardName.split("\\|");
Code: Select all
String s[] = cardName.split("\\|", 2);
and test again? It looks like it should be the same change in both spots.
Thanks!~ I fixed and committed the changes.
gofishus
 
Posts: 34
Joined: 09 Oct 2010, 04:57
Has thanked: 0 time
Been thanked: 0 time

Re: SVN Bug Reports

Postby Jaedayr » 10 Feb 2011, 22:14

r6287

This may be working as intended and may just be my ignorance. I had a 1/1 hound pet with Hyena Umbra. AI cast Tarfire and destroyed it. Should only the umbra have been destroyed?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Corwin72 » 10 Feb 2011, 22:21

Build 6289
I am getting errors when I try to import .deck files into the quest deck editors.
This happens with decks exported from the constructed deck editor and the quest deck editor.
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 Jaedayr » 10 Feb 2011, 22:22

r6287

The following is displayed in-game for Seeker

Code: Select all
Enchant creature

Enchanted creature can't be blocked except by artifact creatures and/or white creatures.
Enchanted creature has hidden cantbeblockedby creature.nonartifact+nonwhite.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby friarsol » 10 Feb 2011, 22:37

Jaedayr wrote:r6287

This may be working as intended and may just be my ignorance. I had a 1/1 hound pet with Hyena Umbra. AI cast Tarfire and destroyed it. Should only the umbra have been destroyed?
Yep the Totem Armor should have been destroyed instead. This should be fixed now.
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. » 11 Feb 2011, 02:44

Jaedayr wrote:r6287

The following is displayed in-game for Seeker

Code: Select all
Enchant creature

Enchanted creature can't be blocked except by artifact creatures and/or white creatures.
Enchanted creature has hidden cantbeblockedby creature.nonartifact+nonwhite.
`
Thank you, this was one of the easier bugs for me to address this week. :D
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 friarsol » 11 Feb 2011, 04:43

I think Storm might be broken right now? At least my Astral Slide doesn't seem to be making copies of things.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Rob Cashwalker » 11 Feb 2011, 05:34

Corwin72 wrote:Build 6289
I am getting errors when I try to import .deck files into the quest deck editors.
This happens with decks exported from the constructed deck editor and the quest deck editor.
Someone deleted DeckConverter.java, which is dynamically instantiated by the import/export.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 14 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form