r/SolForge•
St_Eric

Solforge's Latest Infinite

Herald of Destruction can create an infinite loop with Stygian Lotus. If Player B has a creature in every single lane that Player A does not have a creature in, and one of those creatures is a Herald of Destruction (with sufficient attack), then if Player A plays Stygian Lotus, the Lotus will trigger infinitely, since new Lotuses will create a copy and be killed by Herald of Destruction, making room for new copies.

Practical Application: Player A's Grimgaunt Doomrider will trigger repeatedly, growing to a large size and eventually killing one or more of Player B's creatures, breaking the loop and allowing the game to continue.

Update: Herald of Destruction was banned because of this interaction!

Posted Aug 23, 2014, 7:27 AM UTC · edited

516
Nocuras8•

Isn't it that Lotus first puts copies in whatever lanes and once it is finished Herald starts dealing damage? If it actually kills a Lotus before Lotus has finished putting stuff in lanes that looks clearly like a bug to me.

3
St_EricOPIGN: Steric•

Well, the loop is completely expected if you look at the steps.

  1. Lotus 1 enters the field (from your hand)

  2. All enter the field abilities trigger (for this example, Lotus is the only trigger)

  3. Lotus 1 puts a second Lotus, Lotus 2, onto the field.

  4. All enter the field abilities trigger. This time, the Lotus entered from play but not from your hand. This includes Lotus 2's effect and the Herald's effect, but Lotus 2 triggers first, since it's your turn.

  5. Lotus 2 triggers, putting Lotus 3 onto the field.

  6. Herald triggers, dealing damage to Lotus 2.

  7. State-based actions are checked, and Lotus 2 dies.

  8. All enter the field abilities trigger, exactly the same as in step 4.

2
Nocuras8•

That's assuming solforge has a stack that works like Magic the Gathering when in fact it is coded as batches and far from last-in-first-out order that the MtG stack uses.

1
St_EricOPIGN: Steric•

It does use batches. Each Lotus trigger is in a different batch. When a Lotus creates another Lotus, the new Lotus does not trigger until the current batch is finished (and that batch includes the Herald trigger). Additionally, death is checked between each batch.

4
Nocuras8•

Sorry my bad. I interpreted the guide about rules interaction like I explained above (http://www.ghoxssocks.com/2014/06/ximane-advanced-solforge-rulebook/) with the point about "active players triggered abilities trigger before the non-active players" meaning that Lotus 1 triggers, resolves, Lotus 2 triggers, resolves, then Herald triggers twice and resolves.

1
CardboardJesusWoWNekrium•

Correct. Herald should be waiting until Lotus finishes. There's something up with the coding.

1
axshog•

I think I was your opponent in this match, or rather about 6 hours ago I had a bunch of creatures and a Herald of Destruction in play. In this game my opponent placed a L3: Graveborn Glutton in the only open lane, then from my POV nothing happened for a long time. Then with about a minute left on the clock I saw the first Lotus appear. Then the timer hit zero and it just stayed at zero for a few minutes... then another lotus appeared, another pause, then the last lotus.

Now the really weird part is when I would exit the game and come back in, instead of a lotus I would see another creature in my opponents lane 1... a Level 3 consistent regen dude. Then after a bit of time it would disappear and become a lotus again. Then after several more minutes the lotus slowly and one at a time began to take damage from the Herald. All of this taking place with the timer at ZERO.

Eventually, the YOU WON screen appeared :O

3
UncountablyFiniteA1 - Mappo•

Oh so this is a thing that actually happened? I thought it was just speculation. Definitely something that needs to be fixed.

1
PrincessNagi•

This is exactly why instead of nerfing zimus as a bandage solution they needed an algorithm to check for interactions that would repeat too many times.

-3
Celtia•

As a Computer Science student, what you're proposing is essentially asking someone to solve the Halting Problem - something that is impossible to do. Asking to count some arbitrary number and considering that 'too many' could shut down any number of potentially legitimate plays, strategies and non-infinite but repeated interactions.

4
brilliand•

That reasoning is only valid if SolForge card interactions are Turing-complete. If so, then someone needs to build a Turing machine simulator using SolForge card interactions.

Many lesser computing devices (that can't simulate a Turing machine) actually can be accurately checked for infinite loops, so it isn't a given that an infinite loop detector can't be made for some particular environment.

1
PrincessNagi•

Just run triggers through an invisible board first, see what effects respond to it, number each trigger that activates, set it to time out at 500 triggers or some other number you'd never realistically hit without a unintended loop. If you hit the time out deny the triggers activation.

1
St_EricOPIGN: Steric•

So make every trigger take twice as much time so that they can run through the invisible board just so that a very small number of infinite loops don't happen?

1
PrincessNagi•

The time it takes for the calculations to be made server side are negligible compared to the time it takes for it to send the information to the client. If it runs the prediction on their end then the time isn't an issue, it increases the load but not in a way that would cause it to take double the time. Also it's just an example. It can filter which states to run a sim on based on what triggers are trying to activate.

While it is a small amount of cases where an infinite loop can occur the number is only going to get larger as more cards are added, at the rate new content is being released it seems to be growing fast enough that a lot of these won't be caught before they go live.

1
theelk801•

Yeah that makes no sense. You don't "make an algorithm" for that. That just... No.

3