YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
6 Pages«<23456>
Options
Go to last post Go to first unread
ha_n  
#61 Posted : Sunday, February 28, 2016 5:17:23 AM(UTC)
ha_n

Rank: Advanced Member

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

Thanks: 112 times
Was thanked: 45 time(s) in 34 post(s)
Can you explain way to use "Empty Expansions Template"? I don't know how to use it to backup when Ygopro update.:lol . Thank you

Edited by user Sunday, February 28, 2016 5:23:35 AM(UTC)  | Reason: Not specified

Michael Lawrence Dee  
#62 Posted : Sunday, February 28, 2016 8:57:25 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: ha_n Go to Quoted Post
Can you explain way to use "Empty Expansions Template"? I don't know how to use it to backup when Ygopro update.:lol . Thank you


It's simply an empty database and zip. What you can do for backup purposes.

1. Open SQLite.
2. Copy-Paste all data contents to the data at the same time all text contents to text. - I meant your cards, not the whole database.
3. For the .zip copy all YOUR .jpg and place them within the .zip pics, while scripts for scripts.
It's pretty easy to understand so just ask if it isn't clear. Rushing to do something at the moment.
Now this is how I play:
thanks 1 user thanked Michael Lawrence Dee for this useful post.
bou28  
#63 Posted : Sunday, February 28, 2016 10:04:46 AM(UTC)
bou28

Rank: Advanced Member

Joined: 2/23/2013(UTC)
Posts: 245

Thanks: 14 times
Was thanked: 8 time(s) in 8 post(s)
Hi! Could you help me for this card script: when this card is Normal Summoned, effects of Spell/Trap Cards and non-DIVINE monsters cannot be activated. Thx for all your hard work!
Michael Lawrence Dee  
#64 Posted : Sunday, February 28, 2016 12:40:14 PM(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: bou28 Go to Quoted Post
Hi! Could you help me for this card script: when this card is Normal Summoned, effects of Spell/Trap Cards and non-DIVINE monsters cannot be activated. Thx for all your hard work!


:wall :wall :wall Post it outside this topic, create your own topic.
Now this is how I play:
bou28  
#65 Posted : Sunday, February 28, 2016 4:19:40 PM(UTC)
bou28

Rank: Advanced Member

Joined: 2/23/2013(UTC)
Posts: 245

Thanks: 14 times
Was thanked: 8 time(s) in 8 post(s)
I have already created one but nobody replied.
Michael Lawrence Dee  
#66 Posted : Sunday, February 28, 2016 4:38:40 PM(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: bou28 Go to Quoted Post
I have already created one but nobody replied.


Then bump it and include my name. Once it's near the top of Card Scripts, I can put it in my list of cards to check/ help out.
Now this is how I play:
bou28  
#67 Posted : Sunday, February 28, 2016 4:53:24 PM(UTC)
bou28

Rank: Advanced Member

Joined: 2/23/2013(UTC)
Posts: 245

Thanks: 14 times
Was thanked: 8 time(s) in 8 post(s)
How to do that ?
bou28  
#68 Posted : Sunday, February 28, 2016 4:54:27 PM(UTC)
bou28

Rank: Advanced Member

Joined: 2/23/2013(UTC)
Posts: 245

Thanks: 14 times
Was thanked: 8 time(s) in 8 post(s)
hung96  
#69 Posted : Saturday, March 05, 2016 7:36:17 AM(UTC)
hung96

Rank: Member

Joined: 2/29/2016(UTC)
Posts: 59

