LearningRO Posted August 5, 2017 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 15 hours ago Share Posted August 5, 2017 i try input on itemdb.h Quote IG_CustomLWGup, IG_CustomLWGmid, IG_CustomLWGlow, IG_CustomRDH, IG_CustomRES, IG_CustomRRF, IG_CustomRCB, IG_Kaskus, and script_constants.h Quote export_constant(IG_CustomLWGup); export_constant(IG_CustomLWGmid); export_constant(IG_CustomLWGlow); export_constant(IG_CustomRDH); export_constant(IG_CustomRES); export_constant(IG_CustomRRF); export_constant(IG_CustomRCB); export_constant(IG_Kaskus); and item_group_id Quote import: db/import/eAK-Box-IG_CustomLWGup.txt import: db/import/eAK-Box-IG_CustomLWGmid.txt import: db/import/eAK-Box-IG_CustomLWGlow.txt import: db/import/eAK-Box-IG_CustomRCB.txt import: db/import/eAK-Box-IG_CustomRDH.txt import: db/import/eAK-Box-IG_CustomRES.txt import: db/import/eAK-Box-IG_CustomRRF.txt import: db/import/Box_KaskusReward.txt and set on item_db.txt Quote 32034,Random_Costume_Box,Random Costume Box,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_CustomRCB),1; },{},{} but always get error Quote [Error]: itemdb_get_randgroupitem: Invalid group id 497 [Error]: buildin_grouprandomitem: Invalid item group with group_id '497', sub_group '1'. what step i miss :(( and i was recompile Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted August 6, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 10 hours ago Share Posted August 6, 2017 4 hours ago, melv0 said: i try input on itemdb.h and script_constants.h and item_group_id and set on item_db.txt but always get error what step i miss :(( and i was recompile You need to increase your group id in itemdb.h#define MAX_ITEMGROUP #75 //add your max_itemgroup here add your box in const.txt IG_CustomRCB 75 add your itemgroup.txt in db/import CustomRCB.txt // add your items inside this db BoxID,ItemID,Chance 75,501,10 // BoxID is the id that you added in Const.txt Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted August 7, 2017 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 15 hours ago Author Share Posted August 7, 2017 (edited) i was try it but stil didn;t recognize my costum :(( and btw structure on itemdb.h in last version different also in cons.txt and still get error like this Quote [Error]: sv_readdb: Insufficient columns in line 1 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 2 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 3 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 6 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 7 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 8 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 9 of "db/import/item_group_db.txt" (found 1, need at least 2). [Error]: sv_readdb: Insufficient columns in line 11 of "db/import/item_group_db.txt" (found 1, need at least 2). Edited August 7, 2017 by melv0 Quote Link to comment Share on other sites More sharing options...
Question
LearningRO
i try input
on itemdb.h
and script_constants.h
and item_group_id
and set on item_db.txt
but always get error
what step i miss :((
and i was recompile
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.