XMage allows you to play Magic against one or more online players or computer opponents.It includes full rules enforcement for over 20 000 unique cards and more than 50.000 reprints from different editions.You can also find custom sets like Star Wars. All regular sets have nearly all implemented cards.
It's support single matches and tournaments with dozens game modes like duel, multiplayer, standard, modern, commander,pauper, oathbreaker, historic, freeform and much more.
Local server supports a special test mode fortesting combos and other game situations with pre-defined conditions.
There are public servers where you can play XMage against other players.You can also host your own server to play against the AI and/or your friends.
XMage community and resources:
Servers status:
Beta server with un-released or under development features:
The best way to report bug or feature request is github's issues page.There are another way to report bugs too:
D:\games\xmage
;run-LAUNCHER.cmd
text file in launcher folder and put that line to it and save as ANSI format:
java -Djava.net.preferIPv4Stack=true -jar XMageLauncher-0.3.8.jar
Look here for more detailed instructions.
Wiki page contains detail information about private or public server setup.
The XMage server locates by default the configuration file from the current working directory to the relative path config/config.xml
(config\config.xml
in Windows). To change this location, start the server with the property xmage.config.path
setto the desired location, for example -Dxmage.config.path=config/otherconfig.xml
. The option can be set from theXMageLauncher in Settings > Java > Server java options
.
Github issues page contain popular problems and fixes:
If you have a good GPU, it's very likely you'll be able increase performance by a lot through extra Java flags.
XMage runs on JRE 8, so this link should give you the available flags.
More info about OpenGL:
-Dsun.java2d.opengl=true
Possible problems:
More info about XRender:
-Dsun.java2d.xrender=true
This is not guaranteed to yield improvements, but it depends on your use-case.If you have a lot of RAM to spare, you might as well increase the initial heap size for good measure.More details about memory settings:
-Xms1G -Xmx2G
Full project documentation and instructions for developers can be found in wiki pages.
First steps for Xmage's developers:
1. /** * Retrieve config value for store by path * * @param string $path * @param mixed $store * @return mixed */ public static function getStoreConfig($path, $stor
Fatal error: Mage_Core_Model_Session_Abstract::getMessages() [<a href='function.Mage-Core-Model-Session-Abstract-getMessages'>function.Mage-Core-Model-Session-Abstract-getMessages</a>]: The script tri
Mage_Core_Block_Abstract /** * Base Content Block class * * For block generation you must define Data source class, data source class method, * parameters array and block template * * @categor
import numpy as np from math import * import sys import os import glob import argparse import cv2 as cv import keras import random from matplotlib import pyplot as plt def o
When I tried to export or import any profile, then I got a fatal error: Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() in ……./app/code/core/Mage/Adminhtml/Block/S
在Mage类中使用$_registry存储生成的对象,这样生成的对象在全局都可以访问。Mage::register函数有两种格式: public static function register($key, $value, $graceful = false) 注册一个新的变量 public static function registry($key) 通过$key获取已有变量 public st
Warning: require_once(lib/Mage/Autoload/Simple.php)... Fatal error: require_once() [function.require]: Failed opening required 'lib... 以上这两个错误看起来有点莫名其妙,直接解释是找不到对应的类,就算是刚刚开始安装的也可能出现这样的错误。实际上,有的空间解压或这上传
Magento 2 基础目录路径介绍 MAGE_DIRS 您能够指定使用的自定义基目录路径和基本URLURLs. 设置 MAGE_DIRS Magento/Framework/App/Filesystem/DirectoryList.php中指定一个关联数组,其中键是常量,值是目录或URL路径的绝对路径。 你可以用以下任何一种方式设置 MAGE_DIRS : 设置引导参数 使用自定义入口代码:
Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance() in app/code/core/Mage/Catalog/Model/Product.php on line 39 Mangeto报上面错误,很可能是apc配置问题。 找到apc.ini这个配置文件: find / -name a
QImage Mat2QImage(const Mat& mat) { // 8-bits unsigned, NO. OF CHANNELS=1 if(mat.type()==CV_8UC1) { cout<<"1"<<endl; // Set the color table (used to translate colour indexe
转自:http://blog.csdn.net/zyh821351004/article/details/46646735 cv::Mat --> QImage --> QPixmap 图片的转换。 主要注意点是:cv::Mat --> QImage :这两者内存管理机制不一样 QImage Widget::Mat2QImage(cv::Mat const& src) {
这两天在工作中碰到一个问题,当登录会员账号的时候,提示Item (Mage_catalog_Model_Product) with the same id “###” already exist. 首先这是个异常,肯定是操作产品的过程中数据库有重复值。 我们找到抛出异常的代码段 文件:/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.
update MAGE a set a.ACE= (select a from text b where a.AC = b.AC) ERROR at line 2: ORA-01407: cannot update (“TEXT”.“MAGE”.“ACE”) to NULL 根据报错信息,ACE列并没有赋值为空,text表的a列完全是有值的,为什么会报赋了空值呢 原因就在于mage的表结构上,看一
该文件为magento官方叫 ’Main Mage hub class’,翻译为中文叫’主要枢纽类’。重要性不言而喻。它是入口文件与系统其它服务交互的必经之地。 我们一行行分析代码。 首先定义了系统的DS、PS、BP。定义DS、PS是为了兼容WINDOW 和LINUX系统对目录分隔符和路径分隔符的不同表示方法。BP定义了系统的绝对路径。 接着获得inlcude_path,如果有编译开启了则把编译的