It is currently 24 May 2025, 21:54
   
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 moomarc » 02 Mar 2013, 05:10

Not sure what the issue is there, but I know when I last tested a plane I could start fine with a 2-card planar deck (the separate type, not deck section type).

As for the false, I think that might be a println I left in accidentally when I fixed starting with a random planar deck, not somethething to do with deck conformance.
-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 moomarc » 02 Mar 2013, 11:07

Max, it looks like your changes to the battlefield layout for cards has caused some issues. Once player has enough of a certain type of card it can end up being half/completely off screen, or it can appear behind another card type. See screenshot attached.
Layout issues.jpg
Layout problems

In the above image I'm being attacked by Yavimaya Ants and can't do anything about it because I can't click on it to target or assign blockers. Also, my Femeref Scouts seem to be trying to hide behind my CoP:Black (which was of no use to them of course).

Sorry if this is unrelated to your changes.
-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 Max mtg » 02 Mar 2013, 11:29

It's mine - coming from r19956.

Upd: Fixed in 19986
Last edited by Max mtg on 02 Mar 2013, 15:23, edited 2 times in total.
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 swordshine » 02 Mar 2013, 11:43

It seems etb triggers with targets do not work.
I Played a Angel of Despair, nothing happened. (I'm using r19975)
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby moomarc » 02 Mar 2013, 11:48

AI tried to cast Zuran Orb and the game froze, printing "AI failed to play Zuran Orb" to console indefinetely until I stopped the process. Nothing weird in play to explain it.
Zuran Orb fail.jpg
FAIL: Zuran Orb

Edit: Just tested in constructed and in quest again by putting the Orb in the AI's hand, but it was played just fine [-( :-s
-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 Sloth » 02 Mar 2013, 12:37

moomarc wrote:AI tried to cast Zuran Orb and the game froze, printing "AI failed to play Zuran Orb" to console indefinetely until I stopped the process. Nothing weird in play to explain it.
Zuran Orb fail.jpg

Edit: Just tested in constructed and in quest again by putting the Orb in the AI's hand, but it was played just fine [-( :-s
At least i've fixed problems like this causing infinite loops.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 02 Mar 2013, 14:16

moomarc wrote:Not sure what the issue is there, but I know when I last tested a plane I could start fine with a 2-card planar deck (the separate type, not deck section type).
Weird, maybe it has more to do with the deck issues I was having below. I only had 2 Planes in the deck (I thought), but we should still have an error message no matter what the issue is.
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 swordshine » 02 Mar 2013, 15:56

I can only attack one of my opponents in a multiplayer game
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 02 Mar 2013, 19:17

swordshine wrote:I can only attack one of my opponents in a multiplayer game
It toggles through all the opponents for me. Maybe this was fixed by Max reverting the stop commands in Inputs?
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 ttdic » 03 Mar 2013, 09:57

I cast the Extraplanar Lens in the forge-1.3.10-20130302.133833-1,but nothing happen.

When I cast this card in forge-1.3.9, it works.
ttdic
 
Posts: 46
Joined: 21 Jul 2012, 14:38
Has thanked: 9 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 03 Mar 2013, 10:29

ttdic wrote:I cast the Extraplanar Lens in the forge-1.3.10-20130302.133833-1,but nothing happen.

When I cast this card in forge-1.3.9, it works.
It aready works properly in SVN builds and will do in next snapshot as well.

That was a side effect of my experiment with inputs
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 ttdic » 03 Mar 2013, 10:56

Max mtg wrote:
ttdic wrote:I cast the Extraplanar Lens in the forge-1.3.10-20130302.133833-1,but nothing happen.

When I cast this card in forge-1.3.9, it works.
It aready works properly in SVN builds and will do in next snapshot as well.

That was a side effect of my experiment with inputs
I see thanks!
ttdic
 
Posts: 46
Joined: 21 Jul 2012, 14:38
Has thanked: 9 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 03 Mar 2013, 15:01

r20004

If you try to generate 1 color deck you get a popup saying it's not allowed (that's correct), but then Forge tries to continue starting the game anyway and crashes.

NPE | Open
java.lang.NullPointerException
at forge.game.GameNew.newGame(GameNew.java:158)
at forge.game.MatchController.startRound(MatchController.java:161)
at forge.gui.home.sanctioned.CSubmenuConstructed$7.doInBackground(CSubmenuConstructed.java:128)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
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 Max mtg » 03 Mar 2013, 15:44

friarsol wrote:r20004

If you try to generate 1 color deck you get a popup saying it's not allowed (that's correct), but then Forge tries to continue starting the game anyway and crashes.
It has been here for a very loooong time.
The best strategy would be to write some code that generates monocolored decks, just an adapted version of /Forge-stable/src/main/java/forge/deck/generate/Generate2ColorDeck.java - it must be very easy.
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 friarsol » 03 Mar 2013, 20:58

Max mtg wrote:It has been here for a very loooong time.
That's silly. We already have a warning there saying we can't handle 1 colored generated decks, why does it still try to continue to start the game if no deck was generated? (That's mostly a rhetorical question).
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 28 guests


Who is online

In total there are 28 users online :: 0 registered, 0 hidden and 28 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 28 guests

Login Form