Jump to content
  • 0

Duplicating items


keoco

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

How do i duplicate items with an existing sprite ID, i just want to use the same sprite id and everything but with different effects and descriptions...

Edited by keoco
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

declare your new item on db/item.db2 then take a look at db/item_avail, this will give the new item the same sprite, desc etc.. then the assigned one. hope that what you're looking for.

Otherwise you'll need to create the file for client, idnum2itemresnametable.txt, idnum2itemdesctable.txt, idnum2itemdisplaynametable.txt etc...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

hey! i used the idnum2itemresnametable.txt, idnum2itemdesctable.txt, idnum2itemdisplaynametable.txt method, the item description and everything appears but in my inventory its invisible, and i get errors when i try and drag it =/, as you can see on the screenshot

post-1776-0-91304200-1328938152_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

Hmm I'll look if I found my list of file to change for new item again, but check if you edit those one : (non identified item)

  • num2itemdesctable.txt
  • num2itemdisplaynametable.txt
  • num2itemresnametable.txt

Edited by Lighta
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

editted those aswell.. same problem :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  125
  • Reputation:   7
  • Joined:  11/19/11
  • Last Seen:  

i do not think you did this already >> num2itemresnametable.txt

that file will connect your item id and the sprite name

itemid#sprite_name

recheck this two:

idnum2itemresnametable

num2itemresnametable.txt

make sure that when you search for your item, it will have the sprite name of the item you want to duplicate.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   4
  • Joined:  12/15/11
  • Last Seen:  

remove it from avail

if it's totally custom: add it in accname.lua (datalua filesdatainfo)

else use the official spritename

if it's a headgear, define viewid in accessoryid.lua

make sure to have all num2item files correctly editted

Edited by HollyEnix
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...