BetterLoot

A complete re-implementation of the drop system

Total Downloads: 42,586 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018

4.95699/5, 93 likes
  1. Is anyone else getting the below
    BatterLoot plugin is using deprecated hook: OnEntitySpawn
     
  2. dcode updated BetterLoot with a new update entry:

    1.8.4

     
  3. F1 Grenade
    how to add to the black list pls =(((

    Russian : Парни как добавить в черный список гранаты??? Не найду названия =(
     
  4. grenade.f1
     
  5. since i updated ALL barrels and trash bins are empty
     
  6. I second that. The barrels that do have items appear to drop the loot bags but they disappear before hitting the ground.
     
  7. this may actually just be rust itself. all droped items vanish
     
  8. I'm not having this problem, and I am running BetterLoot
     
  9. I am having this problem as well. I didn't initially have betterloot installed, but I added it to troubleshoot.
     
  10. Where can I get a list of all item ? thx
     
  11. You might find this useful..
    http://radmin.elasticbeanstalk.com/item/list/approved/consumable/

    I'm not getting any loot in the barrels.
    [DOUBLEPOST=1428686722,1428678674][/DOUBLEPOST]Oxide2 was just updated. It would seem BetterLoot is working for me now.
     
  12. I still seem to be having issues with this after the last update. It's showing as loaded but still getting empty barrels or ones with just 1 very very commom item.
     
  13. It's not work for me , I had blacklist the C4 ,but it still can loot.
     
  14. It looks like another Rust patch was release yesterday and oxide was updated again. I'm having issues with it as well.
     
  15. Something seems to be off with recent versions. Rare/VeryRare BPs are dropping waaaay too often for what I have set.

    EDIT: I've reverted to an old version (1.7.2) I had saved. It seems to be better now.
    Will update if it is better over the next few hours as player reports come in.

    Code:
    [Oxide] 11:20 AM [Info] BetterLoot: There are 125 items and 80 blueprints in the game.
    [Oxide] 11:20 AM [Info] BetterLoot: We are going to use 73 items and 42 blueprints of them.
    [Oxide] 11:20 AM [Info] BetterLoot: Base item rarity is 2 and base blueprint rarity is 2.5.
    [Oxide] 11:20 AM [Info] BetterLoot: With a 1.5% chance that any drop is a blueprint we get:
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 46.788% chance to get one of 19 common items (w=8000, 152000/320000).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 40.631% chance to get one of 33 uncommon items (w=4000, 132000/320000).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 9.234% chance to get one of 15 rare items (w=2000, 30000/320000).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 1.847% chance to get one of 6 very rare items (w=1000, 6000/320000).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 0.508% chance to get one of 5 common blueprints (w=15625, 78125/230625).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 0.732% chance to get one of 18 uncommon blueprints (w=6250, 112500/230625).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 0.228% chance to get one of 14 rare blueprints (w=2500, 35000/230625).
    [Oxide] 11:20 AM [Info] BetterLoot: There is a 0.033% chance to get one of 5 very rare blueprints (w=1000, 5000/230625).
    Looking at my map, I have a 12 Gauge, 5.56 Rifle Cart (2x), Explosives (3x) BPs. One barrel even has Large Medkit BP x2 in it.

    A lot of my loot seems to be dropping one of said item and not more (i.e. 1 Gun Powder). Also, looking at my map, many barrels only have one item or nothing in them.

    P.S. Reason my BP drop rate is so low is because I am running an RPG mod, so I would prefer players to use the skills there, but still have the very low chance of a BP dropping in the world.

    My Config:

    Code:
            private double        defaultBlueprintProbability = 0.015;
            private int           defaultMinItemsPerBarrel    = 2;
            private int           defaultMaxItemsPerBarrel    = 3;
            private int           defaultMinItemsPerCrate     = 4;
            private int           defaultMaxItemsPerCrate     = 5;
            private double        defaultBaseItemRarity       = 2;
            private double        defaultBaseBlueprintRarity  = 2.5;
            private int           defaultRefreshMinutes       = 15;
            private bool          defaultEnforceBlacklist     = true;
            private bool          defaultDropWeaponsWithAmmo  = true;
            private Dictionary<string, int> defaultDropLimits = new Dictionary<string, int>() {
                // C4
                { "explosives", 50 },
                { "explosive.timed", 3 },
                // Ammunition
                { "arrow_wooden", 50 },
                { "ammo_handmade_shell", 50 },
                { "ammo_shotgun", 50 },
                { "ammo_pistol", 50 },
                { "ammo_rifle", 50 },
                { "gunpowder", 100 },
                // From animals
                { "fat_animal", 200 },
                { "cloth", 200 },
                { "lowgradefuel", 100 },
                { "bone_fragments", 200 },
                // Medical
                { "antiradpills", 5 },
                { "bandage", 10 },
                { "largemedkit", 2 },
                { "blood", 000 },
                // Resources
                { "wood", 2000 },
                { "stones", 1000 },
                { "metal_ore", 500 },
                { "sulfur_ore", 250 },
                { "metal_fragments", 100 },
                { "sulfur", 100 },
                // Food
                { "apple", 10 },
                { "blueberries", 10 },
                { "black raspberries", 10 },
                { "wolfmeat_cooked", 5 },
                { "chicken_cooked", 5 },
                { "can_beans", 5 },
                { "can_tuna", 5 },
                { "granolabar", 5 },
                { "chocholate", 5 },
                { "smallwaterbottle", 5}
            };        private double       blueprintProbability;
            private int          minItemsPerBarrel;
            private int          maxItemsPerBarrel;
            private int          minItemsPerCrate;
            private int          maxItemsPerCrate;
            private double       baseItemRarity;
            private double       baseBlueprintRarity;
            private int          refreshMinutes;
            private List<string> itemBlacklist;
            private List<string> blueprintBlacklist;
            private bool         enforceBlacklist;
            private bool         dropWeaponsWithAmmo;
            private Dictionary<string, int> dropLimits;        #endregion        // Stuff that will never drop as a blueprint (default craftable)
            private List<string> defaultBlueprints = new List<string>() {            // Default
                 "ammo_handmade_shell",
                 "arrow_wooden",
                 "attire.hide.boots",
                 "attire.hide.pants",
                 "attire.hide.poncho",
                 "attire.hide.vest",
                 "bandage",
                 "barricade.wood",
                 "bow_hunting",
                 "box_wooden",
                 "building_planner",
                 "burlap_shirt",
                 "burlap_shoes",
                 "burlap_trousers",
                 "cupboard.tool",
                 "door_key",
                 "furnace",
                 "gunpowder",
                 "hammer",
                 "knife_bone",
                 "lock.key",
                 "lowgradefuel",
                 "paper",
                 "pistol_eoka",
                 "box_repair_bench",
                 "sign.wooden.small",
                 "sleepingbag",
                 "spear_wooden",
                 "stone_pickaxe",
                 "stonehatchet",
                 "torch",
                 "urban_boots",
                 "urban_pants",
                 "urban_shirt",
           
                // Non-Default
                //"ammo_pistol",
                //"ammo_rifle",
                //"ammo_shotgun",
                //"axe_salvaged",
                //"barricade.metal",
                //"barricade.woodwire",
                //"box_wooden_large",
                //"bucket_helmet",
                //"burlap_gloves",
                //"coffeecan_helmet",
                "explosive.timed",
                //"hammer_salvaged",
                //"hatchet",
                //"hazmat_boots",
                //"hazmat_gloves",
                //"hazmat_helmet",
                //"hazmat_jacket",
                //"hazmat_pants",
                //"icepick_salvaged",
                //"jacket_snow",
                //"jacket_snow2",
                //"jacket_snow3",
                "lantern",
                //"largemedkit",
                "lock.code",
                //"longsleeve_tshirt_blue",
                //"metal_facemask",
                //"metal_plate_torso",
                //"pickaxe",
                //"pistol_revolver",
                //"rifle_ak",
                //"rifle_bolt",
                //"shotgun_pump",
                //"shotgun_waterpipe",
                //"sign.wooden.huge",
                //"sign.wooden.large",
                //"sign.wooden.medium",
                //"smg_thompson",
                //"spear_stone",
                //"syringe_medical",
                //"trap_bear",
                //"urban_jacket",
                //"urban_shirt",
                //"vagabond_jacket"
            };        // Stuff that will simply never drop
            private List<string> doesNotDrop = new List<string>() {
                // Food
                "apple_spoiled", "bearmeat", "chicken_burned", "chicken_spoiled", "wolfmeat_burned", "wolfmeat_spoiled", "can_beans_empty", "can_tuna_empty",
                // Resources
                "blood", "battery_small", "paper", "skull_human", "skull_wolf", "cupboard.tool", "building_planner", "campfire", "torch", "hammer", "sleepingbag", "lock.key",
                // Junk
                "attire.hide.boots", "attire.hide.pants", "attire.hide.poncho", "attire.hide.vest", "burlap_shirt", "burlap_shoes", "burlap_trousers",
                // Other Junk
                "arrow_wooden", "ammo_handmade_shell", "fat_animal", "cloth", "bone_fragments", "fun_guitar", "tool_camera"
            };
     
    Last edited by a moderator: Apr 11, 2015
  16. CHR

    CHR

    Same happens to my server I have removed it as well. Seems to just happen on populated servers. Can't rusk another crash.
     
  17. CHR

    CHR

    I did another try, i had the Server running without it and all was fine for 3 days. I added betterloot again and the Server starts to lagg after 12 Hours of Play... i dont see Errors or something but im sure ist related to this plugin, sadly. Maybe u can track it down. If u Need a Special file i will upload it.
    [DOUBLEPOST=1429380716,1429162381][/DOUBLEPOST]Finally im sure now it's not related to betterloot. Maybe it does make the lagges appear faster but the plug in is not the reason. It's the cray rustbuild. But it seems there are barrels with no loot.
    [DOUBLEPOST=1429453626][/DOUBLEPOST]Dosnt work anymore... dosnt Change anything.
     
  18. The mod seems like its changing the loot within the rad town crates but not the barrels. I have been seeing a lot of empty barrels. I also have explosive BP and the gun BPs set the same (very rare), but yet I see a tons of explosive BPs and every once and a while an extremely rare gun BP. I think there is an issue with the mod currently.
     
  19. CHR

    CHR

    Would u update it dcode? i miss it :/ @dcode
     
  20. dcode updated BetterLoot with a new update entry:

    1.8.5