Page 1 of 1

AI Crashes if it plays one of my decks?

PostPosted: 28 May 2013, 23:05
by BloodReyvyn
I am very confused, after playing 10 consecutive games with one of my new decks, that the deck plays flawlessly when I am playing it but after another five attempts to play against the deck, the game crashes randomly every single game. Sometimes right at the beginning, other times after a long while and one of us is almost dead.

I get the usual windows error, "Magic: The Gathering: Duels of the Planeswalkers 2013 has stopped working and needs to close."

When I went to check the script and error logs, there were none and if I click the "Details" button on the windows error, it is completely blank. :|

Re: AI Crashes if it plays one of my decks?

PostPosted: 28 May 2013, 23:10
by thefiremind
If a deck crashes only when the AI is using it, it often means that you have a duplicate LAND_POOL ID, or to be precise, a LAND_POOL ID that is used also for something else that isn't a LAND_POOL. "Often" doesn't mean "always", but that should be the first thing to check. And it's also very easy to do now if you use RiiakShiNal's deck builder and look inside its log.

If you can't solve the problem this way, let me know which deck of yours causes the crash and I'll look into it.

Re: AI Crashes if it plays one of my decks?

PostPosted: 28 May 2013, 23:41
by BloodReyvyn
Cool, I found the issue. Probably the same issue that guy was having with my Heaven's Fury deck. Originally, I was going to change the land pool since it was the first deck I actually put together, but I scratched making the new lands and forgot to change the land .xml string variables back to default. So, it was looking for lands that didn't exist anymore.

Since I based two other decks off of that one, using it as a template of sorts, they all had screwed up land pools. Thanks, I would never have even looked at the names otherwise :oops: