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 v6b (09/May/2014)
by thefiremind » 16 May 2014, 21:31
His ultimate might be a pain to code (same problems as the heroic mechanic), but I don't think it's impossible. However I usually don't code cards before they can be found on Gatherer, because I want to include all translations and give the card its real Multiverse ID.Parabolic wrote:I noticed Dack Fayden isn't accounted for. Any interest in adding him, or is he not possible to code?
< 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 » 31 May 2014, 12:07
Bug report
Vraska the Unseen -- +1 ability is not working correctly; creatures dealing combat damage to her are not destroyed; and yes, I use objectdc.wad
Vraska the Unseen -- +1 ability is not working correctly; creatures dealing combat damage to her are not destroyed; and yes, I use objectdc.wad
-
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 thefiremind » 31 May 2014, 13:58
Luckily I ran into the same problem before, so I understood what was going on fairly quickly: it's probably since one of the last updates that triggers cannot be fired from replacement_effect/query abilities, because Vraska was working the last time I checked. I changed the ability that fires the OBJECT_TAKES_DAMAGE trigger from replacement_effect="1" to forced_skip="1" and now she works again.Kithkin wrote:Bug report
Vraska the Unseen -- +1 ability is not working correctly; creatures dealing combat damage to her are not destroyed; and yes, I use objectdc.wad

< 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 v6d (05/Jun/2014)
by NEMESiS » 05 Jun 2014, 15:33
Hello, I wanted to bring up two issues that I've encountered. Before I start the part where it says that Planeswalkers are still APPROXIMATED doesn't escape me but I figured its always best to bring up the issues regardless of whether they can be fixed or not. Anyways, I noticed that when the annihilator ability triggers for the first time against an opponent AI the AI always scarifies 1 less permanent then required but will properly sacrifice permanents each turn after that. This leads me to believe that the AI is sacrificing its planeswalker token since it does not need it at that time. Now on to the 2nd issue I've noticed; I had a changeling on the field but I noticed that when an opponent creature attacked, it showed that it was deciding to attack the changeling as if the changeling was a planeswalker (there was no planeswalker on the field at that time).
-
NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by thefiremind » 05 Jun 2014, 16:13
Of course it is, bring them on!NEMESiS wrote:I figured its always best to bring up the issues regardless of whether they can be fixed or not.

