madtoyz Posted October 15, 2012 Posted October 15, 2012 (edited) when i using archangel wings.the sprite will show. if im using wing zero,no sprite is appear. wing zero im using this script item_db 2589,Fallen_Angel_Wings,Fallen Angel Wings,5,0,,200,,18,,1,0xFFFFFFFF,7,2,4,,0,1,3,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRate,readparam(bLuk)/20; },{},{} accid.lub ACCESSORY_WING_ZERO = 29004 accname.lub [ACCESSORY_IDs.ACCESSORY_WING_ZERO] = "_wing_zero" cskroption.lub [29004] = { unidentifiedDisplayName = "wing_zero", unidentifiedResourceName = "wing_zero", unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier].", }, identifiedDisplayName = "wing_zero", identifiedResourceName = "wing_zero", identifiedDescriptionName = { "Large, wings from zero gundam.", "All Stats + 1.", "Base stats (without modifiers) is equal to 20 or higher,", "-Str -> Attack + 1", "-Int -> Magic Attack + 1", "-Vit -> Tolerance to Neutral Property + 1%", "-Agi -> Increase ASPD (After Attack delay -1%)", "-Dex -> Ranged Attack +1%", "-Luk -> Inflict 1% more critical attack.", "Class : ^777777Garment^000000", "Defense : ^77777718^000000", "Weight : ^77777720^000000", "Required Level : ^7777771^000000", "Applicable Job : ^777777Every Job^000000", }, slotCount = 1, ClassNum = 29004 }, item_db2 29004,wing_zero,wing zero,5,0,,200,,18,,1,0xFFFFFFFF,7,2,4,,0,1,29004,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRate,readparam(bLuk)/20; },{},{} in data folder Edited October 19, 2012 by madtoyz Quote
jysn Posted October 15, 2012 Posted October 15, 2012 (edited) the archangel wing is modified on the luafiles514/lua files/datainfo/ spriterobename.lub, spriterobeid.lub. the archangel wing's view id is 1 and it's according on the lub files. Edited October 15, 2012 by jysn Quote
Bin4ry Posted October 15, 2012 Posted October 15, 2012 (edited) We have yet know how to add custom sprite to garment yet. So use headgear instead. Edit: Btw, garment custom sprite need independent sprite for every jobs. Edited October 15, 2012 by darristan 1 Quote
madtoyz Posted October 15, 2012 Author Posted October 15, 2012 the archangel wing is modified on the luafiles514/lua files/datainfo/ spriterobename.lub, spriterobeid.lub. the archangel wing's view id is 1 and it's according on the lub files. thanks for the information.i'll try it spriterobeid.lub RobeNameTable = { [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, } RobeNameTable_Eng = { [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, } spriterobename.lub ROBE_WING_ZERO = 29004 after add,still just like the 1st post Quote
Bin4ry Posted October 15, 2012 Posted October 15, 2012 Because spriterobeid.lub doesn't read sprite from normal headgear sprite folder. No one finds it working yet, just make it an headgear rather than a garment for this moment. Quote
Dastgir Posted October 15, 2012 Posted October 15, 2012 have you edited accname_eng.lub ? Just a thought: Does your client support view id = 29004? Quote
madtoyz Posted October 15, 2012 Author Posted October 15, 2012 have you edited accname_eng.lub ? Just a thought: Does your client support view id = 29004? accname_eng.lub [ACCESSORY_IDs.ACCESSORY_WING_ZERO] = "_wing_zero" yes my client support view id until 30k. Quote
Dastgir Posted October 15, 2012 Posted October 15, 2012 (edited) Be Sure you have that grf read first. Some of the common mistakes: 1) GRF Which contains the lua is put later on data.ini( if before grf have lua it doesn't read other luas) 2) IF using thor pacther , be sure to use the encoding, (ASCII /UNICODE). 3) Check with headgear instead of garment. If it doesn't work, check with lower viewid. Edited October 15, 2012 by dastgirpojee Quote
Bin4ry Posted October 15, 2012 Posted October 15, 2012 (edited) Don't you not see the problem yet?! Is in your database, acting as a garment will not show any sprite (rA yet support). So change it into 2589,Fallen_Angel_Wings,Fallen Angel Wings,5,0,,200,,18,,1,0xFFFFFFFF,7,2,1,,0,1,3,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRat Edited October 15, 2012 by darristan Quote
madtoyz Posted October 15, 2012 Author Posted October 15, 2012 Because spriterobeid.lub doesn't read sprite from normal headgear sprite folder. No one finds it working yet, just make it an headgear rather than a garment for this moment. its mean still dont have any custom item that can replace the fallen angel wings and archangel wings official ragnarok online ? Be Sure you have that grf read first. im using grf format,not the data folder Don't you not see the problem yet?! Is in your database, acting as a garment will not show any sprite (rA yet support). So change it into 2589,Fallen_Angel_Wings,Fallen Angel Wings,5,0,,200,,18,,1,0xFFFFFFFF,7,2,1,,0,1,3,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRat so what i need change in item_db ? Quote
Bin4ry Posted October 15, 2012 Posted October 15, 2012 I highlighted the number in red, change urs into mine. Quote
madtoyz Posted October 15, 2012 Author Posted October 15, 2012 I highlighted the number in red, change urs into mine. erkk...become lowerheadgear ?. Quote
Bin4ry Posted October 15, 2012 Posted October 15, 2012 Yes, change the view ID in db to same as view ID in ur accessoryid.lub I forgetten to mention. Quote
madtoyz Posted October 16, 2012 Author Posted October 16, 2012 i try change Loc to 4,256,512,4096 but all same.no sprite is out. Quote
jysn Posted October 16, 2012 Posted October 16, 2012 (edited) look at data\sprite\·Îºê there are 3 folders and inside each folder are the garment sprites for all the jobs. to do it. make your own folder here data\sprite\·Îºê as you notice on õ»ç³¯°³ folder inside there are 2 folders ³² and ¿©. follow its format (ex. you name your folder custom folder) in there put your sprites on ³² folder for all male jobs this is the file format (ex. Ninja_³² for Male) ¿© folder for female jobs (ex. Ninja_¿© for Female). i dont know if korean or gibberish text is needed. if you have all the garment sprite on your folder modify your folder's name on this: spriterobename.lub: RobeNameTable = { [sPRITE_ROBE_IDs.ROBE_WINGS] = "õ»ç³¯°³", [sPRITE_ROBE_IDs.ROBE_BAG_OF_ADVENTURER] = "¸ðÇè°¡¹è³¶", [sPRITE_ROBE_IDs.ROBE_WINGS_OF_FALLEN_ANGEL] = "Ÿ¶ôõ»çÀdz¯°³", [sPRITE_ROBE_IDs.ROBE_CUSTOM_GARMENT] = "custom folder" } RobeNameTable_Eng = { [sPRITE_ROBE_IDs.ROBE_WINGS] = "ANGEL_WINGS", [sPRITE_ROBE_IDs.ROBE_BAG_OF_ADVENTURER] = "BAG_OF_ADVENTURER", [sPRITE_ROBE_IDs.ROBE_WINGS_OF_FALLEN_ANGEL] = "WINGS_OF_FALLEN_ANGEL", [sPRITE_ROBE_IDs.ROBE_CUSTOM_GARMENT] = "CUSTOM_GARMENT" } spriterobeid.lub SPRITE_ROBE_IDs = { ROBE_WINGS = 1, ROBE_BAG_OF_ADVENTURER = 2, ROBE_WINGS_OF_FALLEN_ANGEL = 3, ROBE_CUSTOM_GARMENT = 4 } change your view id. item_db.txt 20000,Custom_Garment,Custom Garment,5,0,,200,,18,,1,0xFFFFFFFF,7,2,1,,0,1,4,{ },{},{} if your using 2012-04-10 client make sure you update your idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable this is all what i understand on the garment folder imma try this today and use the archangel wing garment sprite and add new view id if it will work. HAHAHA! this is working just need a lot of work to have new garment sprite. this is what i tested the unknown item is the custom garment view ID is 4 at item_db.txt i forgot to update my idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable i used the õ»ç³¯°³ folder and name it to custom folder. the archangel wing view id is 1. Edited October 16, 2012 by jysn Quote
madtoyz Posted October 16, 2012 Author Posted October 16, 2012 (edited) ive already try just like what you tell about,but still same ERROR. http://www.mediafire...3foo90v26h7ll7y this include : data\luafiles514\lua files\datainfo accessoryid.lub accname.lub accname_eng.lub spriterobeid.lub spriterobename.lub data\sprite\·Îºê\wing_zero ¿© ³² item_db2 29004,wing_zero,wing zero,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4,,1,0,29004,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRate,readparam(bLuk)/20; },{},{} Edited October 16, 2012 by madtoyz Quote
jysn Posted October 16, 2012 Posted October 16, 2012 your view id is based on your HEADGEAR VIEW ID not SPRITE ROBE VIEW ID. 29004,wing_zero,wing zero,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4,,1,0,29004,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRate,readparam(bLuk)/20; },{},{} you dont need this: accessoryid.lub accname.lub accname_eng.lub Quote
madtoyz Posted October 17, 2012 Author Posted October 17, 2012 this is wing zero information. data/luafiles514/lua files/datainfo/spriterobeid.lub SPRITE_ROBE_IDs = { ROBE_WINGS = 1, ROBE_BAG_OF_ADVENTURER = 2, ROBE_WINGS_OF_FALLEN_ANGEL = 3, ROBE_WING_ZERO = 4, ROBE_BLOODWINGS = 5 } data/luafiles514/lua files/datainfo/spriterobename.lub RobeNameTable = { [sPRITE_ROBE_IDs.ROBE_WINGS] = "õ»ç³¯°³", [sPRITE_ROBE_IDs.ROBE_BAG_OF_ADVENTURER] = "¸ðÇè°¡¹è³¶", [sPRITE_ROBE_IDs.ROBE_WINGS_OF_FALLEN_ANGEL] = "Ÿ¶ôõ»çÀdz¯°³", [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, [sPRITE_ROBE_IDs.ROBE_BLOODWINGS] = bloodwings, } RobeNameTable_Eng = { [sPRITE_ROBE_IDs.ROBE_WINGS] = "ANGEL_WINGS", [sPRITE_ROBE_IDs.ROBE_BAG_OF_ADVENTURER] = "BAG_OF_ADVENTURER", [sPRITE_ROBE_IDs.ROBE_WINGS_OF_FALLEN_ANGEL] = "WINGS_OF_FALLEN_ANGEL", [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, [sPRITE_ROBE_IDs.ROBE_BLOODWINGS] = _bloodwings, } data/cskroption.lub [29004] = { unidentifiedDisplayName = "wing_zero", unidentifiedResourceName = "wing_zero", unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier].", }, identifiedDisplayName = "wing_zero", identifiedResourceName = "wing_zero", identifiedDescriptionName = { "Large, wings from zero gundam.", "All Stats + 1.", "Base stats (without modifiers) is equal to 20 or higher,", "-Str -> Attack + 1", "-Int -> Magic Attack + 1", "-Vit -> Tolerance to Neutral Property + 1%", "-Agi -> Increase ASPD (After Attack delay -1%)", "-Dex -> Ranged Attack +1%", "-Luk -> Inflict 1% more critical attack.", "Class : ^777777Garment^000000", "Defense : ^77777718^000000", "Weight : ^77777720^000000", "Required Level : ^7777771^000000", "Applicable Job : ^777777Every Job^000000", }, slotCount = 1, ClassNum = 4 }, db/item_db2.txt 29004,wing_zero,wing zero,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4,,1,0,4,{ bonus bAllStats,1; bonus bAtk,readparam(bStr)/20; bonus bWMatk,readparam(bInt)/20; bonus2 bSubEle,0,readparam(bVit)/20; bonus bAspdRate,readparam(bAgi)/20; bonus bCriticalRate,readparam(bLuk)/20; },{},{} when use it,still same like first post. my data\sprite\wing_zero base on Ragnarok 2012-07-04\rdata\sprite\·Îºê\õ»ç³¯°³ . spr and act format in wing_zero base on data\sprite\¾Ç¼¼»ç¸®(¿© and ³²) Quote
Winz Posted October 17, 2012 Posted October 17, 2012 try to convert the folder name into Korean, use Unbollox from RMS. also, try using 2012-04-10. as far as I know, it's the latest stable and supported client by rA Quote
madtoyz Posted October 17, 2012 Author Posted October 17, 2012 try to convert the folder name into Korean, use Unbollox from RMS. also, try using 2012-04-10. as far as I know, it's the latest stable and supported client by rA i dont know which client i use Quote
Winz Posted October 17, 2012 Posted October 17, 2012 get a !PExplorer from 4Shared. it can be used to see your client's date Quote
jysn Posted October 17, 2012 Posted October 17, 2012 edit this: [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, to this: [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = "wing_zero", why you have this file? cskroption.lub i think this is suppose to be iteminfo.lub if you use client 2012-04-10 you need to edit this idnum2itemdesctable idnum2itemdisplaynametable idnum2itemresnametable Quote
madtoyz Posted October 17, 2012 Author Posted October 17, 2012 im using client date 2012-05-15 edit this: [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = wing_zero, to this: [sPRITE_ROBE_IDs.ROBE_WING_ZERO] = "wing_zero", why you have this file? cskroption.lub i think this is suppose to be iteminfo.lub if you use client 2012-04-10 you need to edit this idnum2itemdesctable idnum2itemdisplaynametable idnum2itemresnametable done..from the 1st post until this post,what my problem is about the "" things in data/luafiles514/lua files/datainfo/spriterobename.lub thanks allot for helping me from the 1st post i made until solve the problem. very appreciate to members : jysn darristan dastgirpojee Winz [sOLVE] Quote
Winz Posted October 18, 2012 Posted October 18, 2012 It's done now? well,congrats to you! also thank you, now I learn one more thing: datainfo/spriterobename.lua/lub solved? add a [solved] in front of your thread's title and put a "solved" inside the tag box. Quote
madtoyz Posted October 18, 2012 Author Posted October 18, 2012 It's done now? well,congrats to you! also thank you, now I learn one more thing: datainfo/spriterobename.lua/lub solved? add a [solved] in front of your thread's title and put a "solved" inside the tag box. sorry because i dont know how to change the title...lets the MOD make it. Quote
Winz Posted October 18, 2012 Posted October 18, 2012 sorry because i dont know how to change the title...lets the MOD make it. click on the edit button on the #1 post. and change there. Quote
Question
madtoyz
when i using archangel wings.the sprite will show.
if im using wing zero,no sprite is appear.
wing zero im using this script item_db
accid.lub
accname.lub
cskroption.lub
item_db2
in data folder

Edited by madtoyz28 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.