Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
AI Crashes if it plays one of my decks?
User-made mods in DLC (Downloadable Content) form.
Get MTG cards here for your DotP that aren't available anywhere else!
Get MTG cards here for your DotP that aren't available anywhere else!
Moderator: CCGHQ Admins
AI Crashes if it plays one of my decks?
by BloodReyvyn » 28 May 2013, 23:05
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.
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.
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
Re: AI Crashes if it plays one of my decks?
by thefiremind » 28 May 2013, 23:10
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.
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.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: AI Crashes if it plays one of my decks?
by BloodReyvyn » 28 May 2013, 23:41
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
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
"There's an experience worse than blindness - it's the certainty that your vision is perfect and the horror that there's no world around you to see."
-
BloodReyvyn - Posts: 421
- Joined: 19 May 2013, 13:29
- Has thanked: 53 times
- Been thanked: 40 times
3 posts
• Page 1 of 1
Return to New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
Who is online
Users browsing this forum: No registered users and 13 guests