It is currently 19 Jun 2025, 20:51
   
Text Size

Current Known Bugs list

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

Re: Current Known Bugs list

Postby Resonantg » 21 Nov 2009, 14:09

I done think I broke it.

Here's the new message and reinstalling the program has not helped so far.

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:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com


Unexpected end of file


Version:
MTG Forge -- official beta: 09/11/02, SVN revision: 65

Detailed error trace:
java.io.IOException: Unexpected end of file
at forge.NewDeckIO.read(NewDeckIO.java:210)
at forge.NewDeckIO.readFile(NewDeckIO.java:184)
at forge.NewDeckIO.<init>(NewDeckIO.java:61)
at forge.Gui_NewGame.<init>(Gui_NewGame.java:54)
at forge.Gui_NewGame.main(Gui_NewGame.java:130)
Or have I broken my Java engine?

Edit: I've noted that I get this error 2 times with the v1112 release, and only once with the v1108 release. The v1112 won't run, but the v1108 will then kick in and start but when I try to run a game, I get this.

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:
viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
mtgrares@yahoo.com

0

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 0
at forge.Gui_NewGame.getRandomDeck(Gui_NewGame.java:368)
at forge.Gui_NewGame.startButton_actionPerformed(Gui_NewGame.java:415)
at forge.Gui_NewGame$5.actionPerformed(Gui_NewGame.java:278)
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.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)
So I dunno what I did to it but now maybe I have to reload Java to my computer?
Resonantg
 
Posts: 172
Joined: 11 Oct 2009, 16:20
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby DennisBergkamp » 21 Nov 2009, 18:19

Strange. Definitely something related to the new deck files... I don't think it's your Java, but your Forge install might have messed up somehow.

