Few Questions Regarding the Database, Archtypes, and Servers

Working on somehing? Share your progress and ask/offer help.

Few Questions Regarding the Database, Archtypes, and Servers

Postby Superancient » 20 May 2012, 16:46

Hello. I am sorry again for making so many threads, but I have quite a few questions that I'm having a bit of trouble with.

After Percival18 helped me quite a bit in my previous two threads, I've been going crazy with the custom card creation. I've mastered adding cards to the database, I have a very good hold on writing the scripts for the cards, and everything seems to be working quite well so far.

However, there are a few things that elude me:

Firstly, in the DATAS table in the cards.cdb file, there are two columns I don't understand: the OT column and the CATEGORY column. What exactly do these do? I always set the former to 3 (since most other cards have that) and the latter to 0, and that works, but I want to understand these columns. I read in another thread that the CATEGORY column had to do with searching for the card in the deck editor, but that wasn't really expanded upon. Could someone give me a brief rundown of what these columns do?

Secondly, I am interested in creating a new archtype (setcode) for my custom version of YGOPro. However, I have no clue how to do this. At first, I assumed that all you had to do was set the SETCODE for each card in the archtype to the same number in the database, but as I started writing scripts, I realized that each SETCODE has a pointer that references it. For example, the "IRON CHAIN" archtype has a setcode of 37 in the cards.cdb file, but if I want to reference that in the script, I have to use the code "0x25", which is a pointer. Now, how do I create a NEW archtype? Where do I create a new pointer for me to use in the scripts, and how do I associate it with the SETCODE in the cards.cdb file? Does anyone know?

Lastly, I have a question regarding servers such as the Chinese FH-YGOPro, the Taiwanese MyCard, and the American Dawn of a New Era. How exactly are these achieved? YGOPro is an open source project, right? Is there anywhere I can access a client/server version of the application, a place where there's a tutorial on how to write your own, or any form of hint I can find to help me make my own server? Hamachi is very troublesome to use, especially if your partner is not experienced with it, and it can lead to many unnecessary problems. Having a server that can support my custom cards (or anyone else's) would be great.

Again, I'm sorry for making so many threads, but I am getting very interested in YGOPro. If I can figure out these last few mysteries, I could possibly write a very thorough tutorial explaining how to add new cards from new sets or custom cards from your own sets into the game, since I already understand how to script and add to the database.

Thank you in advance.
Superancient
 
Posts: 6
Joined: 08 May 2012, 07:55

Re: Few Questions Regarding the Database, Archtypes, and Ser

Postby YuGiOhMoDDeR » 20 May 2012, 18:01

welcome back, n dont be sorry bout makin soooo many threads.....we are here to solve eachothers probs....
i will tell u what i got explorin cards database..

Firstly, in the DATAS table in the cards.cdb file, there are two columns I don't understand: the OT column and the CATEGORY column. What exactly do these do? I always set the former to 3 (since most other cards have that) and the latter to 0, and that works, but I want to understand these columns. I read in another thread that the CATEGORY column had to do with searching for the card in the deck editor, but that wasn't really expanded upon. Could someone give me a brief rundown of what these columns do?


column OT means is card OCG or TCG....n most of monster have OT = 3...OCG is 1, n TCG is 2...(im not sure is it but, accordin to my speculations it is ^^')

column CATEGORY is monsters effect...so for example there is effects like SPECIAL SUMMON, DESTROY MONSTER, CHANGE ATK/DEF. etc..n there is every code for each category....

Secondly, I am interested in creating a new archtype (setcode) for my custom version of YGOPro. However, I have no clue how to do this. At first, I assumed that all you had to do was set the SETCODE for each card in the archtype to the same number in the database, but as I started writing scripts, I realized that each SETCODE has a pointer that references it. For example, the "IRON CHAIN" archtype has a setcode of 37 in the cards.cdb file, but if I want to reference that in the script, I have to use the code "0x25", which is a pointer. Now, how do I create a NEW archtype? Where do I create a new pointer for me to use in the scripts, and how do I associate it with the SETCODE in the cards.cdb file? Does anyone know?


SETCODE is for OCG/TCG sets...like u have Gem.Knights, Ally-of-Justice..etc..n like category every set has its own code..n like u mentioned Iron Chain it has 37 setcode,which is equal to 0x25 in hex...so its pretty same :)...so u could put some ur setcode number, n pointer just convert to hex ....it should be easy :)

