Dastgir 1246 Posted September 17, 2017 Hello, Since gravity has changed the itemInfo format. Recently, I have been getting quite a few requests to make something for idnum to ItemInfo converter. So here I am, made a tool + optional config in itemInfo to support older clients without changing the format. Tool Link: https://github.com/dastgir/Scripts/tree/master/Lua/multi-tools Usage is mentioned in Readme 1 3 IndieRO, evilpuncker, Sindit and 1 other reacted to this Quote Share this post Link to post Share on other sites
Sindit 0 Posted September 22, 2017 (edited) Thanks for this wonderful tool Dastgir, you helped me alot! I was thinking of developing this same tool in C because I really need this tool to solve alot of wasted time. Well, I tried to use it and the tool gives me some errors that I really don't understand. If you can help me I appreciate it. Spoiler Enter Input Folder: idnum Enter Output FileName(itemInfo.lub): itemInfo.lub ----------------------------------------------------------------- ------------------- Merge Idnum --------------------------------- ------------------- By Dastgir[Hercules] -------------------------- ----------------------------------------------------------------- ===== Checking Required Files ===== idnum2itemdisplaynametable.txt Found idnum2itemdesctable.txt Found idnum2itemresnametable.txt Found num2itemdesctable.txt Found num2itemdisplaynametable.txt Found num2itemresnametable.txt Found ===== Checking Optional Files ===== costume.txt Not Found itemslotcounttable.txt Found accname.lub Found accessoryid.lub Found lua53.exe: copyname_function.lua:162: table index is nil stack traceback: copyname_function.lua:162: in function 'getDescName_Txt' conf2db.lua:542: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . (Press any key to continue...) @edit: My PC configs (if you need these informations): OS: Win 10 Architecture: x64 CPU: Intel i5 Kaby Lake 7400 Edited September 22, 2017 by Sindit Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted September 22, 2017 4 hours ago, Sindit said: Thanks for this wonderful tool Dastgir, you helped me alot! I was thinking of developing this same tool in C because I really need this tool to solve alot of wasted time. Well, I tried to use it and the tool gives me some errors that I really don't understand. If you can help me I appreciate it. Reveal hidden contents Enter Input Folder: idnum Enter Output FileName(itemInfo.lub): itemInfo.lub ----------------------------------------------------------------- ------------------- Merge Idnum --------------------------------- ------------------- By Dastgir[Hercules] -------------------------- ----------------------------------------------------------------- ===== Checking Required Files ===== idnum2itemdisplaynametable.txt Found idnum2itemdesctable.txt Found idnum2itemresnametable.txt Found num2itemdesctable.txt Found num2itemdisplaynametable.txt Found num2itemresnametable.txt Found ===== Checking Optional Files ===== costume.txt Not Found itemslotcounttable.txt Found accname.lub Found accessoryid.lub Found lua53.exe: copyname_function.lua:162: table index is nil stack traceback: copyname_function.lua:162: in function 'getDescName_Txt' conf2db.lua:542: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . (Press any key to continue...) @edit: My PC configs (if you need these informations): OS: Win 10 Architecture: x64 CPU: Intel i5 Kaby Lake 7400 Pass me your idnum tables (pm or discord), Anyways final version of this tool is yet to come with item_db support for copying ClassNum for weapons 1 Sindit reacted to this Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted September 22, 2017 10 hours ago, Sindit said: Thanks for this wonderful tool Dastgir, you helped me alot! I was thinking of developing this same tool in C because I really need this tool to solve alot of wasted time. Well, I tried to use it and the tool gives me some errors that I really don't understand. If you can help me I appreciate it. Reveal hidden contents Enter Input Folder: idnum Enter Output FileName(itemInfo.lub): itemInfo.lub ----------------------------------------------------------------- ------------------- Merge Idnum --------------------------------- ------------------- By Dastgir[Hercules] -------------------------- ----------------------------------------------------------------- ===== Checking Required Files ===== idnum2itemdisplaynametable.txt Found idnum2itemdesctable.txt Found idnum2itemresnametable.txt Found num2itemdesctable.txt Found num2itemdisplaynametable.txt Found num2itemresnametable.txt Found ===== Checking Optional Files ===== costume.txt Not Found itemslotcounttable.txt Found accname.lub Found accessoryid.lub Found lua53.exe: copyname_function.lua:162: table index is nil stack traceback: copyname_function.lua:162: in function 'getDescName_Txt' conf2db.lua:542: in main chunk (luac): in main chunk [C]: in ? Pressione qualquer tecla para continuar. . . (Press any key to continue...) @edit: My PC configs (if you need these informations): OS: Win 10 Architecture: x64 CPU: Intel i5 Kaby Lake 7400 Updated. Now this kind of errors won't happen. 1 Sindit reacted to this Quote Share this post Link to post Share on other sites
Sindit 0 Posted September 22, 2017 Perfect tool! Working properly now. Thanks Dastgir for the support. Quote Share this post Link to post Share on other sites
deitalk 1 Posted September 28, 2017 Does CopyDisplayName support the lastest item_db.conf version? I think I got an error because of the new syntax. Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted September 29, 2017 On 9/28/2017 at 5:33 PM, deitalk said: Does CopyDisplayName support the lastest item_db.conf version? I think I got an error because of the new syntax. new item_db format isn't supported yet, once I do that, all tools will be updated to support new format. 2 Sindit and deitalk reacted to this Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted September 29, 2017 Update: https://github.com/dastgir/Scripts/commit/b5de266816426f6f825571786cad76223d32d3bb Partial Support for new item_db format parsing (Currently only usable for conf2db) 1 2 evilpuncker, deitalk and Sindit reacted to this Quote Share this post Link to post Share on other sites
PonyVPS 3 Posted October 7, 2017 Hello Dastgir, i try to test and use this, but seems having problem on Enter Input Folder: new Enter Output FileName(itemInfo.lub): item ----------------------------------------------------------------- ------------------- Merge Idnum --------------------------------- ------------------- By Dastgir[Hercules] -------------------------- ----------------------------------------------------------------- ===== Checking Required Files ===== idnum2itemdisplaynametable.txt Found idnum2itemdesctable.txt Found idnum2itemresnametable.txt Found num2itemdesctable.txt Found num2itemdisplaynametable.txt Found num2itemresnametable.txt Found ===== Checking Optional Files ===== costume.txt Not Found itemslotcounttable.txt Found accname.lub Found accessoryid.lub Found lua53.exe: conf2db.lua:572: attempt to index a nil value (global 'costume') stack traceback: conf2db.lua:572: in main chunk (luac): in main chunk [C]: in ? Press any key to continue . . . Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted October 7, 2017 59 minutes ago, PonyVPS said: Hello Dastgir, i try to test and use this, but seems having problem on Fixed @ new Revision 1 PonyVPS reacted to this Quote Share this post Link to post Share on other sites
PonyVPS 3 Posted October 7, 2017 is already released? Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted October 7, 2017 Another Update: Added support for reading item_db.conf: https://github.com/dastgir/Scripts/commit/3ea168dcd13251c84fd38215fedd549e536f0293 (Now can read Slots and ClassNum from item_db.conf) 3 IndieRO, PonyVPS and Sindit reacted to this Quote Share this post Link to post Share on other sites
Sindit 0 Posted October 8, 2017 (edited) Thanks for the updates Dastgir, ClassNum is working properly xD Spoiler But now I'm having problems with SlotCount :/ Spoiler Imperial Spear [1] have 1 slot. Idnums that I have used: Idnum.rar item_db.conf default of Hercules. @edit: Corrected using no item_db.conf Thanks for the support Dastgir. Edited October 11, 2017 by Sindit Quote Share this post Link to post Share on other sites
IndieRO 33 Posted November 14, 2017 thx really helpfull Quote Share this post Link to post Share on other sites
angelic 0 Posted April 16, 2019 Hello Dastgir, Please update this tools for support item id > 65K . thanks. Quote Share this post Link to post Share on other sites