It is currently 14 Aug 2025, 18:15
   
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 slapshot5 » 16 Jan 2011, 17:18

r5231:

I added Su-Chi with the following trigger:
Code: Select all
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigAddMana | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, add 4 to your mana pool.
SVar:TrigAddMana:AB$Mana | Cost$ 0 | Produced$1 | Amount$ 4
I hit it with Bone Splinters to trip the trigger. It put two triggers on the stack.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: SVN Bug Reports

Postby jeffwadsworth » 16 Jan 2011, 17:59

slapshot5 wrote:r5231:

I added Su-Chi with the following trigger:
Code: Select all
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigAddMana | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, add 4 to your mana pool.
SVar:TrigAddMana:AB$Mana | Cost$ 0 | Produced$1 | Amount$ 4
I hit it with Bone Splinters to trip the trigger. It put two triggers on the stack.

-slapshot5
Hellfish is going to look at this, I believe. viewtopic.php?f=52&t=3819&start=30
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 Chris H. » 16 Jan 2011, 18:50

inseikouen13 wrote:Generally new to forge and to posting in threads but here goes. My coding boyfriend has no idead how to fix this so i'm trying you guys as you deal with it more and hopefully it's posted in the right place.

I'm trying to run the latest stable forge (12-22) on a macbook black, i can play standard games, barely, but i cannot run the quest at all it comes up with a java heap error of not enough memory.

Already went into the java control preferences and set both the 32 and 64 bit version to 1028mb heap but to no avail.

any clues? :?:
`

I have used an Apple iMac to play and help develop the forge game over the last few years. Using HQ card pictures can cause the java heap space bug. Move the ".jpg" picutes found in the /pics/ folder to some other folder.

Then use the "New Game" -> "Menu" -> "Download Card LQ Pictures" command to download the low quality pictures. This should solve most problems.

There is another issue to consider. As a quest progresses additional cards will get added to the quest card pool. These cards and other quest related material are stored in a file named "questData" which is located in the /res/quest/ folder.

Try moving your questData file to a different and safe location as a backup. Then start a new quest. This will reduce the size of questData file to a fairly small number.

Launch forge and play a few quests matches. If so, the problem was your questData file had become too large. If not, then you may be using the larger more memory intensive HQ card pictures rather than LQ pictures.

Good luck and let us know how things turn out.

You mention that you can barely play standard, non-quest based matches and this leads me to believe that the problem you are experienced is because you are using the larger HQ mode pictures. I had to give up on the large HG pictures a few weeks ago myself. (:
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 Hellfish » 16 Jan 2011, 19:21

slapshot5 wrote:r5231:

I added Su-Chi with the following trigger:
Code: Select all
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigAddMana | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, add 4 to your mana pool.
SVar:TrigAddMana:AB$Mana | Cost$ 0 | Produced$1 | Amount$ 4
I hit it with Bone Splinters to trip the trigger. It put two triggers on the stack.

-slapshot5
Works fine here, Bone Splinters or otherwise.Let me know if you run into it again.
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 Jaedayr » 16 Jan 2011, 19:48

r5237

Steam Catapult from the White Soldier theme does not yet exist in Forge.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: SVN Bug Reports

Postby Jaedayr » 16 Jan 2011, 20:36

r5232

In Deck Editor I filtered all types, white only, then clicked the stats column to sort. It looked a little strange with some cards having blank stats mixed in with those with numbers. (sample section from editor, sorry they don't line up)

1 Kor Spiritdancer 1 W white Creature - Kor Wizard 0/2 R
1 Lance W white Enchantment Aura U
1 Land Tax W white Enchantment U
1 Landbind Ritual 3 W W white Sorcery U
1 Mesa Enchantress 1 W W white Creature - Human Druid 0/2 R

Clicking the stats column the second time without clicking another column caused the following.

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 java.lang.String.compareTo(Unknown Source)
   at java.lang.String.compareTo(Unknown Source)
   at forge.TableSorter.compare(TableSorter.java:98)
   at forge.TableSorter.compare(TableSorter.java:1)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at forge.TableModel.sort(TableModel.java:268)
   at forge.TableModel$3.mousePressed(TableModel.java:236)
   at java.awt.AWTEventMulticaster.mousePressed(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.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 Fnoed » 16 Jan 2011, 22:31

The sort by stats NPE should be fixed in r5252.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby Chris H. » 16 Jan 2011, 23:55

Fnoed wrote:The sort by stats NPE should be fixed in r5252.
`
Thank you.

I have experienced this bug on several occasions myself.
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 Chris H. » 17 Jan 2011, 02:13

Jaedayr wrote:r5196

I have noticed a few cards, among them Armadillo Cloak, now have repeated text in the right side info box during a game. Since the txt does not appear to have changed for a long time I wonder if a recent change somewhere else is causing this?

Code: Select all
Enchant creature
Whenever enchanted creature deals damage, you gain that much life.

Enchanted creature gets +2/+2 and has trample.
Enchanted creature gets +2/+2 and has trample.
`
I was able to fix most of the auras impacted by this issue. Lucky for me, there was very little new coding needed, mainly editing the card files. :D I will probably finish the work tomorrow.

And thank you Jaedayr for the heads up and your recent submissions. :D They are appreciated.
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 Corwin72 » 17 Jan 2011, 02:32

build 5254
modular counter from Arcbound Slith not showing on Sanctum Gargoyle after the gargoyle was targeted.
Everflowing Chalice not receiving counters after being kicked.
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 friarsol » 17 Jan 2011, 03:47

r5263
I was trying out the new Quest UI and it looks like it's not properly grabbing the Developer Mode state or at least not setting that checkbox. Anytime I play in the new quest UI, the next time I need to test something my DevMode has been disabled.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby slapshot5 » 17 Jan 2011, 04:01

Chris H. wrote:
Fnoed wrote:The sort by stats NPE should be fixed in r5252.
`
Thank you.

I have experienced this bug on several occasions myself.
I had seen this too. Never narrowed it down though. I had several crashes. Hopefully they were all fixed by this.

Thanks!
-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: SVN Bug Reports

Postby friarsol » 17 Jan 2011, 04:14

Corwin72 wrote:build 5254
modular counter from Arcbound Slith not showing on Sanctum Gargoyle after the gargoyle was targeted.
Everflowing Chalice not receiving counters after being kicked.
Modular should be fixed. And Chalice's ETB effect was mistakenly removed when upgrading things to Mana. This is replaced now too (with the added bonus of not hitting the stack since it shouldn't)
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 » 17 Jan 2011, 04:49

You are my hero Sol.
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 Fnoed » 17 Jan 2011, 05:09

Dev mode state now saved in r5279.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: onessals and 22 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form