Jump to content
  • 0

Create new box Like old blue box


Onairda

Question


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.03
  • Content Count:  164
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

Hello Everyone,

 

Good day!

 

Can you please provide a guide on how I can create a new box that when it open it generate random items like OBB ? .

I tried to put on id IG_NEWEBOsX in db/const.txt

and put it inside miy item-db-usable.yml but nothing works. 

 

thanks !

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  112
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

On 2/6/2021 at 10:14 AM, n0stalgia said:

{
    Id: 99999
    AegisName: "Random_Potion_Box"
    Name: "Random Potion Box"
    Type: "IT_USABLE"
    Buy: 10000
    Weight: 200
    BuyingStore: true
    Trade: {
        noselltonpc: true
    }
    Script: <" getrandgroupitem 99999,1; ">
},

add this to your  "item_group.conf"
Random_Potion_Box: (
    ("Red_Potion",3),
    ("Yellow_Potion",3),
    ("Orange_Potion",3),",
)

cant find "item_group.conf" in my rathena

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

{
    Id: 99999
    AegisName: "Random_Potion_Box"
    Name: "Random Potion Box"
    Type: "IT_USABLE"
    Buy: 10000
    Weight: 200
    BuyingStore: true
    Trade: {
        noselltonpc: true
    }
    Script: <" getrandgroupitem 99999,1; ">
},

add this to your  "item_group.conf"
Random_Potion_Box: (
    ("Red_Potion",3),
    ("Yellow_Potion",3),
    ("Orange_Potion",3),",
)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

7 hours ago, ManokStreZ said:

cant find "item_group.conf" in my rathena

https://github.com/rathena/rathena/blob/master/db/re/item_group_db.txt

also read how add - https://github.com/rathena/rathena/blob/master/doc/item_group.txt

Edited by botka4aet
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  112
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

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