item_db.conf to item_db.txt

Dastgir

Core Developer
Messages
3,805
Points
0
Discord
Dastgir#1460
IRC Nickname
Dastgir
Github
dastgirp
Emulator
Client Version
2019-02-28 RE
Hello,

I see many users having some problem with new item_Db format, stating that it cannot be used with the Old Tools available, and there's no tool to parse the new item_db.conf

So I made this script, which converts item_db.conf to item_db.txt , (and you can change the syntax of item_db.txt too)

Script: https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db

ReadMe.MD shows how to use it..

Usage:

1)Copy item_db.conf to "conf2db" Folder.2)Just run the "conf2db.bat" and Enter some details of file.Format(If Asked):Usage: conf2db.lua {FileName} {Output} {Format(RE,or see below)}.Format: #id #script #View, [Case-insensitive]Default: #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]Additional Parameter: #eqmax #eqmin(max and minimum equip level) [Case-insensitive]

P.S: I made the script just for the users who wanted to use old Tools.. and hercules cannot read .txt item_db..

 
Last edited by a moderator:
nice one
default_smile.png


 
tested with param "RE"  , doc was converted to old format successfully ,and also support

Chinese charset

Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): "RE"----------------------------------------------------------- ItemDB Conf to Txt ------------------------- By Dastgir[Hercules] ---------------------------------------------------------------- Checking item_db.conf for Total items---- Total Items Found = 8112--Writing ItemDB contents to item_db.txtPress any key to continue . . .

,but tested with default params ,my console show the below warnings , and some Chinese words become different words after converting

Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]----------------------------------------------------------- ItemDB Conf to Txt ------------------------- By Dastgir[Hercules] ---------------------------------------------------------------- Checking item_db.conf for Total items---- Total Items Found = 8112--Writing ItemDB contents to item_db.txtlua.exe: replace.lua:211: invalid use of '%' in replacement stringstack traceback: [C]: in function 'gsub' replace.lua:211: in main chunk [C]: in ?Press any key to continue . . .


and I notice the param [Case-insensitive]  not  working properply

 
Case insensitive means

#UPPER or #upper or #UpPeR means the same.. its not an parameter..

and it seems that #U and pper in 2nd case got seperated by space or newline, I would anyways check for that error, and make it to give warning and show if wrong format is used.

 
Case insensitive means

#UPPER or #upper or #UpPeR means the same.. its not an parameter..

and it seems that #U and pper in 2nd case got seperated by space or newline, I would anyways check for that error, and make it to give warning and show if wrong format is used.
Thxn, I was wondering would it be possible to keep the original alphabet case of the AegisName field after converted?

 
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)

 
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
my test input

Enter .Conf FileName: item_db.conf

Enter Output FileName: item_db.txt

Enter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,U

pper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]

-----------------------------------------------

------------ ItemDB Conf to Txt ---------------

---------- By Dastgir[Hercules] ---------------

-----------------------------------------------

-- Checking item_db.conf for Total items

---- Total Items Found =   8112

--Writing ItemDB contents to   item_db.txt

lua.exe: replace.lua:211: invalid use of '%' in replacement string

stack traceback:

  [C]: in function 'gsub'

  replace.lua:211: in main chunk

  [C]: in ?

Press any key to continue . . .

original item_db.conf

{

Id: 521

AegisName: "Leaflet_Of_Aloe"

Name: "蘆薈葉子"

Type: 0

Buy: 360

Weight: 20

Upper: 63

Script: <" itemheal rand(325,405),0; ">

},

{

Id: 522

AegisName: "Fruit_Of_Mastela"

Name: "瑪絲黛拉果實"

Type: 0

Buy: 8500

Weight: 30

Upper: 63

Script: <" itemheal rand(400,600),0; ">

},

{

Id: 525

AegisName: "Panacea"

Name: "萬能藥"

Type: 0

Buy: 500

Weight: 100

Upper: 63

Script: <"

sc_end SC_POISON;

sc_end SC_SILENCE;

sc_end SC_BLIND;

sc_end SC_CONFUSION;

sc_end SC_CURSE;

sc_end SC_ILLUSION;

">

},

{

Id: 529

AegisName: "Candy"

Name: "糖果"

Type: 0

Buy: 10

Weight: 30

Upper: 63

Script: <" itemheal rand(45,65),0; ">

},

