Michael Lawrence Dee
2014-07-12T05:17:15Z
Originally Posted by: ShootingStardust 

I barely understand this. I've gotten to the part whee you do the Set Type but after that, I couldn`t do it. I was trying to make the numeron cards and I was starting with Chaos Number 1000: Nummeronius. I was wondering if you could do it for me or guide me somehow because I have no idea what I`m doing.



Don't worry much on Numerons. They have been scripted like 5 times already. Here's my version:
http://www.ygopro.co/For...Missing-TF-Cards-Project 
Find it around page 38+. The only ones we haven't scripted are Nummeronius cards.
Now this is how I play:
JainIlluverii
2014-07-15T00:32:22Z
Hi hi. New to lua scripting and have a small bit of confusion. I have a card with a simple effect, the code works, except.... I can't target things of its archetype. A touch of research lead me to find that I need to go into the cbd to edit the setcode. I do that, edit his one targets setcode to the number I want, go back to the card and change to the new appropriate hexcode, go into Pro, attempt to activate, and... Can't? Please help.

UserPostedImage
Simple effect, the code not so much. His effect has a target, as mentioned, but I can't activate his effect. Anyone know why I might not be able to? Contrary to the spoiler, the code appropriately spaced with indentations.

*Edit: More research said that I need an Assets folder. Also found that I don't have an assets folder. That proves problematic. Going to see if I can work a way around that. Can't find a way around this and can't get it to work with Devpro.

UpperDav
2014-08-13T14:29:31Z
Hello. I'm new here and I began adding custom cards a while ago. I have some issues with one of my Monster Cards and I don't know how to fix it.

Here's my card text:


Here's my card's script so far:


I meet two problems:
1. My monster doesn't activate its effect when the opponent Summons a monster. Instead, it activates its effect when it is Summoned.
2. The effect is supposed to give 500 ATK and DEF to the [Monster_Name_Here]s Summoned by it. But if there's already one of them on the field and I Summon the others with the effect, they all get the ATK/DEF boost. In other words, all [Monster_Name_Here]s get the bonus while one of them shouldn't.

Is there anyone who can tell me what I'm doing wrong?

Thanks in advance!
Scraggy45
2014-09-15T15:38:43Z
I'm having trouble scripting a card of mine! It's effect is suppose to add 2 spell cards from your graveyard, but when I select two only one returns to my hand! Please Help me!
modafoca
2014-09-28T12:37:32Z
how to add new cards in android ???
ExAllure
2014-10-11T02:00:43Z
i have a problem with the second effect, but the first works

1 unaffected by "trap Cards"
2 when this card is special summoned you can return one card on the field

DHA
2014-10-24T14:52:51Z
My card have effect as follow

"This card gain new effect as its overlay number reach XX~XX, XX~XX and so on"
"This card gain new effect as the number of my card in deck/grave/extra reach XX~XX, XX~XX and so on"

I dont have any idea what to type to the script. Any help?

DHA
2014-10-30T14:50:00Z
Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3

Sorry for bad english. I'm still a kid. 🙂
adriano
2014-10-30T15:43:45Z
Originally Posted by: DHA 

Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3


http://www.howtogeek.com...ry-edition-of-windows-7/ 

Next time remember to copy your custom cards.cdb to the expansions folder.
DHA
2014-10-31T04:44:52Z
Originally Posted by: adriano 

Originally Posted by: DHA 

Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3


http://www.howtogeek.com...ry-edition-of-windows-7/ 

Next time remember to copy your custom cards.cdb to the expansions folder.



It doesn't help, my cards have restore but the game doesn't have my cards. Then I try to delete the text and system give me this system error 
UpperDav
2014-11-16T04:39:11Z
Originally Posted by: DHA 

Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3



It happened to me once. All I did was to manually re-enter them in the cards.cdb file. It took some time, but it worked just fine.

To avoid the problem at the next update, I created another .cbd file containing my custom cards. This way, after an update, all I'll have to do is to copy-paste them into the cards.cdb. If I create a new card, I add it in both .cdb files to make sure I won't lose it with the next update.
Sykosis
2014-11-18T17:00:11Z
Yo. New here. I'd like to modify Red-Eyes Black Metal Dragon so that it also has Metalmorph's ATK boosting effect (where it boosts ATK by half the attack target's ATK). And maybe modify it so that it can also be special summoned from the hand and not just the deck.

I'd do it myself but I don't even know where to begin.

Is it simply a matter of copying the ATK boost part of the Metalmorph script and pasting it into the REBMD script, and if so, which part and where do I paste it (middle or end)?
INOV 2016. Make Red-Eyes great again
Wolfgang DelaSangre
2014-11-30T20:23:53Z
How do you create a setcode for a card that is a member of three archetypes? I'm pretty sure it's been done before with some of the Over-Hundred Chaos Numbers, most notably Tachyon Dragon and Archfiend Seraph.

I ask because Junk Warrior is now going to have to be a part of three archetypes: Junk, Warrior, and Synchron Synchro.

Also.... I've been trying to code Stardust Warrior, but I can't get its revival effect to work at all. Any ideas?

Quote:

--Stardust Warrior
function c80100440.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),aux.NonTuner(Card.IsType,TYPE_SYNCHRO),1)
c:EnableReviveLimit()
--Negate Summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_SPSUMMON)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c80100440.condition)
e1:SetCost(c80100440.cost)
e1:SetTarget(c80100440.target)
e1:SetOperation(c80100440.operation)
c:RegisterEffect(e1)
--Revive
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(80100440,1))
e2:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetCode(EVENT_PHASE+PHASE_END)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1)
e2:SetTarget(c80100440.sumtg)
e2:SetOperation(c80100440.sumop)
c:RegisterEffect(e2)
--Summon "Warrior" Synchro
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(80100440,2))
e3:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetCondition(c80100440.spcon)
e3:SetTarget(c80100440.sptg)
e3:SetOperation(c80100440.spop)
c:RegisterEffect(e3)
end
function c80100440.condition(e,tp,eg,ep,ev,re,r,rp)
return tp~=ep and Duel.GetCurrentChain()==0
end
function c80100440.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
function c80100440.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DISABLE_SUMMON,eg,eg:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,eg:GetCount(),0,0)
end
function c80100440.operation(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.NegateSummon(eg) then
Duel.Destroy(eg,REASON_EFFECT)
end
e:GetHandler():RegisterFlagEffect(80100440,RESET_EVENT+0x1fe0000+RESET_PHASE+RESET_END,0,0)
end
function c80100440.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:GetFlagEffect(80100440)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c80100440.sumop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsRelateToEffect(e) then
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
end
end
function c80100440.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP)
and c:GetPreviousControler()==tp and rp~=tp
end
function c80100440.spfilter(c,e,tp)
return c:IsType(TYPE_SYNCHRO) and c:IsLevelBelow(8) and c:IsSetCard(104) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c80100440.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c80100440.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function c80100440.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c80100440.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end
end

TheGameRogue
2015-01-30T09:46:35Z
I'm trying to create a new card but this keeps happening. Can anyone help?

UserPostedImage
HeibanHikaru
2015-03-15T07:48:55Z
I need help with the script of this two... I dunno how to put them.
UserPostedImage
UserPostedImage
Michael Lawrence Dee
2015-03-15T08:24:40Z
Originally Posted by: HeibanHikaru 

I need help with the script of this two... I dunno how to put them.
UserPostedImage
UserPostedImage



First, I can't see the image.
Second, try a simplier effect, here's the basics:
http://www.ygopro.co/For...al--CURRENTLY-INCOMPLETE 
Now this is how I play:
HeibanHikaru
2015-03-15T16:59:20Z
Originally Posted by: Michael Lawrence Dee 

Originally Posted by: HeibanHikaru 

I need help with the script of this two... I dunno how to put them.
UserPostedImage
UserPostedImage



First, I can't see the image.
Second, try a simplier effect, here's the basics:
http://www.ygopro.co/For...al--CURRENTLY-INCOMPLETE 



The firts one says.
While this card is Face-Up on the field is treated as a "Drink Dragon" monster. When this card is Normal Summon. Search in your deck for a "Drink Dragon" monster and add it to your hand. When this card is destroy by battle or card effects and send to the Graveyard. Shuffle 1 card from your hand to your deck.

The second is.
If this card would be returned to the deck by a card effect. Send this card to the Graveyard instead; Special Summon from your deck 1 level 4 or lower "Drink Dragon" except "Drink Dragon - Yakult".
Heinken111
2015-04-03T00:26:31Z
First time uploader here. Ive made the cards Ive put on on SQL according to current tutorial and all Ive seen is nothing when I put in their names. Can somebody help?
Zenas
2015-04-08T11:08:16Z
How do you know what the id at the end is?

(The end of the .lua file because if I search for a non-anime card I cannot find a certain card. Only the pic in the whole ygopro percy folder)
Thebluedash
2015-04-10T05:35:22Z
During your opponents Standby Phase; select one monster they control; it loses 500 ATK after each Standby Phase. If the monsters ATK reaches 0 due to this cards effect, destroy it and inflict damage to your opponents life points equal to the original ATK of the selected monster.

Can anyone help make this script? The effect is just so complicated 😛