diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelRenderModeMTGO.java b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelRenderModeMTGO.java index d14144e850..7f1836a827 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelRenderModeMTGO.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/CardPanelRenderModeMTGO.java @@ -23,9 +23,13 @@ import java.util.concurrent.TimeUnit; /** * Render mode: MTGO + * */ public class CardPanelRenderModeMTGO extends CardPanel { + // + // https://www.mtg.onl/evolution-of-magic-token-card-frame-design/ + // Map of generated images private final static Cache IMAGE_CACHE = CacheBuilder .newBuilder() diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/ModernCardRenderer.java b/Mage.Client/src/main/java/org/mage/card/arcane/ModernCardRenderer.java index df43ab5e01..ed6fd09d36 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/ModernCardRenderer.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/ModernCardRenderer.java @@ -55,6 +55,7 @@ import static org.mage.card.arcane.ManaSymbols.getSizedManaSymbol; * @author stravant@gmail.com, JayDi85 *

* Base rendering class for new border cards + * M15 frame style, for another styles see https://www.mtg.onl/evolution-of-magic-token-card-frame-design/ */ public class ModernCardRenderer extends CardRenderer { diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/AltMtgOnlTokensImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/AltMtgOnlTokensImageSource.java index 96472c3467..b001e9818a 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/AltMtgOnlTokensImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/AltMtgOnlTokensImageSource.java @@ -10,6 +10,10 @@ import java.util.List; import java.util.Map; /** + * * TODO: web site reworked and tokens doesn't work anymore, + * * but it can be used to download a proxy tokens (tokens that was miss by wizards), + * * see https://www.mtg.onl/mtg-missing-tokens/ + * * @author spjspj */ public enum AltMtgOnlTokensImageSource implements CardImageSource { diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgOnlTokensImageSource.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgOnlTokensImageSource.java index 1b7a315d9d..5de7a70e06 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgOnlTokensImageSource.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/MtgOnlTokensImageSource.java @@ -10,6 +10,10 @@ import java.util.List; import java.util.Map; /** + * TODO: web site reworked and tokens doesn't work anymore, + * but it can be used to download a proxy tokens (tokens that was miss by wizards), + * see https://www.mtg.onl/mtg-missing-tokens/ + * * @author spjspj */ public enum MtgOnlTokensImageSource implements CardImageSource { diff --git a/Mage.Server/src/main/java/mage/server/Main.java b/Mage.Server/src/main/java/mage/server/Main.java index 11309c465d..a559c287f5 100644 --- a/Mage.Server/src/main/java/mage/server/Main.java +++ b/Mage.Server/src/main/java/mage/server/Main.java @@ -67,10 +67,11 @@ public final class Main { public static final PluginClassLoader classLoader = new PluginClassLoader(); private static TransporterServer server; - // special test mode: + // Special test mode: // - fast game buttons; // - cheat commands; // - no deck validation; + // - load any deck in sideboarding; // - simplified registration and login (no password check); // - debug main menu for GUI and rendering testing (must use -debug arg for client app); private static boolean testMode; @@ -412,7 +413,9 @@ public final class Main { @Override public Object invoke(final InvocationRequest invocation) throws Throwable { - // Called for every client connecting to the server (after add Listener) + // called for every client connecting to the server (after add Listener) + + // save client ip-address String sessionId = invocation.getSessionId(); Map map = invocation.getRequestPayload(); String host; diff --git a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java index 69a48c87d6..400195cb5c 100644 --- a/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java +++ b/Mage.Verify/src/test/java/mage/verify/VerifyCardDataTest.java @@ -1376,6 +1376,7 @@ public class VerifyCardDataTest { // Possible reasons: // - promo sets with cards without tokens (nothing to do with it) // - miss set from tok-data (must add new set to tok-data and scryfall download) + // - wizards miss some paper printed token, see https://www.mtg.onl/mtg-missing-tokens/ warningsList.add("info, set's cards uses tokens but tok-data haven't it: " + setCode + " - " + sourceCards.stream().map(MageObject::getName).collect(Collectors.joining(", "))); } else {