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)
2014




TFM&G2K's Planeswalkers Pool v8g (12/Sep/2014)
Moderator: CCGHQ Admins
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by thefiremind » 07 May 2014, 08:30
You probably need to take a look at the "Planeswalkers are still APPROXIMATED" paragraph on the first post.NEMESiS wrote:I have another one for you, opponent AI had an Opalescence on the field and my Vraska the Unseen became a creature. Surely planeswalkers don't qualify as enchantments.

< 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: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by orlouge82 » 09 May 2014, 02:41
I updated to the newest version of the Planeswalkers Pool (after using version 5 for a few months without any issues), and now when a player loses the game (usually in a multiplayer (offline) game), the game crashes. Am I missing something that I should have?
Thanks for all of your hard work on this!
Thanks for all of your hard work on this!
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by Kithkin » 09 May 2014, 05:14
Same here playing 3FFA offline.orlouge82 wrote:I updated to the newest version of the Planeswalkers Pool (after using version 5 for a few months without any issues), and now when a player loses the game (usually in a multiplayer (offline) game), the game crashes. Am I missing something that I should have?
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by thefiremind » 09 May 2014, 08:28
I didn't do anything more than what I wrote in the changelog: add the new Ajani and substitute the old invisible token spawning function with a new one that calls the old one for each player. The crash at the end of the duel usually means that a TOKEN_REGISTRATION is missing, but I didn't miss the one on the new Ajani and the other ones are still in place... so I don't know what to think.orlouge82 wrote:I updated to the newest version of the Planeswalkers Pool (after using version 5 for a few months without any issues), and now when a player loses the game (usually in a multiplayer (offline) game), the game crashes. Am I missing something that I should have?
Does it happen with all Planeswalkers or just some of them? Which ones were in the players' decks (not just the ones that actually hit the battlefield) when the crash occurred?
You should also check that you don't have other mods that use a copy of my Planeswalker functions, because they would most likely interfere with mine after the update.
< 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: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by Kithkin » 09 May 2014, 09:23
I played a deck called Gorgon's Prophecies by HARBiNG3R and it includes Vraska the Unseen. No other mods were used.thefiremind wrote:Does it happen with all Planeswalkers or just some of them? Which ones were in the players' decks (not just the ones that actually hit the battlefield) when the crash occurred?
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by orlouge82 » 09 May 2014, 10:32
I don't believe that I have any other mods that use a copy of your Planeswalker functions. And every time that the game crashed, I was using custom-made decks that included Kiora, the Crashing Wave, Jace, the Mind Sculptor, and Tamiyo, the Moon Sage. The game also crashed when I was using decks that included Elspeth, Sun's Champion, Jace, Architect of Thought, and the new Ajani, but it the game crashed even when I wasn't using decks that included those three.
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by thefiremind » 09 May 2014, 11:20
I just tried to make a test deck with a bunch of Elspeth, Sun's Champion and fought against my Vampire deck. No crashes at the end of the duel. So now I'm pretty sure it's not this or my other mod's fault.
< 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: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by Kithkin » 09 May 2014, 11:26
Did you test 3FFA? Human vs. AI vs. AI?thefiremind wrote:I just tried to make a test deck with a bunch of Elspeth, Sun's Champion and fought against my Vampire deck. No crashes at the end of the duel. So now I'm pretty sure it's not this or my other mod's fault.
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by thefiremind » 09 May 2014, 11:39
I didn't think it would have mattered, but I just tried and... it matters. It crashes as soon as someone loses. I'm going to try out some ideas, but I have no sure fix for that.Kithkin wrote:Did you test 3FFA? Human vs. AI vs. AI?
< 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: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by orlouge82 » 09 May 2014, 11:44
Yeah, all of my crashes were Human vs. AI vs. AI vs. AI. Also, I have a bunch of DMP files from the crashes. Do those help at all?
Re: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by thefiremind » 09 May 2014, 12:07
I can create a bunch, too, if I want... but I can't get any useful information from them.orlouge82 wrote:I have a bunch of DMP files from the crashes. Do those help at all?
I think I have isolated the crashing situation: the game crashes whenever a player loses while there are 2 or more invisible Planeswalker Manager tokens on the battlefield (most likely, only if the losing player is the controller of one of those tokens, but I haven't tried the opposite scenario). Judging from this, the crash should have happened even with the previous versions of this mod, whenever 2 or more players were using a deck that contains Planeswalkers.
EDIT: Got it! I removed the <TOKEN /> block from the invisible token, and the crash doesn't happen anymore. It must have something to do with the engine trying to clean up the token when its controller loses the game, maybe tokens whose original card isn't a token itself get treated differently. The fixed version is up on the first post.
Last edited by thefiremind on 09 May 2014, 12:26, edited 1 time in total.
< 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: TFM&G2K's Planeswalkers Pool v6 (05/May/2014)
by orlouge82 » 09 May 2014, 12:23
My crashes occurred in games in which I was the only one using Planeswalkers in my deck. I never had any problems with the previous version of the mod, so I don't know why this one is crashing where the others didn't
Re: TFM&G2K's Planeswalkers Pool v6b (09/May/2014)
by thefiremind » 09 May 2014, 12:28
That's exactly the point: if you weren't the only one using Planeswalkers during a game with the previous version it would have crashed, too. With the new one it crashed because everyone gets a Planeswalker manager. Anyway it's fixed now (see edit on my post above).orlouge82 wrote:My crashes occurred in games in which I was the only one using Planeswalkers in my deck. I never had any problems with the previous version of the mod, so I don't know why this one is crashing where the others didn't
< 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: TFM&G2K's Planeswalkers Pool v6b (09/May/2014)
by Kithkin » 09 May 2014, 15:18
Thank you thefiremind. Problem solved. Glad I could hint you into the right direction.thefiremind wrote:Anyway it's fixed now (see edit on my post above).
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: TFM&G2K's Planeswalkers Pool v6b (09/May/2014)
by Parabolic » 16 May 2014, 20:09
I noticed Dack Fayden isn't accounted for. Any interest in adding him, or is he not possible to code?
Who is online
Users browsing this forum: No registered users and 8 guests