It is currently 18 Apr 2024, 04:58
   
Text Size

Testing the combat system

by Incantus

Moderator: CCGHQ Admins

Testing the combat system

Postby 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).
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Testing the combat system

Postby Huggybaby » 07 Jun 2008, 19:32

I haven't made the new version break yet, seems very stable. :)
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: Testing the combat system

Postby 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.
Attachments
Incantus-win.zip
(5.11 KiB) Downloaded 718 times
The Iceman Cometh
User avatar
cort
 
Posts: 10
Joined: 06 Jun 2008, 19:16
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby 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 702 times
The Iceman Cometh
User avatar
cort
 
Posts: 10
Joined: 06 Jun 2008, 19:16
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby Incantus » 07 Jun 2008, 22:12

cort wrote:... probably due to the fact that the land card enters the game allready tapped.
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).
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Testing the combat system

Postby 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 702 times
The Iceman Cometh
User avatar
cort
 
Posts: 10
Joined: 06 Jun 2008, 19:16
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby 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.
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Testing the combat system

Postby 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 :)
Attachments
Incantus.rar
(2.46 KiB) Downloaded 765 times
Incantus.rar
1st Crash
(963 Bytes) Downloaded 753 times
Last edited by staggerwingjtstw on 10 Jun 2008, 17:07, edited 2 times in total.
I like being bad... it makes me happy...
User avatar
staggerwingjtstw
 
Posts: 181
Joined: 31 May 2008, 18:03
Has thanked: 3 times
Been thanked: 1 time

Re: Testing the combat system

Postby 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.
The Scientist
 
Posts: 94
Joined: 05 Jun 2008, 07:39
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby 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).
Attachments
image.jpg
Incantus-win.zip
(2.03 KiB) Downloaded 824 times
Last edited by cort on 12 Jun 2008, 07:46, edited 1 time in total.
The Iceman Cometh
User avatar
cort
 
Posts: 10
Joined: 06 Jun 2008, 19:16
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby Huggybaby » 11 Jun 2008, 23:14

Does moving the playfield or zooming out fix it?
User avatar
Huggybaby
Administrator
 
Posts: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 times

Re: Testing the combat system

Postby 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 ?
The Scientist
 
Posts: 94
Joined: 05 Jun 2008, 07:39
Has thanked: 0 time
Been thanked: 0 time

Re: Testing the combat system

Postby 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
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Re: Testing the combat system

Postby 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.
Attachments
replay.zip
The match in question
(4.58 KiB) Downloaded 750 times
User avatar
MageKing17
Programmer
 
Posts: 473
Joined: 12 Jun 2008, 20:40
Has thanked: 5 times
Been thanked: 9 times

Re: Testing the combat system

Postby 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)?
Incantus
DEVELOPER
 
Posts: 267
Joined: 29 May 2008, 15:53
Has thanked: 0 time
Been thanked: 3 times

Next

Return to Incantus

Who is online

Users browsing this forum: No registered users and 14 guests


Who is online

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

Login Form