Jump to content

Recommended Posts

Hi, I have a problem with stacking crafted items. After crafting each item appears separately in the inventory instead of stacking, what should I change to fix this?
Thanks in advance.

spacer.png

My cube_renewal.cpp: https://pastebin.com/7aG2ti6z

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/33029-cube-renewal-stack-item/
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

2 hours ago, Kuqsal said:

Did u check item_proto.txt ANTI_STACK Remove this func

item_proto is correct, the item stacks fine, it stacks badly only when crafted in cube.

27995    craft    ITEM_MATERIAL    MATERIAL_LEATHER    1    NONE    ITEM_STACKABLE    NONE    NONE    1000    50    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    1    0    0    0    0    0    0    0    0


 

Link to comment
https://metin2.dev/topic/33029-cube-renewal-stack-item/#findComment-167231
Share on other sites

  • Premium

The function AddToCharacter never stacked items..

You need to use AutoGiveItem but we got a item pointer so we are back to square one (no stacking)

 

So no, you can't, unless you create your own function that stack or give the item (and doesn't create ghost pointers all over the place)

Link to comment
https://metin2.dev/topic/33029-cube-renewal-stack-item/#findComment-167280
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.