HI,
it's normal that most of the deck under SVN with SVN version of source code give me an error message:"Sorry not yet implemented"
Beacause I'm not able to play vs myself after that message, and I don't know if the problem is the message that hide some big error or if I'm not able to understand the UI.
It's normal that I do not get any card in my hand, how can I understand which is player have the turn?
Also where can I find a list of implemented card and a list of missing card
Stefano "Kismet" Lenzi
P.S.: I've expirience with Apprentice but here is different
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>> "Sorry not yet implemented"
Appears when you are using a card that no rule are attached (no XML file)
>> Also where can I find a list of implemented card and a list of missing card
- either Use the deck builde
- either Look in the tbs/mtg/recycled directory to find existance of the corresponding XML file
About 1100 cards are currently working.
Before proceeding massively to cards implementation (can be auto generated 30% by an included Oracle2xml tool) i prefer implement some UI/rule features.
>> P.S.: I've expirience with Apprentice but here is different
Apprentice do not parse rules (manual life,...), can only play to Magic, ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK! After have spoken by MSN with Fabrice it seems that the problem is not related to an out-to-date MDB (Magic-project Data Base) but I think that is an issue with the UNICODE enconding by who have create the current MDB that's is not UTF-8.
In fact Sun JVM on Linux use UTF-8 as enconding for UNICODE( that's the String charset) but I'm not sure if on Windows it use UTF-8 instead of UCS-2 or UTF-16 ( see http://codesnipers.com/?q=node/80 )
So due to the different enconding the compareTo() methods fail beacuse the deconding of String from file do no return the same String value due to a different UNICODE "codec"
What do you think?
Stefano "Kismet" Lenzi
P.S.: I'm not able to rebuild the MDB, I get the foloowing output but no file are been created.
, -full0, mtg
ERROR@line:8 col:69 : cvc-elt.1: Cannot find the declaration of element 'tbs'.
Successfull build
Time : 5 s
P.P.S.: Today I've been graduated ^_^ in Computer Science
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've update all Æ (AE) cards.
But remember, the XML name attribute of cards is translated before used to query the wizards site per exemple.
The "deck-translation.xml" contains the default transformation rules to represent the "card.keyname".
I've just externalized the wotc database proxy definition in the tbs/mtg/proxies/wizards.xml
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI,
it's normal that most of the deck under SVN with SVN version of source code give me an error message:"Sorry not yet implemented"
Beacause I'm not able to play vs myself after that message, and I don't know if the problem is the message that hide some big error or if I'm not able to understand the UI.
It's normal that I do not get any card in my hand, how can I understand which is player have the turn?
Also where can I find a list of implemented card and a list of missing card
Stefano "Kismet" Lenzi
P.S.: I've expirience with Apprentice but here is different
>> "Sorry not yet implemented"
Appears when you are using a card that no rule are attached (no XML file)
>> Also where can I find a list of implemented card and a list of missing card
- either Use the deck builde
- either Look in the tbs/mtg/recycled directory to find existance of the corresponding XML file
About 1100 cards are currently working.
Before proceeding massively to cards implementation (can be auto generated 30% by an included Oracle2xml tool) i prefer implement some UI/rule features.
>> P.S.: I've expirience with Apprentice but here is different
Apprentice do not parse rules (manual life,...), can only play to Magic, ...
OK! After have spoken by MSN with Fabrice it seems that the problem is not related to an out-to-date MDB (Magic-project Data Base) but I think that is an issue with the UNICODE enconding by who have create the current MDB that's is not UTF-8.
In fact Sun JVM on Linux use UTF-8 as enconding for UNICODE( that's the String charset) but I'm not sure if on Windows it use UTF-8 instead of UCS-2 or UTF-16 ( see http://codesnipers.com/?q=node/80 )
So due to the different enconding the compareTo() methods fail beacuse the deconding of String from file do no return the same String value due to a different UNICODE "codec"
What do you think?
Stefano "Kismet" Lenzi
P.S.: I'm not able to rebuild the MDB, I get the foloowing output but no file are been created.
, -full0, mtg
ERROR@line:8 col:69 : cvc-elt.1: Cannot find the declaration of element 'tbs'.
Successfull build
Time : 5 s
P.P.S.: Today I've been graduated ^_^ in Computer Science
I've just changed the charset from UTF8 to US-ASCII for mtg.xml, and some XSD. Commited in svn.
Unfortunatly, I'm not able get MP working without doing a complete Search, yet.
The MDB file still conatin charcters that are not part of the US-ASCII, in fact there are the following non-ASCII card name:
Aeolipile - aeolipile
�rathi Berserker - �rathi_berserker
Aerial Caravan - aerial_caravan
Aesthir Glider - aesthir_glider
�ther Barrier - �ther_barrier
�ther Burst - �ther_burst
�ther Charge - �ther_charge
�ther Flash - �ther_flash
�ther Mutation - �ther_mutation
�ther Rift - �ther_rift
�ther Snap - �ther_snap
�ther Spellbomb - �ther_spellbomb
�ther Sting - �ther_sting
�ther Storm - �ther_storm
�ther Tide - �ther_tide
�ther Vial - �ther_vial
Afflict - afflict
That's avoid even the download of the image card beacuse even at wizards they register the card as 2 charter AE liker AEther Storm
Also I'm not able to build MDB by myself due to the same error that I've reported yestarday
I've update all Æ (AE) cards.
But remember, the XML name attribute of cards is translated before used to query the wizards site per exemple.
The "deck-translation.xml" contains the default transformation rules to represent the "card.keyname".
I've just externalized the wotc database proxy definition in the tbs/mtg/proxies/wizards.xml