Jump to content
  • 0
canditw

Item_group problem

Question

Not sure why, when i try to add a new group in the Item_group.conf and I'm getting this error when i try to use the item
 

 

 buildin_getrandgroupitem: unknown item id 0
 

 

Heres the new group info 
 

Bloody_Card_Album1: (
	"Amon_Ra_Card",
	"Atroce_Card",
	"Bacsojin_Card",
	"Baphomet_Card",
	"Berzebub_Card",
	"Dark_Lord_Card",
	"Detale_Card",
	"Doppelganger_Card",
	"Dracula_Card",
	"Eddga_Card",
	"Dark_Snake_Lord_Card",
	"Fallen_Bishop_Card",	
	"Garm_Card",
	"Gloom_Under_Night_Card",
	"Golden_Bug_Card",
	"B_Magaleta_Card",
	"B_Katrinn_Card",
	"Ifrit_Card",
	"Incant_Samurai_Card",
	"Kiel_Card",
	"Knight_Windstorm_Card",
	"Lady_Tanee_Card",
	"B_Seyren_Card",
	"Lord_Of_Death_Card",
	"Maya_Card",
	"Mistress_Card",
	"Moonlight_Flower_Card",
	"Orc_Hero_Card",
	"Orc_Load_Card",
	"Osiris_Card",
	"Pharaoh_Card",
	"Phreeoni_Card",
	"Rsx_0806_Card",
	"B_Shecil_Card",
	"Tao_Gunka_Card",
	"Thanatos_Card",
	"Turtle_General_Card",
	"Randgris_Card",
	"Apocalips_H_Card",
	"B_Harword_Card",
	"B_Ygnizem_Card",
	"Angeling_Card",
	"Archangeling_Card",
	"Deviling_Card",
	"Ghostring_Card",
	"Hydro_Card",
	"Maya_Puple_Card",
)

and the item_db2.txt

 

{
	Id: 32003
	AegisName: "Bloody_Card_Album1"
	Name: "Bloody Card Album"
	Type: 2
	Buy: 2
	Trade: {
		nodrop: true
		notrade: true
		noselltonpc: true
		nocart: true
		nogstorage: true
		nomail: true
		noauction: true
	}
	Script: <" getrandgroupitem Bloody_Card_Album1,1;">
}

Edited by canditw

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Try,

in your item_db2.txt

change your:

Script: <" getrandgroupitem Bloody_Card_Album1,1;">

 

into:

Script: <" getrandgroupitem 32003,1;">

Share this post


Link to post
Share on other sites
  • 0

I think because constant for current item added at end, and script parsed before constant added.

This is simple to fix.

 

But can be other issues, For example item using in script still not parsed other item.

I think both issues can be fixed, but it will create a bit overhead.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.