Jump to content
  • 0

item_flag.txt where is it now?


Nullifier

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

Where can I find the new item_flag.txt now, or where can I find the setting to enable cash item boxes to be stackable my problem is whenever the ESB (Elite Siege Box) is bought from the cash shop they won't stack.

I tried doing this from the item_db_usable.yml
image.png.097ad71364da79cdd488297a75e279cf.png

but no luck it's just limiting the players holding limit of that specific item.

 

PS: If a moderator see this can you please transfer my post to the database support I forgot we have that LOL, Sorry.

Edited by Nullifier
If a moderator see this can you please transfer my post to the database support I forgot we have that LOL, Sorry.
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1535
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

11 hours ago, Nullifier said:

Nope, it's there in the item_usable_db.yml already so I didn't change or transfer it to other db's 

The issue is that when I tried to use @item on a cash shop box item one example is the Blessing Scroll Box (10) it is stacking like the image below

image.png.1b1eb5d1a3d14d212bd511404195ae05.png

But whenever I tried to buy from the cash shop and I bought 5 pcs, it will become 5x 1pcs so it's not sorted in your inventory, check the image below.

image.png.5a58463ed0a8c6c837ebaf15b045f63d.png    image.png.208e76c59636a4cedf3148b259d010dd.png

are you sure you are using the normal blessing scrol box (10) item ID 13697 ?

your rathena = latest rathena or older ?

Because ive tried using that itemID by @item and bought using cash shop, no problem its stacked.

Edited by Chaos92
additional info
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

  - Id: 13697
    AegisName: J_Blessing10_Box
    Name: Blessing Scroll 10 Box
    Type: Cash
    Weight: 10
    Flags:
      UniqueId: true
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
    Script: |
      getitem 12215,10;

 

###########################################################################
#
# Item Settings
#
###########################################################################
# - Id                      Item ID.
#   AegisName               Server name to reference the item in scripts and lookups, should use no spaces.
#   Name                    Name in English for displaying as output.
#   Type                    Item type. (Default: Etc)
#   SubType                 Weapon, Ammo or Card type. (Default: 0)
#   Buy                     Buying price. When not specified, becomes double the sell price. (Default: 0)
#   Sell                    Selling price. When not specified, becomes half the buy price. (Default: 0)
#   Weight                  Item weight. Each 10 is 1 weight. (Default: 0)
#   Attack                  Weapon's attack. (Default: 0)
#   MagicAttack             Weapon's magic attack. (Default: 0)
#   Defense                 Armor's defense. (Default: 0)
#   Range                   Weapon's attack range. (Default: 0)
#   Slots                   Available slots in item. (Default: 0)
#   Jobs                    Jobs that can equip the item. (Map default is 'All: true')
#   Classes                 Upper class types that can equip the item. (Map default is 'All: true')
#   Gender                  Gender that can equip the item. (Default: Both)
#   Locations               Equipment's placement. (Default: None)
#   WeaponLevel             Weapon level. (Default: 1 for Weapons)
#   ArmorLevel              Armor level. (Default: 1 for Armors)
#   EquipLevelMin           Minimum required level to equip. (Default: 0)
#   EquipLevelMax           Maximum level that can equip. (Default: 0)
#   Refineable              If the item can be refined. (Default: false)
#   Gradable                If the item can be graded. (Default: false)
#   View                    View sprite of an item. (Default: 0)
#   AliasName               Another item's AegisName that will be sent to the client instead of this item's AegisName. (Default: null)
#   Flags:                  Item flags. (Default: null)
#     BuyingStore           If the item is available for Buyingstores. (Default: false)
#     DeadBranch            If the item is a Dead Branch. (Default: false)
#     Container             If the item is part of a container. (Default: false)
#     UniqueId              If the item is a unique stack. (Default: false)
#     BindOnEquip           If the item is bound to the character upon equipping. (Default: false)
#     DropAnnounce          If the item has a special announcement to self on drop. (Default: false)
#     NoConsume             If the item is consumed on use. (Default: false)
#     DropEffect            If the item has a special effect on the ground when dropped by a monster. (Default: None)

 

So you can either remove

    Flags:
      UniqueId: true

UniqueId - If the item is a unique stack. (Default: false), this is unique every purchase on shops (npc shops,cash shop etc) which is the one in your example

or use the following script commands to combine them into one stack

---------------------------------------

*mergeitem({,<char_id>});

Open merge item window to merge available item can be merged.

Examples
1. See the NPC 'npc/re/other/merge_item.txt'.
2. Simple usage:
    mes "Let's check if any item can be merged.";
    close2;
    mergeitem;
    end;

---------------------------------------

*mergeitem2({<item_id>{,<char_id>}});
*mergeitem2({"<item name>"{,<char_id>}});

Merge all stackable items that separated by GUID flags
(UniqueId in item_db or in item_group).
If no item ID/name given, all possible items in player's inventory will be merged.

---------------------------------------

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1535
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

11 hours ago, Nullifier said:

Where can I find the new item_flag.txt now, or where can I find the setting to enable cash item boxes to be stackable my problem is whenever the ESB (Elite Siege Box) is bought from the cash shop they won't stack.

I tried doing this from the item_db_usable.yml
image.png.097ad71364da79cdd488297a75e279cf.png

but no luck it's just limiting the players holding limit of that specific item.

 

PS: If a moderator see this can you please transfer my post to the database support I forgot we have that LOL, Sorry.

I dont know if I understands your request,

but have you tried change elite siege box type from cash to usable ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

7 hours ago, Chaos92 said:

I dont know if I understands your request,

but have you tried change elite siege box type from cash to usable ?

Nope, it's there in the item_usable_db.yml already so I didn't change or transfer it to other db's 

The issue is that when I tried to use @item on a cash shop box item one example is the Blessing Scroll Box (10) it is stacking like the image below

image.png.1b1eb5d1a3d14d212bd511404195ae05.png

But whenever I tried to buy from the cash shop and I bought 5 pcs, it will become 5x 1pcs so it's not sorted in your inventory, check the image below.

image.png.5a58463ed0a8c6c837ebaf15b045f63d.png    image.png.208e76c59636a4cedf3148b259d010dd.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1535
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

Ah my bad im just checking on pre-re its not unique there.

To merge it back if need, you might use mergician npc script https://github.com/rathena/rathena/blob/63c3e67d9312fb4e896728c2adefc683d5507cc0/npc/re/other/item_merge.txt

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