Angelmelody 221 Posted February 21, 2015 Hi~Dastgir,If you are free ,Would you mind to create a tool which can tranlate quest_db.confby refrencing to the client file 'questid2display.txt' since quest_db.conf has beenimplemented. You mean the name of quest??? yes ,the name of quest.... Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted February 21, 2015 Well, just asking, does it matter?? Since quest name on server side is just for reference I think. Quote Share this post Link to post Share on other sites
Angelmelody 221 Posted February 21, 2015 Well, just asking, does it matter?? Since quest name on server side is just for reference I think. It's no matter but just like users aren't good at korean and tranlate it to his native language will become more friendly Quote Share this post Link to post Share on other sites
Like it~* 15 Posted May 25, 2017 Requested by AngelMelody: http://herc.ws/board/topic/2954-item-db-file-structure-overhaul/page-4#entry37029 This is a simple tool which allows you to copy display names for range of items from idnum2itemdisplayname.txt or from iteminfo.lua to your item_db.conf, within just 30 seconds. Link: https://github.com/dastgir/LuaScripts/tree/master/Lua/CopyDisplayName just run copyname.bat and input the details it requires. I'm trying to use the names of my iteminfo.lua, but I can not at all, smp is accused of error in 'function' assert ''. Look: Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 31023 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- -- Putting ItemDB0 Items into Memory lua53.exe: common.lua:395: [string "{..."]:1: unexpected symbol near '{' stack traceback: [C]: in function 'assert' common.lua:395: in function 'get_itemdb' conf2db.lua:240: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . If I remove "tbl = {" the error remains. Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 29027 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- lua53.exe: iteminfo.lua:1: unexpected symbol near '[' stack traceback: [C]: in function 'dofile' copyname_function.lua:17: in function 'GetDispName_Lua' conf2db.lua:106: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . My iteminfo: iteminfo.rar Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted May 25, 2017 Requested by AngelMelody: http://herc.ws/board/topic/2954-item-db-file-structure-overhaul/page-4#entry37029 This is a simple tool which allows you to copy display names for range of items from idnum2itemdisplayname.txt or from iteminfo.lua to your item_db.conf, within just 30 seconds. Link: https://github.com/dastgir/LuaScripts/tree/master/Lua/CopyDisplayName just run copyname.bat and input the details it requires. I'm trying to use the names of my iteminfo.lua, but I can not at all, smp is accused of error in 'function' assert ''. Look: Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 31023 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- -- Putting ItemDB0 Items into Memory lua53.exe: common.lua:395: [string "{..."]:1: unexpected symbol near '{' stack traceback: [C]: in function 'assert' common.lua:395: in function 'get_itemdb' conf2db.lua:240: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . If I remove "tbl = {" the error remains. Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 29027 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- lua53.exe: iteminfo.lua:1: unexpected symbol near '[' stack traceback: [C]: in function 'dofile' copyname_function.lua:17: in function 'GetDispName_Lua' conf2db.lua:106: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . My iteminfo: Your item info is fine, the trouble is with itemdb. Since the tool is almost 6-8 months old, and we have got some new fields added.So open table.lua Add these: {'DisableOptions', typ.bool }, {'DropAnnounce', typ.bool }, Below: {'View', typ.int }, Quote Share this post Link to post Share on other sites
Like it~* 15 Posted May 25, 2017 Requested by AngelMelody: http://herc.ws/board/topic/2954-item-db-file-structure-overhaul/page-4#entry37029 This is a simple tool which allows you to copy display names for range of items from idnum2itemdisplayname.txt or from iteminfo.lua to your item_db.conf, within just 30 seconds. Link: https://github.com/dastgir/LuaScripts/tree/master/Lua/CopyDisplayName just run copyname.bat and input the details it requires. I'm trying to use the names of my iteminfo.lua, but I can not at all, smp is accused of error in 'function' assert ''. Look: Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 31023 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- -- Putting ItemDB0 Items into Memory lua53.exe: common.lua:395: [string "{..."]:1: unexpected symbol near '{' stack traceback: [C]: in function 'assert' common.lua:395: in function 'get_itemdb' conf2db.lua:240: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . If I remove "tbl = {" the error remains. Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 29027 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- lua53.exe: iteminfo.lua:1: unexpected symbol near '[' stack traceback: [C]: in function 'dofile' copyname_function.lua:17: in function 'GetDispName_Lua' conf2db.lua:106: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . My iteminfo: Your item info is fine, the trouble is with itemdb. Since the tool is almost 6-8 months old, and we have got some new fields added.So open table.lua Add these: {'DisableOptions', typ.bool }, {'DropAnnounce', typ.bool }, Below: {'View', typ.int }, The error still persists Master, even after the editing suggested by you. Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 29027 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: iteminfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf --------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- -- Putting ItemDB0 Items into Memory lua53.exe: common.lua:395: [string "{..."]:1: unexpected symbol near '{' stack traceback: [C]: in function 'assert' common.lua:395: in function 'get_itemdb' conf2db.lua:240: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . Quote Share this post Link to post Share on other sites
Like it~* 15 Posted June 2, 2017 Someone? Please. Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 4, 2017 Updated. please use the updated version. Quote Share this post Link to post Share on other sites
Like it~* 15 Posted June 5, 2017 On 2017-6-4 at 2:55 AM, Dastgir said: Updated. please use the updated version. I just updated and the error is the same. Enter Item Range to start item_name copying: 501 Enter Item Range to end item_name copying: 29027 Enter item_db.Conf FileName: item_db.conf Enter idnum2itemdisplaynametable.txt/iteminfo.lua/iteminfo.lub FileName: itemInfo.lua Output File Name: item_db2.conf ----------------------------------------------------------------- ----------------- itemName to item_db.conf -------------------- ------------------- By Dastgir[Hercules] ------------------------ ----------------------------------------------------------------- -- Putting ItemDB Items into Memory lua53.exe: common.lua:397: [string "{..."]:1: unexpected symbol near '{' stack traceback: [C]: in function 'assert' common.lua:397: in function 'get_itemdb' conf2db.lua:176: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 6, 2017 Can you pass your item db used with tool? Quote Share this post Link to post Share on other sites
Like it~* 15 Posted June 6, 2017 1 hour ago, Dastgir said: Can you pass your item db used with tool? My item_db.conf is the Hercules original. Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 10, 2017 Try Now 1 Like it~* reacted to this Quote Share this post Link to post Share on other sites
Like it~* 15 Posted June 10, 2017 14 hours ago, Dastgir said: Try Now Thanks, sir! Quote Share this post Link to post Share on other sites
M4karov 8 Posted November 28, 2018 @Dastgir Hello Master! I've been using Hercules for a few weeks, totally giving up on the other emulator I was using. I'm just having some translation problems for item_db.conf. I saw your tool magnified but I could not configure it to have no errors. Could you help me? I want to update the settings.lua based on the current emulator, how to proceed? Quote Share this post Link to post Share on other sites