What happens if you reinstall Forge (just redownload it if you don't have the RAR file anymore, then unpack in a fresh directory).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Resonantg » 21 Nov 2009, 18:30

Yep, reinstalled the works in a new folder, and found a broken deck file that I can't delete yet because I have to reboot to somehow shut it down. BTW, I'm working on a few new decks that should be fun.

I like theme decks, and happy I got it working again.
Resonantg
 
Posts: 172
Joined: 11 Oct 2009, 16:20
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Almost_Clever » 21 Nov 2009, 23:13

The rebel and mercenary searchers (Ramosian Sergeant, etc.) erroneously allow you to find a Nameless Inversion (it's an instant, not a permanent). The Nameless Inversion is put on the battlefield with the lands but can be essentially played for 1B from there as if it were in your hand.
A woman came up to me and said / "I'd like to poison your mind / With wrong ideas that appeal to you / Though I am not unkind."
User avatar
Almost_Clever
Tester
 
Posts: 345
Joined: 15 Jan 2009, 01:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby freestorageaccount » 22 Nov 2009, 01:24

Not a bug, but the AI should be better at blocking first-strike and double-strike creatures. It shouldn't be surprised when you distribute the combat damage in an advantageous way.

EDIT: It would also be cool if the computer took advantage of global effects such as Mass Hysteria/Concordant Crossroads, but I shouldn't demand that much.
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.

The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
User avatar
freestorageaccount
 
Posts: 246
Joined: 21 Sep 2009, 01:42
Location: Hilbert's Hotel
Has thanked: 1 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Almost_Clever » 22 Nov 2009, 20:33

I still have to close Forge after completing a draft before opening the Deck Editor (otherwise the just completed draft is not available in the list of decks). The new problem is that only the last draft is available -- all of the previous drafts are gone.
A woman came up to me and said / "I'd like to poison your mind / With wrong ideas that appeal to you / Though I am not unkind."
User avatar
Almost_Clever
Tester
 
Posts: 345
Joined: 15 Jan 2009, 01:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby freestorageaccount » 23 Nov 2009, 00:54

Funeral Charm (and possible Piracy Charm, if it's been implemented) has another bug -- it gives +1/-1 instead of +2/-1.

Removing Wonder or similar cards from the computer's graveyard does work correctly, though (I thought it wouldn't because the game appears to treat its going to the graveyard as a triggered ability). This isn't a bug; I just wish I could give you guys a cookie for it. :)

EDIT: No, I was wrong about the Charm. Apparently, I can't add today. :lol:

EDIT2: Perhaps we can teach the AI to use Tendrils of Corruption and other variable-damage/effect cards only when it can help kill a creature? Frequently it comes up one point short when trying to destroy my men, and sometimes it casts the card without any swamps in play at all (using a Mox Jet)!
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.

The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
User avatar
freestorageaccount
 
Posts: 246
Joined: 21 Sep 2009, 01:42
Location: Hilbert's Hotel
Has thanked: 1 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Rob Cashwalker » 23 Nov 2009, 14:20

Tendrils of Corruption (and other variable damage) should work as expected. The X is calculated in the AI and upon resolution. So if X isn't big enough to kill the creature, it shouldn't get played at all. Additionally, it counts Swamps, while the AI may cast it using non-land mana, the X is definitely based on Swamps.

Unless Tendrils is still hard-coded, and hasn't been updated to the spDamage keyword. (I thought it was a new addition with my spDamage code)
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Current Known Bugs list

Postby DennisBergkamp » 23 Nov 2009, 16:06

Tendrils is still hardcoded :shock:
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Rob Cashwalker » 23 Nov 2009, 17:29

DennisBergkamp wrote:Tendrils is still hardcoded :shock:
Yeah, that would do it...

When I submitted the new spDamage keyword, I reference Tendrils in the post done with keywords. I also included a CardFactory with the hard-coded stuff commented out. This was just as you had re-worked the Factory into mini-Factories and before I had dipped into the SVN.

At what point should we go ahead and flat-out remove blocks of now-redundant, commented code?

Like the hasKeyword revision - that replaced at least a dozen "shouldKeyword" blocks, which I commented out before syncing with the SVN. I figure by some point, the hasKeyword will prove to be functional and the commented code removed. (a couple hundred lines or 3 kB)
Likewise, Each time I post a keyword, I try to include all existing cards that can be replaced with keyword-only versions. Their code needs to be commented so that the keyword versions can be tested at large. Once it has been out there for a couple revisions, the commented code should be removed for file size considerations.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Current Known Bugs list

Postby DennisBergkamp » 23 Nov 2009, 18:34

I'll go through some of the CardFactories and remove the commented out code.

Another major bug I've noticed is that Planeswalkers have the Legendary type (I actually didn't add this to Nissa Revane, I think currently it's possible to have multiple Nissa's in play)... I'll remove this and add code that will destroy planeswalkers if there are multiple of the same subtype in play. This is necessary anyway if I decide to add Ajani Vengeant.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby Almost_Clever » 24 Nov 2009, 20:47

Computer can repeatedly cast same Strangling Soot (not with flashback, it casts it from the graveyard). I was able to repeat this by testing with the computer playing a deck of 6 Swamps and a Strangling Soot.
A woman came up to me and said / "I'd like to poison your mind / With wrong ideas that appeal to you / Though I am not unkind."
User avatar
Almost_Clever
Tester
 
Posts: 345
Joined: 15 Jan 2009, 01:46
Has thanked: 0 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby freestorageaccount » 25 Nov 2009, 04:42

Something strange happened . . . my Timetwister somehow landed in the computer's graveyard! Unfortunately, I just won the game without thinking to record what was going on at the time or why I checked. Can anyone reproduce this?
-- freestorageaccount (= accurate forge notes) This is not a subliminal message. At least for the prosilver theme.

The Great Wall of Bugs. Gando, you will not be forgotten.
And a chip off the old block.
User avatar
freestorageaccount
 
Posts: 246
Joined: 21 Sep 2009, 01:42
Location: Hilbert's Hotel
Has thanked: 1 time
Been thanked: 0 time

Re: Current Known Bugs list

Postby mtgrares » 25 Nov 2009, 21:17

DennisBergkamp wrote:Tendrils is still hardcoded :shock:
Yeah I added Tendrils. I thought it was cool that it was a X spell like Fireball but didn't require X mana.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: Current Known Bugs list

Postby Rob Cashwalker » 26 Nov 2009, 03:55

I don't know if this has been fixed or reported yet:

While paying for a mana cost for a spell, I was able to repeatedly click on a pile of 3 swamps to pay for a 4B cost. The lands tapped, but I could keep clicking.

I couldn't pay for the next spell.

This is running from the SVN version I downloaded with CardFactory revision 56.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 71 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form