Refine items stats

10/12/2013 04:22 U2_Caparzo#1
Hey everyone
today i was going to implement Items in the source that we are coding(with a friend) but we couldn't figure out where the attributes given to a refined item(breakthrough material for example) were loaded,based on public sources it's from the ItemType, splitting the line it should be in the position 40-~50, but when i try to find their effects, i only see 0's, researched a bit in the ini folder but couldn't find anything useful :/
for example with a Breakthrough material


if someone could tell me from where they are loaded i would really appreciate it, there are others items that increase Hp for example, and can't even think from where i can load them lol
10/12/2013 23:53 .Beatz#2
I would suggest a trial and error attempt...

Change each value one by one and log what it changes, yes it will take a while but then you will know exactly what is what and should be able to figure it out from there
10/13/2013 00:37 U2_Caparzo#3
Quote:
Originally Posted by .Beatz View Post
I would suggest a trial and error attempt...

Change each value one by one and log what it changes, yes it will take a while but then you will know exactly what is what and should be able to figure it out from there
A lot of questions have that answer, but not this time :s xd, my friend just noticed that it was loaded from another file that was written by hand using the item description, thanks anyways. :)
10/13/2013 21:59 .Beatz#4
Quote:
Originally Posted by U2_Caparzo View Post
A lot of questions have that answer, but not this time :s xd, my friend just noticed that it was loaded from another file that was written by hand using the item description, thanks anyways. :)
Glad to hear you found the problem, any chance of posting the file name on here so other people know where to look?
10/13/2013 22:22 U2_Caparzo#5
Quote:
Originally Posted by .Beatz View Post
Glad to hear you found the problem, any chance of posting the file name on here so other people know where to look?
it's in any public source(based on impulse's source at least), refinery.txt, as i said it probably was written by hand to implement the refinery items, this is nothing new, just reading how the source loads the file, i didn't anything of this

structure:
Code:
[itemid]#[type]#[position]#[level]#[percent]#[untradeable]
where level is the refinery level
Code:
                Normal= 1,
                Refined= 2,
                Unique= 3,
                Elite= 4,
                Super= 5,
type is an emum:
Code:
                MDefence = 1,
                Critical = 2,
                SCritical = 3,
                Immunity = 4,
                BreakThrough = 5,
                Counteraction = 6,
                Detoxication = 7,
                Block = 8,
                Penetration = 9,
                Intensification = 10,
                HP = 11
(an error in this is that Intensification is the same than HP [Only registered and activated users can see links. Click Here To Register...])

and position is defined by the first 3 digits of the refinable(if exists that word xD) item's id

file:
10/13/2013 22:51 .Beatz#6
Cheers Caparzo hopefully this will help some other members