Jump to content
  • 0

help Adding Group ID


AHMADSHIDQI

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   1
  • Joined:  02/18/12
  • Last Seen:  

Maybe someone can help me to add new GroupID for item_package? i have already tried guide, but i thinks theres new update in rA, i cant find #MAXRANDOMGROUP in itemdb.h, and noone config about IG_* in const.txt >.<, always error say Invalid Group ID....

ive tried to adding this at itemdb.h then recompile

	IG_SAPPHIRE_EGG,
	IG_IDN_HEART_SCROLL,
	IG_IDN_WISDOM_EGG,
	IG_CHRISTMAS_BOX,
	IG_SPECIAL_CHRISTMAS_BOX,
	IG_SANTA_GIFT,
	IG_LGLUCKY1,
	IG_LGLUCKY2,
	IG_LGLUCKY3,

 

but still say invalid group id :((, doc https://github.com/rathena/rathena/blob/master/doc/item_group.txt

say See the "Item Group ID" section in 'db/const.txt'.

but noone Item Group ID ther @@

and heres my import/item_package.txt

IG_LGLucky1,50901,55,50,1
IG_LGLucky1,13607,20,2,1
IG_LGLucky1,12208,20,5,1
IG_LGLucky1,14592,20,5,1
IG_LGLucky1,13894,20,1,1
IG_LGLucky1,13893,20,1,1
IG_LGLucky1,13892,20,1,1
IG_LGLucky1,13891,20,1,1
IG_LGLucky1,51239,5,1,1

sorry for my bad english :))

 

 

Fixed By Self~, after patch https://github.com/rathena/rathena/commit/127c13bbdd6c1fb5b708605fc4f6a7f44bc2398d

IG_* moves to itemdb.h and scripts_constats.h

 

Thanks~

Edited by AHMADSHIDQI
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   13
  • Joined:  01/22/13
  • Last Seen:  

I'm having the same problem
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  11/18/12
  • Last Seen:  

same here i've run out of ideas.please someone help

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

follow the guide and you will have no problem , make sure you follow the guide not a forum post ,than if you had put the error or what happen to you in a post or reply with what you did and what it says

in the original post here i can clearly see that he did not add the item group to src/map/script_constants.h (means he didn't follow the guide)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/28/16
  • Last Seen:  

It doesnt let to compile the solution when i added a box at script_constants.h. I read a lot of guides and nothing helps. u.u

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