Testing the combat system
by Incantus
Moderator: CCGHQ Admins
Testing the combat system
by Incantus » 07 Jun 2008, 15:20
I think Incantus can handle most complicated combat restrictions and requirements (see rule 500.4 - http://yawgatog.com/resources/magic-rules/#R500.4). However, it's impossible to know without testing a few weird situations. So it would be cool if people could post some examples (as long as none involve blocking more than one creature - Incantus can't handle that yet).
Re: Testing the combat system
by Huggybaby » 07 Jun 2008, 19:32
I haven't made the new version break yet, seems very stable.
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 702 times
- Been thanked: 595 times
Re: Testing the combat system
by cort » 07 Jun 2008, 20:47
Just had another crash after using Rampant Growth, after i click on the land in my library and hit Enter - probably due to the fact that the land card enters the game allready tapped.
I have attached the crashlog and replay.
I have attached the crashlog and replay.
- Attachments
-
- Incantus-win.zip
- (5.11 KiB) Downloaded 727 times
The Iceman Cometh
-
cort - Posts: 10
- Joined: 06 Jun 2008, 19:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by cort » 07 Jun 2008, 21:28
I managed to replicate the crash that occurs when using Blaze. It's a long replay because it took some time to get it into play.
- Attachments
-
- Incantus-win.zip
- (9.11 KiB) Downloaded 711 times
The Iceman Cometh
-
cort - Posts: 10
- Joined: 06 Jun 2008, 19:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by Incantus » 07 Jun 2008, 22:12
Yeah, currently all enters into play replacement effects are broken. Hope to fix that next (they used to work until I implemented ordering cards that come into play at the same time).cort wrote:... probably due to the fact that the land card enters the game allready tapped.
Re: Testing the combat system
by cort » 08 Jun 2008, 20:35
Got another crash when trying to put into play Cho-Manno, Revolutionary while Ascendant Evincar was into play. Probably a conflict between 'Prevent all damage' and 'Nonblack creatures get -1/-1'.
- Attachments
-
- Incantus-win.zip
- (3.96 KiB) Downloaded 713 times
The Iceman Cometh
-
cort - Posts: 10
- Joined: 06 Jun 2008, 19:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by Incantus » 08 Jun 2008, 22:07
Thanks for catching this. It was a bug with cards that have replacement effects. I've put a new version up on the stickied download page.
Re: Testing the combat system
by staggerwingjtstw » 09 Jun 2008, 09:58
I got a crash when I played a Hurricane for x=8 and my opponent's life was 8, giving me a win.
I got a second crash going from upkeep to draw. I'm not sure what caused it. I was trying out a deck that has some more unique abilities and keywords.
[Edit} Ok, I've re-uploaded the rar to include the game replay file
I got a second crash going from upkeep to draw. I'm not sure what caused it. I was trying out a deck that has some more unique abilities and keywords.
[Edit} Ok, I've re-uploaded the rar to include the game replay file
- Attachments
-
- Incantus.rar
- (2.46 KiB) Downloaded 780 times
-
- Incantus.rar
- 1st Crash
- (963 Bytes) Downloaded 763 times
Last edited by staggerwingjtstw on 10 Jun 2008, 17:07, edited 2 times in total.
I like being bad... it makes me happy...
-
staggerwingjtstw - Posts: 181
- Joined: 31 May 2008, 18:03
- Has thanked: 3 times
- Been thanked: 1 time
Re: Testing the combat system
by The Scientist » 09 Jun 2008, 10:46
try to include the game.replay file.
For example, it would help for the second crash to see what cards in play were at the time of the crash.
For example, it would help for the second crash to see what cards in play were at the time of the crash.
- The Scientist
- Posts: 94
- Joined: 05 Jun 2008, 07:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by cort » 11 Jun 2008, 19:24
Software crashes after clicking on Condemn when there are no creatures into play.
Also, I have one minor request. Could you aplly an offset to the opponent's cards, because when using right click on the leftmost card 1/5 of the card is not visible (like in attached picture).
Also, I have one minor request. Could you aplly an offset to the opponent's cards, because when using right click on the leftmost card 1/5 of the card is not visible (like in attached picture).
- Attachments
-
- Incantus-win.zip
- (2.03 KiB) Downloaded 832 times
Last edited by cort on 12 Jun 2008, 07:46, edited 1 time in total.
The Iceman Cometh
-
cort - Posts: 10
- Joined: 06 Jun 2008, 19:16
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by Huggybaby » 11 Jun 2008, 23:14
Does moving the playfield or zooming out fix it?
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 702 times
- Been thanked: 595 times
Re: Testing the combat system
by The Scientist » 12 Jun 2008, 06:53
nope that doesn't. the zooming for the cards just makes the card bigger beneath the original card, so he just needs to move it for the left card.
And the error with condemn is "AttributeError: 'NoneType' object has no attribute 'toughness'"
I guess there is a bug with it.
When you try to play terror with no creatures in play, it won't allow you, because nothing of the target "isCreature" can be found.
however, in condemn's case, it has to find "isCreature.with_condition ..." and for some reason I guess it tries to find something with that condition which isn't relevant if there's no creature in the first place.
Incantus ?
And the error with condemn is "AttributeError: 'NoneType' object has no attribute 'toughness'"
I guess there is a bug with it.
When you try to play terror with no creatures in play, it won't allow you, because nothing of the target "isCreature" can be found.
however, in condemn's case, it has to find "isCreature.with_condition ..." and for some reason I guess it tries to find something with that condition which isn't relevant if there's no creature in the first place.
Incantus ?
- The Scientist
- Posts: 94
- Joined: 05 Jun 2008, 07:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing the combat system
by Incantus » 12 Jun 2008, 15:32
OK, fixed.
(Scientist - also fixed the problems with the planeswalkers, and Zombifying a creature with evoke)
http://www.mediafire.com/?ooczmyp0kmh
(Scientist - also fixed the problems with the planeswalkers, and Zombifying a creature with evoke)
http://www.mediafire.com/?ooczmyp0kmh
Re: Testing the combat system
by MageKing17 » 12 Jun 2008, 20:45
Let me start by saying what an amazing program you have here so far.
Secondly, just got a crash killing the 10e_red deck with the 10e_black deck with a Looming Shade pumped into a 10/10 (9/9, actually, but I had Ascendant Evincar out). Error was "ValueError: list.remove(x): x not in list". Replay attached for your benefit.
Secondly, just got a crash killing the 10e_red deck with the 10e_black deck with a Looming Shade pumped into a 10/10 (9/9, actually, but I had Ascendant Evincar out). Error was "ValueError: list.remove(x): x not in list". Replay attached for your benefit.
- Attachments
-
- replay.zip
- The match in question
- (4.58 KiB) Downloaded 764 times
-
MageKing17 - Programmer
- Posts: 473
- Joined: 12 Jun 2008, 20:40
- Has thanked: 5 times
- Been thanked: 9 times
Re: Testing the combat system
by Incantus » 12 Jun 2008, 21:15
It seems these crashes are occuring at the end of the game, after the player has already won. Currently the game isn't properly reset - you have to restart the program to play a new game. I think the crash is happening when I try and reset the game.
Anybody have any negative feedback What would make the game better (besides more cards)?
Anybody have any negative feedback What would make the game better (besides more cards)?
41 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 1 guest