Updated XSD files available

This will only interest game authors. If you are a player you may skip this post.

I’ve updated the xsd schemas for the game and set definitions. They were terribly out of date.

Game schema: http://octgn.net/octgn-client/Game.xsd
Set schema: http://octgn.net/octgn-client/CardSet.xsd

Those two files may be used by your xml editor to validate that your file is correct. If your xml doesn’t validate against those schemas, chances are OCTGN will not like them.

Let me know if something is still wrong in those files.

To a lesser extend they also contain some documentation. Here’s for example an overview of the set files:

image

Advertisements
Explore posts in the same categories: OCTGN.net

13 Comments on “Updated XSD files available”

  1. Oen Says:

    Does this break anything? Will old sets have to be redone?

    I don’t care either way, just would like to know. 🙂

    Thanks,
    Oen

  2. Gaspare Says:

    Yeah I’m wondering if the time is come 😀

    @Oen: your site isn’t working anymore for me. Can we talk about it in IRC?

  3. jods Says:

    No, this doesn’t break anything. Those two files are some kind of “documentation”.

    If people who write games use them with a decent xml editor, they may get automatic word suggestion/completion as well as validation that their file is valid.

    So it’s a big help but unfortunately those files were totally broken (so unusable) until yesterday.

    • Steve Says:

      I love this program. Thank you so much for making it jods. Me and my friends use it to play multiplayer magic frequently, but we all feel there are four key improvements/fixes this program needs to improve functionality before it can completely replace alternatives like Magic Workstation.

      The program desperately needs a way where you could install multiple game sets at once. For example all 30 plus magic the gathering sets are available at this current location…

      http://www.mediafire.com/sets

      but due to OCTAGONs current implementation of adding card sets to a game, every player has to download and install all 30 sets individually. Frankly that’s a complete pain in the ass and asking each player to do this each and everytime a game breaking version of this program gets released is asking for a lot. Please give us a way to install all 30 card sets for MTG at one time. If you could give us the functionality to combine multiple .o8s card sets into a single packet and give OCTAGON the fuctionality that when one such packet is selected, all of the cardsets in that packet get installed at once, it would make the whole process so much more painless, especially given how often gamebreaking changes get released for this program. In the extremely unlikely case that such functionality already exists for this program by chance, could some one please combine all 30 magic card sets into one easy to install packet. Here is the link to all of the magic cardsets thus far once again…
      http://www.mediafire.com/sets

      and the magic game definition itself is available at…

      http://filebeam.com/bcc3b17ace45fde83ce8bee787aedf84 (remove the .txt from the file name)

      The second change that OCTAGON desperately needs is to implement a sixth button titled “Find Players” in addition to the five current buttons on OCTAGON… (Start New Game, Edit your decks etc).
      Pressing this Find Players button would launch into a public irc chatroom that all OCTAGON players use. That chatroom would have a subchat room for “MTG Dueling Players” and “MTG Multiplayer Players”. I know that irc is open source so it shouldn’t be too difficult to build such a chat room into OCTAGON itself.

      There you could quickly and easily find players to play for example, a six player emperor game in the legacy format. It would especially helpful if this chat has the functionality of MWS chatrooms so you could make private game rooms, launch a game from within them directly, and have the ability to send PMs to other members in the chatroom itself. Being able to send PMs to other members in the chatroom itself is absolutely critical.

      By not having one default chatroom where all MTG players can find and interact with each other, send each other private messages etc, this program will always be superceded by Magic Workstation. But just with this one extra button, OCTAGON could easily supercede MWS on the back of multiplayer capabilities alone.

      As you probably noted by now, I continously spell this program OCTAGON rather than how the game’s name is currently spelled in the home screen, OCTaGoN. This is because the third change OCTaGoN needs is to either get rid of the lowed case a and o from it’s name completely so that it instead reads OCTGN even on the title/home screen or to capitilize both the a and o in the title everywhere so that it reads OCTAGON. I frankly think the second option would look a hundred times better. The way the name is right now OCTaGoN with both lower case and capital lettering just looks horribly ugly on an other wise beautiful program. Along that same line would you please consider changing the current octogonal logo/symbol so that it’s not slanted to the side but is instead symmetric. This is nowhere near as important but it would still make the symbol/logo much better looking and closer in design to a geometric octogon.

      Lastly, could you please implement phases into the program using this extremely simple technique below…

      Basically when it’s your turn, if you could click a button that says Next Phase (next to the current green arrow next turn button) and then based on the individual game, it would proceed to the next phase. For example MTG would have an untap phase, an upkeep phase, a draw phase etc and you cycle thru them using that Next Phase button. I dont know if this fuctionality would have to be built into OCTAGON itself or if it would need to be built into the magic game definition or both. Either way, such an ability to cycle thru the different phases of a turn with the press of a button is essential to playing Magic and many other trading card games.

      Along those same line I note that the pictures of cards look less sharp and more blurry when they are small on the playing board than they are when you point the mouse arrow at them and see them enlarged. No I don’t mean that they’re just harder to read because they are smaller, that is to be expected. I mean that the pictures are actually out of focus when small. Because they look sharper when enlarged, it’s not an issue of the pictures resolution. It’s the programming, possibly to decrease the memory usage, the pics are not rendered at the full sharpness when they are smaller on the gameboard, I honestly believe that to be a mistake, modern computers have far more ram than is neccesary to pull off rendering a few dozen pictures fully even when zoomed out thus making the cards text sharper and much easier to read when they are on the table zoomed out without you needing to point at each card individually.

      Similarly, it would be nice if we could enable a round token that players could move around and whichever player the token is in front of, that is whose turn it currently is. Something along those lines would make keeping track of whose turn it currently is immesely easier, especially when you are playing a four player two headed dragon game or a six player emperor game. Believe me I know.

      Thank you again so much for your time in reading all this and for making this excellent program.

  4. jods Says:

    1. Adding multiple sets at once has been in O2 since the very beginning. You can select more than one file after clicking “Add set”. (There is no progress report yet, so you may think that O2 is frozen, but give it some time to complete the operation.)

    2. IRC inside O2. While I agree that this would be a good thing and that’s it’s not very hard to code, it would take a big amount of time. The IRC channel exists and is usable today, so I feel my time is better spent on completing the game module with missing features (at least at the moment).

    3. OCTaGoN. Yeah, although this is not important at all, I don’t think the wording with ‘a’ and ‘o’ is still used anywhere (other than my title bar).

    4. Phases: this has been talked about in the past. O1 had phases built-in and I’ve never used them – or played against someone who used them. People do their things and in the rare cases where phases are relevant they call it out in the chat. If you feel that phases are important and should be in the software, I suggest that you make a post about it in the forum and try to gather some support from other players. I will consider adding them if enough players express the concern of missing phases.

    5. Pictures: can you open a tickte at http://octgn.16bugs.com and post a screenshot?

    6. Round token: seeing who is the current player is possible by looking at the player tabs. The current player has the “stop at end of turn” button next to his name. But if you really want to move a token – even a rounded one – around, you should be able to use a modified game to do it. Basically you can define a token and use a transparent PNG or WDP image to have it round. Add it to the table when you begin the game. Again, if this should be built-in, I’d like more players raising their voice.

    • Victor Says:

      A quick glance at any of the threads on magic related forums (not the octgn forums) where OCTGN is being discussed, has a lot of lazy people posting…. “i have to download each individual set one at a time, screw this” or “how the hell do i find other players, there is no chat room function or information on getting to a chatroom with other players” or “no phases, so I have to be a really fast typer any time I want to respond to one of my opponent’s play or do something at the end of their upkeep phase, how is anyone supposed to play competitive magic without phases”

      I really think addressing those three issues would make the program a lot more accessible from what I’ve seen and will get it the respect and popularity it definately deserves to finally replace Magic Workstation completely.

    • Adam Says:

      jods, you should know that I was lead to this blog by a forum post discussing OCTGN at Mtgthesource Forums.

      A lot of the people there like the program but posted that they are unhappy it didn’t have phases or a chatroom.

      I just found out about this link from that thread… http://www.mibbit.com/networks/ircstorm/octgn.html

      It’s really a very useful link. Instead of coding a whole chat program, it might not be a bad idea if you added the Find More Players button but when the button is pressed, it simply launches the person’s internet browser and opened the link http://www.mibbit.com/networks/ircstorm/octgn.html

      That would make the program more holistic/complete and I imagine a piece of cake to implement. The menu would look very nice with six buttons rather than five as well.

      The main reason I am posting on this blog is…

      jods wrote: “I will consider adding them if enough players express the concern of missing phases”

      I just wanted to write that I would definately appreciate a button to cycle thru phases jods.

      I don’t know about OCTGN 1X as I never used it but I do play on Workstation all the time and everyone uses them there.

      It’s really important especially now with storm combo decks to be able to respond to/counter the right spell in the right phase. It’s important to be able to cast an instant at the end of your opponent’s turn, or tap your opponent’s lands or wasteland them at the end of your opponent’s upkeep phase.

      It’s also really confusing when you don’t know if your opponent is tapping a card during a mainphase or the attack phase.

      I actually think two small buttons next to the green arrow would work out well. The green arrow you press to go to the next turn. The button next to it, you press to simply post “I have a response” in the chat window. So when your opponent plays an instant, you press that button, so that your opponent knows not to proceed further, and then you cast your counterspell. Otherwise, people will be casting Dark Ritual -> Duress + Hymn to Tourach and you will never get the chance to counter the Dark Ritual because you didn’t type fast enough.

      But the phase button is more important than that. When you press it you go to the next phase. For example, when you press it, it will say “player 1s second main phase” then when you press it again and it says “player 1s end of turn phase” and when you press it again it writes “turn 2” and “player 2s untap phase”.

      That would be extremely useful so that you dn’t have to type out every little thing in the chat window and it sounds like it shouldn’t be hard to implement. But that’s just a guess. I really don’t know anything about programming. On behalf of the entire mtgthesource community that is interested in this program, thank you very much for developing it.

      They are just two buttons (the phases button and the i have a response button). So the rare few people that don’t care about phases or responding to plays can simply ignore them.

      About the round token, I’ve never heard of something like that before. But it sounds like a neat idea, but not something that sounds important.

      Same with getting rid of the OCTaGoN. It would definately look better if it said OCTAGON or OCTGN, but again, not something important.

    • Adam Says:

      jods, you should know that I was lead to this blog by a forum post discussing OCTGN at Mtgthesource Forums.

      A lot of the people there like the program but posted that they are unhappy it didn’t have phases or a chatroom.

      I just found out about this link from that thread… http://www.mibbit.com/networks/ircstorm/octgn.html

      It’s really a very useful link. Instead of coding a whole chat program, it might not be a bad idea if you added the Find More Players button but when the button is pressed, it simply launches the person’s internet browser and opened the link above

      That would make the program more holistic/complete and I imagine a piece of cake to implement. The menu would look very nice with six buttons rather than five as well.

      The main reason I am posting on this blog is…

      jods wrote: “I will consider adding them if enough players express the concern of missing phases”

      I just wanted to write that I would definately appreciate a button to cycle thru phases jods.

      I don’t know about OCTGN 1X as I never used it but I do play on Workstation all the time and everyone uses them there.

      It’s really important especially now with storm combo decks to be able to respond to/counter the right spell in the right phase. It’s important to be able to cast an instant at the end of your opponent’s turn, or tap your opponent’s lands or wasteland them at the end of your opponent’s upkeep phase.

      It’s also really confusing when you don’t know if your opponent is tapping a card during a mainphase or the attack phase.

      I actually think two small buttons next to the green arrow would work out well. The green arrow you press to go to the next turn. The button next to it, you press to simply post “I have a response” in the chat window. So when your opponent plays an instant, you press that button, so that your opponent knows not to proceed further, and then you cast your counterspell. Otherwise, people will be casting Dark Ritual -> Duress + Hymn to Tourach and you will never get the chance to counter the Dark Ritual because you didn’t type fast enough.

      But the phase button is more important than that. When you press it you go to the next phase. For example, when you press it, it will say “player 1s second main phase” then when you press it again and it says “player 1s end of turn phase” and when you press it again it writes “turn 2” and “player 2s untap phase”.

      That would be extremely useful so that you dn’t have to type out every little thing in the chat window and it sounds like it shouldn’t be hard to implement. But that’s just a guess. I really don’t know anything about programming. On behalf of the entire mtgthesource community that is interested in this program, thank you very much for developing it.

      They are just two buttons (the phases button and the i have a response button). So the rare few people that don’t care about phases or responding to plays can simply ignore them.

      About the round token, I’ve never heard of something like that before. But it sounds like a neat idea, but not something that sounds important.

      Same with getting rid of the OCTaGoN. It would definately look better if it said OCTAGON or OCTGN, but again, not something important.

    • Adam Says:

      I’m really sorry to bother you again jods.

      I know that you are very busy but I think this is a really important post, so please atleast read it.

      Phases would help a lot, but by and far the most helpful function that could added to OCTGN 2.0 would be shortcuts. I thinking adding this functionality into OCTGN 2.0 would make playing games so much faster and more efficent.

      Here are some that I believe are extremely useful regardless of what trading card you’re playing (and they’re identical to the shortcuts used by Magic Workstation, Apprentice, Forge and all other trading card programs not just Magic). So people are familiar with them…

      Here are the most useful shortcuts that almost everyone would use…

      Ctrl+S Shuffles your Library
      Ctrl+D Draw a Card
      Ctrl+I Roll a Dice to see who goes first etc
      Ctrl+F Flip a coin
      Ctrl+U Untaps all of your permanents
      Ctrl+R Posts “Wait, I’m thinking, may have a response” in the chat window
      Ctrl+K Posts “Ok” in chat window
      Ctrl+P Posts “Pass” in chat window
      Tab Go to chat window
      Ctrl+Space Go to Next step/phase (All it does is post to the chat menu “Player 1 is now at his upkeep phase” -> “Player 1 is now at his draw phase”)

      Ctrl+Enter End turn
      F11 Decrease life total by 1
      F12 Increase life total by 1
      Ctrl+M Action -> Mulligan (Moves hand to library, shuffles and draws 1 card less than you had).
      Note: This option also draws 7 cards when you have 0 cards in hand. This is handy at the start of the game.

      Here are shortcut functions that aren’t often used and thus far less important to include…

      Ctrl+L = Set Life
      Ctrl+O = Set Counters
      Alt+T = Make a Token
      Ctrl+T = Create a Custom Token
      Alt+D = Create Duplicate
      Shift+Left Click = select multiple cards
      Ctrl+Delete = Sacrifice selected permanent or token
      Shift+Left Click Drag = put card into play facedown
      F2 Request a New Game
      ctrl+z Give a +1/+1 counter
      ctrl+x Put a charge counter on a card
      ctrl+C Put another type of counter on a card

      And my one other question is about making arrows. I’ve seen pictures where targeting arrows are made from one card to another, but I can’t figure out how to it. In other programs, here is how that functionality is currently implemented…

      You can drag the card to the target with the Right Mouse Button. This will have a red arrow pup up. This is a nice easy way to show what you target. To remove the last red arrow, you do: ‘Alt + BackSpace’. To remove all red arrows, you do: ‘Ctrl + BackSpace’.

      Basically that translates to…

      Right Click Drag = create red arrow (disapears at next step)
      Shift+Right Click Drag = create yellow arrow (does not disappear at next step)
      Ctrl+Backspace = remove all red (not yellow) arrows
      Alt+Backspace = remove red (or yellow) arrows one at a time
      And similarly, other functionality is covered here… http://www.mwsgames.com/index.php/Tips_%26_Tricks

      But I’m not suggesting doing it like that is important. I was just curious how to make arrows.

      I really do think that the first batch of shortcuts I posted above would really help a ton though.

      Its not great having to use the mouse/touchpad to do everything when many people are really used to doing things like pressing Ctrl+S to shuffle their library, and Ctrl+D to draw a card and that method is so much faster as well.

      Once again, I’m so so sorry for even asking. You already put so much working into making this fantastic program. I don’t know how much coding that implementing shortcuts. But if it’s not too difficult, I think that would pretty much make this program complete. Just phases, and shortcuts and the program would be absolutely perfect.

      Thank you listening and for your time and for all the work you put into this already. A lot of people really appreciate that and are really rooting for this program.

  5. Victor Says:

    jods, you undoubtedly made a great program with sooo much potential. It could infact displace the need for Magic Workstation completely. It’s far more efficent and better coded, far better looking, but it’s still missing just a couple of very key function in MWS.

    The Magic League site seems very interested in switching over to this program for all of it’s tournaments, once this program implements phases and built in chat/pms over the current inefficent, expensive, slow and horrible looking Magic Workstation.

    I was actually reading some of the threads online where this program was being discussed and it’s not a stretch at all to say that the three things (phases, a chatroom, and all the sets being packaged together) are quite important to a lot of people, including me.

    Phases, the lack of a chatroom, and the lack of an all in one download packet with all of the MTG sets are the complaints that multiple people have repeatedly wished would be a part of the program.

    With phases, if all it would take is to implement a simple arrow key you can press to go to the next phase, it really would help help, and is rather key to competitive magic/tournaments. I think the magic league would love to switch over to using this program instead of MWS. People don’t have to use it, but it would be fantastic for those that want to use it.

    I also think having the built in chatroom would help a ton. The current octgn chatroom is usually bone dry for players because… 1.) mIRC is a pain to use for many people. 2.) most people don’t even know that there is an octgn chatroom or how to access it since it’s never brought up on this blog 3.) lack of universality means that people are just going to try to find players using forums, or play with their local groups instead of joining one coherent community, which is why the chatroom is mostly bone dry in terms of players eventhough a lot of people have this program. Having built in chat functionality would greatly simplify things.

    If you could, would you maybe atleast include instructions on accessing the correct chatroom for octgn on mirc inside the next release of program itself, to make it easier for everyone with the program to know where to go to find players. It could be added to the Help tab that already exists.

    And I wasn’t sure who’s running the mediafire.com/sets server but it would help immesely if they could package all those sets together into one download/zip folder, maybe host it as a torrent on piratebay or demonoid. That would make the program a lot easier to install for new people.

    Just a few humble suggestions. Please take them into consideration rather than forget about them outright. There’s several people talking about the program on various online magic forums (that’s how I found out about it), and those three things keep coming up.

    And thank you again. Keep up the fantastic work.

    P.S: I’m also very happy to hear that you’re phasing out the OCTaGoN name and going with OCTAGON.

  6. centroles Says:

    Oen,

    There are SIXTY EIGHT mtg sets released so far, legal in format! I don’t blame people for not wanting to download sixty eight different sets one by one, instead of just being able to download all of them at once from a torrent or mediafire or something.

    What’s wrong with someone else, not saying it should be you, but someone packaging all the sets together so that it would be easier to download and install them? Why would you be opposed to that?

    You are right that OCTGN can support multiple card games. But why should that mean that OCTGN shouldn’t be as accessible/easy to use or as functional and Magic Workstation.

    Mibbit is cool. What would be wrong with including a link to http://www.mibbit.com/chat/ in the Help tab on OCTGN along with telling people to join irc.ircstorm.net, port 6667, #octgn.

    Not everyone reads this blog. So it would nice if everyone with the program gets a brief blurb in the help tab that tells them how to connect to more players.

    Though eventually, a “Find more players” button does sound like it would be very useful.

    You seem to be saying that the program should be kept as inaccessible as possible. That anyone that wants to use it has to read this blog and find out about mibbit, and the irc chat room channel, and that everyone that wants to use it has to download and install sixty eight seperate sets one by one.

    I don’t see why it has to be like that. What’s wrong with making things easier for people that want to try the program by having the sets packaged together into one download, and by having instructions on where to find more players in the help tab of the program itself?

    Also, I think the reference to OCTaGoN was because that’s what it says in the home/title screen, which is inconsistent and not uniform with how it’s written everywhere else (OCTGN).

  7. Quimbly Says:

    Hey jods,
    What XML editor do you use? I really like the look of it.

  8. jods Says:

    It would be better to discuss long comments about new features requests in the forum (www.octgn.net/forum).

    @Quimbly:
    this schema designer is new to Visual Studio 2010 (currently in beta).


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: