Vach Posted October 10, 2012 Posted October 10, 2012 -Slaps face- Ahh! I'm so dumb! Thanks again Judas... Gotta remind myself to read and absorb all wordy things. XD Quote
Wolfeh Posted October 11, 2012 Posted October 11, 2012 Sooo any idea on how to compile the produced iteminfo.lua into a .lub? So far renaming it seems to have sorta worked, but I'm curious as to if converting it to a lub would fix my not seeing equips issue. luac does not want to convert it and my client refuses to read it as a .lua, even though I have read lua before lub diffed into it, it seems to only want to read the lua's inside LuaFiles514 and not in the system folder. Quote
Judas Posted October 11, 2012 Posted October 11, 2012 not seeing equips is only due to classnum being 0. if that's the case you probably didn't have the item_db.txt inside where the program was Quote
Wolfeh Posted October 11, 2012 Posted October 11, 2012 Already tried that. But if people can see their equips with the classnum being at the proper value then I guess that isn't the issue. >: [11125] = { unidentifiedDisplayName = "Haruhi Ribbons", unidentifiedResourceName = "Haruhi_Ribbons", unidentifiedDescriptionName = { "A ribbon that was worn by Haruhi Suzumiya. The effects are a secret...", "Class :^777777 Headgear^000000", "Defense :^777777 3^000000", "Equipped on :^777777 Upper^000000", "Weight :^777777 1^000000", "Applicable Job :^777777 Every Job^000000", "Spriter :^777777 Katze^000000", }, identifiedDisplayName = "Haruhi Ribbons", identifiedResourceName = "Haruhi_Ribbons", identifiedDescriptionName = { "A ribbon that was worn by Haruhi Suzumiya. The effects are a secret...", "Class :^777777 Headgear^000000", "Defense :^777777 3^000000", "Equipped on :^777777 Upper^000000", "Weight :^777777 1^000000", "Applicable Job :^777777 Every Job^000000", "Spriter :^777777 Katze^000000", }, slotCount = 0, ClassNum = 1102 }, Quote
Judas Posted October 11, 2012 Posted October 11, 2012 ohh okay, so these are customs, I was referring to mainly weapons since they need it. So probably the way you implemented your customs in your lua files then. Quote
Wolfeh Posted October 11, 2012 Posted October 11, 2012 Oh okay. And you'd think but everything looks fine to me. :\ I figured if it was something in the lua files I'd error before even getting in-game too. Quote
Vach Posted October 11, 2012 Posted October 11, 2012 Which version of luac are you using and what errors do you get? If it isn't compiling because of errors those could be causing errors in-game even if you just rename the file. Quote
Wolfeh Posted October 11, 2012 Posted October 11, 2012 I tried both 5.0.2 and 5.1.4 and no errors, just no .lub produced and no visible custom headgears. Quote
Vach Posted October 12, 2012 Posted October 12, 2012 The file by default produces an output luac.lub file. Do you want to try compiling your .lua file for you? I was struggling with this a couple days ago. As another note, the "read LUA before LUB" hex only makes the lua files in the "lua files" folder read. Quote
PapaZola Posted October 13, 2012 Posted October 13, 2012 after convert to itemInfo.lua where i must add the files? if grf what path? or RO/system folder? Quote
Vach Posted October 13, 2012 Posted October 13, 2012 itemInfo.lub goes in the RO/System folder once it is compiled. If you're talking about where you put the item_db.txt and the text files with the descriptions, those go in the data folder (the item text files have always been located there). Quote
mrlongshen Posted January 28, 2013 Posted January 28, 2013 im using 10.4.2012 client . should i use this or old method ? Quote
Neo-Mind Posted February 6, 2013 Posted February 6, 2013 2012-10-04a client uses the old system. Quote
Pinky Posted June 2, 2013 Posted June 2, 2013 (edited) right, add the item_db.txt into the folder to convert classnum... but what about a sql item_db? lol i got 657 items there with a viewid Edited June 2, 2013 by Pinky Quote
Neo-Mind Posted June 2, 2013 Posted June 2, 2013 well you could dump the db into a item_db2.txt file http://stackoverflow.com/questions/11867825/exporting-an-sql-table-to-csv-with-commas-escaped Quote
Pinky Posted June 3, 2013 Posted June 3, 2013 yea thanks honey i fogured i had to export it myself to save the trouble, well now that i got the iteminfo working i guess i can sniff into these new clients to see whats new. Quote
a0313520 Posted December 22, 2016 Posted December 22, 2016 It's very useful ,thanks for your tool Quote
BearGT Posted December 22, 2016 Posted December 22, 2016 Finally able to find the tool i've been looking for for so long!!! Thanks for the tool~~ Quote
Nyool Posted July 29, 2018 Posted July 29, 2018 This is awesome thank you very much for making it and sharing it ! Quote
kukas9 Posted February 27, 2019 Posted February 27, 2019 (edited) Thanks for sharing this tool, help me much, i need help, why show me this? Edited February 27, 2019 by kukas9 edit Quote
Mitosky Posted October 29, 2019 Posted October 29, 2019 Como utilizo esta gran utilidad? saludos. Quote
skyiing Posted July 20, 2020 Posted July 20, 2020 (edited) Can i request new fuction ? costume ? new version iteminfo.lub have costume column add a txt file (that include costume id) if have, lub file will add costume = true if not have, will add costume = false below slotCount = 0, ClassNum = 0, Costume = true / Costume = false use [=[ ]=] replace " " to prevent some chinese word problem [13200] = { unidentifiedDisplayName = [=[]=], unidentifiedResourceName = [=[]=], unidentifiedDescriptionName = { }, identifiedDisplayName = [=[子彈]=], identifiedResourceName = [=[綰葩]=], identifiedDescriptionName = { [=[系列 : ^777777彈藥^000000]=], [=[屬性 : ^777777無^000000]=], [=[物攻 : ^77777725^000000]=], [=[重量 : ^7777770.1^000000]=], [=[要求 : ^777777Lv1^000000]=], }, slotCount = 0, ClassNum = 0 } -- Function #0 main = function() for ItemID, DESC in pairs(tbl) do result, msg = AddItem(ItemID, DESC.unidentifiedDisplayName, DESC.unidentifiedResourceName, DESC.identifiedDisplayName, DESC.identifiedResourceName, DESC.slotCount, DESC.ClassNum) if not result == true then return false, msg end for k, v in pairs(DESC.unidentifiedDescriptionName) do result, msg = AddItemUnidentifiedDesc(ItemID, v) if not result == true then return false, msg end end for k, v in pairs(DESC.identifiedDescriptionName) do result, msg = AddItemIdentifiedDesc(ItemID, v) if not result == true then return false, msg end end if nil ~= DESC.costume then result, msg = AddItemIsCostume(ItemID, DESC.costume) if not result == true then return false, msg end else continue end k = DESC.unidentifiedResourceName v = DESC.identifiedDisplayName end return true, "good" end Thank you Edited July 20, 2020 by skyiing Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.