The output item_db.txt ,  Some Chinese letters  were changed after converting, and AegisName was changed to lowercase letter

521,leaflet_of_aloe,葉子,0,360,,20,:,,,,,63,,,,,,,{ itemheal rand(325,405),0;  },{},{} [case-insensitive]

522,fruit_of_mastela,瑪絲,0,8500,,30,:,,,,,63,,,,,,,{ itemheal rand(400,600),0;  },{},{} [case-insensitive]

525,panacea,能藥,0,500,,100,:,,,,,63,,,,,,,{ sc_end sc_poison; sc_end sc_silence; sc_end sc_blind; sc_end sc_confusion; sc_end sc_curse; sc_end sc_illusion;  },{},{} [case-insensitive]

529,candy,糖,0,10,,30,:,,,,,63,,,,,,,{ itemheal rand(45,65),0;  },{},{} [case-insensitive]

Here is part of my item_db.conf

item_db.7z

 

Attachments

Last edited by a moderator:
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
my test input

Enter .Conf FileName: item_db.conf

Enter Output FileName: item_db.txt

Enter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,U

pper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]

-----------------------------------------------

------------ ItemDB Conf to Txt ---------------

---------- By Dastgir[Hercules] ---------------

-----------------------------------------------

-- Checking item_db.conf for Total items

---- Total Items Found =   8112

--Writing ItemDB contents to   item_db.txt

lua.exe: replace.lua:211: invalid use of '%' in replacement string

stack traceback:

  [C]: in function 'gsub'

  replace.lua:211: in main chunk

  [C]: in ?

Press any key to continue . . .

original item_db.conf

{

Id: 521

AegisName: "Leaflet_Of_Aloe"

Name: "蘆薈葉子"

Type: 0

Buy: 360

Weight: 20

Upper: 63

Script: <" itemheal rand(325,405),0; ">

},

{

Id: 522

AegisName: "Fruit_Of_Mastela"

Name: "瑪絲黛拉果實"

Type: 0

Buy: 8500

Weight: 30

Upper: 63

Script: <" itemheal rand(400,600),0; ">

},

{

Id: 525

AegisName: "Panacea"

Name: "萬能藥"

Type: 0

Buy: 500

Weight: 100

Upper: 63

Script: <"

sc_end SC_POISON;

sc_end SC_SILENCE;

sc_end SC_BLIND;

sc_end SC_CONFUSION;

sc_end SC_CURSE;

sc_end SC_ILLUSION;

">

},

{

Id: 529

AegisName: "Candy"

Name: "糖果"

Type: 0

Buy: 10

Weight: 30

Upper: 63

Script: <" itemheal rand(45,65),0; ">

},

The output item_db.txt ,  Some Chinese letters  were changed after converting, and AegisName was changed to lowercase letter

521,leaflet_of_aloe,葉子,0,360,,20,:,,,,,63,,,,,,,{ itemheal rand(325,405),0;  },{},{} [case-insensitive]

522,fruit_of_mastela,瑪絲,0,8500,,30,:,,,,,63,,,,,,,{ itemheal rand(400,600),0;  },{},{} [case-insensitive]

525,panacea,能藥,0,500,,100,:,,,,,63,,,,,,,{ sc_end sc_poison; sc_end sc_silence; sc_end sc_blind; sc_end sc_confusion; sc_end sc_curse; sc_end sc_illusion;  },{},{} [case-insensitive]

529,candy,糖,0,10,,30,:,,,,,63,,,,,,,{ itemheal rand(45,65),0;  },{},{} [case-insensitive]

Here is part of my item_db.conf

attachicon.gif
item_db.7z
Thanks for sharing your item_db.conf.

Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.

 
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
my test input

Enter .Conf FileName: item_db.conf

Enter Output FileName: item_db.txt

Enter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,U

pper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]

-----------------------------------------------

------------ ItemDB Conf to Txt ---------------

---------- By Dastgir[Hercules] ---------------

-----------------------------------------------

-- Checking item_db.conf for Total items

---- Total Items Found =   8112

--Writing ItemDB contents to   item_db.txt

lua.exe: replace.lua:211: invalid use of '%' in replacement string

