Vach Posted October 10, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share 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 Link to comment Share on other sites More sharing options...
Wolfeh Posted October 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 119 Reputation: 19 Joined: 11/14/11 Last Seen: June 13, 2018 Share 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 Link to comment Share on other sites More sharing options...
Judas Posted October 11, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share 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 Link to comment Share on other sites More sharing options...
Wolfeh Posted October 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 119 Reputation: 19 Joined: 11/14/11 Last Seen: June 13, 2018 Share 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 Link to comment Share on other sites More sharing options...
Judas Posted October 11, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share 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 Link to comment Share on other sites More sharing options...
Wolfeh Posted October 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 119 Reputation: 19 Joined: 11/14/11 Last Seen: June 13, 2018 Share 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 Link to comment Share on other sites More sharing options...
Vach Posted October 11, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share 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 Link to comment Share on other sites More sharing options...
Wolfeh Posted October 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 119 Reputation: 19 Joined: 11/14/11 Last Seen: June 13, 2018 Share 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 Link to comment Share on other sites More sharing options...
Vach Posted October 12, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share 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 Link to comment Share on other sites More sharing options...
PapaZola Posted October 13, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted October 13, 2012 after convert to itemInfo.lua where i must add the files? if grf what path? or RO/system folder? Quote Link to comment Share on other sites More sharing options...
Vach Posted October 13, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share 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 Link to comment Share on other sites More sharing options...
mrlongshen Posted January 28, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted January 28, 2013 im using 10.4.2012 client . should i use this or old method ? Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted February 6, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted February 6, 2013 2012-10-04a client uses the old system. Quote Link to comment Share on other sites More sharing options...
Pinky Posted June 2, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 14 Reputation: 3 Joined: 03/27/12 Last Seen: July 3, 2013 Share 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 Link to comment Share on other sites More sharing options...
Neo-Mind Posted June 2, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share 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 Link to comment Share on other sites More sharing options...
Pinky Posted June 3, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 14 Reputation: 3 Joined: 03/27/12 Last Seen: July 3, 2013 Share 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 Link to comment Share on other sites More sharing options...
annie6119 Posted December 14, 2016 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 12/14/16 Last Seen: December 14, 2016 Share Posted December 14, 2016 This is too convenient,thanks!! Quote Link to comment Share on other sites More sharing options...
orten Posted December 16, 2016 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 12/12/16 Last Seen: December 16, 2016 Share Posted December 16, 2016 Thanks for your tool Quote Link to comment Share on other sites More sharing options...
a0313520 Posted December 22, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 12/09/16 Last Seen: September 4, 2021 Share Posted December 22, 2016 It's very useful ,thanks for your tool Quote Link to comment Share on other sites More sharing options...
BearGT Posted December 22, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 12/22/16 Last Seen: January 9, 2017 Share Posted December 22, 2016 Finally able to find the tool i've been looking for for so long!!! Thanks for the tool~~ Quote Link to comment Share on other sites More sharing options...
cpawjou Posted January 10, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 01/31/13 Last Seen: Friday at 04:29 PM Share Posted January 10, 2017 very good! Quote Link to comment Share on other sites More sharing options...
Nyool Posted July 29, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 24 Reputation: 5 Joined: 07/18/13 Last Seen: April 16, 2020 Share Posted July 29, 2018 This is awesome thank you very much for making it and sharing it ! Quote Link to comment Share on other sites More sharing options...
kukas9 Posted February 27, 2019 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 37 Reputation: 2 Joined: 08/30/18 Last Seen: October 6, 2020 Share 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 Link to comment Share on other sites More sharing options...
Mitosky Posted October 29, 2019 Group: Members Topic Count: 48 Topics Per Day: 0.02 Content Count: 104 Reputation: 0 Joined: 10/22/19 Last Seen: 5 hours ago Share Posted October 29, 2019 Como utilizo esta gran utilidad? saludos. Quote Link to comment Share on other sites More sharing options...
skyiing Posted July 20, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 11/23/15 Last Seen: July 11, 2024 Share 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 Link to comment Share on other sites More sharing options...
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.