Hawkhill
Member-
Posts
359 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by Hawkhill
-
-
-
- 11 comments
-
- #bradley apc
- #firecrate
-
(and 2 more)
Tagged with:
-
- 11 comments
-
- #bradley apc
- #firecrate
-
(and 2 more)
Tagged with:
-
- 11 comments
-
- 1
-
-
- #bradley apc
- #firecrate
-
(and 2 more)
Tagged with:
-
- 11 comments
-
- #bradley apc
- #firecrate
-
(and 2 more)
Tagged with:
-
Ok...... final attempt to try to explain what im actually trying to do....... When I tried earlier to combine prefab loot and own loot, it didnt work as i wanted, So i decided to create my own list with 96 items and disable prefab loot. That way the plugin has only one loot table to handle...... 1. From the list of 96 items i want either 3 or 4 items to drop every time........ 2. I want the amount of scrap ive defined in that list to drop EVERY TIME! This is the only item i want 100% drop on out of the maximum 3-4 items. 3. I also got a couple of items i want to drop more often than others...... Treasure Map for example..... So i have higher dropchance on these compared to the other items in the list When i choose 100% on 1 item, that one should be prioritized over all other loot that has lesser droprate than 100%. It shouldnt matter if i set 99.99% dropchance on all the other items. In RaidableBases for example this works. (Yes i know the loot system is different and are in another league)...... But ive defiined the 100% dropchance loot in the same list as the random loot. (Not use the baseloot system) RaidableBases will still choose 100% drop chance loot first before filling up the boxes with the random loot until the maxlimit has been reached. From the tests ive done with BetterNPC, the plugin seems to be rearranging the loot table ive defined in the config file. Lowest dropchances will be moved to the top of the list and the highest dropchances are moved to the end of the loot table. This happends automaticly when i reload BetterNPC. In the early tests i defined different dropchances on every type of items, cause some items has more value than others....... its all about the balance. i used values from 5% to 100% Then i experienced that the scrap that i set 100% drop on wouldnt drop because the maximum 3-4 items were filled with the other loot first. When i lowered all other items dropchance down to 0.5% it worked better, but still 1-2 times out of 50 npc kills scrap didnt drop and the maximum items were filled with the other loot that didnt have 100% dropchance. That made me suspect that the plugin start "rolling the dice" in the beginning of the loot table and keeps rolling one item at the time down the list until the maxlimit of 3-4 items. You said that the order of the items in the list doesent matter, but i think it actually does..... Items that was moved high up in the list dropped way more often han other items further down on the list in my tests..... Bet there is a simple fix for this....... make the plugin arrange the loot table the other way. Highest dropchance on top and lowest on bottom. That will probably prevent the 100% drop items to be rolled on last and have a chance that it wont drop at all cause the maxlimit has been reached. No need for a complex rewrite of the loot system. Disabling the min/max values will just make it more like a lottery...... One time only the scrap drops, next time 20 items drops depending on the rolls...... but yes..... the scrap will drop then...... But i want only 3-4 items drop PERIOD! I made it work most of the time by lowering all other items to 0.5% dropchance. Only approx 2 of 50 failed and no scrap dropped. So this isnt a serious issue........I can live with it.... But i might try to lower it even more to assure that the scrap will be added every time if this keeps happening more often. That will increase the chances that the plugin ends up going through the whole loot table ive made without reaching the item maxlimit and then can place the scrap in the loot. Then it starts on top of the list rolling again to reach the max item limit. But i have no idea if that will have any impact on the server performance since the plugin needs to roll many times on each item before it decides what loot will drop..... What the dev decides to do with this is up to him...... Im just trying to help him making this awesome plugin even better. Have a nice weekend..... im done discussing this matter....... already wasted too much time on this
-
My point is that i want to restrict how many items dropping to maximum 3-4 iteems each time. And by adding that many items to the list will secure that the loot is randomized and not dropping the same items again and again..... "It's going to pick random drops and roll the probability to see if it goes through, it it goes through it takes a min/max slot. Period." Thats what im trying to explain..... its going through the list and rolling the dice until the min/max rule is met.... If the min / max number of items rule have been met before it comes to the scrap that ive set 100% drop on, its not going to add that since the max items rule is preventing that....... Thats why the plugin should roll the dice on the items with highest dropchances first.... Ive also noticed something else with the config today...... When i upload the config file to the server and reload the plugin, it rearrange the order of the items ive defined in the list by dropchance..... The lowest dropchances comes first, then the highest dropchances comes last on the list, The scrap that ive set first in my configfile, will automaticly be moved to the end of the list because its the hightest dropchance (100%) Maybe changing this in the plugin so the highest dropchances comes first on the list? I guess the plugin start rolling from the beginning of the list, not the end.... Then there is a chance the Min / Max is filled up before it comes to the scrap. Ive been playing around a lot with loot tables on Raidable bases plugin...... there i have no issues with this..... 100% drop loot will be choosen before it starts rolling on random loot.....
-
Think i found a sollution for it....... Ive set the dropchance on all other items to 0.5% Then the plugin probably have to "roll the dice" multiple times on every items before it chooses which items to drop..... Dunno if this is the best way to do it performance wise..... but seems to work Edit: Still it happends a few times that the scrap doesent drop..... happends maybe 1-2 times of 50 kills..... Not that big deal, but maybe the dev could take a look at it.... Plugin should pick the 100% drops first before the random loot that dont have 100% drop is choosen....
-
Ive tried combination of prefab and own loot before and its not working proper...... Thats why im now trying to make my own list of items that should drop instad...... For me, it seems like the plugin dont prioritizes the 100% drops first and ends up choosing 3-4 other items before it comes to the scrap that has 100% chance..... Then it cant choose that cause its already choosen max items allowed.....
-
As i said in my post..... i got 95 items in the list........ Scrap ive set 100% chance on drop and the rest 10% Pasted only the 2 first items from the config file....... Would be unnessesary to post the whole list here...... And yes.... ive set loot table to 1 in config...... It chooses 3 or 4 items randomly from the list, but scrap dont always drop...... It seems like the plugin dont care what i define as chance to drop......
-
Hi again...... im still struggling with loot table.... Now ive created a loot table with 95 items and changed in the config that only the "own list" shall drop.... Ive set it to pick minimum 3 and maximum 4 items from the list..... Thats working fine..... But then it comes to dropchance again....... Ive set scrap to have 100% chance to drop from 10 to 30 scrap, and rest of the items equal chance to drop..... 10% Still scrap wont drop every time as its suppose to do..... After 30 npc kills, none of them dropped scrap, but dropped 3-4 items from the list..... "Own loot table (if the loot table type is 1 or 5)": { "Minimum numbers of items": 3, "Maximum numbers of items": 4, "Use minimum and maximum values? [true/false]": true, "List of items": [ { "ShortName": "scrap", "Minimum": 10, "Maximum": 30, "Chance [0.0-100.0]": 100.0, "Is this a blueprint? [true/false]": false, "SkinID (0 - default)": 0, "Name (empty - default)": "" }, { "ShortName": "lowgradefuel", "Minimum": 10, "Maximum": 30, "Chance [0.0-100.0]": 10.0, "Is this a blueprint? [true/false]": false, "SkinID (0 - default)": 0, "Name (empty - default)": "" }, Is it just me that are stupid? When ive configured loot tables in other plugins ive never experienced these problems......
-
Been puting this on hold for a while..... But started messing around with it again today..... Tried now to set 0.1% chance for a item in the own list to spawn.... still there is a shitload of spawns on that item....... Didnt notice any difference if i set 50% chance or 0.1% chance in the own list settings..... So it seems like i actually need to add all the prefab items to own list and disable the combination of own list and prefab to make this right.....