Thanks: 44 times
Was thanked: 3 time(s) in 3 post(s)
I 've read all the tutorials in box but I still don't know how to make difficult script. When make a hard script, I can only search a same effect and copy-paste it.:wall
Could there be a document about scripting to understand it more?:(

Edited by user Saturday, March 05, 2016 7:37:59 AM(UTC)  | Reason: Not specified

Michael Lawrence Dee  
#70 Posted : Saturday, March 05, 2016 10:53:44 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: hung96 Go to Quoted Post
I 've read all the tutorials in box but I still don't know how to make difficult script. When make a hard script, I can only search a same effect and copy-paste it.:wall
Could there be a document about scripting to understand it more?:(


I haven't found any that's why I made this one myself. It's still incomplete of course. What is your effect then? Just create a new topic and I'll see how difficult it is.
Now this is how I play:
hung96  
#71 Posted : Saturday, March 05, 2016 11:42:40 AM(UTC)
hung96

Rank: Member

Joined: 2/29/2016(UTC)
Posts: 59

Thanks: 44 times
Was thanked: 3 time(s) in 3 post(s)
Oh no. My opinion is how to understand it to script myself. I am afraid to disturb other when i ask them. I 'm curious you learned how to script. I think when there is no tutorial as now. I 've read all the tutorials but i can only make some basic script. Thank for your interest:laugh

Edited by user Saturday, March 05, 2016 11:43:26 AM(UTC)  | Reason: Not specified

Michael Lawrence Dee  
#72 Posted : Saturday, March 05, 2016 11:48:44 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: hung96 Go to Quoted Post
Oh no. My opinion is how to understand it to script myself. I am afraid to disturb other when i ask them. I 'm curious you learned how to script. I think when there is no tutorial as now. I 've read all the tutorials but i can only make some basic script. Thank for your interest:laugh


Well you can check the interpreter.cpp, included in the tutorial. ALL the functions are there, though without explanations. You have to test them yourself. CTRL+F it.
Now this is how I play:
thanks 1 user thanked Michael Lawrence Dee for this useful post.
ha_n  
#73 Posted : Saturday, March 05, 2016 11:50:33 AM(UTC)
ha_n

Rank: Advanced Member

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

Thanks: 112 times
Was thanked: 45 time(s) in 34 post(s)
Originally Posted by: hung96 Go to Quoted Post
Oh no. My opinion is how to understand it to script myself. I am afraid to disturb other when i ask them. I 'm curious you learned how to script. I think when there is no tutorial as now. I 've read all the tutorials but i can only make some basic script. Thank for your interest:laugh


I also learn about scripting and I found this folder https://github.com/Fluorohydride:thup
I think it contains everything about Ygopro but it seems very complex:lol
thanks 1 user thanked ha_n for this useful post.
urielkama  
#74 Posted : Saturday, March 05, 2016 2:16:51 PM(UTC)
urielkama

Rank: Advanced Member

Joined: 1/22/2014(UTC)
Posts: 953

Thanks: 165 times
Was thanked: 256 time(s) in 211 post(s)
Originally Posted by: ha_n Go to Quoted Post
Originally Posted by: hung96 Go to Quoted Post
Oh no. My opinion is how to understand it to script myself. I am afraid to disturb other when i ask them. I 'm curious you learned how to script. I think when there is no tutorial as now. I 've read all the tutorials but i can only make some basic script. Thank for your interest:laugh


I also learn about scripting and I found this folder https://github.com/Fluorohydride:thup
I think it contains everything about Ygopro but it seems very complex:lol


Yes it contains everything what you Need, UI and GUI for Client and ocgcore which includes the current and further duel mechanics where every effect and so on is described, if you Aware of c++ and c# language, and know what fluorhydride intended to do with those codes you'll able to modify ygopro as you want to in every kind of improvements or maybe Change it to a completely new programm^^.
hung96  
#75 Posted : Monday, March 07, 2016 3:00:25 PM(UTC)
hung96

Rank: Member

Joined: 2/29/2016(UTC)
Posts: 59

Thanks: 44 times
Was thanked: 3 time(s) in 3 post(s)
I think C++ is different from Lua:S . I read interpreter.cpp and tested some scripts. But i don't understand how to use code from line 504

Edited by user Monday, March 07, 2016 3:16:16 PM(UTC)  | Reason: Not specified

Michael Lawrence Dee  
#76 Posted : Monday, March 07, 2016 3:25:07 PM(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: hung96 Go to Quoted Post
I think C++ is different from Lua:S . I read interpreter.cpp and tested some scripts. But i don't understand how to use code from line 504


This 504?
static const struct luaL_Reg debuglib[] = {

Don't bother that. It's for Debugging. I think uh... Check puzzles? I think they used these there.
Now this is how I play:
thanks 1 user thanked Michael Lawrence Dee for this useful post.
hung96  
#77 Posted : Tuesday, March 08, 2016 6:31:37 AM(UTC)
hung96

Rank: Member

Joined: 2/29/2016(UTC)
Posts: 59

Thanks: 44 times
Was thanked: 3 time(s) in 3 post(s)
Thank a lot.:laugh Have interpreter updated when new version release ? I saw a few more files in Ygopro=core folders outside Interpreter.cpp . These files contain code what is similar to C++. Was these files relate to lua scripting ? Can C++ code script as Lua?
Michael Lawrence Dee  
#78 Posted : Tuesday, March 08, 2016 2:29:36 PM(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: hung96 Go to Quoted Post
Thank a lot.:laugh Have interpreter updated when new version release ? I saw a few more files in Ygopro=core folders outside Interpreter.cpp . These files contain code what is similar to C++. Was these files relate to lua scripting ? Can C++ code script as Lua?


The interpreter.cpp is ALWAYS updated since it's in Github. Honestly, I only used the interpreter.cpp and nothing from the other pages.
Now this is how I play:
EmeraldDragn  
#79 Posted : Thursday, March 10, 2016 12:09:40 AM(UTC)
EmeraldDragn

Rank: Newbie

Joined: 6/24/2014(UTC)
Posts: 28

How would the script code work for a card in multiple archetypes? For Example, "Junk Synchron" is both a "Junk" monster and a "Synchron" monster. The card i'm trying to add is called "Stardust Synchron" and so would be both a "Stardust" card and a "Synchron" card. At the very least can someone tell me what the setcode for such a card would be? Please respond quickly, and thanks for the help!
Michael Lawrence Dee  
#80 Posted : Thursday, March 10, 2016 2:06:57 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: EmeraldDragn Go to Quoted Post
How would the script code work for a card in multiple archetypes? For Example, "Junk Synchron" is both a "Junk" monster and a "Synchron" monster. The card i'm trying to add is called "Stardust Synchron" and so would be both a "Stardust" card and a "Synchron" card. At the very least can someone tell me what the setcode for such a card would be? Please respond quickly, and thanks for the help!


This is partially answered in the first Spoiler Tag in my post.

And it also explained in the first link:
http://www.ygopro.co/For...ting-video-Added#post381

Find something with 2 archetypes. Just check it. I'd say take Quickdraw Synchron and Stardust Dragon for your setcode's bases and combine them. If the first link plus my partial explanation can't be understood clearly, please reply so I can update that part when I have time.
Now this is how I play:
Users browsing this topic
6 Pages«<23456>
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