a place for all your custom card needs you can post scripts pics and request for card to be made also please donate to the funding for a new server made for custom card duels
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | .
 

 Would be grateful I somebody can help me ^^'

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
StormWing0




Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 26
Location : Tacoma, WA

PostSubject: Re: Would be grateful I somebody can help me ^^'   Sat May 17, 2014 12:30 am

Might learn Lua in the background during the summer but right now all I can do is watch and laugh at what happens. XD Have several other languages under my belt but dislike scripting languages like lua due to them not having a stricter coding style.

_________________
Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Sat May 17, 2014 12:39 am

ok, thanks.

To go back to topic, I still have problems with the card, that let you draw cards after each
1000 lifepoints you paid.  ^^'
There is a warning in line 26:   "26: attempt to index a nil value"

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
StormWing0




Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 26
Location : Tacoma, WA

PostSubject: Re: Would be grateful I somebody can help me ^^'   Sat May 17, 2014 12:55 am

Basically it is telling you whatever is needing indexing is null or not there.

_________________
Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Sat May 17, 2014 1:00 am

The problem is that I just don't know, what is needed there ^^'
Do I have to put in a "0", a "1" or sth. else??

EDIT: Ok, outlwas helped me with the card. Thank you very much for your time
         and that you could bear my stupidity^^'

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
cane_63106

avatar


Member Title : D.D. Dragon Kaiser
Posts : 454
Join date : 2013-07-23
Location : St. Louis, MO

PostSubject: Re: Would be grateful I somebody can help me ^^'   Tue May 20, 2014 5:48 am

I don't know if it's been fixed (the 1st 1) but hopefully this will help

function c900000003.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c900000003.cost)
e1:SetTarget(c900000003.target)
e1:SetOperation(c900000003.activate)
c:RegisterEffect(e1)
end
function c900000003.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end
Duel.PayLPCost(tp,1000)
end
function c900000003.filter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsSetCard(0x3E8)
end
function c900000003.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_REMOVED+LOCATION_GRAVE) and c900000003.filter(chkc,e,tp) end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingTarget(c900000003.filter,tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectTarget(tp,c900000003.filter,tp,LOCATION_REMOVED+LOCATION_GRAVE,0,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,tp,LOCATION_REMOVED+LOCATION_GRAVE)
end
function c900000003.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end

_________________
Now...you will feel my wrath and know your place! I activate DIMENSIONAL END!!!

Custom Card Duels
Back to top Go down
View user profile http:// https://www.youtube.com/user/cane63106/videos
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Tue May 20, 2014 9:18 pm

Yes, I could fix it just by attaching for the locations "+LOCATION_REMOVED"
but thanks for your help anyway Very Happy 

Am I allowed to ask, where you learned scripting or do you also use trial and error??

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
cane_63106

avatar


Member Title : D.D. Dragon Kaiser
Posts : 454
Join date : 2013-07-23
Location : St. Louis, MO

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 3:02 am

trial and error like crazy! lol for all that I know and have experimented with, I'm still having trouble with "activate 1 of the following effects" lol http://www.ygopro.co/tabid/95/g/posts/t/120/Adding-cards-to-YGOPro--Tutorial.aspx is a great start, but repetition makes it easy after a while.

_________________
Now...you will feel my wrath and know your place! I activate DIMENSIONAL END!!!

Custom Card Duels
Back to top Go down
View user profile http:// https://www.youtube.com/user/cane63106/videos
StormWing0




Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 26
Location : Tacoma, WA

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 3:13 am

Would be nice if we had a good API to go by so we didn't have to T&E so much. XD

_________________
Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile
cane_63106

avatar


Member Title : D.D. Dragon Kaiser
Posts : 454
Join date : 2013-07-23
Location : St. Louis, MO

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 3:19 am

the easy way i use is the search for cards with similar effects, copy/paste their lua and modify to my liking, if possible. sometimes i just change the effects all together if i can't lol

_________________
Now...you will feel my wrath and know your place! I activate DIMENSIONAL END!!!

Custom Card Duels
Back to top Go down
View user profile http:// https://www.youtube.com/user/cane63106/videos
StormWing0




Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 26
Location : Tacoma, WA

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 3:30 am

You should see the monstrosity of a card I cooked up in my Orblit archetype.  I don't think there'd be anything currently in the game that could pull off what some of those cards do. Smile Been having an obsession with Time and Space Manipulating cards lately for some odd reason. >.>

_________________
Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile
outlaw1994

avatar
Admin
Admin

Member Title : Red-Eyes Lord
Posts : 797
Join date : 2013-07-09
Age : 23
Location : bundaberg qld australia

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 4:57 am

i will be working on an api soon to help script but it will take a while
Back to top Go down
View user profile http://mackpro.userboard.net
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 4:23 pm

cane_63106 wrote:
trial and error like crazy! lol for all that I know and have experimented with, I'm still having trouble with "activate 1 of the following effects" lol http://www.ygopro.co/tabid/95/g/posts/t/120/Adding-cards-to-YGOPro--Tutorial.aspx is a great start, but repetition makes it easy after a while.

thanks^^

I would like to know where the scripter of ygopro learned Scripting, because the couldn't use Trial and error XD

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
outlaw1994

avatar
Admin
Admin

Member Title : Red-Eyes Lord
Posts : 797
Join date : 2013-07-09
Age : 23
Location : bundaberg qld australia

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 4:48 pm

the scripter of ygopro made ygopro including the scripting languag so of course they know how to code cards as they made the language for the cards
Back to top Go down
View user profile http://mackpro.userboard.net
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 7:10 pm

and this language is based on simple lua scripting with new operators right??

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
TGAP-Trixie

avatar


Member Title : Trixie does not even...
Posts : 273
Join date : 2014-04-17

PostSubject: Re: Would be grateful I somebody can help me ^^'   Wed May 21, 2014 10:07 pm

I had always wondered if percival (or whoever made ygopro along with some of the cards) had actually hacked a copy of... whatever the newest yugioh game was at the time with all the cards, that they had been made using lua scripting and that he copy/pasted them. Because to script as many cards as there are on the game from scratch must've been crazy, unless you're konami xD.

The API you'll be working on, will you include stuff from the constant.lua file in scripts and add some notes to the side saying what they do? I would've done that, but idk what half of them do or where some would go in the script. But I could start with the ones I know if you want. We could post on an online spreadsheet or something.

I think more people (or maybe just myself) would prefer seeing stuff like Duel.SelectTarget, (HINTxxx) and all of the other commands not shown in the constant file and given an explanation on those as well. It really would help to understand and help ourselves more and request less.
Back to top Go down
View user profile
outlaw1994

avatar
Admin
Admin

Member Title : Red-Eyes Lord
Posts : 797
Join date : 2013-07-09
Age : 23
Location : bundaberg qld australia

PostSubject: Re: Would be grateful I somebody can help me ^^'   Thu May 22, 2014 4:07 am

yes to all questions mlp ao0
Back to top Go down
View user profile http://mackpro.userboard.net
AoO

avatar


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Would be grateful I somebody can help me ^^'   Thu May 22, 2014 8:11 am

Thanks^^

_________________

Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile
Sponsored content





PostSubject: Re: Would be grateful I somebody can help me ^^'   

Back to top Go down
 

Would be grateful I somebody can help me ^^'

View previous topic View next topic Back to top 
Page 2 of 2Go to page : Previous  1, 2

 Similar topics

-
» Grateful for a good week!
» grateful for small annoyaces

Permissions in this forum:You cannot reply to topics in this forum
Mackpro :: MackPro :: Requests-