It is currently 20 Aug 2025, 12:30
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby DeadSpeak » 14 Apr 2012, 18:32

Hey everyone...

Running Forge.1.2.7-SNAPSHOT-r15140:

I can't cast Delver of Secrets from my hand.

When I click on it in my hand, Forge reacts the same way as if you have already played a land and tries to play another land, it highlights it and ... nothing.

Has anyone else experienced this?

- DeadSpeak
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby Milod » 14 Apr 2012, 18:37

the nasty bug returns again angelic overseer get destroyed again even if the ai controlled humans not sure if it happens more then once seen it happen first time in the newest forge-1.2.7-20120414.112401-14
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 14 Apr 2012, 19:01

DeadSpeak wrote:Hey everyone...

Running Forge.1.2.7-SNAPSHOT-r15140:

I can't cast Delver of Secrets from my hand.
Has anyone else experienced this?
aleatherglove just reported the same thing two posts down.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby DeadSpeak » 14 Apr 2012, 19:26

friarsol wrote:
DeadSpeak wrote:Hey everyone...

Running Forge.1.2.7-SNAPSHOT-r15140:

I can't cast Delver of Secrets from my hand.
Has anyone else experienced this?
aleatherglove just reported the same thing two posts down.
... right...

Searched for Delver, didn't think to search for transform...

- DeadSpeak
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 14 Apr 2012, 20:30

Looks like the transformed bug was added here:

r15120 by Max, AbstractCardFactory.java l 168

Code: Select all
        CardFactoryUtil.copyCharacteristics(in, out);
        if (in.hasAlternateState()) {
            for (final CardCharactersticName state : in.getStates()) {
                in.setState(state);
                out.addAlternateState(state);
                out.setState(state);
                CardFactoryUtil.copyCharacteristics(in, out);
            }
            in.setState(curState);
            out.setState(curState);
        }
I commented out out.addAlternateState, which solved the transformed problem, but I'm not sure what the goal of this block is, so I didn't commit it.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby Milod » 15 Apr 2012, 00:43

when i used banishing stroke on ai's oblivion ring it dident return my creature back to the field.. am i missing somthing?
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 15 Apr 2012, 05:01

friarsol wrote:Looks like the transformed bug was added here:

r15120 by Max, AbstractCardFactory.java l 168

Code: Select all
        CardFactoryUtil.copyCharacteristics(in, out);
        if (in.hasAlternateState()) {
            for (final CardCharactersticName state : in.getStates()) {
                in.setState(state);
                out.addAlternateState(state);
                out.setState(state);
                CardFactoryUtil.copyCharacteristics(in, out);
            }
            in.setState(curState);
            out.setState(curState);
        }
I commented out out.addAlternateState, which solved the transformed problem, but I'm not sure what the goal of this block is, so I didn't commit it.
The why I added
Code: Select all
out.addAlternateState(state);
was a warning when clone was moved to exile, out.setState(state); could not set a "Cloner" state of that card (that is the original properties of the card) - and it looks like the named state became lost. It's a pity, that it caused more severe bugs somewhere else.
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby FabioFLX » 15 Apr 2012, 11:02

Forge version 1.2.7-SNAPSHOT-r15140

The first time I use the flicker ability of Venser, the Sojourner it works fine, but if in the next turn I try to flick the same permanent the program crashes.

Thanks.
Last edited by FabioFLX on 15 Apr 2012, 16:39, edited 1 time in total.
User avatar
FabioFLX
 
Posts: 78
Joined: 27 Sep 2011, 13:08
Has thanked: 4 times
Been thanked: 7 times

Re: Bug Reports (snapshot builds)

Postby Forger » 15 Apr 2012, 16:20

Forge version 1.2.7-SNAPSHOT-r15148

Bloodline Keeper (cant be cast) and Sylvan Library (doesnt trigger) arent working anymore. I imagine more cards are affected.

They did in r15022.
Forger
 
Posts: 23
Joined: 20 Aug 2011, 21:21
Has thanked: 3 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby Milod » 15 Apr 2012, 21:21

does thalia efect miracle cost? if so i can stil pay normal miracle cost even with thalia on field
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 16 Apr 2012, 12:04

Milod wrote:does thalia efect miracle cost? if so i can stil pay normal miracle cost even with thalia on field
I think it probably should affect miracle costs, and if Thalia's not affecting Miracles, she's probably not affecting madness costs either (unless I missed a reference to madness somewhere when I used it as reference for miracles). I don't have time at the moment though to confirm if this is the case or not.
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Bug Reports (snapshot builds)

Postby Milod » 17 Apr 2012, 11:29

can some1 tel me wat i am missing in this part: i cast banishing stroke on ai's oblivion ring witch exiled gideon jura in it gideon jura dit not return to the field als happens with creatures and other things
Milod
 
Posts: 360
Joined: 20 Jul 2011, 08:57
Has thanked: 4 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby mark » 18 Apr 2012, 13:45

Code: Select all
GuiUtils > newFont: can't find "res/skins/the_simpsons/font1.ttf"
java.lang.NullPointerException
        at forge.gui.toolbox.FSkin.setFont(FSkin.java:791)
        at forge.gui.toolbox.FSkin.loadFull(FSkin.java:488)
        at forge.control.FControl.initialize(FControl.java:112)
        at forge.view.Main.main(Main.java:63)
cause: the file is named Font1.TTF, which is a different file on a unix system. After lowercasing the filename, it worked.
mark
 
Posts: 138
Joined: 28 Dec 2011, 11:32
Has thanked: 6 times
Been thanked: 11 times

Re: Bug Reports (snapshot builds)

Postby Chris H. » 18 Apr 2012, 16:06

mark wrote:
Code: Select all
GuiUtils > newFont: can't find "res/skins/the_simpsons/font1.ttf"
java.lang.NullPointerException
        at forge.gui.toolbox.FSkin.setFont(FSkin.java:791)
        at forge.gui.toolbox.FSkin.loadFull(FSkin.java:488)
        at forge.control.FControl.initialize(FControl.java:112)
        at forge.view.Main.main(Main.java:63)
cause: the file is named Font1.TTF, which is a different file on a unix system. After lowercasing the filename, it worked.
 
Should be fixed on the SVN now, thank you Mark.
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: Bug Reports (snapshot builds)

Postby DeadSpeak » 18 Apr 2012, 19:42

Is there a way to manually remove the flip-card bug?

- DeadSpeak
DeadSpeak
 
Posts: 104
Joined: 25 Dec 2009, 00:14
Location: Denmark
Has thanked: 4 times
Been thanked: 3 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Google [Bot] and 30 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 31 users online :: 1 registered, 0 hidden and 30 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: Google [Bot] and 30 guests

Login Form