Archetype Saber Posted July 3, 2013 Group: Members Topic Count: 90 Topics Per Day: 0.02 Content Count: 361 Reputation: 19 Joined: 01/09/13 Last Seen: January 19 Share Posted July 3, 2013 item_giftbox.txt // Gift Box Obtainable Items Database // // Structure of Database: // GroupID,ItemID,Rate // GiftBox 4,501,1 // Red Potion 4,502,1 // Orange Potion 4,503,1 // Yellow Potion 4,504,1 // White Potionitem_db.txt644,Gift_Box,Gift Box,2,1000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getrandgroupitem(IG_GiftBox),1; },{},{}------------------------These are the info I get. Uhm How will I do a custom Box that contains (For Example:) Apple ID: 512 , TCG ID: 7227I'm just a little bit confused with the keyword "IG_GiftBox" Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 3, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 15 hours ago Share Posted July 3, 2013 trunk/src/map/itemdb.h //The max. item group count (increase this when needed). #define MAX_ITEMGROUP 70 defined inside trunk/db/const.txt IG_BlueBox 1 IG_VioletBox 2 IG_CardAlbum 3 IG_GiftBox 4 IG_ScrollBox 5 IG_FingingOre 6 IG_CookieBag 7 IG_FirstAid 8 IG_Herb 9 IG_Fruit 10 IG_Meat 11 IG_Candy 12 IG_Juice 13 IG_Fish 14 IG_Box 15 IG_Gemstone 16 IG_Resist 17 IG_Ore 18 IG_Food 19 IG_Recovery 20 IG_Mineral 21 IG_Taming 22 IG_Scroll 23 IG_Quiver 24 IG_Mask 25 IG_Accesory 26 IG_Jewel 27 IG_GiftBox_1 28 IG_GiftBox_2 29 IG_GiftBox_3 30 IG_GiftBox_4 31 IG_EggBoy 32 IG_EggGirl 33 IG_GiftBoxChina 34 IG_LottoBox 35 IG_FoodBag 36 IG_Potion 37 IG_RedBox_2 38 IG_BleuBox 39 IG_RedBox 40 IG_GreenBox 41 IG_YellowBox 42 IG_OldGiftBox 43 IG_MagicCardAlbum 44 IG_HometownGift 45 IG_Masquerade 46 IG_Tresure_Box_WoE 47 IG_Masquerade_2 48 IG_Easter_Scroll 49 IG_Pierre_Treasurebox 50 IG_Cherish_Box 51 IG_Cherish_Box_Ori 52 IG_Louise_Costume_Box 53 IG_Xmas_Gift 54 IG_Fruit_Basket 55 IG_Improved_Coin_Bag 56 IG_Intermediate_Coin_Bag 57 IG_Minor_Coin_Bag 58 IG_S_Grade_Coin_Bag 59 IG_A_Grade_Coin_Bag 60 IG_Advanced_Weapons_Box 61 IG_Splendid_Box 62 make sure you have added the item in one of these files...or a new file.. trunk/db/re/item_group_db.txt 1 Quote Link to comment Share on other sites More sharing options...
0 LearningRO Posted June 21, 2017 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 72 Joined: 02/10/12 Last Seen: Yesterday at 04:38 AM Share Posted June 21, 2017 (edited) how to make costume obb with new version rathena anyone can help me? i fix it by myself Edited June 21, 2017 by melv0 Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted July 3, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted July 3, 2013 I recommend you to create your own custom item instead editting that box.. Or a function, with array, rand, getitem, and even an announcement if you want. 1 Quote Link to comment Share on other sites More sharing options...
Archetype Saber Posted July 4, 2013 Group: Members Topic Count: 90 Topics Per Day: 0.02 Content Count: 361 Reputation: 19 Joined: 01/09/13 Last Seen: January 19 Author Share Posted July 4, 2013 trunk/src/map/itemdb.h //The max. item group count (increase this when needed). #define MAX_ITEMGROUP 70 defined inside trunk/db/const.txt IG_BlueBox 1 IG_VioletBox 2 IG_CardAlbum 3 IG_GiftBox 4 IG_ScrollBox 5 IG_FingingOre 6 IG_CookieBag 7 IG_FirstAid 8 IG_Herb 9 IG_Fruit 10 IG_Meat 11 IG_Candy 12 IG_Juice 13 IG_Fish 14 IG_Box 15 IG_Gemstone 16 IG_Resist 17 IG_Ore 18 IG_Food 19 IG_Recovery 20 IG_Mineral 21 IG_Taming 22 IG_Scroll 23 IG_Quiver 24 IG_Mask 25 IG_Accesory 26 IG_Jewel 27 IG_GiftBox_1 28 IG_GiftBox_2 29 IG_GiftBox_3 30 IG_GiftBox_4 31 IG_EggBoy 32 IG_EggGirl 33 IG_GiftBoxChina 34 IG_LottoBox 35 IG_FoodBag 36 IG_Potion 37 IG_RedBox_2 38 IG_BleuBox 39 IG_RedBox 40 IG_GreenBox 41 IG_YellowBox 42 IG_OldGiftBox 43 IG_MagicCardAlbum 44 IG_HometownGift 45 IG_Masquerade 46 IG_Tresure_Box_WoE 47 IG_Masquerade_2 48 IG_Easter_Scroll 49 IG_Pierre_Treasurebox 50 IG_Cherish_Box 51 IG_Cherish_Box_Ori 52 IG_Louise_Costume_Box 53 IG_Xmas_Gift 54 IG_Fruit_Basket 55 IG_Improved_Coin_Bag 56 IG_Intermediate_Coin_Bag 57 IG_Minor_Coin_Bag 58 IG_S_Grade_Coin_Bag 59 IG_A_Grade_Coin_Bag 60 IG_Advanced_Weapons_Box 61 IG_Splendid_Box 62 make sure you have added the item in one of these files...or a new file.. trunk/db/re/item_group_db.txt I knew it ! I'm thinking that the "IG" 's is located at src. thanks buddy! whatta nice badge you have in there. I recommend you to create your own custom item instead editting that box.. Or a function, with array, rand, getitem, and even an announcement if you want. thanks nana for the Idea ! Quote Link to comment Share on other sites More sharing options...
ajaytrix Posted July 20, 2013 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 84 Reputation: 0 Joined: 03/29/12 Last Seen: February 15, 2017 Share Posted July 20, 2013 How can you make the custom box not 'apple' = view id. I would like it to be a custom item = but the image is 'gift box/ not apple' Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted July 20, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted July 20, 2013 Edit your "idnum2itemresnametable.txt" Quote Link to comment Share on other sites More sharing options...
Question
Archetype Saber
item_db.txt
644,Gift_Box,Gift Box,2,1000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getrandgroupitem(IG_GiftBox),1; },{},{}
------------------------
These are the info I get.
I'm just a little bit confused with the keyword "IG_GiftBox"
Link to comment
Share on other sites
6 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.