|
You last visited: Today at 19:13
Advertisement
Proper magictype.dat structure
Discussion on Proper magictype.dat structure within the CO2 Private Server forum part of the Conquer Online 2 category.
06/07/2012, 10:07
|
#1
|
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?
|
|
|
06/07/2012, 11:02
|
#2
|
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
|
|
|
06/07/2012, 20:08
|
#3
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by .Kinshi
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
|
#4
|
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.
|
|
|
06/10/2012, 09:02
|
#5
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by Zeroxelli
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
|
#6
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by Mr_PoP
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
|
#7
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by Zeroxelli
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
|
#8
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by Mr_PoP
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
|
#9
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by Zeroxelli
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
|
|
|
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.
|
|