stack traceback:

  [C]: in function 'gsub'

  replace.lua:211: in main chunk

  [C]: in ?

Press any key to continue . . .

original item_db.conf

{

Id: 521

AegisName: "Leaflet_Of_Aloe"

Name: "蘆薈葉子"

Type: 0

Buy: 360

Weight: 20

Upper: 63

Script: <" itemheal rand(325,405),0; ">

},

{

Id: 522

AegisName: "Fruit_Of_Mastela"

Name: "瑪絲黛拉果實"

Type: 0

Buy: 8500

Weight: 30

Upper: 63

Script: <" itemheal rand(400,600),0; ">

},

{

Id: 525

AegisName: "Panacea"

Name: "萬能藥"

Type: 0

Buy: 500

Weight: 100

Upper: 63

Script: <"

sc_end SC_POISON;

sc_end SC_SILENCE;

sc_end SC_BLIND;

sc_end SC_CONFUSION;

sc_end SC_CURSE;

sc_end SC_ILLUSION;

">

},

{

Id: 529

AegisName: "Candy"

Name: "糖果"

Type: 0

Buy: 10

Weight: 30

Upper: 63

Script: <" itemheal rand(45,65),0; ">

},

The output item_db.txt ,  Some Chinese letters  were changed after converting, and AegisName was changed to lowercase letter

521,leaflet_of_aloe,葉子,0,360,,20,:,,,,,63,,,,,,,{ itemheal rand(325,405),0;  },{},{} [case-insensitive]

522,fruit_of_mastela,瑪絲,0,8500,,30,:,,,,,63,,,,,,,{ itemheal rand(400,600),0;  },{},{} [case-insensitive]

525,panacea,能藥,0,500,,100,:,,,,,63,,,,,,,{ sc_end sc_poison; sc_end sc_silence; sc_end sc_blind; sc_end sc_confusion; sc_end sc_curse; sc_end sc_illusion;  },{},{} [case-insensitive]

529,candy,糖,0,10,,30,:,,,,,63,,,,,,,{ itemheal rand(45,65),0;  },{},{} [case-insensitive]

Here is part of my item_db.conf

attachicon.gif
item_db.7z
Thanks for sharing your item_db.conf.

Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.
thx , everything works perfectly
default_no1.gif


 
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
my test input

Enter .Conf FileName: item_db.conf

Enter Output FileName: item_db.txt

Enter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,U

pper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]

-----------------------------------------------

------------ ItemDB Conf to Txt ---------------

---------- By Dastgir[Hercules] ---------------

-----------------------------------------------

-- Checking item_db.conf for Total items

---- Total Items Found =   8112

--Writing ItemDB contents to   item_db.txt

lua.exe: replace.lua:211: invalid use of '%' in replacement string

stack traceback:

  [C]: in function 'gsub'

  replace.lua:211: in main chunk

  [C]: in ?

Press any key to continue . . .

original item_db.conf

{

Id: 521

AegisName: "Leaflet_Of_Aloe"

Name: "蘆薈葉子"

Type: 0

Buy: 360

Weight: 20

Upper: 63

Script: <" itemheal rand(325,405),0; ">

},

{

Id: 522

AegisName: "Fruit_Of_Mastela"

Name: "瑪絲黛拉果實"

Type: 0

Buy: 8500

Weight: 30

Upper: 63

Script: <" itemheal rand(400,600),0; ">

},

{

Id: 525

AegisName: "Panacea"

Name: "萬能藥"

Type: 0

Buy: 500

Weight: 100

Upper: 63

Script: <"

sc_end SC_POISON;

sc_end SC_SILENCE;

sc_end SC_BLIND;

sc_end SC_CONFUSION;

sc_end SC_CURSE;

sc_end SC_ILLUSION;

">

},

{

Id: 529

AegisName: "Candy"

Name: "糖果"

Type: 0

Buy: 10

Weight: 30

Upper: 63

Script: <" itemheal rand(45,65),0; ">

},

The output item_db.txt ,  Some Chinese letters  were changed after converting, and AegisName was changed to lowercase letter

521,leaflet_of_aloe,葉子,0,360,,20,:,,,,,63,,,,,,,{ itemheal rand(325,405),0;  },{},{} [case-insensitive]

