ItemCreate.ini

11/21/2018 14:13 Fordmondeo20#1
Heya,

currently I make some experiments with fortune bags defined in the ItemCreate.ini file.
One of my bags is for sure configured in the right way (effect 42 - variant 75 - grades defined with "drop chance").

Please have a look at my entry in the

The grades are all finely defined in database. Every drop group has got his certain items.

BUT: this bag isn't dropping any item sometimes.. You click on it and nothing appears in your inventory for some reason.

Castor said something in the past about fortune bags:
Quote:
Originally Posted by castor4878 View Post
...
the rules to manage drops defined in ItemCreate.ini are the same than those for drops defined in MobItems.
...
So the fact remains that each item (from 9) has a chance to drop only related to its own percentage. The position (line in the ini. ot ItemOrder field) as the existence of drops already acquired, will not change the odds to drop the item.
Is there something to this or did this post come in a time when he was still a bit unexperienced (no offense) ? In my opinion this couldn't be a point because another example (extracted from OmegaFiles) has also more than 9 (possible) entries just at the first variant:

Firstly I thought of increasing the chances over 100 so that every bag has to drop something in theory but this thought is also discarded.

What did I do wrong? Has anyone noticed a similar error like that? From 100 items i get only around 75 items :wat:


Cheers guys.
11/21/2018 18:02 [ADM]_Dephisio#2
Hey,
I think one of your grades doesn't exist. Check your grades. The bag select one of this grades but as it contains nothing then you get no item.
11/22/2018 12:37 Fordmondeo20#3
Quote:
Originally Posted by [ADM]_Dephisio View Post
I think one of your grades doesn't exist.
Definitely not. But I checked it again anyways. Every grade listed above exists and is fulfilled. And that only the first 9 grades exclusively will drop is also false. It seems to be a little bit strange...
11/24/2018 15:22 Fordmondeo20#4
I have found the error. It wasn't any grade according to not existing items or something like that. The items that are considered in this INI file have to have a certain Type.
This grade whose items didn't appear has items in it with type 99.
Firstly I thought it could be the quest item flag but this was exposed to be as a false positive.
I changed the type 99 items to type 38 and now everything works fine again.

So if anyone has problems with fortune bags some day then change the item types to typical ones: 25, 38, 44, 100 ...
Please correct me if I'm wrong.


Cheers.