Jump to content
  • 0
Imbecile

ItemInfo.lub Request

Question

7 answers to this question

Recommended Posts

  • 0

just change the extension.

 

 

rename it from lua to lub 

Kinda misleading description, he wants to change idnum to iteminfo,

 

 

Can anyone make this into ItemInfo.lub and lua please? The ItemConverter won't convert it.

 

 

OMG!  it seems like  ItemConverter tool no longer support our item_db format

Guess what, I have made A tool to convert itemdb.conf to itemdb.txt format... TWO MONTHS AGO.(but not published anywhere yet, due to my busy time)

Which is flexible, that means can swap the field and much more.

So just use this tool https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db

Read readme.md for usage and Its flexibility.

So use this to convert conftodb and use itemconverter, till hercules itemdb compatible itemconverter is released.

Edited by Dastgir Pojee

Share this post


Link to post
Share on other sites
  • 0

 

just change the extension.

 

 

rename it from lua to lub 

Kinda misleading description, he wants to change idnum to iteminfo,

 

 

Can anyone make this into ItemInfo.lub and lua please? The ItemConverter won't convert it.

 

 

OMG!  it seems like  ItemConverter tool no longer support our item_db format

Guess what, I have made A tool to convert itemdb.conf to itemdb.txt format... TWO MONTHS AGO.(but not published anywhere yet, due to my busy time)

Which is flexible, that means can swap the field and much more.

So just use this tool https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db

Read readme.md for usage and Its flexibility.

So use this to convert conftodb and use itemconverter, till hercules itemdb compatible itemconverter is released.

 

 

 Failed to convert

 

 

gIAzxf.jpg

 

 

{	Id= 501,	AegisName= "Red_Potion",	Name= "Red Potion",	Type= 0,	Buy= 50,	Weight= 70,	Upper= 63,	Script= [==[ itemheal rand(45,65),0; ]==],},{	Id= 502,	AegisName= "Orange_Potion",	Name= "Orange Potion",	Type= 0,	Buy= 200,	Weight= 100,	Upper= 63,	Script= [==[ itemheal rand(105,145),0; ]==],},{	Id= 503,	AegisName= "Yellow_Potion",	Name= "Yellow Potion",	Type= 0,	Buy= 550,	Weight= 130,	Upper= 63,	Script= [==[ itemheal rand(175,235),0; ]==],},{	Id= 504,	AegisName= "White_Potion",	Name= "White Potion",	Type= 0,	Buy= 1200,	Weight= 150,	Upper= 63,	Script= [==[ itemheal rand(325,405),0; ]==],},

 

 

Share this post


Link to post
Share on other sites
  • 0

Show end of command prompt, where the percentage ends. I myself tested it, this script is split into 5-6process, in which each is allotted a progress of 12-20%, so the progress would slow down, and write the temp file, which you are showing, but after 100%, it will write itemdb.txt and delete this temp file.

so the one you are showing is a temp file generally made by script on progress.

and outputfilename will be the name of itemdb in txt format.

Edited by Dastgir Pojee

Share this post


Link to post
Share on other sites
  • 0

Show end of command prompt, where the percentage ends. I myself tested it, this script is split into 5-6process, in which each is allotted a progress of 12-20%, so the progress would slow down, and write the temp file, which you are showing, but after 100%, it will write itemdb.txt and delete this temp file.

so the one you are showing is a temp file generally made by script on progress.

and outputfilename will be the name of itemdb in txt format.

 

 

my output file item_db.txt was still same format as item_db.conf

Enter .Conf FileName: item_db.confEnter Output FileName: item_db.txtEnter Format("RE",Or see README.md): REProgess:0.65789473684211%Progess:1.3157894736842%Progess:1.9736842105263%Progess:2.6315789473684%Progess:3.2894736842105%Progess:3.9473684210526%Progess:4.6052631578947%Progess:5.2631578947368%Progess:5.9210526315789%Progess:6.5789473684211%Progess:7.2368421052632%Progess:7.8947368421053%Progess:8.5526315789474%Progess:9.2105263157895%Progess:9.8684210526316%Progess:10.526315789474%Progess:11.184210526316%Progess:11.842105263158%Progess:12.5%Progess:13.157894736842%Progess:13.815789473684%Progess:14.473684210526%Progess:15.131578947368%Progess:15.789473684211%Progess:16.447368421053%Progess:17.105263157895%Progess:17.763157894737%Progess:18.421052631579%Progess:19.078947368421%Progess:19.736842105263%Progess:20.394736842105%Progess:21.052631578947%Progess:21.710526315789%Progess:22.368421052632%Progess:23.026315789474%Progess:23.684210526316%Progess:24.342105263158%Progess:25%Progess:25.657894736842%Progess:26.315789473684%Progess:26.973684210526%Progess:27.631578947368%Progess:28.289473684211%Progess:28.947368421053%Progess:29.605263157895%Progess:30.263157894737%Progess:30.921052631579%Progess:31.578947368421%Progess:32.236842105263%Progess:32.894736842105%Progess:33.552631578947%Progess:34.210526315789%Progess:34.868421052632%Progess:35.526315789474%Progess:36.184210526316%Progess:36.842105263158%Progess:37.5%Progess:38.157894736842%Progess:38.815789473684%Progess:39.473684210526%Progess:40.131578947368%Progess:40.789473684211%Progess:41.447368421053%Progess:42.105263157895%Progess:42.763157894737%Progess:43.421052631579%Progess:44.078947368421%Progess:44.736842105263%Progess:45.394736842105%Progess:46.052631578947%Progess:46.710526315789%Progess:47.368421052632%Progess:48.026315789474%Progess:48.684210526316%Progess:49.342105263158%Progess:50%lua.exe: item_db.txt:52: ')' expected (to close '(' at line 1) near ','stack traceback:        [C]: in function 'dofile'        replace.lua:54: in main chunk        [C]: in ?press any key to continue . . .

 the  item_db.txt  format:

{	Id= 501,	AegisName= "Red_Potion",	Name= "Red Potion",	Type= 0,	Buy= 50,	Weight= 70,	Upper= 63,	Script= [==[ itemheal rand(45,65),0; ]==],},{	Id= 502,	AegisName= "Orange_Potion",	Name= "Orange Potion",	Type= 0,	Buy= 200,	Weight= 100,	Upper= 63,	Script= [==[ itemheal rand(105,145),0; ]==],},{	Id= 503,	AegisName= "Yellow_Potion",	Name= "Yellow Potion",	Type= 0,	Buy= 550,	Weight= 130,	Upper= 63,	Script= [==[ itemheal rand(175,235),0; ]==],},

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.