naaaan Posted October 25, 2012 Posted October 25, 2012 guys i have a problem with my custom item when i equip i.t i got error then it crashed me. my accname.lua [ACCESSORY_IDs.ACCESSORY_RABBIT_KNITHAT] = "_Åä³¢±Í´ÏÆ®¸ðÀÚ",[ACCESSORY_IDs.ACCESSORY_SKYMET] = "_½ºÄ«À̸ä", [ACCESSORY_IDs.ACCESSORY_gothic] = "_gothic", } my accessoryid.lua ACCESSORY_MAGICAL_BOOSTER = 873,ACCESSORY_gothic = 1000, } i already done adding them to texture sprite ¾ÆÀÌÅÛ , ¾Ç¼¼»ç¸®\¿© and ¾Ç¼¼»ç¸®\³² and done with idnum2 and num2 .txt my db\item_db2 30000,gothic,gothic,5,100000,,1000,,5,,1,0xFFFFFFFE,2,2,256,,0,1,1000,{ bonus bMdef,5; if(isequipped(2357,2421,2524)) bonus bAllStats,1; },{},{} am i miss something?? Quote
michaelsoftman Posted October 26, 2012 Posted October 26, 2012 If those are the last entries in the LUA files, take the comma off the end of each line. Also, make sure your client is able to display view IDs above 1000. And post your id2num text files for this item. Quote
Cephaler Posted October 26, 2012 Posted October 26, 2012 (edited) It is giving you the error info on the screen itself. The sprite ( .act ) is missing. Edited October 26, 2012 by Cephaler Quote
naaaan Posted October 26, 2012 Author Posted October 26, 2012 If those are the last entries in the LUA files, take the comma off the end of each line. Also, make sure your client is able to display view IDs above 1000. And post your id2num text files for this item. Yeah i did that. but still have error. And it becomes this how could i know? if my client support 1000 ID It is giving you the error info on the screen itself. The sprite ( .act ) is missing. sir i have done with that i already have that files. .bmp .spr .act. Quote
michaelsoftman Posted October 26, 2012 Posted October 26, 2012 When you diff your client, there's a setting to allow viewID above 1000. And because the error is showing a gigantic filename, I think something else could be wrong. Can you post the idnum2itemdisplaynametable and resnametable entries for this item? Quote
naaaan Posted October 26, 2012 Author Posted October 26, 2012 If those are the last entries in the LUA files, take the comma off the end of each line. Also, make sure your client is able to display view IDs above 1000. And post your id2num text files for this item. idnum2itemdesctable //customs 30000# gothic. # //customs 501# A potion made from ground Red Herbs that restores ^000088about 45 HP^000000. ^ffffff_^000000 Weight :^777777 7^000000 # idnum2itemdisplaynametable //customs 30000#gothic# //customs 501#Red_Potion# 502#Orange_Potion# idnm2itemresnametable //customs 30000#gothic# //cstoms 501#»¡°£Æ÷¼Ç# 502#ÁÖÈ«Æ÷¼Ç# When you diff your client, there's a setting to allow viewID above 1000. And because the error is showing a gigantic filename, I think something else could be wrong. Can you post the idnum2itemdisplaynametable and resnametable entries for this item? in the shins diff patch i see only "Increase Headgear ViewID to 2000" btw this is a .diff plain file hmm weird ( anyone? i just followed wiki guide haist Quote
michaelsoftman Posted October 26, 2012 Posted October 26, 2012 Try to increase the ViewID to 2000 first. If not, try this: Make sure the filename is like this. ¾_gothic.spr and ¾_gothic.act, WITH the underscore there. And in the LUAs, change the [ACCESSORY_IDs.ACCESSORY_gothic] = "_gothic", ACCESSORY_gothic = 1000, to [ACCESSORY_IDs.ACCESSORY_GOTHIC] = "_gothic" ACCESSORY_GOTHIC = 1000 Quote
naaaan Posted October 26, 2012 Author Posted October 26, 2012 (edited) Try to increase the ViewID to 2000 first. If not, try this: Make sure the filename is like this. ¾_gothic.spr and ¾_gothic.act, WITH the underscore there. And in the LUAs, change the [ACCESSORY_IDs.ACCESSORY_gothic] = "_gothic", ACCESSORY_gothic = 1000, to [ACCESSORY_IDs.ACCESSORY_GOTHIC] = "_gothic" ACCESSORY_GOTHIC = 1000 no error now, But the sprite show like a flower on the head hmm what is the problem with that? Edited October 26, 2012 by naaaan Quote
naaaan Posted October 27, 2012 Author Posted October 27, 2012 Your viewid is probably of a flower. sir i put 1000 for the viewID. i dont know why its happening. And my Client supports upto 2000 ViewID. Quote
Question
naaaan
guys i have a problem with my custom item when i equip i.t i got error then it crashed me.
my accname.lua
my accessoryid.lua
i already done adding them to texture sprite ¾ÆÀÌÅÛ , ¾Ç¼¼»ç¸®\¿© and ¾Ç¼¼»ç¸®\³²
and done with idnum2 and num2 .txt
my db\item_db2
am i miss something??
10 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.