Card wishlist
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Re: Card wishlist
by rasdel » 27 May 2012, 16:31
First of all i want to say i am a Magarena addict!
I downloaded it yesterday... Magarena... where have u been all my life!!! It's deffinitely the best way to play MTG with AI i have found, including playing DotP.
Of course the cards are limited right now but still is awesome...
I only have 1 request for the moment... it's been one of my favorite cards... i would like the 7th edition art since it looks better too...
Prodigal Sorcerer
http://gatherer.wizards.com/Pages/Card/ ... seid=11458
Anyway, hope you can add it...
Cheers
I downloaded it yesterday... Magarena... where have u been all my life!!! It's deffinitely the best way to play MTG with AI i have found, including playing DotP.
Of course the cards are limited right now but still is awesome...
I only have 1 request for the moment... it's been one of my favorite cards... i would like the 7th edition art since it looks better too...
Prodigal Sorcerer
http://gatherer.wizards.com/Pages/Card/ ... seid=11458
Anyway, hope you can add it...
Cheers
Re: Card wishlist
by pcastellazzi » 27 May 2012, 21:13
Prodigal Sorcerer can be implemented with scripting. Please take a look at: http://code.google.com/p/magarena/wiki/ ... ntingCards. Inside Magerena-1.26/Magarena/scripts is the current set. Prodigal Pyromancer would be a good start point.
- Code: Select all
name=Prodigal Sorcerer
url=http://magiccards.info/7e/en/94.html
image=http://magiccards.info/scans/en/7e/94.jpg
value=3
rarity=C
type=Creature
subtype=Human,Wizard
color=u
converted=3
cost={2}{U}
pt=1/1
ability=ping 1
timing=fmain
Last edited by pcastellazzi on 28 May 2012, 02:43, edited 1 time in total.
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
— Ben Kuchera, Mordern Warfare 3 review.
-
pcastellazzi - Posts: 184
- Joined: 25 Apr 2012, 00:40
- Location: Montevideo, Uruguay
- Has thanked: 11 times
- Been thanked: 30 times
Re: Card wishlist
by rasdel » 27 May 2012, 23:40
I tried but i didn't work. If i put the script into the script folder Magarena wont even start. I'll read around and see if i can find a way around it. Still, it's good to know that one can add some cards editing scripts from others. It opens up some possibilities. Either way, if i fail i guess there is a chance the devs will implement this card eventually,
Cheers
Cheers
Re: Card wishlist
by pcastellazzi » 28 May 2012, 02:39
Make sure the script is named "Prodigal_Sorcerer.txt" (without the quotes) and you are running the latest version (1.26). Older versions used a slightly different script format. Instead of start withrasdel wrote:I tried but i didn't work. If i put the script into the script folder Magarena wont even start.
- Code: Select all
name=Prodigal Sorcerer
- Code: Select all
>Prodigal Sorcerer
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
— Ben Kuchera, Mordern Warfare 3 review.
-
pcastellazzi - Posts: 184
- Joined: 25 Apr 2012, 00:40
- Location: Montevideo, Uruguay
- Has thanked: 11 times
- Been thanked: 30 times
Re: Card wishlist
by rasdel » 28 May 2012, 03:49
Yeap, everything is the same, i am using 1.26, and already noticed the difference in script, thanks though... there is only 1 question...
When i open a script it looks like this:
Cheers
When i open a script it looks like this:
- Code: Select all
name=Abbey Griffinurl=http://magiccards.info/isd/en/1.htmlimage=http://magiccards.info/scans/en/isd/1.jpgvalue=3rarity=Ctype=Creaturesubtype=Griffincolor=wconverted=4cost={3}{W}pt=2/2ability=flying,vigilancetiming=main
- Code: Select all
name=Prodigal Sorcerer
url=http://magiccards.info/7e/en/94.html
image=http://magiccards.info/scans/en/7e/94.jpg
value=3
rarity=C
type=Creature
subtype=Human,Wizard
color=u
converted=3
cost={2}{U}
pt=1/1
ability=ping 1
timing=fmain
Cheers
Re: Card wishlist
by pcastellazzi » 28 May 2012, 15:05
It should be like shown in the code. Each key=val in a separate line.
- Attachments
-
- Prodigal_Sorcerer.txt
- Prodigal Sorcerer (working)
- (232 Bytes) Downloaded 387 times
The lights then came up and the crowd erupted in applause, because that's what the crowd does after it watches destruction on a large screen.
— Ben Kuchera, Mordern Warfare 3 review.
— Ben Kuchera, Mordern Warfare 3 review.
-
pcastellazzi - Posts: 184
- Joined: 25 Apr 2012, 00:40
- Location: Montevideo, Uruguay
- Has thanked: 11 times
- Been thanked: 30 times
Re: Card wishlist
by rasdel » 02 Jun 2012, 12:42
Well, since Prodigal Sorcerer is working i guess i'll post some cards that i think require code, since i can't seem to be able to implememnt them to the game...
Stormscape Apprentice
Thunderscape Apprentice
Daring Apprentice
Sage Owl
Cinder Shade
Halam Djinn
Hooded Kavu
Trench Wurm
Hate Weaver
Phyrexian Delver
Confiscate
Inspiration
Stormscape Apprentice
Thunderscape Apprentice
Daring Apprentice
Sage Owl
Cinder Shade
Halam Djinn
Hooded Kavu
Trench Wurm
Hate Weaver
Phyrexian Delver
Confiscate
Inspiration
Re: Card wishlist
by melvin » 02 Jun 2012, 13:30
You're right, none of these can be scripted. Most can be implemented with a bit of Java code, except for Sage Owl (no support for looking at cards).
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card wishlist
by Huggybaby » 04 Jun 2012, 16:37
Thanks everyone. Prodigal Sorcerer is a perfect classic card and a must-have.
-
Huggybaby - Administrator
- Posts: 3209
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 704 times
- Been thanked: 595 times
Re: Card wishlist
by beholder » 09 Jun 2012, 12:53
Hooded Kavu can be scripted, I just added it to the repository :rasdel wrote:Well, since Prodigal Sorcerer is working i guess i'll post some cards that i think require code, since i can't seem to be able to implememnt them to the game...
Stormscape Apprentice
Thunderscape Apprentice
Daring Apprentice
Sage Owl
Cinder Shade
Halam Djinn
Hooded Kavu
Trench Wurm
Hate Weaver
Phyrexian Delver
Confiscate
Inspiration
- Code: Select all
name=Hooded Kavu
url=http://magiccards.info/in/en/147.html
image=http://magiccards.info/scans/en/in/147.jpg
value=2
rarity=C
type=Creature
subtype=Kavu
color=r
converted=3
cost={2}{R}
pt=2/2
ability=gains {B} fear
timing=main
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-
beholder - Programmer
- Posts: 123
- Joined: 17 Jul 2011, 17:56
- Location: Netherlands
- Has thanked: 16 times
- Been thanked: 25 times
Re: Card wishlist
by beholder » 10 Jun 2012, 08:06
I added Mirrorworks but not the others on your list. Here's why:pcastellazzi wrote:I would like to see:
Clone - I tried but didn't manage to make this card work properly (it's all a bit technical :/).
Phantasmal creatures - We tested these a while ago and the AI just doesn't play these well enough.
Gate to the Æther - There's no support for revealing cards.
Precursor Golem - I see no way to determine how many golems the spell could target.
Survival of the Fittest - Searching the library is not supported.
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-
beholder - Programmer
- Posts: 123
- Joined: 17 Jul 2011, 17:56
- Location: Netherlands
- Has thanked: 16 times
- Been thanked: 25 times
Re: Card wishlist
by mecheng » 26 Jun 2012, 17:09
First, your program is amazing, thanks for that!
I don't know if I understood the Jun 7 update note (kind of a double negative statement), but if it means we can now request cards before 7th edition, I would think the original dual lands would be nice.
Also, not a card request, but a filter request. For each set. I played the game way back in the day and now looking at 2000 new cards is overwhelming. Would be nice to select by expansion so I can use your game to learn the new card sets. I think the pre constructed decks help a lot there too, so thanks for that.
As for other older cards: candelabra, beserk, elephant graveyard were always fun. And the power 9. I could see Two Headed Giant and Raging River being hard to program, but what about Fork or Wheel of Fortune.
I don't know if I understood the Jun 7 update note (kind of a double negative statement), but if it means we can now request cards before 7th edition, I would think the original dual lands would be nice.
Also, not a card request, but a filter request. For each set. I played the game way back in the day and now looking at 2000 new cards is overwhelming. Would be nice to select by expansion so I can use your game to learn the new card sets. I think the pre constructed decks help a lot there too, so thanks for that.
As for other older cards: candelabra, beserk, elephant graveyard were always fun. And the power 9. I could see Two Headed Giant and Raging River being hard to program, but what about Fork or Wheel of Fortune.
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card wishlist
by melvin » 27 Jun 2012, 02:50
We don't have support for reveal actions yet, but we have some thoughts on how AI could make use of it and some initial ideas on what the UI would look it. So it is not implementable now but should be in the future when we have the necessary compoenents. Tracking this as issue 241, https://code.google.com/p/magarena/issues/detail?id=241jmartus wrote:Living Destiny
Yes, that's what it means. We acknowledge that different people like to play with different cards and we want to support that.mecheng wrote:First, your program is amazing, thanks for that!
I don't know if I understood the Jun 7 update note (kind of a double negative statement), but if it means we can now request cards before 7th edition, I would think the original dual lands would be nice.
The original dual lands are scriptable (can be added without changing the code). Do try scripting it yourself, that would be the fastest way to get it in the game. If you post your card scripts, we will be happy to include them in the next release. See https://code.google.com/p/magarena/sour ... _Crypt.txt for an example of a similar card script and see https://code.google.com/p/magarena/wiki ... ntingCards for documentation of card scripting in general.
That's on our todo, https://code.google.com/p/magarena/issues/detail?id=198.mecheng wrote:Also, not a card request, but a filter request. For each set. I played the game way back in the day and now looking at 2000 new cards is overwhelming. Would be nice to select by expansion so I can use your game to learn the new card sets. I think the pre constructed decks help a lot there too, so thanks for that.
Candelabra of Tawnos: multiple targets not supported due to AI limitationmecheng wrote:As for other older cards: candelabra, beserk, elephant graveyard were always fun. And the power 9. I could see Two Headed Giant and Raging River being hard to program, but what about Fork or Wheel of Fortune.
Berserk: implementable
Elephant Graveyard: implementable
Black Lotus: no mana pool
Moxens: scriptable
Ancestral Recall: implementable
Time Walk: will be in the next release
Timetwister: implementable
Fork: almost implementable, the "copy is red" part needs some additional work
Wheel of Fortune: will be in the next release, implemented by pcastellazzi
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card wishlist
by mecheng » 28 Jun 2012, 00:13
Thanks for the quick and detailed reply. I tried following your info on card scripting and had a few questions:
1. Can you put more code info in there. Like the codes for colors for instance. I looked at a few cards to figure it out, but might be nice to list. Also, on Mountain for instance mana=r4 but on your Bloodcrypt example, the mana was b3r3 - why 3 vs 4?
2. How to get new cards into the game itself?
I was thinking I'd just add a txt file with my new script into the scripts folder and then when game loaded up, do a download for new image.
Except the game will not get past splash screen with new file added. But once I take file out and start again, it loads (but of course, no new card).
So maybe just a few notes on the actual steps on getting the cards into the game.
3. You mentioned to "post your scripts" - is there a forum for that already? If so, perhaps others have done what I am trying and it would be faster for all us to get that way.
Thanks again
1. Can you put more code info in there. Like the codes for colors for instance. I looked at a few cards to figure it out, but might be nice to list. Also, on Mountain for instance mana=r4 but on your Bloodcrypt example, the mana was b3r3 - why 3 vs 4?
2. How to get new cards into the game itself?
I was thinking I'd just add a txt file with my new script into the scripts folder and then when game loaded up, do a download for new image.
Except the game will not get past splash screen with new file added. But once I take file out and start again, it loads (but of course, no new card).
So maybe just a few notes on the actual steps on getting the cards into the game.
3. You mentioned to "post your scripts" - is there a forum for that already? If so, perhaps others have done what I am trying and it would be faster for all us to get that way.
Thanks again
- mecheng
- Posts: 21
- Joined: 26 Jun 2012, 16:59
- Has thanked: 0 time
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 9 guests