Item_group problem

canditw

New member
Messages
78
Points
0
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

 

Code:
{
	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;">
}
 
Last edited by a moderator:
Try,

in your item_db2.txt

change your:

Script: <" getrandgroupitem Bloody_Card_Album1,1;">


into:

Code:
Script: <" getrandgroupitem 32003,1;">
 
my pleasure 
default_wink.png


 
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.

 
Back
Top