naaaan Posted October 25, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Share 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 Link to comment Share on other sites More sharing options...
michaelsoftman Posted October 26, 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 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 Link to comment Share on other sites More sharing options...
Cephaler Posted October 26, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 132 Reputation: 2 Joined: 02/02/12 Last Seen: May 25, 2019 Share 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 Link to comment Share on other sites More sharing options...
naaaan Posted October 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
michaelsoftman Posted October 26, 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 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 Link to comment Share on other sites More sharing options...
naaaan Posted October 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
michaelsoftman Posted October 26, 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 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 Link to comment Share on other sites More sharing options...
naaaan Posted October 26, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Cephaler Posted October 26, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 132 Reputation: 2 Joined: 02/02/12 Last Seen: May 25, 2019 Share Posted October 26, 2012 Your viewid is probably of a flower. Quote Link to comment Share on other sites More sharing options...
naaaan Posted October 27, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 244 Reputation: 11 Joined: 09/02/12 Last Seen: August 7, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
kamikaze666 Posted February 24, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 92 Reputation: 8 Joined: 01/11/13 Last Seen: September 29, 2015 Share Posted February 24, 2013 is this issue solved? Quote Link to comment Share on other sites More sharing options...
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??
Link to comment
Share on other sites
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.