Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



Deck work for me, but crash the game when AI use this.
Moderator: CCGHQ Admins
4 posts
• Page 1 of 1
Deck work for me, but crash the game when AI use this.
by alexandreonly » 07 Aug 2012, 20:19
What are the possible causes? All cards have been tested, no bugs found, everything look ok.
- alexandreonly
- Posts: 145
- Joined: 04 Jul 2011, 17:27
- Has thanked: 0 time
- Been thanked: 8 times
Re: Deck work for me, but crash the game when AI use this.
by MisterBenn » 09 Aug 2012, 23:25
Hi Alexanre, just to let you know I had the same issue and thefiremind suggested a solution for me. In my case, I had taken a copy of the land pool file and I had neglected to change the deck ID that was inside it. As a result the deck ID was duplicated and for some reason it only caused crashes when the AI played the deck. If you are still having this trouble, it's worth checking here.
- MisterBenn
- Posts: 97
- Joined: 19 Mar 2011, 16:19
- Has thanked: 24 times
- Been thanked: 11 times
Re: Deck work for me, but crash the game when AI use this.
by thefiremind » 09 Aug 2012, 23:46
Sorry for not being able to help you at the time of this post alexandreonly, but you didn't post your WAD yet, so I had nothing to check for errors.
As a rule of thumb, never duplicate any ID. I usually generate my ID's so that, for deck number NN, 1999NN is the deck itself, 19991NN is the land pool, 19992NN is the unlockable content, and so on. My advice is to invent a rule like this, and stick to it.
As a rule of thumb, never duplicate any ID. I usually generate my ID's so that, for deck number NN, 1999NN is the deck itself, 19991NN is the land pool, 19992NN is the unlockable content, and so on. My advice is to invent a rule like this, and stick to 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: 722 times
Re: Deck work for me, but crash the game when AI use this.
by alexandreonly » 10 Aug 2012, 00:55
Ok, i learned with my ton of mistakes, and now i'm making a new deck, from zero, i'll upload soon.
- alexandreonly
- Posts: 145
- Joined: 04 Jul 2011, 17:27
- Has thanked: 0 time
- Been thanked: 8 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests