YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
38 Pages«<3435363738>
Options
Go to last post Go to first unread
Michael Lawrence Dee  
#701 Posted : Saturday, July 12, 2014 5:17:15 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Originally Posted by: ShootingStardust Go to Quoted Post
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.

Edited by user Saturday, July 12, 2014 5:18:51 AM(UTC)  | Reason: Format

Now this is how I play:
JainIlluverii  
#702 Posted : Tuesday, July 15, 2014 12:32:22 AM(UTC)
JainIlluverii

Rank: Newbie

Joined: 6/27/2014(UTC)
Posts: 1

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.

Edited by user Tuesday, July 15, 2014 5:06:59 AM(UTC)  | Reason: New information came up

UpperDav  
#703 Posted : Wednesday, August 13, 2014 2:29:31 PM(UTC)
UpperDav

Rank: Newbie

Joined: 7/29/2014(UTC)
Posts: 2

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!

Edited by user Wednesday, August 13, 2014 2:38:41 PM(UTC)  | Reason: Not specified

Scraggy45  
#704 Posted : Monday, September 15, 2014 3:38:43 PM(UTC)
Scraggy45

Rank: Newbie

Joined: 9/5/2014(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
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  
#705 Posted : Sunday, September 28, 2014 12:37:32 PM(UTC)
modafoca

Rank: Member

Joined: 8/4/2014(UTC)
Posts: 31

Thanks: 4 times
how to add new cards in android ???
ExAllure  
#706 Posted : Saturday, October 11, 2014 2:00:43 AM(UTC)
ExAllure

Rank: Newbie

Joined: 4/19/2014(UTC)
Posts: 2

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

Edited by user Saturday, October 11, 2014 2:04:15 AM(UTC)  | Reason: Not specified

DHA  
#707 Posted : Friday, October 24, 2014 2:52:51 PM(UTC)
DHA

Rank: Newbie

Joined: 11/11/2013(UTC)
Posts: 9

Thanks: 2 times
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  
#708 Posted : Thursday, October 30, 2014 2:50:00 PM(UTC)
DHA

Rank: Newbie

Joined: 11/11/2013(UTC)
Posts: 9

Thanks: 2 times
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  
#709 Posted : Thursday, October 30, 2014 3:43:45 PM(UTC)
adriano

Rank: Advanced Member

Joined: 12/29/2013(UTC)
Posts: 327

Thanks: 22 times
Was thanked: 71 time(s) in 59 post(s)
Originally Posted by: DHA Go to Quoted Post
Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3

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

Next time remember to copy your custom cards.cdb to the expansions folder.
DHA  
#710 Posted : Friday, October 31, 2014 4:44:52 AM(UTC)
DHA

Rank: Newbie

Joined: 11/11/2013(UTC)
Posts: 9

Thanks: 2 times
Originally Posted by: adriano Go to Quoted Post
Originally Posted by: DHA Go to Quoted Post
Omg my cards all have removed from cards.cdb after update :)
How can I restore them? :3

Try this: 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

Edited by user Friday, October 31, 2014 4:56:45 AM(UTC)  | Reason: Not specified

UpperDav  
#711 Posted : Sunday, November 16, 2014 4:39:11 AM(UTC)
UpperDav

Rank: Newbie

Joined: 7/29/2014(UTC)
Posts: 2

Originally Posted by: DHA Go to Quoted Post
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  
#712 Posted : Tuesday, November 18, 2014 5:00:11 PM(UTC)
Sykosis

Rank: Member

Joined: 10/14/2014(UTC)
Posts: 54

Thanks: 4 times
Was thanked: 2 time(s) in 2 post(s)
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  
#713 Posted : Sunday, November 30, 2014 8:23:53 PM(UTC)
Wolfgang DelaSangre

Rank: Advanced Member

Joined: 2/27/2013(UTC)
Posts: 75

Was thanked: 3 time(s) in 2 post(s)
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

Edited by user Monday, December 01, 2014 4:33:25 AM(UTC)  | Reason: Not specified

TheGameRogue  
#714 Posted : Friday, January 30, 2015 9:46:35 AM(UTC)
TheGameRogue

Rank: Newbie

Joined: 1/27/2015(UTC)
Posts: 3

I'm trying to create a new card but this keeps happening. Can anyone help?

UserPostedImage
HeibanHikaru  
#715 Posted : Sunday, March 15, 2015 7:48:55 AM(UTC)
HeibanHikaru

Rank: Newbie

Joined: 2/22/2014(UTC)
Posts: 5

I need help with the script of this two... I dunno how to put them.
UserPostedImage
UserPostedImage
Michael Lawrence Dee  
#716 Posted : Sunday, March 15, 2015 8:24:40 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Originally Posted by: HeibanHikaru Go to Quoted Post
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  
#717 Posted : Sunday, March 15, 2015 4:59:20 PM(UTC)
HeibanHikaru

Rank: Newbie

Joined: 2/22/2014(UTC)
Posts: 5

Originally Posted by: Michael Lawrence Dee Go to Quoted Post
Originally Posted by: HeibanHikaru Go to Quoted Post
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  
#718 Posted : Friday, April 03, 2015 12:26:31 AM(UTC)
Heinken111

Rank: Member

Joined: 3/26/2015(UTC)
Posts: 25

Thanks: 2 times
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  
#719 Posted : Wednesday, April 08, 2015 11:08:16 AM(UTC)
Zenas

Rank: Advanced Member

Joined: 6/22/2014(UTC)
Posts: 65

Thanks: 7 times
Was thanked: 6 time(s) in 5 post(s)
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)

Edited by user Wednesday, April 08, 2015 11:09:22 AM(UTC)  | Reason: Not specified

Thebluedash  
#720 Posted : Friday, April 10, 2015 5:35:22 AM(UTC)
Thebluedash

Rank: Advanced Member

Joined: 2/28/2015(UTC)
Posts: 48

Thanks: 1 times
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 :P
Users browsing this topic
38 Pages«<3435363738>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error