522,fruit_of_mastela,瑪絲,0,8500,,30,:,,,,,63,,,,,,,{ itemheal rand(400,600),0;  },{},{} [case-insensitive]

525,panacea,能藥,0,500,,100,:,,,,,63,,,,,,,{ sc_end sc_poison; sc_end sc_silence; sc_end sc_blind; sc_end sc_confusion; sc_end sc_curse; sc_end sc_illusion;  },{},{} [case-insensitive]

529,candy,糖,0,10,,30,:,,,,,63,,,,,,,{ itemheal rand(45,65),0;  },{},{} [case-insensitive]

Here is part of my item_db.conf

attachicon.gif
item_db.7z
Thanks for sharing your item_db.conf.

Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.
  today I fund a small bug :   " will  change to "

{

 Id: 1824

 AegisName: "BF_Knuckle2"

 Name: "Brave Battle Fist"

 Type: 4

 Buy: 20

 Atk: 30

 Range: 1

 Job: 0x00008100

 Upper: 63

 Loc: 2

 WeaponLv: 3

 EquipLv: 80

 View: 12

 Script: <"

   bonus bStr,2;

   bonus bInt,1;

   bonus2 bAddRace,RC_DemiHuman,95;

   bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25;

   autobonus "{ bonus2 bVariableCastrate,"MO_EXTREMITYFIST",-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }";

   bonus bUnbreakableWeapon,0;

 ">

},

1824,BF_Knuckle2,Brave Battle Fist,4,20,,,30,,1,,0x8100,63,,2,3,80,,12,{bonus bStr,2; bonus bInt,1; bonus2 bAddRace,RC_DemiHuman,95; bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25; autobonus "{ bonus2 bVariableCastrate,"MO_EXTREMITYFIST",-100;  }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM;  }"; bonus bUnbreakableWeapon,0; },{},{}

 
I dont think value of any parameter is changed.. only parameter is case insensitive, while value remains the same,

Can you send me full or a part of your itemdb.conf, so I can actually test with chinese charset(as you said, it converts to weird chars)
my test input

Enter .Conf FileName: item_db.conf

Enter Output FileName: item_db.txt

Enter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,U

pper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]

-----------------------------------------------

------------ ItemDB Conf to Txt ---------------

---------- By Dastgir[Hercules] ---------------

-----------------------------------------------

-- Checking item_db.conf for Total items

---- Total Items Found =   8112

--Writing ItemDB contents to   item_db.txt

lua.exe: replace.lua:211: invalid use of '%' in replacement string

stack traceback:

  [C]: in function 'gsub'

  replace.lua:211: in main chunk

  [C]: in ?

Press any key to continue . . .

original item_db.conf

{

Id: 521

AegisName: "Leaflet_Of_Aloe"

Name: "蘆薈葉子"

Type: 0

Buy: 360

Weight: 20

Upper: 63

Script: <" itemheal rand(325,405),0; ">

},

{

Id: 522

AegisName: "Fruit_Of_Mastela"

Name: "瑪絲黛拉果實"

Type: 0

Buy: 8500

Weight: 30

Upper: 63

Script: <" itemheal rand(400,600),0; ">

},

{

Id: 525

AegisName: "Panacea"

Name: "萬能藥"

Type: 0

Buy: 500

Weight: 100

Upper: 63

Script: <"

sc_end SC_POISON;

sc_end SC_SILENCE;

sc_end SC_BLIND;

sc_end SC_CONFUSION;

sc_end SC_CURSE;

sc_end SC_ILLUSION;

">

},

{

Id: 529

AegisName: "Candy"

Name: "糖果"

Type: 0

Buy: 10

Weight: 30

Upper: 63

Script: <" itemheal rand(45,65),0; ">

},

The output item_db.txt ,  Some Chinese letters  were changed after converting, and AegisName was changed to lowercase letter

521,leaflet_of_aloe,葉子,0,360,,20,:,,,,,63,,,,,,,{ itemheal rand(325,405),0;  },{},{} [case-insensitive]

522,fruit_of_mastela,瑪絲,0,8500,,30,:,,,,,63,,,,,,,{ itemheal rand(400,600),0;  },{},{} [case-insensitive]

