Jump to content
  • 0

Adding Custom Item


Yudax

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  248
  • Reputation:   7
  • Joined:  11/27/12
  • Last Seen:  

screenzilero000.jpg

Sir i edited everything but i dont know whats the error in this im using 2012-04-10 client

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

Put your lua/lub files here.

data\luafiles514\lua files\datainfo\accname.lub

data\luafiles514\lua files\datainfo\accessoryid.lub

Edited by Rejected
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  248
  • Reputation:   7
  • Joined:  11/27/12
  • Last Seen:  

accessoryid.lub

ACCESSORY_MVP_BASKETHAT = 871,

ACCESSORY_CRITURA_HAT = 872,

ACCESSORY_MAGICAL_BOOSTER = 873,

ACCESSORY_NEW_BLACK_FAIRY_WINGS = 1000

}

accname.lub

[ACCESSORY_IDs.ACCESSORY_AURAQUARTZ_CROWN] = "_¿À·¯ÄõÃ÷ÀÇ¿Õ°ü",

[ACCESSORY_IDs.ACCESSORY_RABBIT_KNITHAT] = "_Åä³¢±Í´ÏÆ®¸ðÀÚ",

[ACCESSORY_IDs.ACCESSORY_SKYMET] = "_½ºÄ«À̸ä",

[ACCESSORY_IDs.ACCESSORY_NEW_BLACK_FAIRY_WINGS] = "New_Black_Fairy_Wings"

}

spirtename:

New_Black_Fairy_Wings

item_db2:

30000,New_Black_Fairy_Wings,Black Fairy Wings,5,10,,0,,5,,0,0xFFFFFFFE,7,2,001,,1,0,1000,{ bonus2 bSubRace,5,7; bonus bStr,25; if(isequipped(20012)) bonus3 bAutoSpell,"SM_BASH",5,50; },{},{}

resnametable:

30000#New_Black_Fairy_Wings#

itemdisplay:

30000#New_Black_Fairy_Wings#

desctable:

30000#

Custom Item

#

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

data\luafiles514\lua files\<PUT YOUR LUB FILES HERE >

[ACCESSORY_IDs.ACCESSORY_NEW_BLACK_FAIRY_WINGS] = "New_Black_Fairy_Wings"

 [ACCESSORY_IDs.ACCESSORY_NEW_BLACK_FAIRY_WINGS] = "_New_Black_Fairy_Wings"

Edited by Rejected
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  248
  • Reputation:   7
  • Joined:  11/27/12
  • Last Seen:  

Is this correct sir?

30000,New_Black_Fairy_Wings,Black Fairy Wings,5,10,,0,,5,,0,0xFFFFFFFE,7,2,001,,1,0,1000,{ bonus2 bSubRace,5,7; bonus bStr,25; if(isequipped(20012)) bonus3 bAutoSpell,"SM_BASH",5,50; },{},{}

Yes ive changed it already but now it says that "You can't put this item on"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

hello sir,

i already try and it is working. if i click right i can see the idnum2itemdesctable.

but if i want use it out from client :(

 

please help me thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  02/06/13
  • Last Seen:  

Congrats that you got it working! 

 

What do you mean "use it out from client"?

 

If you meant so that the sprite files aren't in your "data" folder, just put your data folder in a .grf file.

That way users won't be able to touch, per se, your custom item's files.

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