Jump to content
  • 0

Duplicating Items


Inochi

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   7
  • Joined:  05/24/12
  • Last Seen:  

Hey~

So I'm starting to boost my Server-side skills and wanted to know how to properly duplicate an item and add a slot.

I did this one as an example. Please let me know If I made the changes correctly!

I will be duplicating this

Note: This will be for a quest and not for a monster drop.

5402,Mischievous_Fairy,Mischievous Fairy,5,20,,200,,1,,0,0xFFFFFFFF,7,2,512,,70,0,405,{ bonus bFlee2,3; },{},{}

Item_db2

19350,Mischievous_Fairy,Mischievous Fairy,5,20,,200,,1,,1,0xFFFFFFFF,7,2,512,,70,0,405,{},{},{}

Idnum2itemdesctable


19350#
A cute fairy ear that for some reason, is slotted!
Class :^777777 Mid Gear^000000
Defense :^777777 1^000000
Weight :^777777 20^000000
Applicable Job :^777777 Every Job^000000
#

idnum2itemdisplaynametable

19350#Mischievous Fairy#

idnum2itemresnametable

19350##Àå³­²Ù·¯±â¿äÁ¤# <----All I did here was copy the the same one from the original one

itemslotcounttable

19350#1#

Did I forget to add to another .txt? Does everything look alright?

Thank you

~Inochi :wub:

Edited by Inochi
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Everything looks fine to me, but I'm not really an expert xD Have you tried it? That's the only way you'll actually know if it works :P

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   597
  • Joined:  11/25/11
  • Last Seen:  

Even it's not an Item that will be dropped, is recommended that you put the right texts on unknown items files (num2itemdisplaynametable.txt, num2itemdesctable.txt and num2itemresnametable.txt).

Also, except for this, everything is ok.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Even it's not an Item that will be dropped, is recommended that you put the right texts on unknown items files (num2itemdisplaynametable.txt, num2itemdesctable.txt and num2itemresnametable.txt).

Also, except for this, everything is ok.

How would you make items able to be dropped/trade/storable? My server won't let me do any items :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   7
  • Joined:  05/24/12
  • Last Seen:  

Does Accessoryid.lua need to be edited as well?

=x

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

AccessoryID needs to be adjusted because it's a new item you've created. But, use the same name as where you got it from and in the lua and make sure to make the ID 19350

Also, dont forget it add it to your accname.lua http://svn6.assembla...nfo/accname.lua well.. I doubt you'll need it in accname.lua.. Not sure.

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

No Lua entries are required as long as the view id of 405 is already configured to the correct sprite in your luas.. Only needed if you are adding a new sprite. Everything looks fine.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   3
  • Joined:  07/12/12
  • Last Seen:  

If you need the source code to make all items already identified on drop, let me know I have it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

go to item_avail.txt

this will duplicate the original item and the original view id.

put this

19350,5402 // Mischievous_Fairy

Edited by GM Takumirai
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...