Jump to content

Hawkhill

Member
  • Posts

    378
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Hawkhill

  1. Hawkhill

    Convoy Reforged

    Opened in Edge instead of Chrome.... that worked fine.... thx
  2. Hawkhill

    Convoy Reforged

    Error while compiling: Convoy.cs(2571,52): error CS1503: Argument `#1' cannot convert `NetworkableId' expression to type `uint'
  3. Hawkhill

    Air Drop Marker

    Plugin needs update
  4. Hawkhill

    Raidable Bases

    Here is a medium base that didnt despawn after it got raided. 2 players on my server raided it 15min before server restart..... Anything i can do to prevent this? Add command to unload raidable bases before restart?
  5. Hawkhill

    Raidable Bases

    Yep... 100% sure..... perfect made circle and stacked.... and yep.... server is plugged in
  6. Hawkhill

    Raidable Bases

    Was noclipping around the map earlier and found 3 places with only a ring of external walls.... No dome, no base inside.... Gonna try to replace oxide with carbon soon..... can see if that makes any difference. Thx for answer
  7. Hawkhill

    Raidable Bases

    Sometimes the arena walls wont despawn when the raidbase despawns..... Anything i can do to fix?
  8. Hawkhill

    Better Npc

    What more is there to say? Im done discussing it........ And ive posted what i experienced......... Shouldnt be needed to use another plugin to manage the loot when the settings are already there..... Have a nice weekend and thanks for your time.......
  9. Hawkhill

    Better Npc

    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
  10. Hawkhill

    Better Npc

    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.....
  11. Hawkhill

    Better Npc

    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....
  12. Hawkhill

    Better Npc

    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.....
  13. Hawkhill

    Better Npc

    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......
  14. Hawkhill

    Better Npc

    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......
  15. Hawkhill

    Better Npc

    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.....
  16. Hawkhill

    Raidable Bases

    Nah..... i didnt notice the last update
  17. Hawkhill

    Raidable Bases

    Error while compiling: RaidableBases.cs(16141,48): error CS0176: Static member `ItemContainer.Drop(string, UnityEngine.Vector3, UnityEngine.Quaternion, params ItemContainer[])' cannot be accessed with an instance reference, qualify it with a type name instead Anyone have a fix for this?
  18. Hawkhill

    Better Npc

    Got this list with the oilrig scientist dropchances.... https://rustlabs.com/entity/oil-rig-scientist#order;sort=3,1,0 I see most of the dropchances are below 1%...... Does the prefab loot share the same dropchances as i specify in "Own loot"? Or does the "Own loot" list have their own dropchance I see there are just like 15 items or so in the prefab list that has 5% or higher drop chance. Ive been using 5% on the "own loot" items..... So if they share the same dropchances i can maybe just lower it....... most of the items has 0.2% droprate and lower. Sorry... this was pretty hard to put into words with my english skills..... hope u understand.
  19. Hawkhill

    Better Npc

    Thx for reply So...... how do i make this work? Do i really need to disable prefab loot and add all the items to "own loot" list instead? Gotta be a more simple way to do it.... Sounds pretty simple in my head, but im not the coder
  20. Hawkhill

    Better Npc

    Hi! Sorry for late response.... Ive now set 2.5% chance any of the level 3 bluprints drop in the "Own Loot"....... Still its quite normal to get 2-3 bluprints each time i clear the abandoned millitary camp with only 10 NPC's. Here is a screenshot of a part of the configfile..... The prefabloot i can define a 0-100% chance for that loot drops...... But the "Own loot table" i can only set Min / Max items. And the chance on each individual item seems to be just a way to define if some of the items in that list should have higher / lower chance than others to drop. So what i want is a "Chance [0.0-100.0]" on the own loot list aswell..... then i can easily set for example 5% chance that any of the items from the list drops. Does this make any sense?
  21. Hawkhill

    Better Npc

    Hi! Im trying to make the "Own loot table" work proper along with prefab loot.... Could you add a "Chance [0.0-100.0]" option so i can define a percentage chance that any of the items on the list will drop? Now there is just a maximum and minimum number of items option on that list and a individual chance of each item. My plan is to give some of the NPC's a 5% chance of dropping a level 3 bluprint. But i think they drop too often. But it seems like its 50/50 chance now if there drops a item from the list if i set minimum 0 and maximum 1 on "own loot table". If i modify the chance on each individual item, it seems like it just favorites one item above others. Hope i explained myself good enough
  22. Hawkhill

    Skill Tree

    Now ive placed the png icons into my webhotel.... been working fine until now
  23. Hawkhill

    Skill Tree

    Another thing.... I have bough Bag of Holding.... Have made a skilltree to unlock the different bags there. But some of the images aint right.... Is there a way to force it to reload correct images`?
1.9m

Downloads

Total number of downloads.

8.7k

Customers

Total customers served.

130.4k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.