canditw 0 Posted March 29, 2016 (edited) 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 March 29, 2016 by canditw Quote Share this post Link to post Share on other sites
0 Legend 43 Posted March 29, 2016 Try, in your item_db2.txt change your: Script: <" getrandgroupitem Bloody_Card_Album1,1;"> into: Script: <" getrandgroupitem 32003,1;"> Quote Share this post Link to post Share on other sites
0 canditw 0 Posted March 29, 2016 @@Legend it worked thanks !!! Quote Share this post Link to post Share on other sites
0 Legend 43 Posted March 29, 2016 my pleasure Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted March 29, 2016 @@Haru @@hemagx @@4144, why isn't constant read here? Quote Share this post Link to post Share on other sites
0 4144 364 Posted March 29, 2016 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. Quote Share this post Link to post Share on other sites
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
Heres the new group info
and the item_db2.txt
Edited by canditwShare this post
Link to post
Share on other sites