Lastly, I have a question regarding servers such as the Chinese FH-YGOPro, the Taiwanese MyCard, and the American Dawn of a New Era. How exactly are these achieved? YGOPro is an open source project, right? Is there anywhere I can access a client/server version of the application, a place where there's a tutorial on how to write your own, or any form of hint I can find to help me make my own server? Hamachi is very troublesome to use, especially if your partner is not experienced with it, and it can lead to many unnecessary problems. Having a server that can support my custom cards (or anyone else's) would be great.


bout servers..i dont kno anythin bout it, but lets say i kno how works Dawn of new Era...maybe i shouldnt say it public...send me pm if u wanna kno more ;)

so tht should be all i kno bout database..i hope it helps ^^'

PS. sorry bout last post i replied on ur thread bout lua scriptin...it was rude of me...im sorry :(
Image
Image
User avatar
YuGiOhMoDDeR
 
Posts: 93
Joined: 11 Jan 2012, 17:12
Location: Travnik, Bosnia&Herzegovina

Re: Few Questions Regarding the Database, Archtypes, and Ser

Postby Superancient » 21 May 2012, 10:13

YuGiOhMoDDeR wrote:column OT means is card OCG or TCG....n most of monster have OT = 3...OCG is 1, n TCG is 2...(im not sure is it but, accordin to my speculations it is ^^')

column CATEGORY is monsters effect...so for example there is effects like SPECIAL SUMMON, DESTROY MONSTER, CHANGE ATK/DEF. etc..n there is every code for each category....


Oh, I see. That makes sense. That would mean that 3 is for a card in both the TCG and OCG. I never even thought of that, thank you.

SETCODE is for OCG/TCG sets...like u have Gem.Knights, Ally-of-Justice..etc..n like category every set has its own code..n like u mentioned Iron Chain it has 37 setcode,which is equal to 0x25 in hex...so its pretty same :)...so u could put some ur setcode number, n pointer just convert to hex ....it should be easy :)


Oh wow! I seriously didn't even notice that it's just hex...I didn't even think of that, honestly! I feel kind of dumb now. Thank you again.

bout servers..i dont kno anythin bout it, but lets say i kno how works Dawn of new Era...maybe i shouldnt say it public...send me pm if u wanna kno more ;)


Alright.

so tht should be all i kno bout database..i hope it helps ^^'

PS. sorry bout last post i replied on ur thread bout lua scriptin...it was rude of me...im sorry :(


Oh, don't worry about that. Thank you so much for all of your help!
Superancient
 
Posts: 6
Joined: 08 May 2012, 07:55

Re: Few Questions Regarding the Database, Archtypes, and Ser

Postby YuGiOhMoDDeR » 21 May 2012, 10:21

ur welcome man....im glad tht i helped ;)
Image
Image
User avatar
YuGiOhMoDDeR
 
Posts: 93
Joined: 11 Jan 2012, 17:12
Location: Travnik, Bosnia&Herzegovina

Re: Few Questions Regarding the Database, Archtypes, and Ser

Postby demeitri1 » 11 Jun 2012, 12:13

thnx tht clears up alot for me too... but for category what of cards tht increase atk destroy and special summon... how do i know what number to put there?
demeitri1
 
Posts: 6
Joined: 10 Jun 2012, 14:52

Re: Few Questions Regarding the Database, Archtypes, and Ser

Postby laithnimri » 25 Jul 2012, 01:01

Lua file sucks they it's hard
laithnimri
 
Posts: 43
Joined: 07 Jul 2012, 00:42

20170914caihuali

Postby yangping55 » 14 Sep 2017, 04:05

