Jump to content
  • 0

Custom Item


ay0konapala

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

does idnum2itemresnametable still needed for the data folder in GIT?

 

'cause I cant create a custom item /sigh. Can someone please post a topic here for the step by step tutorial for custom item creation in GIT.

 

I added idnum2itemresnametable in the new data folder but I think GIT aren't reading that file.

 

Please teach me how to make a custom item in GIT and in GIT Data folder. Thanks.

 

(There's so many updates /sigh)

 

Thank you!

 

 

 

 

 

 

ASAP PLEASE


UP

UP

UP

UP

UP

UP


I dont know what to do. Its always 'Unknown Item' see this:

 

Screenshots: 2qizllx.jpgdz9swg.jpg

 

I copy and paste sprite file. Create my own Texture file. (75x100 and 24x24). Copy idnum2itemresnametable from my old GRF (don't know if this file is still needed. I just try it though). Copy desctable, slotcounttable, slottable, etc. from my old GRF/Data folder to the 'UPDATED' data folder of GIT (which doesn't contain resnametable etc.)

 

I don't know what to do. I tried everything but nothing happened. (i was like "WTF!!!!!!!!!!!!!!!!!!!!!!")

 

Please Help Me!!!

 

Thank you in Advance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

Do you modified your Client/system/iteminfo.lua ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

What do I have to do with that?


Please explain about that "modification" you're talking about.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

I find this http://rathena.org/wiki/Custom_Items#System.2FItemInfo.lub

 

so

[<item id>] = {
   unidentifiedDisplayName = <item name to show when not magnified>,
   unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>,
   unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> },
   identifiedDisplayName = <item name to show when magnified>,
   identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>,
   identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> },
   slotCount = <number of slots>,
   ClassNum = <View ID - yes the same one that was there item_db>
 },

Exemple Given:

[25000] = {
   unidentifiedDisplayName = "Sword",
   unidentifiedResourceName = "¼Òµå",
   unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier]." },
   identifiedDisplayName = "Devastator",
   identifiedResourceName = "Black_Sword",
   identifiedDescriptionName = { 
                                 "An Unholy Sword that was created with the sole purpose of destruction",
                                 "Class :^777777 Sword^000000",
                                 "Attack :^777777 325^000000",
                                 "Weight :^777777 80^000000",
                                 "Weapon Level :^777777 4^000000",
                                 "Required Level :^777777 100^000000",
                                 "Applicable Job :^777777 Novice, Swordsman Class, Merchant Class, Thief Class^000000"
                               },
   slotCount = 3,
   ClassNum = 2
 },
Edited by Idolo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

.lub? Where can I download the .lua file of that? It says to the tutorial, I need to decompile that to lua. How can I do that? Thanks for the Help. Very well appreciated. My only problem is how can I decompile that to lua? Or where is can I get that lua of that file. Thank you so much for the help!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   3
  • Joined:  03/30/12
  • Last Seen:  

Change extension .lub to .lua ? (right click and rename )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  07/28/14
  • Last Seen:  

Thank you so much for the help! Thanks a lot!! :)

 

GMs please close this post.

 

This topic is solved. :)

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