Jump to content
  • 0

Need confirmation on old custom item method or up2date guide for 2018


kihfeatures

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  01/07/18
  • Last Seen:  

Hi guys,

all the guides i find are from 2012-2014. So yeah.

I want to create a consumable that grants cash shop points on use. The function itself should be easy enough. The problem is: what files to modify and where to put them.

This article https://github.com/rathena/rathena/wiki/Custom_Items takes way to many things for granted. Why decompiling lub to lua? Why not edit it? I can open and read it, alright.

Some voices say I need to define a viewID, some say I don't. Some people use some program called xRay for SOMETHING and honestly, I prolly need an easier to understand guide.

I went with rAthena because of the superior documentation, but all the guide writers have left for the younger sister, I suppose?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

53 minutes ago, kihfeatures said:

all the guides i find are from 2012-2014. So yeah.

yes since the way of adding the item is still the same until now :)
 

54 minutes ago, kihfeatures said:

I want to create a consumable that grants cash shop points on use. The function itself should be easy enough. The problem is: what files to modify and where to put them.

yes it is fairly easy if you read the wiki it should be in the first line of structure which is item_db
 

56 minutes ago, kihfeatures said:

This article https://github.com/rathena/rathena/wiki/Custom_Items takes way to many things for granted. Why decompiling lub to lua? Why not edit it? I can open and read it, alright.

because you can't simply edit lub files :)) 
Adding items in new clients
 

58 minutes ago, kihfeatures said:

Some voices say I need to define a viewID, some say I don't. Some people use some program called xRay for SOMETHING and honestly, I prolly need an easier to understand guide.

XRAY/View ID's are for headgear you probably won't need it in adding a consumable items :))

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

Wrong section. Moved to "Database Support".

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

try this itemscript

501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ #CASHPOINTS+ 1 },{},{}

 

it's just a wild guest.

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