Jump to content
  • 0

Cash Items Stacking


Meister

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Hi,

Anyone who could lead me the way in proper implementation of item_stack? I've been messing with the config already including the item_db and item_stack but still not able to make the items stack in storage or inventory. (See image below)

Item #1

cash1.JPG.291b3723508fcb555dca49ce64eabd5a.JPG

Item #2

cash2.JPG.2d3feb976491fef0f1e87a71edd0d95a.JPG

 

So what I did is, add a value in re/item_stack.txt

Value: 14003,100,15 //ItemID,MaxStackAmount,Type

Problem: I can't make it stack.

Not sure if its a database error that I encounter or maybe client?

BTW: Client using: 20170125

 

Appreciate the help.

Regards!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   21
  • Joined:  11/08/15
  • Last Seen:  

Go to db/pre or re/item_flag.txt

// Flagged Items
// <ItemID>,<Flag>
//
// <Flag>:
//  1 - As Dead Branch item (will be logged at `branchlog` table and cannot be used at 'nobranch' mapflag)
//  2 - As item group container, check player's inventory and weight before consumed
//  4 - GUID Item: When this item is obtained, will generates GUID that cannot be stacked even same or stackable item
//  8 - Item will be bound item when equipped
// 16 - Special Broadcast: When item dropped by monster and player loot it, will be broadcasted!
// 32 - Item will not be removed on consumption. Also supports 'itemskill'
// NOTE: For removing flag by import file, use "-" to remove the flag. Example, 604,-1 will removes flag 1 from Branch_Of_Dead_Tree

Search the id for example id: 16396 = HD Elunium 10PC Box

16393,-1 //HD_Ori_Box5
16394,-1//HD_Ori_Box10
16395,-1 //HD_Elu_Box5
16396,-1 //HD_Elu_Box10

I remove the mapflag but if you want can you change to 2 or what ever you want. Then use @reload itemdb

Important: If you already have items non stackeable, you need to create new item to be stackeable. 

Edited by Scanty
  • Upvote 3
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Fixed. Thanks!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  249
  • Reputation:   72
  • Joined:  10/20/12
  • Last Seen:  

14 hours ago, Scanty said:

 


16393,-1 //HD_Ori_Box5
16394,-1//HD_Ori_Box10
16395,-1 //HD_Elu_Box5
16396,-1 //HD_Elu_Box10

Cool! Never knew it's possible to remove flags by adding a negative value! But I think it's needed to remove the

//  4 - GUID Item


Flag to make them stackable. So you'd need to add 16393, -4 etc.

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