onizame Posted July 25, 2012 Posted July 25, 2012 (edited) I need some help put custom item on 2012-04-10 client.. non xray.. i already put the file on correct path.. its show the description and the drops was right.. but on equip not show up accname.lua [ACCESSORY_IDs.ACCESSORY_HELM_OF_GM] = "Helm_Of_GM", [ACCESSORY_IDs.ACCESSORY_MYSTIC_VALKYRIE_HELM] = "Mystic_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VALKYRIE_HELM] = "Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VENDETTA_MASK] = "Vendetta_Mask", [ACCESSORY_IDs.ACCESSORY_SNIPER_HELM] = "Sniper_Helm" } accessoryid.lua ACCESSORY_HELM_OF_GM = 874, ACCESSORY_MYSTIC_VALKYRIE_HELM = 875, ACCESSORY_VALKYRIE_HELM = 876, ACCESSORY_VENDETTA_MASK = 877, ACCESSORY_SNIPER_HELM = 878 } i already compile it to .lub too item_db2.txt 25010,Helm_Of_GM,Helm of GM,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,874,{ bonus bAllStats,500; bonus bIntravision,0; },{},{} 25011,Mystic_Valkyrie_Helm,Mystic Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,875,{ bonus bAllStats,3; },{},{} 25012,Valkyrie_Helm,Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,876,{ bonus bAllStats,3; },{},{} 25013,Vendetta_Mask,Vendetta Mask,5,10000,,10,,10,,1,0x00020000,7,2,256,,0,0,877,{ bonus bAllStats,3; bonus3 bAddEffOnSkill,"RG_BACKSTAP",Eff_Bleeding,1000; bonus2 bSkillAtk,"RG_BACKSTAP",1500; },{},{} 25014,Sniper_Helm,Sniper Helm,5,10000,,10,,10,,1,0x00000008,7,2,256,,0,0,878,{ bonus bAllStats,2; bonus bLongAtkRate,15; },{},{} when i use the hexed client show error : Lua Files\Data Info\AccessoryId buf : bad header in precompiled chunk. some screenie: Edited July 25, 2012 by onizame Quote
williamII Posted July 25, 2012 Posted July 25, 2012 you act and spr files into their respective folders? also the file you added idnum2itemresnametable? example: accname.lua [ACCESSORY_IDs.ACCESSORY_MYSTIC_VALKYRIE_HELM] = "Mystic_Valkyrie_Helm", accessoryid.lua ACCESSORY_MYSTIC_VALKYRIE_HELM = 875, idnum2itemresnametable.txt 25011#Mystic_Valkyrie_Helm# idnum2itemdisplaynametable.txt 25011#Mystic_Valkyrie_Helm# -- the name will be displayed when hovering over the item idnum2itemdesctable.txt 25011# the description of the item here Class : ^777777Headgear^000000 Defense: ^7777774^000000 Location: ^777777Upper^000000 Weight : ^7777770^000000 Required Level : ^77777771^000000 Jobs: ^777777All jobs^000000 # I hope you serve and forgive my bad English. Quote
onizame Posted July 25, 2012 Author Posted July 25, 2012 yesh" all already good.. thats why its weird only the lua lub thingy i dun understand alot.. only reading.. maybe i do some random mistake Quote
Syouji Posted July 25, 2012 Posted July 25, 2012 Just in case you haven't noticed (Changes made below): Sniper Helm missing a comma ",". [ACCESSORY_IDs.ACCESSORY_HELM_OF_GM] = "Helm_Of_GM", [ACCESSORY_IDs.ACCESSORY_MYSTIC_VALKYRIE_HELM] = "Mystic_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VALKYRIE_HELM] = "Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VENDETTA_MASK] = "Vendetta_Mask", [ACCESSORY_IDs.ACCESSORY_SNIPER_HELM] = "Sniper_Helm", } SNIPER HELM missing a comma ",". ACCESSORY_HELM_OF_GM = 874, ACCESSORY_MYSTIC_VALKYRIE_HELM = 875, ACCESSORY_VALKYRIE_HELM = 876, ACCESSORY_VENDETTA_MASK = 877, ACCESSORY_SNIPER_HELM = 878, } Quote
onizame Posted July 25, 2012 Author Posted July 25, 2012 eh.. its the end of the item still use coma? and i dont think it matters since all of it not showing up Quote
clydelion Posted July 25, 2012 Posted July 25, 2012 (edited) can you upload your entries in item_db? EDIT: Oh yeah it was there. Can you rediff a client that shows spr errors? Maybe your .spr files are missing. Edited July 25, 2012 by clydelion Quote
onizame Posted July 25, 2012 Author Posted July 25, 2012 ok.. i'll put new one.. item_db2.txt 25010,Helm_Of_GM,Helm of GM,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2000,{ bonus bAllStats,500; bonus bIntravision,0; },{},{} 25011,Mystic_Valkyrie_Helm,Mystic Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2001,{ bonus bAllStats,3; },{},{} 25012,Valkyrie_Helm,Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2002,{ bonus bAllStats,3; },{},{} 25013,Vendetta_Mask,Vendetta Mask,5,10000,,10,,10,,1,0x00020000,7,2,256,,0,0,2003,{ bonus bAllStats,3; bonus3 bAddEffOnSkill,"RG_BACKSTAP",Eff_Bleeding,1000; bonus2 bSkillAtk,"RG_BACKSTAP",1500; },{},{} 25014,Sniper_Helm,Sniper Helm,5,10000,,10,,10,,1,0x00000008,7,2,256,,0,0,2004,{ bonus bAllStats,2; bonus bLongAtkRate,15; },{},{} accname.lua [ACCESSORY_IDs.ACCESSORY_HELM_OF_GM] = "_Helm_Of_GM", [ACCESSORY_IDs.ACCESSORY_MYSTIC_VALKYRIE_HELM] = "_Mystic_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VALKYRIE_HELM] = "_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VENDETTA_MASK] = "_Vendetta_Mask", [ACCESSORY_IDs.ACCESSORY_SNIPER_HELM] = "_Sniper_Helm" } accessoryid.lua ACCESSORY_HELM_OF_GM = 2000, ACCESSORY_MYSTIC_VALKYRIE_HELM = 2001, ACCESSORY_VALKYRIE_HELM = 2002, ACCESSORY_VENDETTA_MASK = 2003, ACCESSORY_SNIPER_GM = 2004 } Quote
Yonko Posted July 25, 2012 Posted July 25, 2012 ok.. i'll put new one.. item_db2.txt 25010,Helm_Of_GM,Helm of GM,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2000,{ bonus bAllStats,500; bonus bIntravision,0; },{},{} 25011,Mystic_Valkyrie_Helm,Mystic Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2001,{ bonus bAllStats,3; },{},{} 25012,Valkyrie_Helm,Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,2002,{ bonus bAllStats,3; },{},{} 25013,Vendetta_Mask,Vendetta Mask,5,10000,,10,,10,,1,0x00020000,7,2,256,,0,0,2003,{ bonus bAllStats,3; bonus3 bAddEffOnSkill,"RG_BACKSTAP",Eff_Bleeding,1000; bonus2 bSkillAtk,"RG_BACKSTAP",1500; },{},{} 25014,Sniper_Helm,Sniper Helm,5,10000,,10,,10,,1,0x00000008,7,2,256,,0,0,2004,{ bonus bAllStats,2; bonus bLongAtkRate,15; },{},{} accname.lua [ACCESSORY_IDs.ACCESSORY_HELM_OF_GM] = "_Helm_Of_GM", [ACCESSORY_IDs.ACCESSORY_MYSTIC_VALKYRIE_HELM] = "_Mystic_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VALKYRIE_HELM] = "_Valkyrie_Helm", [ACCESSORY_IDs.ACCESSORY_VENDETTA_MASK] = "_Vendetta_Mask", [ACCESSORY_IDs.ACCESSORY_SNIPER_HELM] = "_Sniper_Helm" } accessoryid.lua ACCESSORY_HELM_OF_GM = 2000, ACCESSORY_MYSTIC_VALKYRIE_HELM = 2001, ACCESSORY_VALKYRIE_HELM = 2002, ACCESSORY_VENDETTA_MASK = 2003, ACCESSORY_SNIPER_GM = 2004 } makes sure your client reads headgear id up to 2000+ Quote
onizame Posted July 25, 2012 Author Posted July 25, 2012 its read up to 20000 and no error at all with new diffed client Quote
Lelouch vi Britannia Posted July 25, 2012 Posted July 25, 2012 20000 ? try just 2000 not 20000 maybe it will work Quote
onizame Posted July 25, 2012 Author Posted July 25, 2012 20000 ? try just 2000 not 20000 maybe it will work ok.. i try it.. and not working Quote
Lelouch vi Britannia Posted July 25, 2012 Posted July 25, 2012 can you give all the diffs of your client ? can you list it all here ? Quote
Mystery Posted July 25, 2012 Posted July 25, 2012 Try adding your customs to System/iteminfo.lua. Quote
close23 Posted July 25, 2012 Posted July 25, 2012 (edited) the only problem on your custom item is your ACCESSORY_HELM_OF_GM = 874, ACCESSORY_MYSTIC_VALKYRIE_HELM = 875, ACCESSORY_VALKYRIE_HELM = 876, ACCESSORY_VENDETTA_MASK = 877, ACCESSORY_SNIPER_HELM = 878 } this is already use by the other items. try to make it ACCESSORY_HELM_OF_GM = 1000, ACCESSORY_MYSTIC_VALKYRIE_HELM = 1001, ACCESSORY_VALKYRIE_HELM = 1002, ACCESSORY_VENDETTA_MASK = 1003, ACCESSORY_SNIPER_HELM = 1004 } and make it sure that it will not reach your max item on your client diff. increase max headgear view id. and for your itemdb 25010,Helm_Of_GM,Helm of GM,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1000,{ bonus bAllStats,500; bonus bIntravision,0; },{},{} 25011,Mystic_Valkyrie_Helm,Mystic Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1001,{ bonus bAllStats,3; },{},{} 25012,Valkyrie_Helm,Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1002,{ bonus bAllStats,3; },{},{} 25013,Vendetta_Mask,Vendetta Mask,5,10000,,10,,10,,1,0x00020000,7,2,256,,0,0,1003,{ bonus bAllStats,3; bonus3 bAddEffOnSkill,"RG_BACKSTAP",Eff_Bleeding,1000; bonus2 bSkillAtk,"RG_BACKSTAP",1500; },{},{} 25014,Sniper_Helm,Sniper Helm,5,10000,,10,,10,,1,0x00000008,7,2,256,,0,0,1004,{ bonus bAllStats,2; bonus bLongAtkRate,15; },{},{} Edited July 25, 2012 by close23 Quote
onizame Posted July 26, 2012 Author Posted July 26, 2012 (edited) Try adding your customs to System/iteminfo.lua. i want to try but... only lub theere.. and i cant convert it into lua the only problem on your custom item is your ACCESSORY_HELM_OF_GM = 874, ACCESSORY_MYSTIC_VALKYRIE_HELM = 875, ACCESSORY_VALKYRIE_HELM = 876, ACCESSORY_VENDETTA_MASK = 877, ACCESSORY_SNIPER_HELM = 878 } this is already use by the other items. try to make it ACCESSORY_HELM_OF_GM = 1000, ACCESSORY_MYSTIC_VALKYRIE_HELM = 1001, ACCESSORY_VALKYRIE_HELM = 1002, ACCESSORY_VENDETTA_MASK = 1003, ACCESSORY_SNIPER_HELM = 1004 } and make it sure that it will not reach your max item on your client diff. increase max headgear view id. and for your itemdb 25010,Helm_Of_GM,Helm of GM,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1000,{ bonus bAllStats,500; bonus bIntravision,0; },{},{} 25011,Mystic_Valkyrie_Helm,Mystic Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1001,{ bonus bAllStats,3; },{},{} 25012,Valkyrie_Helm,Valkyrie Helm,5,10000,,10,,10,,1,0xFFFFFFFF,7,2,256,,0,0,1002,{ bonus bAllStats,3; },{},{} 25013,Vendetta_Mask,Vendetta Mask,5,10000,,10,,10,,1,0x00020000,7,2,256,,0,0,1003,{ bonus bAllStats,3; bonus3 bAddEffOnSkill,"RG_BACKSTAP",Eff_Bleeding,1000; bonus2 bSkillAtk,"RG_BACKSTAP",1500; },{},{} 25014,Sniper_Helm,Sniper Helm,5,10000,,10,,10,,1,0x00000008,7,2,256,,0,0,1004,{ bonus bAllStats,2; bonus bLongAtkRate,15; },{},{} see bottom i try change into 2000 still the same.. BUMP sorry double post but i still cant find the solution Edited July 26, 2012 by onizame Quote
onizame Posted July 28, 2012 Author Posted July 28, 2012 bump again Bump i think i know the prob.. 2012-04-10 client read luafiles514 but.. inside the data\luafiles514\lua files\datainfo was all .lub files.. and i cant put anything there since the language weird.. then.. i convert to .lua still the same.. any solution? =/ Quote
Rikimaru Posted July 29, 2012 Posted July 29, 2012 Then just copy your Lua files of your lua files Folder into the luafiles514 folder. So you'll have to copy accessoryid.lua and accname.lua into your luafiles514/datainfo/ Folder.Then test if it works,or get the latest LUA Files here : http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/ Good Luck Quote
onizame Posted July 30, 2012 Author Posted July 30, 2012 its done already.. judas magically fix it.... [sOLVED] Quote
Mr BrycE Posted September 27, 2012 Posted September 27, 2012 i saw these on search in google, so i would like to share how its done, if you are using luafiles514, just copy your lua files in luafiles514 folder and just convert the necessary files ( acce id/accname if an NPC or Mob jobname/npcidentity etc.. ) to ".lub" if you dont know how to convert to lub, just save with an extention name .lub, and tah-dah.. ".lub" file is created. Quote
archilles89 Posted November 11, 2012 Posted November 11, 2012 I am having this problem as well, how did you solve it? Anybody mind sharing with me? Quote
karazu Posted September 5, 2013 Posted September 5, 2013 how did u fixed the problem? mind sharing? Quote
anticlimax18 Posted December 28, 2013 Posted December 28, 2013 its done already.. judas magically fix it.... [sOLVED] How did you fix it? I am having ur issue .. Quote
Question
onizame
I need some help put custom item on 2012-04-10 client.. non xray.. i already put the file on correct path.. its show the description and the drops was right.. but on equip not show up
accname.lua
accessoryid.lua
i already compile it to .lub too
item_db2.txt
when i use the hexed client show error :
Lua Files\Data Info\AccessoryId
buf : bad header in precompiled chunk.
some screenie:
21 answers to this question
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.