- Joined
- Aug 29, 2007
- Messages
- 822
- Reaction score
- 211
I made this PHP script to auto create my Dragon Config code as it can take a long time making this.
I will advice you to have your item index's in good order, I mean like this:
So your index ID's go up a value one but one.
Start with listing all your BoF armors in order then DSS in order then Bof+DSS in order an you will find this script will work perfect. DO NOT mix the orders as the script just plus's values like say your BoF knight G50 is index 10000 then there should be 15 more indexs 10000 to 10015 which is all G50 BoF
Now this script works:
You input in the start values an the script will do the rest
Clean armor start index
BoF armor start index
DSS armor start index
Bof+DSS armor start index
This script supports G1 to G7 DSS an only 1 grade BoF, if you know PHP you can always edit it.
DSS upgrading can fail an drop one DSS grade so
G1 to G2/G7
G2 to G3/G7 (chance to drop to G1)
G3 to G4/G7 (chance to drop to G2)
G4 to G5/G7 (chance to drop to G3)
G5 to G6/G7 (chance to drop to G4)
G6 to G7 (chance to drop to G5)
G7 not effected by and DSS apply
This works the same with BoF to DSS
DEMO VIDEO
View attachment dss_create.zip
USE THE LIKE! <3
I will advice you to have your item index's in good order, I mean like this:
Code:
;[G50 Knight Armor (CLEAN)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 572) (Index 372) (Image "Def116") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit Knight 50) (buy 0) (sell 1000) (endurance 24) (specialty (Str 3) (Hth 2) (defense 44) (dodge 17) (absorb 5) ) )
(item (name 573) (Index 373) (Image "Def117") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit Knight 48) (buy 0) (sell 1000) (endurance 14) (specialty (Hth 1) (defense 42) (dodge 9) (absorb 2) ) )
(item (name 574) (Index 374) (Image "Def118") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit Knight 46) (buy 0) (sell 1000) (endurance 10) (specialty (Str 1) (defense 43) (dodge 6) (absorb 1) ) )
(item (name 575) (Index 375) (Image "Def119") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit Knight 47) (buy 0) (sell 1000) (endurance 12) (specialty (Dex 1) (defense 32) (dodge 19) (absorb 2) ) )
(item (name 576) (Index 376) (Image "Def120") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit Knight 49) (buy 0) (sell 1000) (endurance 20) (specialty (Hth 1) (defense 28) (dodge 19) (absorb 3) ) )
;[G50 Archer Armor (CLEAN)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 577) (Index 377) (Image "Def121") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit archer 50) (buy 0) (sell 1000) (endurance 24) (specialty (Hth 2) (Dex 3) (defense 46) (dodge 16) (absorb 3) ) )
(item (name 578) (Index 378) (Image "Def122") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit archer 48) (buy 0) (sell 1000) (endurance 14) (specialty (Hth 1) (defense 30) (dodge 10) (absorb 1) ) )
(item (name 579) (Index 379) (Image "Def123") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit archer 46) (buy 0) (sell 1000) (endurance 10) (specialty (Str 1) (defense 28) (dodge 9) (absorb 1) ) )
(item (name 580) (Index 380) (Image "Def124") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit archer 47) (buy 0) (sell 1000) (endurance 12) (specialty (Dex 1) (defense 28) (dodge 26) (absorb 1) ) )
(item (name 581) (Index 381) (Image "Def125") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit archer 49) (buy 0) (sell 1000) (endurance 20) (specialty (Hth 1) (defense 19) (dodge 32) (absorb 1) ) )
;[G50 Mage Armor (CLEAN)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 582) (Index 382) (Image "Def126") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit mage 50) (buy 0) (sell 1000) (endurance 24) (specialty (Hth 2) (Int 3) (defense 29) (dodge 23) (resistfire 6) (resistice 6) (resistlitning 6) (resistcurse 3) (resistpalsy 3) ) )
(item (name 583) (Index 383) (Image "Def127") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit mage 48) (buy 0) (sell 1000) (endurance 14) (specialty (Hth 1) (defense 23) (dodge 12) (resistfire 5) (resistice 5) (resistlitning 5) (resistcurse 2) (resistpalsy 2) ) )
(item (name 584) (Index 384) (Image "Def128") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit mage 46) (buy 0) (sell 1000) (endurance 10) (specialty (Wis 1) (defense 23) (dodge 10) (resistfire 4) (resistice 4) (resistlitning 4) (resistcurse 3) (resistpalsy 3) ) )
(item (name 585) (Index 385) (Image "Def129") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit mage 47) (buy 0) (sell 1000) (endurance 12) (specialty (Wis 1) (defense 26) (dodge 21) (resistfire 3) (resistice 3) (resistlitning 3) (resistcurse 3) (resistpalsy 3) ) )
(item (name 586) (Index 386) (Image "Def130") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit mage 49) (buy 0) (sell 1000) (endurance 20) (specialty (Hth 1) (defense 21) (dodge 25) (resistfire 3) (resistice 3) (resistlitning 3) (resistcurse 2) (resistpalsy 2) ) )
;[G50 Knight Armor (Bead Of Fire)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 572) (Index 10001) (desc 5000) (Image "Def116b") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit Knight 50) (buy 0) (sell 1000) (endurance 24) (specialty (Str 6) (Dex 3) (Int 3) (Hth 2) (defense 44) (dodge 17) (absorb 5) ) )
(item (name 573) (Index 10002) (desc 5000) (Image "Def117b") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit Knight 48) (buy 0) (sell 1000) (endurance 14) (specialty (Str 3) (Dex 3) (Int 3) (Hth 1) (defense 42) (dodge 9) (absorb 2) ) )
(item (name 574) (Index 10003) (desc 5000) (Image "Def118b") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit Knight 46) (buy 0) (sell 1000) (endurance 10) (specialty (Str 4) (Dex 3) (Int 3) (defense 43) (dodge 6) (absorb 1) ) )
(item (name 575) (Index 10004) (desc 5000) (Image "Def119b") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit Knight 47) (buy 0) (sell 1000) (endurance 12) (specialty (Str 3) (Dex 4) (Int 3) (defense 32) (dodge 19) (absorb 2) ) )
(item (name 576) (Index 10005) (desc 5000) (Image "Def120b") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit Knight 49) (buy 0) (sell 1000) (endurance 20) (specialty (Str 3) (Dex 3) (Int 3) (Hth 1) (defense 28) (dodge 19) (absorb 3) ) )
;[G50 Archer Armor (Bead Of Fire)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 577) (Index 10006) (desc 5000) (Image "Def121b") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit archer 50) (buy 0) (sell 1000) (endurance 24) (specialty (Hth 2) (Dex 6) (Int 3) (Str 3) (defense 46) (dodge 16) (absorb 3) ) )
(item (name 578) (Index 10007) (desc 5000) (Image "Def122b") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit archer 48) (buy 0) (sell 1000) (endurance 14) (specialty (Str 3) (Dex 3) (Int 3) (Hth 1) (defense 30) (dodge 10) (absorb 1) ) )
(item (name 579) (Index 10008) (desc 5000) (Image "Def123b") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit archer 46) (buy 0) (sell 1000) (endurance 10) (specialty (Str 4) (Dex 3) (Int 3) (defense 28) (dodge 9) (absorb 1) ) )
(item (name 580) (Index 10009) (desc 5000) (Image "Def124b") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit archer 47) (buy 0) (sell 1000) (endurance 12) (specialty (Dex 4) (Str 3) (Int 3) (defense 28) (dodge 26) (absorb 1) ) )
(item (name 581) (Index 10010) (desc 5000) (Image "Def125b") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit archer 49) (buy 0) (sell 1000) (endurance 20) (specialty (Str 3) (Dex 3) (Int 3) (Hth 1) (defense 19) (dodge 32) (absorb 1) ) )
;[G50 Mage Armor (Bead Of Fire)]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
(item (name 582) (Index 10011) (desc 5000) (Image "Def126b") (Action 7 1) (class defense upperarmor) (code 2 3 3 0) (country 2) (level 50) (wear 1)(limit mage 50) (buy 0) (sell 1000) (endurance 24) (specialty (Hth 2) (Int 6) (Str 3) (Dex 3) (defense 29) (dodge 23) (resistfire 6) (resistice 6) (resistlitning 6) (resistcurse 3) (resistpalsy 3) ) )
(item (name 583) (Index 10012) (desc 5000) (Image "Def127b") (Action 7 1) (class defense helmet) (code 2 3 4 0) (country 2) (level 50) (wear 1)(limit mage 48) (buy 0) (sell 1000) (endurance 14) (specialty (Hth 1) (Str 3) (Dex 3) (Int 3) (defense 23) (dodge 12) (resistfire 5) (resistice 5) (resistlitning 5) (resistcurse 2) (resistpalsy 2) ) )
(item (name 584) (Index 10013) (desc 5000) (Image "Def128b") (Action 7 1) (class defense gauntlet) (code 2 3 5 0) (country 2) (level 50) (wear 1)(limit mage 46) (buy 0) (sell 1000) (endurance 10) (specialty (Wis 1) (Str 3) (Dex 3) (Int 3) (defense 23) (dodge 10) (resistfire 4) (resistice 4) (resistlitning 4) (resistcurse 3) (resistpalsy 3) ) )
(item (name 585) (Index 10014) (desc 5000) (Image "Def129b") (Action 7 1) (class defense boots) (code 2 3 6 0) (country 2) (level 50) (wear 1)(limit mage 47) (buy 0) (sell 1000) (endurance 12) (specialty (Wis 1) (Str 3) (Dex 3) (Int 3) (defense 26) (dodge 21) (resistfire 3) (resistice 3) (resistlitning 3) (resistcurse 3) (resistpalsy 3) ) )
(item (name 586) (Index 10015) (desc 5000) (Image "Def130b") (Action 7 1) (class defense lowerarmor) (code 2 3 7 0) (country 2) (level 50) (wear 1)(limit mage 49) (buy 0) (sell 1000) (endurance 20) (specialty (Hth 1) (Str 3) (Dex 3) (Int 3) (defense 21) (dodge 25) (resistfire 3) (resistice 3) (resistlitning 3) (resistcurse 2) (resistpalsy 2) ) )
So your index ID's go up a value one but one.
Start with listing all your BoF armors in order then DSS in order then Bof+DSS in order an you will find this script will work perfect. DO NOT mix the orders as the script just plus's values like say your BoF knight G50 is index 10000 then there should be 15 more indexs 10000 to 10015 which is all G50 BoF
Now this script works:
You input in the start values an the script will do the rest
Clean armor start index
BoF armor start index
DSS armor start index
Bof+DSS armor start index
This script supports G1 to G7 DSS an only 1 grade BoF, if you know PHP you can always edit it.
DSS upgrading can fail an drop one DSS grade so
G1 to G2/G7
G2 to G3/G7 (chance to drop to G1)
G3 to G4/G7 (chance to drop to G2)
G4 to G5/G7 (chance to drop to G3)
G5 to G6/G7 (chance to drop to G4)
G6 to G7 (chance to drop to G5)
G7 not effected by and DSS apply
This works the same with BoF to DSS
DEMO VIDEO
View attachment dss_create.zip
USE THE LIKE! <3
Attachments
You must be registered for see attachments list
Last edited: