Jump to content
  • 0

Custom item problem when equipping


Question

Posted

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

10 answers to this question

Recommended Posts

Posted

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.

Posted

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?

Posted

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

Posted

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

Posted (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

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

hmm what is the problem with that?

Edited by naaaan

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...