ThyroDree 3 Posted December 22, 2013 can someone help me make freebie giver but not on npc . by using a item like GM Gift Box > Gives Valkyrie Set and Cards THANKS! Quote Share this post Link to post Share on other sites
0 PokemonRO 2 Posted December 22, 2013 Rename one of the unused gift boxes in ragnarok, and just use your own getitem scripts Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 22, 2013 what will i put on the item command of the box? Quote Share this post Link to post Share on other sites
0 PokemonRO 2 Posted December 22, 2013 getitem 12250,2; 12250 = ITEM ID 2 = Quantity Change it to what you like Quote Share this post Link to post Share on other sites
0 jTynne 101 Posted December 22, 2013 If you wish to make a randomized box, I *believe* all you need to do is create an entry in /db/re/item_group.conf, featuring the 'japanese_name' of the item as found in your item database, and follow the same syntax as is found throughout the same file. Reload your item database afterwards, and as your custom item's script, add: getrandgroupitem #,1; The # being the item ID of the box item you're inserting this code into. Elsewise, if you want to just put a bunch of stuff into a box that grants multiple items you've designated at once, I do NOT suggest modifying an existing item (as there may be ways to receive said item, which could open exploits). 1. Create a new item. (I will assume you know how to do this; If not, get to searching!) 2. As the item's script, add in as many 'getitem #,1;' as you need into the "script" field of your custom item. Quote Share this post Link to post Share on other sites
0 ThyroDree 3 Posted December 23, 2013 getitem 12250,2; 12250 = ITEM ID 2 = Quantity Change it to what you like How to make my box give 3 or more items? Elsewise, if you want to just put a bunch of stuff into a box that grants multiple items you've designated at once, I do NOT suggest modifying an existing item (as there may be ways to receive said item, which could open exploits). 1. Create a new item. (I will assume you know how to do this; If not, get to searching!) 2. As the item's script, add in as many 'getitem #,1;' as you need into the "script" field of your custom item. Can you give me example of this script? i tried to add many getitem,#,1; and not working up 12540,GM_Warp_Box,GM Gift Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem,2524,1; getitem,2421,1; getitem,2357,1; getitem,2115,1; },{},{} help me with this? not working Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted December 29, 2013 Are you getting any errors parsing this item? You're using getitem wrong. getitem <ITEM_ID>, <QUANTITY>; So your script should be like this: { getitem 2524,1; getitem 2421,1; getitem 2357,1; getitem 2115,1; } BTW, there's now a new item format available, I suggest you to update your revision in order to get better support and flexibility for your custom items. P.S.: Moving to database support since this is more related to in-game databases. Quote Share this post Link to post Share on other sites
0 Patskie 88 Posted December 30, 2013 same with this http://herc.ws/board/topic/3692-freebies-but-not-npc/ isn't it? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted December 30, 2013 True, sorry for the mistake. Closing this topic, all questions regarding this topic shall be asked on the other topic since both of them are the same. P.S.: Please avoid making the same topic twice, you'll us have the forum cleaner and maybe you'd even get better support. Quote Share this post Link to post Share on other sites
can someone help me make freebie giver but not on npc . by using a item like GM Gift Box > Gives Valkyrie Set and Cards THANKS!
Share this post
Link to post
Share on other sites