kobe shoes
coach outlet
kevin durant shoes
ray ban sunglasses
michael kors handbags
canada goose
air max 1
coach outlet online
longchamp outlet
longchamp handbags
ugg boots
true religion jeans
michael kors outlet
fitflops shoes
michael kors outlet online
ugg boots
ugg outlet
lakers jerseys
ugg cyber monday
burberry outlet
fitflops outlet
polo outlet
mulberry handbags
nike shoes
oakley sunglasses
oakley sunglasses
canada goose outlet
canada goose outlet
chicago blackhawks jerseys
reebok trainers
christian louboutin outlet
mulberry outlet
yeezy boost 350
michael kors bags
montblanc pens
nike store uk
michael kors outlet
nike air max
pandora charms
canada goose outlet
adidas wings
pandora jewelry
asics shoes
coach outlet online
canada goose outlet
true religion outlet
longchamp handbags
chrome hearts
ysl outlet
nfl jersey wholesale
ferragamo outlet
coach factory outlet
coach outlet
canada goose outlet
ray ban sunglasses
polo ralph lauren
oakley sunglasses
mulberry handbags
michael kors outlet
canada goose jackets
oakley sunglasses
michael kors factory outlet
ray ban sunglasses
ugg boots
cheap mlb jerseys
canada goose jackets
michael kors outlet
tory burch shoes
tory burch outlet
canada goose jackets
coach outlet online
air max 90
christian louboutin outlet
michael kors handbags
fitflops shoes
canada goose jackets
mont blanc pens
mac cosmetics
coach outlet
michael kors outlet
ugg outlet
christian louboutin shoes
canada goose outlet
oakley sunglasses
nike store
cheap jordans
birkenstock sandals
ugg boots
canada goose jackets
ugg outlet
kate spade outlet
coach handbags
polo ralph lauren
jordan shoes
ugg outlet
michael kors black friday
lebron james shoes
canada goose uk
coach outlet
canada goose outlet
coach outlet online
kate spade outlet
coach outlet
true religion jeans
herve leger outlet
cheap jordans
ugg boots
ray ban sunglasses
coach factory outlet
canada goose jackets
michael kors outlet online
mulberry sale
ugg boots
longchamp solde
kate spade handbags
hermes belt
nike outlet store
true religion jeans
adidas nmd
soccer jerseys
kobe 9
cheap snapbacks
air max trainers
cheap snapbacks
christian louboutin online
mulberry bags
michael kors outlet
coach handbags
air max 90
fitflops
canada goose outlet
michael kors outlet online
canada goose jackets
ralph lauren polo
canada goose jackets
michael kors outlet
hermes outlet
ugg outlet
christian louboutin uk
coach outlet
coach factory outlet
coach outlet
fitflops sale clearance
coach factory outlet
longchamp solde
oakley sunglasses
nfl jersey wholesale
polo ralph lauren
canada goose coats
canada goose black friday
ugg boots
coach factory outlet
supra shoes
christian louboutin shoes
ugg boots
polo ralph lauren
cheap ugg boots
oakley sunglasses
coach outlet online
mulberry bags
kate spade outlet
ray ban sunglasses
pandora charms
nba jerseys
tods outlet
nike trainers
valentino outlet
ed hardy clothing
pandora charms sale clearance
marc jacobs outlet
jordan shoes
coach outlet online
michael kors outlet
vans shoes
michael kors
ugg boots
adidas outlet store
ugg boots
coach outlet
ferragamo shoes
fitflops
nhl jerseys
louboutin shoes
ray ban sunglasses
lebron james shoes
ugg boots
polo ralph lauren
birkenstock outlet
tory burch outlet
coach outlet online
true religion outlet
pandora jewelry
ray bans
michael kors outlet
prada shoes
ugg outlet
ugg boots
canada goose coats
ralph lauren outlet
mulberry handbags
polo outlet
swarovski crystal
canada goose coats
ralph lauren polo
coach outlet
true religion jeans
ugg outlet
kate spade outlet
christian louboutin outlet
michael kors outlet
cheap jordans
michael kors outlet
ray ban sunglasses
coach outlet online
coach outlet
air max 90
ecco shoes
canada goose outlet
canada goose coats
michael kors
michael kors handbags
michael kors outlet
ferragamo shoes
air jordan 4
cheap ray bans
ralph lauren polo
canada goose outlet
ray ban sunglasses
true religion jeans
ray ban sunglasses
mlb jerseys wholesale
nike huarache
ferragamo shoes
longchamp pliage
true religion jeans
fitflops sale
coach outlet
longchamp outlet
coach outlet
tory burch outlet
cheap nhl jerseys
oakley sunglasses
michael kors outlet
cheap jordans
coach outlet
canada goose jackets
air max uk
coach factory outlet
nike shoes
ferragamo outlet
salomon shoes
prada outlet
canada goose uk
canada goose outlet
chrome hearts outlet
oakley sunglasses
soccer shoes
adidas uk
ugg outlet
tory burch outlet
canada goose uk
ugg outlet
giuseppe zanotti outlet
nike factory outlet
michael kors outlet
uggs outlet
ugg outlet
canada goose outlet
polo outlet
canada goose outlet
michael kors outlet clearance
adidas nmd
oakley sunglasses
true religion jeans
coach outlet
michael kors outlet online
polo ralph lauren
canada goose outlet
ralph lauren polo shirts
michael kors outlet clearance
coach outlet
bottega veneta outlet
mbt shoes
michael kors handbags
canada goose jackets
basketball shoes
new balance shoes
ugg outlet
oakley sunglasses
cheap jerseys
michael kors outlet
mcm outlet
christian louboutin shoes
coach outlet online
canada goose outlet
adidas trainers
coach outlet store online
true religion jeans
nfl jerseys wholesale
longchamp outlet
true religion outlet
nike outlet
ray ban sunglasses
polo ralph lauren
ralph lauren polo
cleveland cavaliers jersey
coach outlet
burberry outlet
michael kors cyber monday
ray ban sunglasses
michael kors wallets
ugg outlet
longchamp bags
canada goose jackets
cartier outlet
coach factory outlet
uggs outlet
canada goose outlet
michael kors outlet
burberry outlet
christian louboutin outlet
canada goose jackets
nike roshe run
ferragamo shoes
air max 90
michael kors outlet
burberry outlet
canada goose uk
longchamp bags
canada goose outlet
polo ralph lauren
coach outlet
ray bans
futbol baratas
ray ban sunglasses
ray ban sunglasses
coach outlet canada
tory burch outlet
canada goose jackets
michael kors outlet online
ugg black friday
swarovski outlet
ugg outlet
coach outlet online
mulberry handbags
ugg boots
michael kors
swarovski crystal
swarovski crystal
true religion outlet
nike air force 1
michael kors outlet
converse shoes
pandora jewelry
canada goose outlet
nike air max 2015
polo outlet
canada goose coats
canada goose uk
coach handbags
cheap uggs
true religion jeans
michael kors handbags
ugg boots
canada goose outlet
coach factory outlet
coach outlet online
michael kors
yeezy boost
ray ban sunglasses
canada goose outlet
ray-ban sunglasses
coach outlet online
cheap uggs
uggs outlet
michael kors outlet online
christian louboutin outlet
michael kors outlet online
nike roshe
[url=http://www.pumaoutlet-online.com ]puma outlet[/url]
oakley sunglasses wholesale
ugg boots
ralph lauren uk
lacoste polo shirts
swarovski crystal
michael kors outlet
air max uk
canada goose outlet
ugg outlet
coach outlet online
soccer jerseys
ray ban sunglasses
polo shirts
swarovski outlet
fitflops sale clearance
fitflops sale clearance
canada goose outlet
oakley sunglasses
football shirts
ugg outlet
nike roshe one
michael kors handbags
ferragamo outlet
canada goose jackets
coach outlet online
michael kors outlet
coach outlet
tory burch outlet
nike free 5
cazal sunglasses
oakley sunglasses
ralph lauren outlet
links of london
michael kors
nike shoes
longchamp pas cher
kobe bryant shoes
canada goose outlet
canada goose coats
canada goose coats
ugg outlet
canada goose outlet
coach factory outlet
michael kors outlet
canada goose outlet
lacoste soldes
nike trainers
coach factory outlet
kate spade outlet
oakley sunglasses
tory burch outlet
canada goose outlet
nike foamposite
michael kors outlet clearance
michael kors outlet
mulberry outlet store
coach outlet online
canada goose cyber monday
hermes outlet
christian louboutin outlet
nike huarache
canada goose jackets
ralph lauren polo
ralph lauren sale
ugg outlet
hermes birkin
michael kors factory outlet
kate spade handbags
ugg outlet
kate spade outlet
oakley sunglasses
michael kors handbags
coach outlet
canada goose outlet
true religion jeans
prada handbags
michael kors outlet
true religion jeans
nike blazer pas cher
ugg outlet
nba jerseys
michael kors outlet
fred perry polo shirts
ugg outlet
ugg boots
moncler jackets
thomas sabo
oakley sunglasses
polo outlet
coach outlet
longchamp handbags
jordan shoes
michael kors outlet online
oakley sunglasses
ugg outlet
ugg outlet
michael kors outlet
oakley sunglasses wholesale
oakley sunglasses
true religion uk
reebok outlet store
prada sunglasses
ralph lauren uk
oakley sunglasses
ralph lauren pas cher
20170914caihuali
yangping55
 
Posts: 159
Joined: 27 Aug 2017, 21:50


Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron