It is currently 07 Nov 2025, 01:42
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby slowe » 03 Mar 2013, 23:57

There's an issue with effects that let you search the library: sometimes the search dialog comes up blank (see attached image). When this happens, there is no way to select a card, even via the keyboard. If the search is optional (you can "fail to find"), you can X out of it; otherwise you can't move forward and have to kill Forge.
Attachments
forge_search_bug.png
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 04 Mar 2013, 04:53

I still encounter infinite loops when playing cards like Oath of Lim-Dul and Delaying Shield(showed in Eclipse), though the ability resolves normally.
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 04 Mar 2013, 05:45

friarsol wrote:
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).
That means "do it yourself"
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 7543021 » 04 Mar 2013, 10:49

if a Master Biomancer 's power is -1 creatures can get a -1-1 counter when they enter the battlefield. is that a bug?
7543021
 
Posts: 14
Joined: 16 Feb 2013, 08:54
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby myk » 04 Mar 2013, 11:02

There seems to have been an extra refresh/repaint introduced somewhere recently such that the battlefield is getting repainted too often. When a number of cards get tapped simultaneously (such as with Sleep), the UI slows to a crawl as each tap action is individually refreshed and animations that used to be smooth are now jerky.
myk
 
Posts: 439
Joined: 17 Jan 2013, 02:39
Location: California
Has thanked: 38 times
Been thanked: 57 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 04 Mar 2013, 13:09

7543021 wrote:if a Master Biomancer'power is -1 creatures can get a -1-1 counter when they enter the battlefield. is that a bug?
It should never convert to -1/-1 counters. 0 or less +1/+1 counters should be treated as 0. It's the same idea as dealing negative damage.
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 FabioFLX » 05 Mar 2013, 10:02

On latest snapshot, I cast a Burning-Tree Emissary and then a Lightning Mauler using the mana from the emissary.
When I choose to use the soulbond ability of the mauler with the emissary the mauler gets haste but the emissary does not.
Thank you.

EDIT: Also, in deck editor, when I search for certain words in the text field no cards are shown when the word is the name of an ability (ex: extort, soulbond, etc.)
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 Sloth » 05 Mar 2013, 12:08

FabioFLX wrote:On latest snapshot, I cast a Burning-Tree Emissary and then a Lightning Mauler using the mana from the emissary.
When I choose to use the soulbond ability of the mauler with the emissary the mauler gets haste but the emissary does not.
Thank you.
Did you control another creature other than these two?

Because this has been fixed yesterday:
muppet wrote:right try again after my last inept attempt. When I play Wolfir Silverheart with three creatures in play I get a select box to choose the one to pair it with. But when I choose one that isn't the first one in the box it still pairs with the first one. The first time i thought i had just misclicked but pretty sure now, it happened again when i was being careful what i was pressing.

Might be all soulbond things . Stonewright does the same.
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 FabioFLX » 05 Mar 2013, 13:41

Sloth wrote:[...]
Did you control another creature other than these two?
[...]
I don't remember at the moment. I'll try some new games to replicate the issue and I'll write about asap.

Right now I found another strange behaviour. I played an Aurelia's Fury during the upkeep of the A.I. and the A.I. tried to counter it by sacrificing a Frontline Medic.
So the game hanged showing the medic counter ability and the fury damage effect in the stack tab.
Prompt tab says it's the upkeep phase of the A.I., that there are 2 things in the stack to resolve and that I have the priority. It also displays an "OK" button but it does nothing and if I click it it just remains there and I can't go on with the game.
Last edited by FabioFLX on 05 Mar 2013, 13:56, edited 2 times 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 Agetian » 05 Mar 2013, 13:44

I've encountered a NPE at the following location in the latest revision (r20099) of SplitCards, was kind of random (didn't happen again under the seemingly similar circumstances) - still, worth putting a precaution in the form of a null check or something, I think:

forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:63)

I wasn't sure if it's just necessary to test that ai isn't null and, if it is, return from the function, so I didn't dare to fix this one myself, please assist if possible. Also, I'm not sure if it happens in trunk or only in the SplitCards branch, but it seems to be rather unrelated to the split cards as such (and the AI wasn't trying to play one anyway).

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Bug Reports (snapshot builds)

Postby 7543021 » 05 Mar 2013, 14:34

[url]Sigarda, Host of Herons[/url]'s ability seems didn't work. my opponent can still make me to sacrifice permanent
7543021
 
Posts: 14
Joined: 16 Feb 2013, 08:54
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Sloth » 05 Mar 2013, 14:47

Agetian wrote:I've encountered a NPE at the following location in the latest revision (r20099) of SplitCards, was kind of random (didn't happen again under the seemingly similar circumstances) - still, worth putting a precaution in the form of a null check or something, I think:

forge.game.ai.ComputerUtilMana.payManaCost(ComputerUtilMana.java:63)

I wasn't sure if it's just necessary to test that ai isn't null and, if it is, return from the function, so I didn't dare to fix this one myself, please assist if possible. Also, I'm not sure if it happens in trunk or only in the SplitCards branch, but it seems to be rather unrelated to the split cards as such (and the AI wasn't trying to play one anyway).
A longer error trace would be helpful.

7543021 wrote:[url]Sigarda, Host of Herons[/url]'s ability seems didn't work. my opponent can still make me to sacrifice permanent
More details please.
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 myk » 05 Mar 2013, 16:24

FabioFLX wrote:EDIT: Also, in deck editor, when I search for certain words in the text field no cards are shown when the word is the name of an ability (ex: extort, soulbond, etc.)
fixed in r20105. Thanks to all who reported this one!
myk
 
Posts: 439
Joined: 17 Jan 2013, 02:39
Location: California
Has thanked: 38 times
Been thanked: 57 times

Re: Bug Reports (snapshot builds)

Postby 7543021 » 06 Mar 2013, 01:00

This is how it ends when ai cast Consuming Vapors to me when i have Sigarda, Host of Herons on the field. It pops up a messagebox and i have no choice except to sacrifice it. I also tried some creatures like Phyrexian Obliterator and emraku,their ability can also trigger me sacrifice my permanents
Attachments
无标题.png
Last edited by Chris H. on 06 Mar 2013, 02:31, edited 1 time in total.
Reason: removed un-needed tags
7543021
 
Posts: 14
Joined: 16 Feb 2013, 08:54
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 06 Mar 2013, 06:20

A really weird thing started happening quite a while ago, I wasn't sure if it was just me or something 'cause no one has reported it yet, but I tried updating my Java or even downgrading to JRE 6 and it still seems to happen, kind of arbitrarily - when I start a match (this at least happens in Constructed when starting a match with random decks), every once in a while (maybe once in 30-40 matches, sometimes more or less commonly) the game will behave weirdly as if it would start twice - that is, I get two popups for whether I want to play or draw first, I have to click both and then I get to draw cards twice in a succession, sometimes the newly drawn cards replace the old ones and sometimes I get a ton of cards (14, I guess) from two draws. Also, the AI names are different in each initial popup dialog box. I can't determine what this is based on - most games just start completely normally but some start like that, and I have to quit and start a new game. This has been happening for at least the last hundred revisions (actually, well since the moment I've begun working with Forge again and installed a fresh SVN revision). Seems to be an unpredictable and rare thing and I'm not sure if anyone else is experiencing it... It hasn't happened to me for a while (at least all my test matches today went smoothly) but it did happen to me yesterday. if it's just me, do you have any idea why this might be happening to me?

- Agetian
Agetian
Programmer
 
Posts: 3490
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 54 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 54 users online :: 0 registered, 0 hidden and 54 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 54 guests

Login Form