magefree / magefree/mage

Extraordinary Journey not accounting for tokens when manipulating exile zone

Open
#12,730 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Error type: SERVER - game error
Client version: 1.4.53-V1 (build: 2024-08-16 15:36)

Game error occurred:

java.lang.IllegalArgumentException: Card must be in exile zone: Knight Token [1e2]
Server version: 1.4.53-V1 (build: 2024-08-16 15:36)
Stack trace:
mage.game.Exile.moveToAnotherZone(Exile.java:111)
mage.cards.e.ExtraordinaryJourneyEffect.apply(ExtraordinaryJourney.java:121)
mage.abilities.AbilityImpl.resolveMode(AbilityImpl.java:222)
mage.abilities.AbilityImpl.resolve(AbilityImpl.java:206)
mage.abilities.TriggeredAbilityImpl.resolve(TriggeredAbilityImpl.java:205)
mage.game.stack.StackAbility.resolve(StackAbility.java:85)
mage.game.GameImpl.resolve(GameImpl.java:1804)
mage.game.GameImpl.playPriority(GameImpl.java:1727)
mage.game.turn.Step.priority(Step.java:67)
mage.game.turn.Phase.playStep(Phase.java:205)
mage.game.turn.Phase.play(Phase.java:91)
mage.game.turn.Turn.play(Turn.java:137)
mage.game.GameImpl.playTurn(GameImpl.java:1151)
mage.game.GameImpl.play(GameImpl.java:1058)
mage.game.GameImpl.start(GameImpl.java:1034)
mage.server.game.GameWorker.call(GameWorker.java:35)
mage.server.game.GameWorker.call(GameWorker.java:16)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with mage/cards/e/ExtraordinaryJourney.java at line 121 and follow its call into mage/game/Exile.java at line 111. Reproduce the Extraordinary Journey interaction involving the Knight Token and verify that manipulating the exile zone accounts for tokens without raising the reported IllegalArgumentException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.