Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 19:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Proper magictype.dat structure

Discussion on Proper magictype.dat structure within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Proper magictype.dat structure

Does anyone have the most up-to-date magictype structure?
Mr_PoP is offline  
Old 06/07/2012, 11:02   #2
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
Some "offsets" I've got, a lot are still missing unfortunately.
Code:
        UID = 0,
        SpellID = 1,
        Type = 2,
        Crime = 4,
        Ground = 5,
        AOE = 6,
        Target = 7,
        Level = 8,
        Cost = 9,
        Power = 10,
        CastTime = 11,
        HitRate = 12,
        Duration = 13,
        Range = 14,
        Distance = 15,
        Status = 16,
        RequiredProf = 17,
        RequiredExp = 18,
        RequiredLevel = 20,
        XPSkill = 21,
        WeaponID = 22,
        ActiveTimes = 23,
        AutoActive = 24,
        FloorAttr = 25,
        AutoLearn = 26,
        LearnLevel = 27,
        DropWeapon = 28,
        StaminaCost = 29,
        WeaponHit = 30,
        UseItem = 31,
        NextMagic = 32,
        Delay = 33,
        UseItemNum = 34,
        Width = 35,
        PushBack = 38,
        TargetPush = 44,
        CoolDown = 47
.Kinshi is offline  
Thanks
1 User
Old 06/07/2012, 20:08   #3
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by .Kinshi View Post
Some "offsets" I've got, a lot are still missing unfortunately.
Code:
        UID = 0,
        SpellID = 1,
        Type = 2,
        Crime = 4,
        Ground = 5,
        AOE = 6,
        Target = 7,
        Level = 8,
        Cost = 9,
        Power = 10,
        CastTime = 11,
        HitRate = 12,
        Duration = 13,
        Range = 14,
        Distance = 15,
        Status = 16,
        RequiredProf = 17,
        RequiredExp = 18,
        RequiredLevel = 20,
        XPSkill = 21,
        WeaponID = 22,
        ActiveTimes = 23,
        AutoActive = 24,
        FloorAttr = 25,
        AutoLearn = 26,
        LearnLevel = 27,
        DropWeapon = 28,
        StaminaCost = 29,
        WeaponHit = 30,
        UseItem = 31,
        NextMagic = 32,
        Delay = 33,
        UseItemNum = 34,
        Width = 35,
        PushBack = 38,
        TargetPush = 44,
        CoolDown = 47

thanks a lot ^_^
Mr_PoP is offline  
Old 06/10/2012, 04:19   #4
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Anything missing is probably garbage or padding. Though, if it's truly important, just parse an item you know the stats of, read every offset, and name the offsets that match certain values accordingly. That's how I learned to parse the magictype for 4xxx.
Zeroxelli is offline  
Old 06/10/2012, 09:02   #5
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by Zeroxelli View Post
Anything missing is probably garbage or padding. Though, if it's truly important, just parse an item you know the stats of, read every offset, and name the offsets that match certain values accordingly. That's how I learned to parse the magictype for 4xxx.
well that will work with StaminaUse,ManaUse etc because inside the client it says how much it uses etc , but there is some values the client does not give any info about it , so I cant compare it with magictype.dat, that's why I asked if anyone got it.
Mr_PoP is offline  
Old 06/10/2012, 12:01   #6
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by Mr_PoP View Post
well that will work with StaminaUse,ManaUse etc because inside the client it says how much it uses etc , but there is some values the client does not give any info about it , so I cant compare it with magictype.dat, that's why I asked if anyone got it.
True. But, as you loop through items and go from level to level (i.e. from level 1 ring to level 10 ring, to level 20, etc) you can easily figure out what the values correspond to.
Zeroxelli is offline  
Old 06/10/2012, 18:42   #7
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by Zeroxelli View Post
True. But, as you loop through items and go from level to level (i.e. from level 1 ring to level 10 ring, to level 20, etc) you can easily figure out what the values correspond to.
it's magictype not itemtype :P
Mr_PoP is offline  
Old 06/10/2012, 20:42   #8
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by Mr_PoP View Post
it's magictype not itemtype :P
Whoops xD

Er, I meant for each skill. That's what happens when I try and explain things at 3am
Zeroxelli is offline  
Old 06/10/2012, 21:54   #9
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by Zeroxelli View Post
Whoops xD

Er, I meant for each skill. That's what happens when I try and explain things at 3am
I got what you mean thanks tho ;P

#Request Close
Mr_PoP is offline  
Reply


Similar Threads Similar Threads
How to structure your attack handler proper.
05/27/2011 - CO2 PServer Guides & Releases - 9 Replies
Note: There is no calculations or codes really, but more a good way to structure your attack handler, so it's easy to edit in the future or add new things. Note 2: It's the way I would do it, maybe you like to it do it different. Note 3: It's all pseudo. Let's say you have your main attack handler. public static void Attack(Client client) {
SQL-DB structure
05/29/2010 - Silkroad Online - 0 Replies
Hey folks, does anyone happen to have the structure of the official SRO SQL-DB? I need no more than the column names and their associated table names (usually located in the DB "INFORMATION_SCHEMA").



All times are GMT +1. The time now is 19:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.