Jump to content
  • 0

MAX_ITEMGROUP cannot be found in itemdb.hpp


Question

Posted (edited)

Hi everyone,

Has this value MAX_ITEMGROUP been deprecated? Is it no longer in use? I cannot find in my src/map/itemdb.hpp, or in fact i search in every file inside src folder and there's no entry for this value. It's not defined anywhere ( #define MAX_ITEMGROUP )

I'm adding a new item group and getting the error

[Error]: Invalid group CASH_TREASURE_BOX_R1.
[Error]: Occurred in file 'db/re/item_group_db.yml' on line 23716 and column 11.

Looking at other forum responses I need to increase the MAX_ITEMGROUP value and edit the constants, and recompile, but there's no such entry, I'm using rAthena 2021 with 4cRaAM 4th job mods.

For this I only need to edit the  const.txt ?

itemgroup file:

  - Group: CASH_TREASURE_BOX_R1
    SubGroups:
      - SubGroup: 1
        List:
          - Item: Golden_Treasure_Box
            Rate: 75
          - Item: Platinum_Treasure_Box
            Rate: 20
          - Item: Pearl_Treasure_Box
            Rate: 4
          - Item: Diamond_Treasure_Box
            Rate: 1

 

 

Thanks in advance!

 

 

 

Edited by Ophyrx

1 answer to this question

Recommended Posts

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...