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




Formal Request Thread
Moderator: CCGHQ Admins
Re: Formal Request Thread
by StoneyTheBear » 04 Sep 2015, 08:58
My apologies. I was going off of what Riaak's deck building was telling me. Using a clean install seems to present the correct cards.nivmizzet1 wrote:You have Master of Etherium in your list twice, and it's already in the CW, as are Ponder and Shield of the Avatar. Preyseizer Dragon is the only card on your list not in the CW.StoneyTheBear wrote:Master of Etherium
Ponder
Preyseizer Dragon
Master of Etherium
Shield of the Avatar
Not sure how the shield will be to code. It has a bit of a strange mechanic. I'm hoping it's possible though.
-
StoneyTheBear - Posts: 33
- Joined: 22 May 2015, 04:29
- Has thanked: 3 times
- Been thanked: 0 time
Re: Formal Request Thread
by Xander9009 » 04 Sep 2015, 14:56
You wouldn't be able to do protection unless you literally list every possible protection ability and check for all permanents with that type of protection. Or perhaps a function to check for permanents in graveyards with protection abilities, adding those types to a filter as it goes. This way it would only be one ability, rather than a hundred. It would still be very difficult.nachonal986 wrote:sorry, but somebody could code Cairn Wanderer and gift of immortality?
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by nachonal986 » 05 Sep 2015, 00:17
sorry, is coded into CW, and works ok, so only, Cairn Wanderer it's possible to do?Xander9009 wrote:You wouldn't be able to do protection unless you literally list every possible protection ability and check for all permanents with that type of protection. Or perhaps a function to check for permanents in graveyards with protection abilities, adding those types to a filter as it goes. This way it would only be one ability, rather than a hundred. It would still be very difficult.nachonal986 wrote:sorry, but somebody could code Cairn Wanderer and gift of immortality?
and there exist anothers enchantments for copy or creature to do something like these?
-
nachonal986 - Posts: 83
- Joined: 27 Jul 2015, 21:13
- Has thanked: 17 times
- Been thanked: 1 time
Re: Formal Request Thread
by Xander9009 » 07 Sep 2015, 19:21
Preyseizer Dragon is done.StoneyTheBear wrote:My apologies. I was going off of what Riaak's deck building was telling me. Using a clean install seems to present the correct cards.nivmizzet1 wrote:You have Master of Etherium in your list twice, and it's already in the CW, as are Ponder and Shield of the Avatar. Preyseizer Dragon is the only card on your list not in the CW.StoneyTheBear wrote:Master of Etherium
Ponder
Preyseizer Dragon
Master of Etherium
Shield of the Avatar
Not sure how the shield will be to code. It has a bit of a strange mechanic. I'm hoping it's possible though.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Xander9009 » 07 Sep 2015, 19:24
Gift of Immortality is in the CW. Cairn wanderer cannot be fully coded yet. I'm planning to make a set of functions to expose protection abilities. Once I do, Cairn Wanderer will be one of the cards I code. They'll be generally useful, too. Many times, we need to target a creature without using a target tag, but that's the only way to avoid targeting creatures with protection. Given an idea I had a long time ago, it may also enable Creature A must block creature B if able. If I recall correctly, protection was the main problem with my idea. I'd have to go and look it up, again, though.nachonal986 wrote:sorry, but somebody could code Cairn Wanderer and gift of immortality?
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Xander9009 » 07 Sep 2015, 19:33
Searching Gatherer for any cards with flying, lifelink, and deathtouch (just because these should all three appear on any cards with this kind of ability), I only see two. Cairn Wanderer and Soulflayer. I coded Soulflayer, and it works. But it doesn't consider any protection abilities. As for things that copy things, that's always done as a copy of the entire card. Never a part of a card, such as a single ability.nachonal986 wrote:sorry, is coded into CW, and works ok, so only, Cairn Wanderer it's possible to do?Xander9009 wrote:You wouldn't be able to do protection unless you literally list every possible protection ability and check for all permanents with that type of protection. Or perhaps a function to check for permanents in graveyards with protection abilities, adding those types to a filter as it goes. This way it would only be one ability, rather than a hundred. It would still be very difficult.nachonal986 wrote:sorry, but somebody could code Cairn Wanderer and gift of immortality?
and there exist anothers enchantments for copy or creature to do something like these?
As for the protection abilities, I've gone through and indexed the abilities. As far as already coded cards go, there are 26 different kinds of protection.
- | Open
- White
Blue
Black
Red
Green
Colored Spells
Multicolored
Monocolored
Artifacts
Enchantments
Creatures
Instants
Lands
Sorceries*
CMC >= 3
Beasts
Clerics
Demons
Dragons
Elves
Goblins
Kavu
Non-Spirits
Vampires
Werewolves
Zombies
Everything
*Sorceries is never used as an innate protection ability.
There are of course MANY cards (183) with one or more of these abilities. I'm considering how we can handle protection. I think the best way to go is to have an RSN_ObjectDC chest with 3 subchests. Those 3 subchests would contain the three possible parameters for filters, in order. Progenitus, Emrakul, the Aeons Torn, and players will all require special code, but everything else should be able to be handled with just those chests. I'm not sure how to handle the fact that it's an ability and thus could be lost. Riiak, maybe you'll have an idea here.
My current thought is to have a custom characteristic for protection. But it would also need another manager (unless the custom characteristic manager is altered) to reset that chest on those cards at some layer less than 6, where protection abilities are set. This way, if they ever lose their abilities, the chest on that card is nullified, and any checks for protection will return false.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by RiiakShiNal » 07 Sep 2015, 23:07
You missed Concerted Effort, Death-Mask Duplicant, and Escaped Shapeshifter.
At one time I was working on a system to handle both granting Protection and storing off the values in a way such that they could be read and applied, but I managed to lose the code (of which there was a lot) and lost the motivation to re-write all of it. It was designed to work with my Custom Characteristics, though I was still fighting a few issues when the code got wiped out.Xander9009 wrote:There are of course MANY cards (183) with one or more of these abilities. I'm considering how we can handle protection. I think the best way to go is to have an RSN_ObjectDC chest with 3 subchests. Those 3 subchests would contain the three possible parameters for filters, in order. Progenitus, Emrakul, the Aeons Torn, and players will all require special code, but everything else should be able to be handled with just those chests. I'm not sure how to handle the fact that it's an ability and thus could be lost. Riiak, maybe you'll have an idea here.
Custom Characteristics already clear on Layer 0 every time CONTINUOUS_ACTIONs are calculated (handled by the manager). This is to ensure that the characteristics are correct regardless of what happens to the card (goes to graveyard, gets flickered, returned to hand then recast, put on top of library, loses abilities, etc...).Xander9009 wrote:My current thought is to have a custom characteristic for protection. But it would also need another manager (unless the custom characteristic manager is altered) to reset that chest on those cards at some layer less than 6, where protection abilities are set. This way, if they ever lose their abilities, the chest on that card is nullified, and any checks for protection will return false.
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: Formal Request Thread
by Xander9009 » 07 Sep 2015, 23:17
Apparently I limited it a bit too much. I figured lifelink and deathtouch would exist on any of them with such an ability, but I guess not. Thanks.
That's extremely unfortunate. That explains why you had the list of protection abilities handy when I wanted to incorporate them into the universal generator plugin.RiiakShiNal wrote:At one time I was working on a system to handle both granting Protection and storing off the values in a way such that they could be read and applied, but I managed to lose the code (of which there was a lot) and lost the motivation to re-write all of it. It was designed to work with my Custom Characteristics, though I was still fighting a few issues when the code got wiped out.Xander9009 wrote:There are of course MANY cards (183) with one or more of these abilities. I'm considering how we can handle protection. I think the best way to go is to have an RSN_ObjectDC chest with 3 subchests. Those 3 subchests would contain the three possible parameters for filters, in order. Progenitus, Emrakul, the Aeons Torn, and players will all require special code, but everything else should be able to be handled with just those chests. I'm not sure how to handle the fact that it's an ability and thus could be lost. Riiak, maybe you'll have an idea here.
I was assuming the custom characteristic would be more for whether or not a given card has protection, and then the chest would have the stored data explaining what that protection is for. So the characteristic manager would clear the characteristic itself, but not the chest. But thinking about it, I wouldn't actually need to clear the chest as long as the characteristic is checked first, and then clear the chest before writing to it each continuous action iteration. So, you're right, another manager wouldn't be necessary. Not sure why I was thinking the chest definitely needed cleared... Oh well. I guess if it does need cleared, I'm either doing something wrong or I'll just deal with it then haha.RiiakShiNal wrote:Custom Characteristics already clear on Layer 0 every time CONTINUOUS_ACTIONs are calculated (handled by the manager). This is to ensure that the characteristics are correct regardless of what happens to the card (goes to graveyard, gets flickered, returned to hand then recast, put on top of library, loses abilities, etc...).Xander9009 wrote:My current thought is to have a custom characteristic for protection. But it would also need another manager (unless the custom characteristic manager is altered) to reset that chest on those cards at some layer less than 6, where protection abilities are set. This way, if they ever lose their abilities, the chest on that card is nullified, and any checks for protection will return false.
Unfortunately, I've gotten myself into ANOTHER big project to delay everything I do: I'm currently writing a modding tutorial on the wiki.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by migookman » 07 Sep 2015, 23:29
I think this would be a great idea. I've been thinking of doing some videos for modding cards.Xander9009 wrote: Unfortunately, I've gotten myself into ANOTHER big project to delay everything I do: I'm currently writing a modding tutorial on the wiki.
Re: Formal Request Thread
by RiiakShiNal » 07 Sep 2015, 23:41
Well, I also used them for my card generator (which is not as robust or as polished as thefiremind's so I never released it).Xander9009 wrote:That's extremely unfortunate. That explains why you had the list of protection abilities handy when I wanted to incorporate them into the universal generator plugin.
True, it is a pretty decent sized project so it will take a while. As for writing a modding tutorial on the Wiki, I'm sure that many people will thank you for it as there are probably many people still out there still not sure on modding for DotP 2014 (and there are still issues with DotP 2015, which haven't been solved just yet, and still issues for Duels: Origins).Xander9009 wrote:Unfortunately, I've gotten myself into ANOTHER big project to delay everything I do: I'm currently writing a modding tutorial on the wiki.
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: Formal Request Thread
by nachonal986 » 08 Sep 2015, 00:04
As I read is pretty hard to code Cairn Wanderer, Escaped Shapeshifter and Death-Mask Duplicant, so I'll discard the idea to do a deck clones abilities.
Thanks anyway to all!
Thanks anyway to all!
-
nachonal986 - Posts: 83
- Joined: 27 Jul 2015, 21:13
- Has thanked: 17 times
- Been thanked: 1 time
Re: Formal Request Thread
by Xander9009 » 08 Sep 2015, 01:47
Alright, so the tutorial is up. I'll improve it with pictures and the coding section when I have time (or of course, since it's a wiki, anyone else who wants to can please feel free haha).
http://www.slightlymagic.net/wiki/DotP_ ... g_Tutorial
http://www.slightlymagic.net/wiki/DotP_ ... g_Tutorial
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Borborigmos » 08 Sep 2015, 16:18
Are you sure Soulflayer works? I just tested it and delved a Troll Ascetic and a Vampire Nighthawk and he came into play with no abilities.Xander9009 wrote:I coded Soulflayer, and it works. But it doesn't consider any protection abilities. As for things that copy things, that's always done as a copy of the entire card. Never a part of a card, such as a single ability.
- Borborigmos
- Posts: 90
- Joined: 13 Apr 2015, 16:24
- Has thanked: 25 times
- Been thanked: 4 times
Re: Formal Request Thread
by Xander9009 » 08 Sep 2015, 16:33
He definitely worked before. I'll test him out again.Borborigmos wrote:Are you sure Soulflayer works? I just tested it and delved a Troll Ascetic and a Vampire Nighthawk and he came into play with no abilities.Xander9009 wrote:I coded Soulflayer, and it works. But it doesn't consider any protection abilities. As for things that copy things, that's always done as a copy of the entire card. Never a part of a card, such as a single ability.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Re: Formal Request Thread
by Xander9009 » 08 Sep 2015, 21:54
I tested Soulflayer with those two cards, and he works just as expected. The only downside to how he works is that while the badges are displayed, the abilities aren't added as text.
You must have something on your end preventing Soulflayer from working properly.
You must have something on your end preventing Soulflayer from working properly.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
Who is online
Users browsing this forum: etphonehome and 4 guests