It is currently 17 Aug 2025, 19:38
   
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 Sloth » 28 May 2011, 12:55

Chris H. wrote:
Sloth wrote:I just tried it and it does not have what I need. I want to perform a search for files that contain multiple expressions. Example: "ChangesZone" and "Self".
`
In an effort to make myself useful I used the built-in OS searching ability on my Mac. I include a screenshot showing the search criteria and also a list of the card files that match.

There are 47 cards that contain all 5 of the contents that I am searching for, but many of these cards are likely to have more that just a single trigger.

list of cards that match | Open
abduction.txt
admonition_angel.txt
akoum_battlesinger.txt
avenger_of_zendikar.txt
bestial_fury.txt
bojuka_brigand.txt
carrier_pigeons.txt
fatal_attraction.txt
goblin_pyromancer.txt
grave_titan.txt
graypelt_hunter.txt
hada_freeblade.txt
hagra_diabolist.txt
halimar_excavator.txt
haru_onna.txt
heightened_awareness.txt
highland_berserker.txt
icatian_moneychanger.txt
joraga_bard.txt
kazandu_blademaster.txt
kazuul_warlord.txt
kemuri_onna.txt
kiri_onna.txt
llanowar_sentinel.txt
makindi_shieldmate.txt
massacre_wurm.txt
murasa_pyromancer.txt
nikko_onna.txt
nimana_sell_sword.txt
noxious_ghoul.txt
ondu_cleric.txt
oran_rief_survivalist.txt
primeval_titan.txt
sarcomancy.txt
seascape_aerialist.txt
serum_tank.txt
sleeping_potion.txt
stormfront_riders.txt
suleimans_legacy.txt
sun_titan.txt
tajuru_archer.txt
talus_paladin.txt
tuktuk_grunts.txt
turntimber_ranger.txt
umara_raptor.txt
venarian_gold.txt
yuki_onna.txt

`
I found two more i've missed. Thanks for the list Chris.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby friarsol » 28 May 2011, 19:32

Looks like Sunburst isn't working right now. I tried to fix it, but it didn't seem to work the way I was expecting it to.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby friarsol » 29 May 2011, 15:25

friarsol wrote:Looks like Sunburst isn't working right now. I tried to fix it, but it didn't seem to work the way I was expecting it to.
Oh apparently I broke this the other day. But it's fixed now, along with multikicker.
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. » 29 May 2011, 15:33

