10/4/2004: This card's ability is a mana ability. There is no chance to respond to it in order to prevent the damage. If you want to prevent the damage, you need to use a prevention spell or ability prior to tapping the land for mana.

I just signed up for the forum to get help with contributing cards. I got everything up and running but for some reason it doesn't let me commit changes with error message not authorized. I didn't see any instructions anywhere on having to do anything other than install the tools needed, clone and start coding the stuff you want to contribute. What do I need to do so that I can push my contributions? Thanks

MTGfan wrote:I just signed up for the forum to get help with contributing cards. I got everything up and running but for some reason it doesn't let me commit changes with error message not authorized. I didn't see any instructions anywhere on having to do anything other than install the tools needed, clone and start coding the stuff you want to contribute. What do I need to do so that I can push my contributions? Thanks

MTGfan wrote:I just signed up for the forum to get help with contributing cards. I got everything up and running but for some reason it doesn't let me commit changes with error message not authorized. I didn't see any instructions anywhere on having to do anything other than install the tools needed, clone and start coding the stuff you want to contribute. What do I need to do so that I can push my contributions? Thanks

You have to create pull requests, that we can check and merge to the main repository.

Based on what I am reading I need to be able to submit my changes to make the pull request. But since the changes are stuck on my PC I have no idea how to get them to where they are supposed to go so that I can make the pull request. I have never used git before. All my development experience is with in person communication and coding in the same room/building as everyone else working on the code.

MTGfan wrote:I just signed up for the forum to get help with contributing cards. I got everything up and running but for some reason it doesn't let me commit changes with error message not authorized. I didn't see any instructions anywhere on having to do anything other than install the tools needed, clone and start coding the stuff you want to contribute. What do I need to do so that I can push my contributions? Thanks

You have to create pull requests, that we can check and merge to the main repository.

Based on what I am reading I need to be able to submit my changes to make the pull request. But since the changes are stuck on my PC I have no idea how to get them to where they are supposed to go so that I can make the pull request. I have never used git before. All my development experience is with in person communication and coding in the same room/building as everyone else working on the code.

You will commit and push the changes to your local repository. Then when that is done, the easiest way to submit a pull request is to go to the URL of your local repository on github. Should be github.com/yourGitHubUsername . You should have the magefree repository forked ( see here for steps to fork a repository: https://help.github.com/articles/fork-a-repo/ ). On your own github, there should be a button for Create Pull Request ( see https://help.github.com/articles/creati ... l-request/ ). Google around first if you get stuck, but if you're still struggling let us know. We also have a Gitter channel for XMage developers to help as needed.

escplan9 wrote:Learning Git is very valuable. The XMage Developer Getting Started guide details most of what you should need to know:<URL snipped>

You will commit and push the changes to your local repository. Then when that is done, the easiest way to submit a pull request is to go to the URL of your local repository on github. Should be <URL snipped> . You should have the magefree repository forked ( see here for steps to fork a repository: <URL snipped> ). On your own github, there should be a button for Create Pull Request ( see <URL snipped> ). Google around first if you get stuck, but if you're still struggling let us know. We also have a Gitter channel for XMage developers to help as needed.

Ah this is the part I was missing. I read all the info linked to from the xmage pages but there was no info regarding how to get the changes from your PC onto the site. Doing my own search resulted in using push to commit it to the repository which lead me to my original result of access denied. I believe with what you have said I know exactly how to proceed. I assume once I have a fork I won't need to keep repeating that process each time I have another card to add?

MTGfan wrote:I believe with what you have said I know exactly how to proceed. I assume once I have a fork I won't need to keep repeating that process each time I have another card to add?

I appear to be having an issue in netbeans with push trying to use the wrong URL as user@github etc rather than github . com / user / mage.git. I ended up using the command line to correct the URL and them used the command line to push. Not that I'm opposed to using the command line but would prefer to use the commands from within netbeans. I assume there is some place in netbeans, I am not finding the info when google searching, that corrects this error in the URL to push the changes.

I only have experience using the command line for Git usage and did the same thing for correcting the local and remote URLs there. You can type in "git gui" from the command line for a minimal UI that's easy for the staging, commits and pushes. Beyond that I just stick with the command line. Glad to hear you're up and running now!

I recently decided I want to participate and contribute to this great project so I've followed the Getting Started guide and I'm well on my way to implementing my first card. In fact I think I have completed the code for it(I found an easy one; Ogre Leadfoot) but I'm struggling test my code besides other things.

I noticed that in the deck editor whenever I hover over Ogre Leadfoot I only get his vanilla stats(3/3) and no rules text unlike other cards with rules text. I've also tried to change the toughness inside its class and delete MageServer .db files + force update from client but the stats are still displayed as 3/3. I'm wondering if the server/client are getting the information about the card from elsewhere(as opposed to the class added by the Perl script), especially since looking at other cards the rules text is not part of the code anywhere(besides as a comment). How do i fix this?

Finally, I was wondering if I could be added to the Card Implemented Tracking Tool.

I recently decided I want to participate and contribute to this great project so I've followed the Getting Started guide and I'm well on my way to implementing my first card. In fact I think I have completed the code for it(I found an easy one; Ogre Leadfoot) but I'm struggling test my code besides other things.

I noticed that in the deck editor whenever I hover over Ogre Leadfoot I only get his vanilla stats(3/3) and no rules text unlike other cards with rules text. I've also tried to change the toughness inside its class and delete MageServer .db files + force update from client but the stats are still displayed as 3/3. I'm wondering if the server/client are getting the information about the card from elsewhere(as opposed to the class added by the Perl script), especially since looking at other cards the rules text is not part of the code anywhere(besides as a comment). How do i fix this?

Delete the server + client cards.db files to get the tooltip text updated. Force update does only add missing cards If I remember right.

Very new to this, in fact I can't get the project (Mage Root) and it's dependencies to compile (see the error below). I have just installed NetBeans 8.2 and my Java version is 1.8.0_121. I have, to my mind, followed the installation instructions to the letter and increased the memory as and where necessary but I still get the error below. Can anyone help?

Very new to this, in fact I can't get the project (Mage Root) and it's dependencies to compile (see the error below). I have just installed NetBeans 8.2 and my Java version is 1.8.0_121. I have, to my mind, followed the installation instructions to the letter and increased the memory as and where necessary but I still get the error below. Can anyone help?