Jump to content
  • 0

Custom item problem when equipping


naaaan

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

guys i have a problem with my custom item when i equip i.t i got error then it crashed me.

post-7480-0-44972900-1351208368_thumb.jpg

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??

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

It is giving you the error info on the screen itself. The sprite ( .act ) is missing.

Edited by Cephaler
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

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

post-7480-0-18312300-1351216832_thumb.jpg

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

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

post-7480-0-03585200-1351223011_thumb.jpg

hmm what is the problem with that?

Edited by naaaan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

Your viewid is probably of a flower.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  244
  • Reputation:   11
  • Joined:  09/02/12
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...