There's nothing I can do about it: the annihilator ability should be re-coded while having invisible tokens in mind (in other words, all permanent types need to be specified in the filter, rather than using IS_PERMANENT).NEMESiS wrote:I noticed that when the annihilator ability triggers for the first time against an opponent AI the AI always scarifies 1 less permanent then required but will properly sacrifice permanents each turn after that. This leads me to believe that the AI is sacrificing its planeswalker token since it does not need it at that time.
I really can't figure out how this could happen: Planeswalkers are filtered by their name, so it would happen with a changeling that has the same name as a Planeswalker, which is impossible (at least in DotP), unless you code one on purpose.NEMESiS wrote:Now on to the 2nd issue I've noticed; I had a changeling on the field but I noticed that when an opponent creature attacked, it showed that it was deciding to attack the changeling as if the changeling was a planeswalker (there was no planeswalker on the field at that time).
You could try to change this:
- Code: Select all
EffectController():ChooseItem( "PLW_CARD_QUERY_CHOOSE_PLANESWALKER_TO_ATTACK", EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
- Code: Select all
if filter:CountStopAt(1) == 1 then
EffectController():ChooseItem( "PLW_CARD_QUERY_CHOOSE_PLANESWALKER_TO_ATTACK", EffectDC():Make_Targets(0), QUERY_FLAG_MAY )
end
< 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 v6d (05/Jun/2014)
by RiiakShiNal » 05 Jun 2014, 20:36
It sounds like NEMESiS needs to use the Core Fixes and make sure that any cards that use Annihilator are coded with the functions I provide in there as I did make sure to require that a card is of at least one of the 5 types (Artifact, Creature, Enchantment, Land, Planeswalker [even though DotP doesn't really have support for planeswalkers]) of which invisible tokens are typeless.thefiremind wrote:There's nothing I can do about it: the annihilator ability should be re-coded while having invisible tokens in mind (in other words, all permanent types need to be specified in the filter, rather than using IS_PERMANENT).NEMESiS wrote:I noticed that when the annihilator ability triggers for the first time against an opponent AI the AI always scarifies 1 less permanent then required but will properly sacrifice permanents each turn after that. This leads me to believe that the AI is sacrificing its planeswalker token since it does not need it at that time.
- RSN_Annihilator_Permanent_Choosing() | Open
- Code: Select all
RSN_Annihilator_Permanent_Choosing = function( nAmount )
local oPlayer = RSN_GetDefendingPlayer( EffectSourceLKI() )
if (oPlayer ~= nil) then
local oFilter = ClearFilter()
local oSubFilter = oFilter:AddSubFilter_Or()
oFilter:Add( FE_CONTROLLER, OP_IS, oPlayer )
oSubFilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ARTIFACT )
oSubFilter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE )
oSubFilter:Add( FE_TYPE, OP_IS, CARD_TYPE_ENCHANTMENT )
oSubFilter:Add( FE_TYPE, OP_IS, CARD_TYPE_LAND )
oSubFilter:Add( FE_TYPE, OP_IS, CARD_TYPE_PLANESWALKER )
oPlayer:SetItemCount( nAmount )
for i = 0, (nAmount - 1) do
oPlayer:SetItemPrompt (i, "CARD_QUERY_ANNILHILATOR_CHOOSE_A_PERMANENT_TO_SACRIFICE" )
end
oPlayer:ChooseItems( EffectDC():Make_Targets(1) )
end
end
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2188
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by MasterXploder7 » 13 Jun 2014, 05:34
ive noticed that since ive updated my planeswalker pool and added Kiora, Duck fayden, and Ajani Goldenmane that during my turn before i use any of their abilities the game decides to drop in frame rate so hard that it is affecting game play and im curious if its happening to anything else or if i just need to check my settings
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by thefiremind » 13 Jun 2014, 07:45
I can guess it's because now all players have a copy of the Planeswalkers manager, and the problem is probably magnified with more than 2 players. I don't see any issue like that on my PC, but older PCs could be in trouble. There's not much I can do: some things, such as checking when a Planeswalker has no loyalty counters left, need to be done continuously, and this has an impact on performance.MasterXploder7 wrote:ive noticed that since ive updated my planeswalker pool and added Kiora, Duck fayden, and Ajani Goldenmane that during my turn before i use any of their abilities the game decides to drop in frame rate so hard that it is affecting game play
< 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 v6d (05/Jun/2014)
by MasterXploder7 » 24 Jun 2014, 16:11
Is there anything i could do to use the PW without having that lag? I run the game on a laptop so i would have to assume the processor isnt that high powered. but none the less i hope there is an easy work around
"Hate is an everlasting wellspring from which it is eternally sustained." - Nirkana Revenant
- MasterXploder7
- Posts: 293
- Joined: 18 Jan 2014, 10:55
- Has thanked: 28 times
- Been thanked: 11 times
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by thefiremind » 24 Jun 2014, 17:34
I take the performance in consideration by myself (reducing the iterations for example) whenever I can, so my code is usually already optimized as much as I can... if I knew how to make it better I would have written it better in the first place. Another pair of eyes may see something I can't see, but the only other person who was involved in the project is gorem2k and I haven't seen him here for a while, I guess he got bored and he's probably waiting for DotP2015 (I perfectly understand himMasterXploder7 wrote:Is there anything i could do to use the PW without having that lag? I run the game on a laptop so i would have to assume the processor isnt that high powered. but none the less i hope there is an easy work around

< 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 v6d (05/Jun/2014)
by orlouge82 » 21 Jul 2014, 13:03
Are there going to be any more updates for DotP 2014, or is all work going into DotP 2015 from now on?
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by thefiremind » 21 Jul 2014, 15:32
I can't say for sure. I still need to see how much DotP2015 is moddable.orlouge82 wrote:Are there going to be any more updates for DotP 2014, or is all work going into DotP 2015 from now on?
< 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 v6d (05/Jun/2014)
by gorem2k » 22 Jul 2014, 04:40
Exactlythefiremind wrote:I guess he got bored and he's probably waiting for DotP2015 (I perfectly understand him).

I'll probably return and do some testing when/if this ZED mystery is solved. I took a day off only to read messages here... it looks promising for 2015 and I'm glad you guys are still active here.
Re: TFM&G2K's Planeswalkers Pool v6d (05/Jun/2014)
by thefiremind » 22 Jul 2014, 08:14
It looks indeed promising for a number of things, but not for Planeswalkers...gorem2k wrote:it looks promising for 2015
thefiremind wrote:Bad news about Planeswalkers: if I give the Planeswalker type to a card, the game gets stuck on loading.
< 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 v6d (05/Jun/2014)
by orlouge82 » 22 Jul 2014, 12:29
Oh man, bummerthefiremind wrote:It looks indeed promising for a number of things, but not for Planeswalkers...gorem2k wrote:it looks promising for 2015thefiremind wrote:Bad news about Planeswalkers: if I give the Planeswalker type to a card, the game gets stuck on loading.
Who is online
Users browsing this forum: No registered users and 11 guests