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 NeoAnderson » 03 Nov 2014, 19:19
Birds of Paradise haven't mana restrictions.Xander9009 wrote:Nope. It was quite happy to let me play Birds of Paradise.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 19:46
Tapped Sliver Hive forNeoAnderson wrote:Birds of Paradise haven't mana restrictions.Xander9009 wrote:Nope. It was quite happy to let me play Birds of Paradise.

_______________________________
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 NeoAnderson » 03 Nov 2014, 19:54
Have you copied the .lol file into function directory?You must be sure that this constant is declaredXander9009 wrote:Tapped Sliver Hive forNeoAnderson wrote:Birds of Paradise haven't mana restrictions.Xander9009 wrote:Nope. It was quite happy to let me play Birds of Paradise.. Played Birds of Paradise.
- Code: Select all
NEO_SLIVER_MANA_ACTIVATION = 915383991
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 20:03
Yup. I just put in a DisplayMessage to check, and it was set to that number.NeoAnderson wrote:Have you copied the .lol file into function directory?You must be sure that this constant is declared
- Code: Select all
NEO_SLIVER_MANA_ACTIVATION = 915383991
_______________________________
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 NeoAnderson » 03 Nov 2014, 20:15
It is weird i tested it with Blur Sliver. I had Blur Sliver and Brass Man into hand. I tapped Sliver Hive 3 times( i have untapped it with another effect), it produced 3 red mana, Brass man was not selectable, Blur Sliver yes.Xander9009 wrote:Yup. I just put in a DisplayMessage to check, and it was set to that number.NeoAnderson wrote:Have you copied the .lol file into function directory?You must be sure that this constant is declared
- Code: Select all
NEO_SLIVER_MANA_ACTIVATION = 915383991
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 20:54
After some debugging, I've found that in the continuous action that removes the abilities, everything works fine up until "local token = token_chest:Get_NthCardPtr(i)". 'token' is nil here for some reason.NeoAnderson wrote:It is weird i tested it with Blur Sliver. I had Blur Sliver and Brass Man into hand. I tapped Sliver Hive 3 times( i have untapped it with another effect), it produced 3 red mana, Brass man was not selectable, Blur Sliver yes.
_______________________________
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 NeoAnderson » 03 Nov 2014, 21:00
At this point i think there is something messed with Riiak functions you have installed.Xander9009 wrote:After some debugging, I've found that in the continuous action that removes the abilities, everything works fine up until "local token = token_chest:Get_NthCardPtr(i)". 'token' is nil here for some reason.NeoAnderson wrote:It is weird i tested it with Blur Sliver. I had Blur Sliver and Brass Man into hand. I tapped Sliver Hive 3 times( i have untapped it with another effect), it produced 3 red mana, Brass man was not selectable, Blur Sliver yes.
Try to check if the token chest retrieved with RiiakShiNal function is not nil.
As i told before it works fine for me. Check if this function returns a value RSN_GetProducedTokenChest()
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 21:29
Someone has RSN_OBJECTDCLEGACY and RSN_MANALEGACY in their mods. The CW grabbed those files automatically, and one of the two was screwing stuff up. It's working now.NeoAnderson wrote:At this point i think there is something messed with Riiak functions you have installed.Xander9009 wrote:After some debugging, I've found that in the continuous action that removes the abilities, everything works fine up until "local token = token_chest:Get_NthCardPtr(i)". 'token' is nil here for some reason.NeoAnderson wrote:It is weird i tested it with Blur Sliver. I had Blur Sliver and Brass Man into hand. I tapped Sliver Hive 3 times( i have untapped it with another effect), it produced 3 red mana, Brass man was not selectable, Blur Sliver yes.
Try to check if the token chest retrieved with RiiakShiNal function is not nil.
As i told before it works fine for me. Check if this function returns a value RSN_GetProducedTokenChest()
_______________________________
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 NeoAnderson » 03 Nov 2014, 21:32
So i am glad you figured which was the issue, now please let me know if it could be an acceptable approximation,Xander9009 wrote:Someone has RSN_OBJECTDCLEGACY and RSN_MANALEGACY in their mods. The CW grabbed those files automatically, and one of the two was screwing stuff up. It's working now.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 22:06
Well, it appears to work with flashback, as well, so that's good. But it's usable by abilities even though it shouldn't be. I mentioned granting the ability when it should be usable instead of removing it when it shouldn't. I think that should fix this issue.NeoAnderson wrote:So i am glad you figured which was the issue, now please let me know if it could be an acceptable approximation,Xander9009 wrote:Someone has RSN_OBJECTDCLEGACY and RSN_MANALEGACY in their mods. The CW grabbed those files automatically, and one of the two was screwing stuff up. It's working now.
_______________________________
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 NeoAnderson » 03 Nov 2014, 22:10
Are you sure it works with abilities??? Because i produced 5 mana and i tried to use the land ability to produce the token and it was not usable.Xander9009 wrote:Well, it appears to work with flashback, as well, so that's good. But it's usable by abilities even though it shouldn't be. I mentioned granting the ability when it should be usable instead of removing it when it shouldn't. I think that should fix this issue.
And LoseAllAbilities is disabled only when it is considering for cast a Sliver
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 03 Nov 2014, 22:15
I tried it with Adventuring Gear. It wouldn't let me cast Adventuring Gear, but it did let me equip it. I tried it again just to be sure.NeoAnderson wrote:Are you sure it works with abilities??? Because i produced 5 mana and i tried to use the land ability to produce the token and it was not usable.Xander9009 wrote:Well, it appears to work with flashback, as well, so that's good. But it's usable by abilities even though it shouldn't be. I mentioned granting the ability when it should be usable instead of removing it when it shouldn't. I think that should fix this issue.
_______________________________
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 NeoAnderson » 03 Nov 2014, 22:17
I will better check later, anyway i think i can add a trigger considered for activation just to disable the mana.Xander9009 wrote:I tried it with Adventuring Gear. It wouldn't let me cast Adventuring Gear, but it did let me equip it. I tried it again just to be sure.NeoAnderson wrote:Are you sure it works with abilities??? Because i produced 5 mana and i tried to use the land ability to produce the token and it was not usable.Xander9009 wrote:Well, it appears to work with flashback, as well, so that's good. But it's usable by abilities even though it shouldn't be. I mentioned granting the ability when it should be usable instead of removing it when it shouldn't. I think that should fix this issue.
UPDATE: I just made a test with Avarice Amulet, i produce 2 mana with Sliver Hive and the equip was not selectable!!
Are you sure you have produced mana with the second ability???
The first one produce colourless mana that can be normally used.
I also made a test with Adventuring Gear and it is not usable for equip!
Here you can see a screenshot :

