Jump to content
  • 0
Sign in to follow this  
ThyroDree

Custom Freebies in a Box

Question

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

9 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.