525,panacea,能藥,0,500,,100,:,,,,,63,,,,,,,{ sc_end sc_poison; sc_end sc_silence; sc_end sc_blind; sc_end sc_confusion; sc_end sc_curse; sc_end sc_illusion;  },{},{} [case-insensitive]

529,candy,糖,0,10,,30,:,,,,,63,,,,,,,{ itemheal rand(45,65),0;  },{},{} [case-insensitive]

Here is part of my item_db.conf

attachicon.gif
item_db.7z
Thanks for sharing your item_db.conf.

Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.
  today I fund a small bug :   " will  change to "

{

 Id: 1824

 AegisName: "BF_Knuckle2"

 Name: "Brave Battle Fist"

 Type: 4

 Buy: 20

 Atk: 30

 Range: 1

 Job: 0x00008100

 Upper: 63

 Loc: 2

 WeaponLv: 3

 EquipLv: 80

 View: 12

 Script: <"

   bonus bStr,2;

   bonus bInt,1;

   bonus2 bAddRace,RC_DemiHuman,95;

   bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25;

   autobonus "{ bonus2 bVariableCastrate,"MO_EXTREMITYFIST",-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }";

   bonus bUnbreakableWeapon,0;

 ">

},

1824,BF_Knuckle2,Brave Battle Fist,4,20,,,30,,1,,0x8100,63,,2,3,80,,12,{bonus bStr,2; bonus bInt,1; bonus2 bAddRace,RC_DemiHuman,95; bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25; autobonus "{ bonus2 bVariableCastrate,"MO_EXTREMITYFIST",-100;  }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM;  }"; bonus bUnbreakableWeapon,0; },{},{}
Seems like, my last commit broke that code,

@r10 : Fixed..

 
Seems like, my last commit broke that code,

@r10 : Fixed..
I've updated to r10 , but I can't convert conf to txt any more

Sorry for keep bothering you
default_blush.png


Code:
Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]----------------------------------------------------------- ItemDB Conf to Txt ------------------------- By Dastgir[Hercules] ---------------------------------------------------------------- Putting      item_db.conf     Items into Memorylua.exe: replace.lua:81: [string "item_db = {..."]:100831: unexpected symbol near ')'stack traceback:        [C]: in function 'assert'        replace.lua:81: in main chunk        [C]: in ?Press any key to continue . . .
 
Seems like, my last commit broke that code,

@r10 : Fixed..
I've updated to r10 , but I can't convert conf to txt any more

Sorry for keep bothering you
default_blush.png


Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]----------------------------------------------------------- ItemDB Conf to Txt ------------------------- By Dastgir[Hercules] ---------------------------------------------------------------- Putting item_db.conf Items into Memorylua.exe: replace.lua:81: [string "item_db = {..."]:100831: unexpected symbol near ')'stack traceback: [C]: in function 'assert' replace.lua:81: in main chunk [C]: in ?Press any key to continue . . .
Sorry for delay, I updated the script, run the conf2db.lua and just enable the logs(new option @r13) and send me item_db_conversion.log

 
Seems like, my last commit broke that code,

@r10 : Fixed..
I've updated to r10 , but I can't convert conf to txt any more
Sorry for keep bothering you
default_blush.png


Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]----------------------------------------------------------- ItemDB Conf to Txt ------------------------- By Dastgir[Hercules] ---------------------------------------------------------------- Putting item_db.conf Items into Memorylua.exe: replace.lua:81: [string "item_db = {..."]:100831: unexpected symbol near ')'stack traceback: [C]: in function 'assert' replace.lua:81: in main chunk [C]: in ?Press any key to continue . . . 
Sorry for delay, I updated the script, run the conf2db.lua and just enable the logs(new option @r13) and send me item_db_conversion.log
test with English conf works perfectly, but test with Chinese characters conf got errors
here is log file item_db_conversion.7z

 

Attachments

The Last ")" was not found, or there was extra ")", anyways I improved the converter, and you can try the file @r14

 
The Last ")" was not found, or there was extra ")", anyways I improved the converter, and you can try the file @r14
The Last ")" was not found, or there was extra ")", anyways I improved the converter, and you can try the file @r14
All issues have been fixed , Everything Is Working Perfectly with r14 
default_no1.gif


 
OMG!! It solves my problem i guess. I really dont want the new item_db over haul. Thanks!!!

 
Back
Top