Jump to content
Beret

Package Item

Recommended Posts

was looking for aegis and saw that the operation of the used by the emulator is not the same to see.

 

tbl ={	["item_name"] =	{		{name = "random1", item = "item_name", cnt = 1, hour = 0, onair = false, guid = false, probability = 3};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 10};		{name = "random1", item = "item_name", cnt = 1, hour = 0, onair = false, guid = false, probability = 5};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 100};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 80};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 80};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 80};		{name = "random1", item = "item_name", cnt = 1, hour = 0, onair = false, guid = false, probability = 19};		{name = "random1", item = "item_name", cnt = 5, hour = 0, onair = false, guid = false, probability = 14};		{name = "random1", item = "item_name", cnt = 1, hour = 0, onair = false, guid = false, probability = 19};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 70};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 70};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 50};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 50};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 60};		{name = "random1", item = "item_name", cnt = 1, hour = 0, onair = false, guid = false, probability = 70};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 70};		{name = "random1", item = "item_name", cnt = 3, hour = 0, onair = false, guid = false, probability = 70};		{name = "random1", item = "item_name", cnt = 2, hour = 0, onair = false, guid = false, probability = 80};	},        ["item_name"] =        {                {name = "must", item = "item_name", cnt = 1, hour = 168, onair = false, guid = true, probability = 1};        },

 

Edited by Beret

Share this post


Link to post
Share on other sites

The difference is very visible, there is the item that has a certain amount of time to go out again, also involves guild.

 

 

Someone else on the team hercules could look into this ?

Share this post


Link to post
Share on other sites

I have some information.

 

random1 will make the value of cnt leave random. Example: cnt = 5, will come out of 1 to 5 itens.

 

Hour is a delay type that the item can get out again. Example: can only win yggdrasil of 5 in 5 minutes.

 

Onair and guild do not know yet.

 

probability Here is a chance to leave the item 1 = 0.01

 

 

 

 

{name = "must", item = "Red_Bag", cnt = 3, hour = 0, onair = false, guid = true, probability= 1};

 

must gain item is fixed. Example: cnt = 5 get 5 items.

 

 

{name = "random2", item = "Egrade_Coin", cnt = 2, hour = 0, onair = false, guid = false, probability= 200};

 

Radom2 still do not know.

Share this post


Link to post
Share on other sites

Can it be that this function is related to cash items, aka "random boxes"? Looks pretty much the same how it works on officials. Would explain why i didn't get any big rare items for some time after i got it from the box.

Share this post


Link to post
Share on other sites

ummm today i will give example how to use this file

it's have more options and better than us group items system :/

Share this post


Link to post
Share on other sites

Can it be that this function is related to cash items, aka "random boxes"? Looks pretty much the same how it works on officials. Would explain why i didn't get any big rare items for some time after i got it from the box.

 

 

Yes this applies to cash items also, we have never seen anyone in official servers drop 2 items that are rare, the explanation is this delay that has when you win the item 1x.

Share this post


Link to post
Share on other sites

ex.

	["Dady_Scroll"] =	{	{name = "random1", item = "Odin's_Blessing", cnt = 1, hour = 0, onair = false, guid = false, probability= 5};	{name = "random1", item = "Valkyrja's_Shield", cnt = 1, hour = 0, onair = false, guid = false, probability=1};	{name = "random1", item = "Yggdrasilberry", cnt = 10, hour = 0, onair = false, guid = false, probability=150};	{name = "random1", item = "Daydric_Card", cnt = 1, hour = 0, onair = false, guid = false, probability=5};	{name = "random1", item = "Fricca_Circlet", cnt = 1, hour = 0, onair = false, guid = false, probability=1};	{name = "random1", item = "Secret_Medicine", cnt = 1, hour = 0, onair = false, guid = false, probability=2};	{name = "random1", item = "Tyr's_Blessing", cnt = 30, hour = 0, onair = false, guid = false, probability=100};	{name = "random1", item = "HE_Battle_Manual", cnt = 10, hour = 0, onair = false, guid = false, probability=100};	{name = "random1", item = "Valkyrie_Feather_Band", cnt = 1, hour = 0, onair = false, guid = false, probability=20};	{name = "random1", item = "Isilla_Card", cnt = 1, hour = 0, onair = false, guid = false, probability=1};	{name = "random1", item = "Spark_Candy", cnt = 10, hour = 0, onair = false, guid = false, probability=100};	{name = "random1", item = "Darkness_Helm", cnt = 1, hour = 0, onair = false, guid = false, probability=20};	{name = "random1", item = "Guyak_Pudding", cnt = 10, hour = 0, onair = false, guid = false, probability=120};	{name = "random1", item = "Token_Of_Siegfried_Box", cnt = 1, hour = 0, onair = false, guid = false, probability=120};	{name = "random1", item = "Regeneration_Box10", cnt = 1, hour = 0, onair = false, guid = false, probability=100};	{name = "random1", item = "Lucky_Cookie02", cnt = 30, hour = 0, onair = false, guid = false, probability=150};	},
name = This will decide if item is random or you must get it once you open the box.

If you set this value to "must" the item will always drop from the box
If
you set this value to "random1" or "random2" or "random3" you'll get
only 1 item from this group, the probability percent of the item is
calculated by the "probability" number of this item on this group
divided by the sum of all items in "probability" option of this group
multiplied by 100.

For example you can setup a box that will always give 10 items in
must, and 1 item in random1, and 1 item in random2, and 1 items in
random3
 
item = This is the DB_Name of the item that might drop from the box.

 
cnt = This is where babies are made, it can be also used as an insult by sexists... oops sorry! x_x
What I mean is this is the number of items you will get from successful drop from the box.

 
hour = This will decide for how long the item will remain in game before it vanish, be it consumable or equipment.
This value is in hours, so if you want to rent an item for 1 week you set this as 168 hours.

Set it to 0 so the item will stay permanently after successful drop.
 
onair
= If set as true you'll get an announcement with the character name if
s/he gets a successful drop of the item from the box.

set it as false and nothing will happen.
 
guid = This will put the character name on the item once it successfully drop from the box.
set it to false to ignore this feature.

 
probability = This is the probability value of the
item drop from the group if the "name" value is set as "random" or
"random1" or "random2" or "random3", and is calculated as the current
item probability value divided by the total value of the probability of
this group.

Share this post


Link to post
Share on other sites

This message I know appears in the game. Interesting then onair is this.

 

[Beret] opened [Purple Box] and received the item '1 yggdrasil'
Edited by Beret

Share this post


Link to post
Share on other sites

i saw this in pRO when opening some scrolls, when onair it will announce like that in yellow but in the chatbox its orange.

 

 

I confirm that in iro also.

Share this post


Link to post
Share on other sites

ah I have a question (I'll continue working on it regardless)

onair

= If set as true you'll get an announcement with the character name if

s/he gets a successful drop of the item from the box.

 

set it as false and nothing will happen.

Who is this displayed to? Self? Party? Everyone in the same map?

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
Reply to this topic...

×   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...

×
×
  • Create New...

Important Information

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