It is currently 29 Apr 2024, 07:33
   
Text Size

Any Assistance from Non-Programmers?

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Any Assistance from Non-Programmers?

Postby Resonantg » 20 Oct 2009, 18:31

Okay, it's official. I don't get programming. That being said, I would like to help out this project some. I saw something about compiling text for cards, and was then wondering, what kind of help could be given by us who are not programmers or have just a little programming knowledge but can't figure out stuff like Eclipse or any coding environment?

Anything like that lying around that can be done?
Resonantg
 
Posts: 172
Joined: 11 Oct 2009, 16:20
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby mtgrares » 20 Oct 2009, 19:25

Personally I think it is good to file bug reports and spread the word about MTG Forge by mentioning it in a few Magic forums. Those two activities help to improve and advertise MTG Forge.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: Any Assistance from Non-Programmers?

Postby DennisBergkamp » 20 Oct 2009, 19:52

Yes, definitely. Testing + Bug reports are a great way.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby Chris H. » 20 Oct 2009, 23:30

I agree with mtgrares and Dennis. Testing and bug reports are a great way for a non-coder to get involved in the project. Testing the newest cards that were released helps by letting us know there is a problem while the coding is still fresh in our memories. It is also nice to hear on occasion that someone ran a test and no problems were detected. =D>

And testing the new cards is also a lot of fun. Discussing the bugs and/or features will also help you and us get to know one another. This helps to strengthen the sense of community on our CCGH forum. Creating interesting decks that showcase the newer cards and uploading them to the Decks area also helps the project.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Any Assistance from Non-Programmers?

Postby zerker2000 » 21 Oct 2009, 02:58

Definently testing, possibly in the form of looking for combo decks on the internet and adapting them to forge (which is bound to turn up a lot of bugs, in cases it doesn't, various cool decks that you can post on the deck forum).
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby apthaven » 21 Oct 2009, 07:31

Everyone nailed it already.

Another thing would be to search cards that are similar to the ones implemented in Forge and post them in the forums for programmers to put in easily. This would increase the card pool which everyone wants and loves.

In short, everyone shouldn't really run of things to do here. Magic is an evolving game after all :lol:
"I am a man and real men do not consume pink beverages. Get thee gone woman, and bring me something brown." - Jace Wayland
apthaven
Tester
 
Posts: 242
Joined: 20 Jun 2009, 12:34
Has thanked: 0 time
Been thanked: 1 time

Re: Any Assistance from Non-Programmers?

Postby fsntf » 21 Oct 2009, 08:14

First of all, was introduced to MTGForge by a friend and just discovered the wonderful cardlist.txt! Anyways, where should we post the new cards? Is there already a thread for them or should we start a new one? And lastly, I love the card Horn of Greed, but just cannot seem to make it work. I see Baru hjas a similar ability but I just can't figure how to make it work. I see that Landfall is just a flag so hopefully cards that trigger off of lands coming into play isn't far off. Keep up all the great work guys! It is greatly appreciated in my little circle of friends.
fsntf
 
Posts: 19
Joined: 21 Oct 2009, 08:08
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby zerker2000 » 22 Oct 2009, 03:01

If you're a non-programmer, stop reading here.
1.In the forge release, there should be a file named source.rar. Unpack it, and look for a file named CardFactory.java.
2.Open that file in a t"ext editor,( wait ~5 minutes for it to load :),) and search for "Baru". The section of code you find should contain the ability.
3.Copy the code you find relevant to it into a new if block next to the old one (containing horn of greed code) and save.
4.Compile the resulting file, and replace the CardFactory.class in run-forge.jar with it.
5. Run forge.
If anything works, tweak values until it works perfectly(loop from step 3). If nothing does (forge pops out an error when it starts up / starts a game / you play the card, or the ability doesn't trigger), restart (loop from step 1).
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby fsntf » 22 Oct 2009, 09:04

You sir are a gentleman and a scholar, and thanks btw. I wrote that last night before i realized the beta version had 3 landfall cards in it. Trying to see if i can make Horn of Greed maybe work like Ior Ruin expedition where it will get a counter and i can remove a counter to draw a card with out the sac. Not really working though, so going to see if I can make the Baru work instead with the "you may draw a card" instead of the PTpump.
fsntf
 
Posts: 19
Joined: 21 Oct 2009, 08:08
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby DennisBergkamp » 22 Oct 2009, 15:54

Actually, Horn of Greed is trickier, since it only triggers on when you play a land (not "comes into play", or "enters the battlefield"). The code for this is somewhere else entirely, also currently we have a hacky implementation of cards like Exploration and Fastbond, these cases would have to be taken into account as well :?
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: Any Assistance from Non-Programmers?

Postby mtgrares » 22 Oct 2009, 20:40

To quickly find out if MTG Forge already implements a specific card, the easy way is to open up the file "cards.txt" and search for the card's name or text. Of course you can always use the deck editor too.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: Any Assistance from Non-Programmers?

Postby Marek14 » 23 Oct 2009, 09:51

mtgrares wrote:To quickly find out if MTG Forge already implements a specific card, the easy way is to open up the file "cards.txt" and search for the card's name or text. Of course you can always use the deck editor too.
Name only for best results - it's not 100% sure that the text in cards.txt matches Oracle.
Marek14
Tester
 
Posts: 2762
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 297 times

Re: Any Assistance from Non-Programmers?

Postby mtgrares » 24 Oct 2009, 20:07

The text doesn't match. Usually static abilities have the same text, like Glorious Anthem, but the best way is just to search for a card's name.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 112 guests


Who is online

In total there are 112 users online :: 0 registered, 0 hidden and 112 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 112 guests

Login Form