Jump to content
  • 0

Item Group


Anime s2

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   6
  • Joined:  11/29/13
  • Last Seen:  

How to make a new item group? I want to make a new box wherein if a player open a box all it contains one custom items!

 

itemgroup.jpg

 

https://rathena.org/board/topic/68778-how-to-make-a-custom-obb-or-oca/?p=278189

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

How to make a new item group? I want to make a new box wherein if a player open a box all it contains one custom items!

 

itemgroup.jpg

 

https://rathena.org/board/topic/68778-how-to-make-a-custom-obb-or-oca/?p=278189

Error says that you lack 1 column on your modified part in item_group_db.txt which requires atleast 2.

Post the modified portion of your item_group_db.txt if you still can't figure it out.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  68
  • Reputation:   6
  • Joined:  11/29/13
  • Last Seen:  

 

How to make a new item group? I want to make a new box wherein if a player open a box all it contains one custom items!

 

itemgroup.jpg

 

https://rathena.org/board/topic/68778-how-to-make-a-custom-obb-or-oca/?p=278189

Error says that you lack 1 column on your modified part in item_group_db.txt which requires atleast 2.

Post the modified portion of your item_group_db.txt if you still can't figure it out.

 

 

 

db/pre-re/item_group_db.txt

import: db/pre-re/item_custombox.txt

db/pre-re/item_custombox.txt

454,19807,100

db/const.txt

item_custombox 454
Edited by Anime s2
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

This happened to me too, as a temporary fix I've just put the would-be custom item group into item_group_db.txt

 

When the item db is loaded, it never checks for imports in tiem_group_db

Edited by Nitrous
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

rAthena no longer uses const to define item groups but uses /src/map/script_constant.c

If you don't want to do src you can use this https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/F_ItemWeight.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...