So as I said before i can simply add a Trigger considered for activation to disable the mana but i would do it just if it is necessary. I would try to keep the code light and clean, so if it works without this additional trigger is better, otherwise i will add it.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Formal Request Thread
by Xander9009 » 04 Nov 2014, 14:36
Sorry, I only get emails for new posts, not for edits. absolutely used the second ability. Here are a couple of screenshots. In my attempts to get these screenshots, I wanted to have an Adventuring Gear and a Striking Sliver in hand and one of each in play as well to show I could play the sliver but not the artifact and I could activate the artifact's equip ability. However, in making sure I had this exact setup, I happened across the problem. When I mouse over the sliver, the equip ability is usable. When I mouse over the artifact, it's not. That makes sense. So I'm pretty sure the CONSIDERED_FOR_ACTIVATION is necessary. (Obviously, seeing as the sliver is playable, I haveNeoAnderson wrote:I will better check later, anyway i think i can add a trigger considered for activation just to disable the mana.
UPDATE: I just made a test with Avarice Amulet, i produce 2 mana with Sliver Hive and the equip was not selectable!!
Are you sure you have produced mana with the second ability???
The first one produce colourless mana that can be normally used.
I also made a test with Adventuring Gear and it is not usable for equip!
Here you can see a screenshot :
So as I said before i can simply add a Trigger considered for activation to disable the mana but i would do it just if it is necessary. I would try to keep the code light and clean, so if it works without this additional trigger is better, otherwise i will add it.



_______________________________
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 NeoAnderson » 04 Nov 2014, 14:50
Thx my friend, now i focused the problem, is the combination of an available Sliver into hand and an activable ability onto battlefield, just when we move the mouse pointer over the sliver the ability is usable, this because there isn't an update of the State-base-action before we can activate the ability.Xander9009 wrote:Sorry, I only get emails for new posts, not for edits. absolutely used the second ability. Here are a couple of screenshots. In my attempts to get these screenshots, I wanted to have an Adventuring Gear and a Striking Sliver in hand and one of each in play as well to show I could play the sliver but not the artifact and I could activate the artifact's equip ability. However, in making sure I had this exact setup, I happened across the problem. When I mouse over the sliver, the equip ability is usable. When I mouse over the artifact, it's not. That makes sense. So I'm pretty sure the CONSIDERED_FOR_ACTIVATION is necessary. (Obviously, seeing as the sliver is playable, I havein my mana pool. Since the only land in play is the hive, that's where it came from.)
Ok i will add a trigger for the abilities activation to see if the issue is solved. Stay tuned.
Update: There are more problems than expected to add this kind of trigger.
The mana will be easly disabled for the abilities, but the timing will disable the mana abilities alo while you are casting the Sliver creature, this means that the mana will be not used and the sliver spell will be cast anyway.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Who is online
Users browsing this forum: No registered users and 10 guests