Lis of Hardcoded card ?

For all your questions regarding Image Card Coding.
Please read the Image Posting Guideline & Index before posting in this forum.
Forum rules
DO NOT POST BUG REPORT IN THIS FORUM !!

Please read carefully the forum rules related to the card coding section : viewtopic.php?f=21&t=1545

All post will be edited to follow forum rules.
Locked
whismer
Posts: 55
Joined: Thu Aug 06, 2009 2:47 am

Lis of Hardcoded card ?

Post by whismer »

I try to find why Kami of the Crescent Moon was nont included in Shadowmoor (same effect that Howling Mine) and when I try to check the code of Howling mine, I didn't find any auto line.

Is Howling Mine harcoded? and what's the card that are hardcoded?

Whis

[EDIT ABRA - renamed & moved]
Psyringe
Posts: 1163
Joined: Mon Aug 31, 2009 10:53 am

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by Psyringe »

Yes, Howling Mine is hardcoded.

Here's a list of hardcoded cards. It's about a month old, so there may have been some changes in the meantime, but it should still be sufficiently accurate:

Aladdin's Lamp (RV)
Armageddon Clock (RV)
Clockwork Beast (RV)
Conservator (RV)
Crystal Rod (RV)
Howling Mine (RV)
Iron Star (RV)
Ivory Cup (RV)
Jandor's Ring (RV)
Kormus Bell (RV)
Mana Vault (RV)
The Rack (RV)
Throne of Bone (RV)
Wooden Sphere (RV)
Animate Dead (RV)
Deathlace (RV)
Drain Life (RV)
Erg Raiders (RV)
Hypnotic Specter (RV)
Lord of the Pit (RV)
Mind Twist (RV)
Paralyze (RV)
Pestilence (RV)
Sacrifice (RV)
Blue Elemental Blast (RV)
Control Magic (RV)
Hurkyl's Recall (RV)
Mana Short (RV)
Power Leak (RV)
Spell Blast (RV)
Stasis (RV)
Thoughtlace (RV)
Volcanic Eruption (RV)
Aspect of Wolf (RV)
Channel (RV)
Cockatrice (RV)
Fastbond (RV)
Force of Nature (RV)
Kudzu (RV)
Lifelace (RV)
Living Artifact (RV)
Living Lands (RV)
Thicket Basilisk (RV)
Chaoslace (RV)
Dragon Whelp (RV)
Earthbind (RV)
Fireball (RV)
Red Elemental Blast (RV)
Circle of Protection: Black (RV)
Circle of Protection: Blue (RV)
Circle of Protection: Green (RV)
Circle of Protection: Red (RV)
Circle of Protection: White (RV)
Eye for an Eye (RV)
Farmstead (RV)
Island Sanctuary (RV)
Purelace (RV)
Reverse Polarity (RV)
Energy Tap (LEG)
Living Plane (LEG)
Shield of the Ages (ICE)
Minion of Leshrac (ICE)
Seeds of Innocence (MIR)
Psychic Drain (RAV)
Reminisce (10E)
Angelic Chorus (10E)
Sudden Impact (10E)
Traumatize (10E)
Soulblast (10E)
Lavaborn Muse (10E)
Beacon of Immortality (10E)
Sylvan Basilisk (10E)
Beacon of Destruction (10E)
Dr.Solomat
Posts: 975
Joined: Mon Dec 15, 2008 5:12 pm
Location: Germany

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by Dr.Solomat »

whismer wrote:I try to find why Kami of the Crescent Moon was nont included in Shadowmoor (same effect that Howling Mine) and when I try to check the code of Howling mine, I didn't find any auto line.

Is Howling Mine harcoded? and what's the card that are hardcoded?

Whis
Kami of the Crescent Moon is in Saviors of Kamigawa, and it is already in Wagic. ;)
Sets Coded/Released: Legends, Visions, Weatherlight, Tempest, Stronghold, Portal I & III, Urza's Saga BLOCK, Mercadian Masques, Invasion BLOCK, Mirrodin, Ravnica, Guildpact, Conflux, Alara Reborn
whismer
Posts: 55
Joined: Thu Aug 06, 2009 2:47 am

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by whismer »

My bad for the wrong set!!


but this make Howling Mine codable?
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by wololo »

It's already in the game, so yes. If you want another card that does exactly the same thing, use the "alias" keyword
whismer
Posts: 55
Joined: Thu Aug 06, 2009 2:47 am

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by whismer »

I know that Howling Mine is in the game but sometime you said that Hardcoded card take a lot of memory/space and if Kami is softcodable maybe we can remove Howling Mine from the Hardcoded list and put another one?

Whismer
wololo
Site Admin
Posts: 3728
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by wololo »

whismer wrote:you said that Hardcoded card take a lot of memory/space
I don't remember saying that.
Hardocded cards are a pain because the AI doesn't know how to use them and they take lots of code (not memory) which increases the maintenance cost of the project.
Howling Mine cannot be softcoded because it has a special feature: Its ability doesn't work if the card is tapped

Also, removing one hardcoded card does not mean we add a new one instead, on the contrary, the ultimate goal is to have no hardcoded card at all. That would remove something like 2000 lines of code which would be awesome.
whismer
Posts: 55
Joined: Thu Aug 06, 2009 2:47 am

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by whismer »

I'm not an expert in the correct term :) but I will go to sleep "moins niaiseux"

Thx Wololo always interesting to learn something

whis
Saint
Posts: 434
Joined: Sat Jan 09, 2010 4:57 pm
Location: Netherlands

Re: Was Howling Mine hardcode (list of Hardcoded card)

Post by Saint »

Havent really looked into the coding much but about howling mine.

What about something like @tapped.idle or @tapped.disable then just let it @auto.untap (or can't use spells or abilities, you gotta have a command for that i assume) on upkeep?
I could be wrong ofcource but that seems like it would do the trick if someone tapped it wont work on his/her upkeep but will start working as soon as your at your untap phase.

But like i sayed i could be way off :P
"The bird of the Hermes is my name, eating my wings to make me tame." - Ripley Scrowle, Elias Ashmole's Theatrum Chemicum Britannicum - 1652
Locked