friarsol wrote:
friarsol wrote:Looks like Sunburst isn't working right now. I tried to fix it, but it didn't seem to work the way I was expecting it to.
Oh apparently I broke this the other day. But it's fixed now, along with multikicker.
`
Thank you Sol. :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 » 29 May 2011, 17:48

Here's a bug related to the multi-blocking code:

Attack with a 3/4 Razor Golem. AI has 2 Odious Trow and 1 Kavu Climber untapped. AI decides he is going to block with the Kavu Climber as the Leader (it appears) with both Trows as companions. So I end up being blocked with three creatures, but Forge is displaying that the Climber is blocking twice. So it appears twice in the Combat Window, and when I have to assign damage it appears twice there as well.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Sloth » 29 May 2011, 17:53

friarsol wrote:Here's a bug related to the multi-blocking code:

Attack with a 3/4 Razor Golem. AI has 2 Odious Trow and 1 Kavu Climber untapped. AI decides he is going to block with the Kavu Climber as the Leader (it appears) with both Trows as companions. So I end up being blocked with three creatures, but Forge is displaying that the Climber is blocking twice. So it appears twice in the Combat Window, and when I have to assign damage it appears twice there as well.
Mmh strange, was the AI close to death (less than 7 life)?
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby friarsol » 29 May 2011, 18:04

Sloth wrote:Mmh strange, was the AI close to death (less than 7 life)?
Nah. It was at like 12 and I was at like... 18. If I notice it again I'll jot down more info for you.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Sloth » 29 May 2011, 18:50

friarsol wrote:
Sloth wrote:Mmh strange, was the AI close to death (less than 7 life)?
Nah. It was at like 12 and I was at like... 18. If I notice it again I'll jot down more info for you.
I found it. I used countinue instead of break in a for loop.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby Corwin72 » 31 May 2011, 18:11

Has there been any update for importing into quest mode?
This was broken on the 10th and I have not heard any update on this.
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 Hellfish » 31 May 2011, 18:43

There is a problem with drafting in r9120. I tried to play a NPH/MBS/SOM draft and all I got was an MBS and a SOM pack, nothing else.
EDIT: Welp, duh, NPH is missing a pack definition file. I just copied over MBS file and things worked.

Imprint does not seem to be working for Phyrexian Ingester. I imprinted an opponents Tangle Hulk and the Ingester is still 3/3.

Consecrated Sphinx needs some tweaking. I gained control of it using Geth, Lord of the Vault and it triggered on me drawing a card, not the AI.
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 » 31 May 2011, 20:15

r9116
The Wolf tokens created by Wolfbriar Elemental come into play then die.

| Open
Name:Wolfbriar Elemental
ManaCost:2 G G
Types:Creature Elemental
Text:no text
PT:4/4
K:Multikicker G
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield for each time it was kicked.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ X | TokenName$ Wolf | TokenTypes$ Creature,Wolf | TokenOwner$ You | TokenColors$ Green | TokenPower$ 2 | TokenToughness$ 2
SVar:X:Count$TimesKicked
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wolfbriar_elemental.jpg
SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/118.jpg
End
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 jeffwadsworth » 31 May 2011, 20:34

Corwin72 wrote:r9116
The Wolf tokens created by Wolfbriar Elemental come into play then die.

| Open
Name:Wolfbriar Elemental
ManaCost:2 G G
Types:Creature Elemental
Text:no text
PT:4/4
K:Multikicker G
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield for each time it was kicked.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ X | TokenName$ Wolf | TokenTypes$ Creature,Wolf | TokenOwner$ You | TokenColors$ Green | TokenPower$ 2 | TokenToughness$ 2
SVar:X:Count$TimesKicked
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wolfbriar_elemental.jpg
SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/118.jpg
End
R.9121 I tested the other multikickers and none of them work correctly.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: SVN Bug Reports

Postby Jaedayr » 31 May 2011, 22:45

Corwin72 wrote:Has there been any update for importing into quest mode?
This was broken on the 10th and I have not heard any update on this.
r9121

Along the same lines, I get the following when I try to export from quest mode.

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


forge.deck.Deck


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_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.io.NotSerializableException: forge.deck.Deck
   at java.io.ObjectOutputStream.writeObject0(Unknown Source)
   at java.io.ObjectOutputStream.writeObject(Unknown Source)
   at forge.Gui_Quest_DeckEditor_Menu.exportDeck(Gui_Quest_DeckEditor_Menu.java:248)
   at forge.Gui_Quest_DeckEditor_Menu.access$2(Gui_Quest_DeckEditor_Menu.java:233)
   at forge.Gui_Quest_DeckEditor_Menu$4.actionPerformed(Gui_Quest_DeckEditor_Menu.java:224)
   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.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.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)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Jaedayr » 31 May 2011, 23:06

r9121

Got the following during Computer EndCombat Phase.

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


ComputerUtil : payManaCost() cost was not paid for Blaze


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_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.RuntimeException: ComputerUtil : payManaCost() cost was not paid for Blaze
   at forge.ComputerUtil.payManaCost(ComputerUtil.java:685)
   at forge.card.spellability.Cost_Payment.payComputerCosts(Cost_Payment.java:622)
   at forge.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:82)
   at forge.ComputerUtil.playCards(ComputerUtil.java:44)
   at forge.ComputerAI_General.playCards(ComputerAI_General.java:40)
   at forge.ComputerAI_General.main2(ComputerAI_General.java:34)
   at forge.ComputerAI_Input.think(ComputerAI_Input.java:67)
   at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:33)
   at forge.GuiInput.setInput(GuiInput.java:29)
   at forge.GuiInput.update(GuiInput.java:23)
   at java.util.Observable.notifyObservers(Unknown Source)
   at java.util.Observable.notifyObservers(Unknown Source)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.Phase.nextPhase(Phase.java:360)
   at forge.GuiDisplay4$26.actionPerformed(GuiDisplay4.java:757)
   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.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)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby friarsol » 31 May 2011, 23:46

jeffwadsworth wrote:
Corwin72 wrote:r9116
The Wolf tokens created by Wolfbriar Elemental come into play then die.
R.9121 I tested the other multikickers and none of them work correctly.
R 9122
I don't think sloth changed anything here, but I just tested Apex Hawks, Gnarlid Pack, Everflowing Chalice, and Wolfbriar Elemental. And the Elemental was the only one that had an issue, so which "other multikickers" didn't work for you Jeff?
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 7 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form