Page 3 of 3

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 16 Mar 2010, 02:15
by Chris H.
lm01 wrote:AI still uses Mishra's Factory to pump his other creatures while players can't do the same, please check it.
`
I think that I have fixed the Mishra's Factory problem. It is only pumping Assembly-Worker type creatures and is doing it only in Main Phase 1. In my test I disovered that the Assembly-Worker was also pumping all creature types … so I applied the same fix.

I changed the chooseTargetAI() --> Card getAttacker() code to this:

Code: Select all
public Card getAttacker() {
   //target creature that is going to attack
   Combat c = ComputerUtil.getAttackers();
   CardList att = new CardList(c.getAttackers());
   att = att.getType("Assembly-Worker");    // Should return only Assembly-Workers
   att.remove(card);
   att.shuffle();

   if(att.size() != 0 &&
      (AllZone.Phase.getPhase().equals(Constant.Phase.Main1)) &&
      CardFactoryUtil.canTarget(card, att.get(0))) return att.get(0);
   else return null;
`
I will merge this into the SVN tomorrow. :)

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 16 Mar 2010, 10:39
by LutherBlissett
Macbook Pro
OS 10.5.8

and I get this message:
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
mtgerror@yahoo.com


java.lang.String.isEmpty()Z


Version:
Forge -- official beta: $Date: 2010-02-22 10:48:25 -0600 (Mon, 22 Feb 2010) $, SVN revision: $Revision: 415 $

Detailed error trace:
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at forge.Ability_Mana.<init>(Ability_Mana.java:57)
at forge.CardFactory$304.<init>(CardFactory.java:14316)
at forge.CardFactory.getCard2(CardFactory.java:14316)
at forge.CardFactory.getCard(CardFactory.java:160)
at forge.CardFactory.<init>(CardFactory.java:68)
at forge.AllZone.<clinit>(AllZone.java:21)
at forge.Gui_NewGame.main(Gui_NewGame.java:136)


and it doesn't work!! :(

EDIT: Oh I see this is noted and fixed for the next BETA. Question to Macusers... will this not be a problem if/when I upgrade to Snow Leopard... I've got one here but been loathed to use it since I need lots of AV software that may/may not be all compatible.

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 16 Mar 2010, 10:55
by Chris H.
LutherBlissett wrote:EDIT: Oh I see this is noted and fixed for the next BETA. Question to Macusers... will this not be a problem if/when I upgrade to Snow Leopard... I've got one here but been loathed to use it since I need lots of AV software that may/may not be all compatible.
`
The current Forge beta works on my iMac OK. I have Snow Leopard installed and Snow Leopard uses Java 1.6. Earlier versions of Mac OS are limited to Java 1.5.

Someone found a way to install Java 1.6 (Mac OS Tiger? or Leopard?) but it was through a third party product and I can not remember the details.

You might want to consider buying an exterior HD and try installing Snow Leopard on the exterior HD. You can then boot from the exterior HD with Snow Leopard and try out your AV software and would still have your earlier OS installed on the interior HD. Best of both worlds scenario. :D

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 16 Mar 2010, 15:03
by lm01
Thanks Chris :)
Haven't had much time to test this version, if I notice something important I'll keep in touch.

Isochron Scepter isn't working with Echoing Truth (it asks to pay its mana cost after activation and target)

PS:
Thank you all for all the cards added from the requests =D>
Specially red X, black resurrects and some artifatcs

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 16 Mar 2010, 23:03
by LutherBlissett
Chris H. wrote:You might want to consider buying an exterior HD and try installing Snow Leopard on the exterior HD. You can then boot from the exterior HD with Snow Leopard and try out your AV software and would still have your earlier OS installed on the interior HD. Best of both worlds scenario. :D
[facepalm] What an awesome idea! Thanks Chris!

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 17 Mar 2010, 11:29
by Hamletchickencrisis
Giant Strength is bugged and has been through every permutation of Forge I have played so far.

What happens is that when trying to cast it it skips the "choose target creature" part and just goes straight to the pay mana part and then, bizarrely, poofs into nowhere as if it has been removed from game but doesn't appear in the removed pile.

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 17 Mar 2010, 12:51
by Chris H.
Hamletchickencrisis wrote:Giant Strength is bugged and has been through every permutation of Forge I have played so far.

What happens is that when trying to cast it it skips the "choose target creature" part and just goes straight to the pay mana part and then, bizarrely, poofs into nowhere as if it has been removed from game but doesn't appear in the removed pile.
`
Thank you for reporting the bug. I, too had noticed the same thing several weeks ago.

There is a good chance that the existing enchantment aura code will be changed into an enchantment aura keyword. Converting Giant Strength from a coded card object to a card implemented via keyword would likely fix this bug.

The planned enchantment aura keyword would also allow additional enchantment aura cards to be added with just a few lines of text added to the cards.txt file. :D

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 17 Mar 2010, 17:01
by DennisBergkamp
I've just fixed Giant Strength for now (as it turned out the code for it never existed).

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 17 Mar 2010, 17:26
by Chris H.
DennisBergkamp wrote:I've just fixed Giant Strength for now (as it turned out the code for it never existed).
`
Turns out that Onyx Goblet also did not exist in our source code. #-o

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 17 Mar 2010, 18:16
by Rob Cashwalker
that's because it should use the abLoseLifeTgt keyword.

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 20 Mar 2010, 05:44
by lm01
Just noticed on version 03-13 there was a problem with Ball Lightning.
It doesn't go to graveyard at end of turn.
Don't know if you have fixed it on the new version, haven't checked.

Re: Forge 03/13 (Unofficial Beta version)

PostPosted: 20 Mar 2010, 07:12
by DennisBergkamp
Yup, it's fixed for the latest beta.