Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Share Posted November 7, 2012 hi guys . do you know what to put in OnEuip_Script?? bec i got this error iam making a custom wing . Quote Link to comment Share on other sites More sharing options...
michaelsoftman Posted November 7, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted November 7, 2012 Post the item script you have for that item, it looks like you just forgot the } at the end. Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 7, 2012 (edited) 21115,New_White_Fairy_Wings,white fairy wings,5,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,,{ bonus bAllStats,20; }{},{} here is the script in my item_db2.txt and in my data folder. after i diff. heres 1 in my acceossryid.lua ACCESSORY_New_White_Fairy_Wings = 889, Edited November 7, 2012 by mykel09 Quote Link to comment Share on other sites More sharing options...
michaelsoftman Posted November 7, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted November 7, 2012 You forgot a comma, change it to this. 21115,New_White_Fairy_Wings,white fairy wings,5,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,,{ bonus bAllStats,20; },{},{} Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 7, 2012 fixed . thanks. but still have problem in my wing. still have errors. Quote Link to comment Share on other sites More sharing options...
michaelsoftman Posted November 7, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted November 7, 2012 What kind of errors? Sprite errors? Did you also change accname.lua? Quote Link to comment Share on other sites More sharing options...
stydianx Posted November 7, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted November 7, 2012 post your error, so it can be solved ASAP. just incase (some people forget this) check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite. 1 Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 7, 2012 What kind of errors? Sprite errors? Did you also change accname.lua? here's in my accname.lua what's the problem here? [ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings" post your error, so it can be solved ASAP. just incase (some people forget this) check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite. downloading SPR CONVIEW. Quote Link to comment Share on other sites More sharing options...
stydianx Posted November 7, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted November 7, 2012 (edited) What kind of errors? Sprite errors? Did you also change accname.lua? here's in my accname.lua what's the problem here? [ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings" [ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings" post your error, so it can be solved ASAP. just incase (some people forget this) check your sprites using SPR CONVIEW if a sprite has more than 6 frames, its a equipsprite, if there is only 1, its a drop sprite. downloading SPR CONVIEW. there's your problem.. you forgot to place coma's... here you go, copy this and replace what you have, then tell me if its still not working.. [ACCESSORY_IDs.ACCESSORY_Red_Fairy_Wings] = "Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_Rastafari_Fairy_Wings] = "Rastafari_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Black_Fairy_Wings] = "New_Black_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Blue_Fairy_Wings] = "New_Blue_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Dark_Blue_Fairy_Wings] = "New_Dark_Blue_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Dark_Cyan_Fairy_Wings] = "New_Dark_Cyan_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Dark_Gold_Fairy_Wings] = "New_Dark_Gold_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Dark_Green_Fairy_Wings] = "New_Dark_Green_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_Red_New_Dark_Purple_Fairy_Wings] = "New_Dark_Purple_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Dark_Red_Fairy_Wings] = "New_Dark_Red_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Gold_Fairy_Wing] = "New_Gold_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Green_Fairy_Wings] = "New_Green_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Purple_Fairy_Wings] = "New_Purple_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_Red_Fairy_Wings] = "New_Red_Fairy_Wings", [ACCESSORY_IDs.ACCESSORY_New_White_Fairy_Wings] = "New_White_Fairy_Wings", Also check your item_db2.. your server monitor shows it.. you have wrong format for OnEquip column.. its usually left blank.. here is the format, count the columns then edit. ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } this is the part where you put your scriipts (i.e. bonus atkRate,10) { Script } Edited November 7, 2012 by stydianx 1 Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 7, 2012 (edited) Thanks. ok i will tell you if there's a prob again . have to build again. @stydianx Heres another error. i can use it but when im novice it cannot be equipped by all. and no pic when equipped. Edited November 7, 2012 by mykel09 Quote Link to comment Share on other sites More sharing options...
UltraSlayer Posted November 7, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 12/20/11 Last Seen: August 17, 2015 Share Posted November 7, 2012 (edited) Has your client been diffed up to 2000 max headgear view ID's? Also, make sure you have the correct view ID on the item. Example using from above: 21115,New_White_Fairy_Wings,white fairy wings,5,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,889,{ bonus bAllStats,20; },{},{} Where "889" is the ID associated to it from your accessoryid lua. Edited November 7, 2012 by UltraSlayer Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 7, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 7, 2012 (edited) i diff it up to 4000 is that ok ?? and i change my view i.d but still i got this my wings goes to etc not in equip. here is an example. 21115,New_White_Fairy_Wings,white fairy wings,10,100000,50000,0,100,40,,1,0xFFFFFFFF,1,2,1,,,1,888,{ bonus bAllStats,100; },{},{} mu view i.d in accessoryid lua its id is 888 like youve said change it according to my accessory.lua BUMP!. help my custom wing goes to etc. in my inventory how to fix it?? need it badly Edited November 7, 2012 by mykel09 Quote Link to comment Share on other sites More sharing options...
stydianx Posted November 7, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted November 7, 2012 go to this link: http://rathena.org/wiki/Custom_Items then look for these lines: Type: Purpose of the item. - iin this case, use 5 Job: Which jobs this item is available for. Values below can be combined to achieve availability for multiple job classes, i. e. 0x2|0x4 -> 0x6 (Swordman+Mage) - use this: 0xFFFFFFFE Upper: Specifies whether the item can be used by normal, baby or reborn classes. Values below can be combined, i. e. 1|4 -> 5 (Normal+Baby Classes) - use 2 Loc: Equipment location of armor and arrow-type items. Values below can be combined, i. e. 136 would indicate both accessory slots (typical value for accessories). - for wings, its usually used as a mantle, so use 4.. if you want it as a head gear, use 256.. you can also add numbers: i.e lower headgear(1) + upper headgear(256) + mid headgear(512) = 769, this will use all equip sockets in equip menu. View IDs, Having A Custom Item Without Xray this part is up to you. read carefully and double check..follow the tutorial.. 1 Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 8, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 8, 2012 why is it that my data folder doesnt have.lub files like accessoryid.lub and accname.lub ??? Quote Link to comment Share on other sites More sharing options...
UltraSlayer Posted November 8, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 12/20/11 Last Seen: August 17, 2015 Share Posted November 8, 2012 If you know your client version, then you can match it to the lubs found here: https://www.assembla.com/code/ClientSide/subversion/nodes/Lua_Project/lubs?rev=228 Quote Link to comment Share on other sites More sharing options...
stydianx Posted November 8, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted November 8, 2012 try looking again, but this time, follow this: go to Data then lua files then data info there you will see what you are looking for 1 Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 8, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 8, 2012 If you know your client version, then you can match it to the lubs found here: https://www.assembla...ct/lubs?rev=228 my client version is 2011-03-15 . is it ok with 2011-03-16 Lub Files [Translated].rar ? try looking again, but this time, follow this: go to Data then lua files then data info there you will see what you are looking for I've search it many times but it doesnt have lub files. Quote Link to comment Share on other sites More sharing options...
UltraSlayer Posted November 8, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 12/20/11 Last Seen: August 17, 2015 Share Posted November 8, 2012 my client version is 2011-03-15 . is it ok with 2011-03-16 Lub Files [Translated].rar ? It's only a day ahead, so it should be fine. Quote Link to comment Share on other sites More sharing options...
stydianx Posted November 8, 2012 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted November 8, 2012 i send you a PM.. read it.. 1 Quote Link to comment Share on other sites More sharing options...
Michael D. Posted November 8, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 87 Reputation: 0 Joined: 10/28/12 Last Seen: December 23, 2012 Author Share Posted November 8, 2012 my client version is 2011-03-15 . is it ok with 2011-03-16 Lub Files [Translated].rar ? It's only a day ahead, so it should be fine. ok thanks a lot. Quote Link to comment Share on other sites More sharing options...
Question
Michael D.
hi guys . do you know what to put in OnEuip_Script?? bec i got this error iam making a custom wing .
Link to comment
Share on other sites
19 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.