Proper magictype.dat structure

06/07/2012 10:07 Mr_PoP#1
Does anyone have the most up-to-date magictype structure?
06/07/2012 11:02 .Kinshi#2
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
06/07/2012 20:08 Mr_PoP#3
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 ^_^
06/10/2012 04:19 Zeroxelli#4
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.
06/10/2012 09:02 Mr_PoP#5
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.
06/10/2012 12:01 Zeroxelli#6
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.
06/10/2012 18:42 Mr_PoP#7
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
06/10/2012 20:42 Zeroxelli#8
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
06/10/2012 21:54 Mr_PoP#9
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