Phase Work
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
65 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Re: Phase Work
by slapshot5 » 01 Nov 2010, 16:01
Same problem as Library of Alexandria when activating Old Man of the Sea 's "control creature" ability.
-slapshot5
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Phase Work
by friarsol » 01 Nov 2010, 16:15
Ah. Looks like an issue with Input_NoCost_TapAbility and Ability_Tap. I may end up just converting all of those to use Ability_Activated and Cost/Target.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by Jaedayr » 01 Nov 2010, 18:04
Just finished downloading the latest changes, not sure if this is related to the phase work or not. I lost the first game to the computer and when the second game started my life total was -1. I played a couple more turns, took one point of damage and my life is now 19. I won second game and at start of third game computer showed life of -2 and mine was 17. However when we each took damage it was subtracted from 20. I think that the only problem is what is displayed at the start of the game.
Re: Phase Work
by friarsol » 01 Nov 2010, 18:28
Hmm.. I haven't noticed this issue, but it sounds like the UI observer code isn't being called.
I'll keep an eye out. What type of game where you playing? Quest or regular?
I'll keep an eye out. What type of game where you playing? Quest or regular?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by Jaedayr » 01 Nov 2010, 19:05
Regular game has the problem. Just finished first quest match and everything was fine.
Re: Phase Work
by friarsol » 01 Nov 2010, 19:18
Ok. The issue with Input_NoCost_TapAbility is it wasn't resetting the input control after it added its ability to the stack. This is now fixed so we don't have to try to update however many cards today to use the newer form.
We should keep an eye out for random other Input classes that my testing didn't cover that may need this same thing for. The symptoms should be similar, it looks like it's on the Stack, but the Input message says it isn't.
We should keep an eye out for random other Input classes that my testing didn't cover that may need this same thing for. The symptoms should be similar, it looks like it's on the Stack, but the Input message says it isn't.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by friarsol » 01 Nov 2010, 19:36
Jaedayr I see it now. Should be fixed in latest submission.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by Hellfish » 01 Nov 2010, 19:50
I think this rather weird bug has to do with the input states, which I gather from the above posts that it was a big part of your work so I'm posting it here.
I was playing with the Arcane Spirits UBG Theme vs a Mono Black Theme and had just traded a Kami of the Tended Garden for a Corrosive Mentor and selected to use the Soulshift it provided when I was hit with a StackOverflow exception. I would paste the full report in but my clipboard bugged out somehow. I did have a Thief of Hope in the graveyard that I could've Soulshifted.
Note that Forge seems to have entered the Input_Cleanup inputstate in a bugged way. Wth?
I was playing with the Arcane Spirits UBG Theme vs a Mono Black Theme and had just traded a Kami of the Tended Garden for a Corrosive Mentor and selected to use the Soulshift it provided when I was hit with a StackOverflow exception. I would paste the full report in but my clipboard bugged out somehow. I did have a Thief of Hope in the graveyard that I could've Soulshifted.
Note that Forge seems to have entered the Input_Cleanup inputstate in a bugged way. Wth?
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Phase Work
by friarsol » 01 Nov 2010, 20:06
I get an error with that Theme. It says Reach Through Mists doesn't exist?
I'll just tested Soulshift, and it looks like my last submission has fixed this problem. I ran into it trying to test out some other stuff. If it's not working for you after you Sync, lemme know and i'll look into it further.
I'll just tested Soulshift, and it looks like my last submission has fixed this problem. I ran into it trying to test out some other stuff. If it's not working for you after you Sync, lemme know and i'll look into it further.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by Hellfish » 01 Nov 2010, 22:11
No problems anymore as of r3166! Thanks!friarsol wrote:I get an error with that Theme. It says Reach Through Mists doesn't exist?
I'll just tested Soulshift, and it looks like my last submission has fixed this problem. I ran into it trying to test out some other stuff. If it's not working for you after you Sync, lemme know and i'll look into it further.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Phase Work
by Chris H. » 02 Nov 2010, 00:30
I was play testing the new phase work and the spReturnTgt keyword and at one point the message window states:
For the heck of it I attempted to cast the Sorcery Raise Dead and was successful.
`Human's Upkeep: Human has priority for Spells or Abilities. Stack is Empty
For the heck of it I attempted to cast the Sorcery Raise Dead and was successful.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Phase Work
by friarsol » 02 Nov 2010, 00:36
Sounds like an issue with spReturn not calling super.canPlay(). See if that fixes the issue? I won't be able to look at it till tomorrow at some point.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Phase Work
by slapshot5 » 02 Nov 2010, 16:43
Not sure if this is your stuff or not:
When Kitsune Dawnblade enters play (with no other creatures in play), you are prompted to select a target card for Kitsune Dawnblade. But,
1) Selecting Kitsune Dawnblade does nothing.
2) clicking on "Cancel" button does nothing.
-slapshot5
When Kitsune Dawnblade enters play (with no other creatures in play), you are prompted to select a target card for Kitsune Dawnblade. But,
1) Selecting Kitsune Dawnblade does nothing.
2) clicking on "Cancel" button does nothing.
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Phase Work
by timmermac » 02 Nov 2010, 17:51
Correct me if I'm wrong here, but with cards with effects like that, shouldn't the game simply ignore that effect and let you continue?
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
65 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 256 guests