BetterLoot

Moved

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

4.95699/5, 93 likes
  1. I do not use AirdropExtended and don't want to. It has lots of performance issues, especially when changing the Loot. That's why he says in this plugin thread it won't affect performance while editing the airdrop variables.
     
  2. I tried to reload Better Loot because it didn't seem to be working and got this warning in console:

    > oxide.reload BetterLoot
    [Oxide] 11:19 [Info] Unloaded plugin BetterLoot v2.5.3 by dcode/Fujikura
    [Oxide] 11:19 [Info] Loaded plugin BetterLoot v2.5.3 by dcode/Fujikura
    [Oxide] 11:19 [Warning] [BetterLoot] Plugin not active. Change this by config
     
  3. Read this CHANGE info:

    BetterLoot for Rust - 2.5.3 | Oxide
     
  4. OK i took out all the clothing and ekola pistol from Supply drop and now all it drops is what I took out, clothing and ekola, did i do something wrong?

    betterloot.json:

    {
    "Barrel": {
    "barrelTypes": "loot-barrel|loot_barrel",
    "maxItemsPerBarrel": 3,
    "minItemsPerBarrel": 2,
    "refreshBarrels": true
    },
    "Chances": {
    "baseItemRarity": 2
    },
    "Crate": {
    "crateTypes": "crate_normal",
    "maxItemsPerCrate": 6,
    "minItemsPerCrate": 3,
    "refreshCrates": true
    },
    "Generic": {
    "dropWeaponsWithAmmo": true,
    "enforceBlacklist": true,
    "listUpdatesOnLoaded": true,
    "listUpdatesOnRefresh": false,
    "pluginEnabled": true,
    "refreshMinutes": 30
    },
    "HeliCrate": {
    "excludeHeliCrate": false,
    "maxItemsPerHeliCrate": 8,
    "minItemsPerHeliCrate": 8,
    "useCustomTableHeli": true
    },
    "SupplyDrop": {
    "includeSupplyDrop": true,
    "maxItemsPerSupplyDrop": 8,
    "minItemsPerSupplyDrop": 8,
    "useCustomTableSupply": true
    }
    }

    Supplydrop.json

    {
    "ItemList": {
    "rifle.ak": 1,
    "ammo.pistol": 100,
    "ammo.pistol.fire": 100,
    "ammo.pistol.hv": 100,
    "ammo.rifle": 100,
    "ammo.rifle.explosive": 100,
    "ammo.rifle.incendiary": 100,
    "ammo.rifle.hv": 100,
    "ammo.rocket.basic": 1,
    "ammo.rocket.fire": 1,
    "ammo.rocket.hv": 1,
    "ammo.rocket.smoke": 1,
    "ammo.shotgun": 6,
    "ammo.shotgun.slug": 3,
    "arrow.hv": 4,
    "arrow.wooden": 10,
    "axe.salvaged": 1,
    "barricade.concrete": 1,
    "barricade.metal": 1,
    "barricade.sandbags": 1,
    "barricade.stone": 1,
    "barricade.wood": 1,
    "barricade.woodwire": 1,
    "trap.bear": 1,
    "rifle.bolt": 1,
    "bow.hunting": 1,
    "tool.camera": 1,
    "can.beans.empty": 5,
    "cctv.camera": 1,
    "charcoal": 300,
    "cloth": 150,
    "coffeecan.helmet": 1,
    "crossbow": 1,
    "crude.oil": 150,
    "door.double.hinged.metal": 1,
    "door.double.hinged.toptier": 1,
    "door.hinged.metal": 1,
    "door.hinged.toptier": 1,
    "explosive.timed": 2,
    "explosives": 10,
    "fat.animal": 200,
    "flamethrower": 1,
    "weapon.mod.flashlight": 1,
    "floor.grill": 1,
    "floor.ladder.hatch": 1,
    "gates.external.high.stone": 1,
    "gates.external.high.wood": 1,
    "grenade.beancan": 1,
    "grenade.f1": 1,
    "gunpowder": 150,
    "hammer.salvaged": 1,
    "hat.candle": 1,
    "hat.miner": 1,
    "hatchet": 1,
    "weapon.mod.holosight": 2,
    "hq.metal.ore": 100,
    "icepick.salvaged": 1,
     
  5. Looks correct from this sight of view, so BetterLoot can't drop any items other then in the list.
    I could do again a check against the code, but i know i did test those things several times to do what it'S supposed to be...
    Your prob must be caused by another unknown reason which i can't analyze.
     
  6. I am having problems with this plugin since the game and plugin update, I have enclosed the cfg file created by the plugin in the configs folder (it does not create a data folder)
    I changed it to incorporate the overview cfg and a loot list to see if it would work (after deleting any ref to blue prints) it checked out with json validator but i still do not get any response to /loot or /blacklist , could you give me any suggestions ? i would be happy for any input to get it going
     

    Attached Files:

  7. You've got a mixed config file, with old and new options. The best solution would be to begin from scratch, delete the config file and let BetterLoot create a new one. The DRopLimits are now external in different files in the "Oxide/data" folder, like described in FAQ and plugins description.
     
  8. as i said before, the first cfg file is the one created by the plugin which i have uninstalled and installed at least 5 times since the game update and it still shows blueprints as part of the loot and still does not work, that is why i tried to modify it to work, it does not in any way create anything that looks like your overview cfg file.


    I did check out MrSteej's cfg file to see if i could use it but json validator shows these erros
    (maybe the file is incomplete)
    • Error:Strings should be wrapped in double quotes.[Code 17, Structure 118]
    • Error:Multiple JSON root elements[Code 22, Structure 119]
    • Error:Expecting closing } at end[Code 22, Structure 350]
    • Error:Expecting closing } at end[Code 22, Structure 350]
     
    Last edited by a moderator: Jul 12, 2016
  9. I have rebooted server and issue has resolved itself, I suspect the reload after cfg change did not work as it should for whatever reason..
     
  10. You should start at ZERO and delete all BetterLoot related files...its the best advice in your case
     
  11. I wont bother with this plugin till its updated, i HAVE deleted ALL files concerning the plugin more than 7 times and reinstalled it and get the same config created by the plugin which STILL shows blue prints in the file (as shown above) and does not show cfg from your overview page and does not work ,
    I dont think i can repeat this same information more than i have already so will leave it,
    thank you
     
  12. Hi guys !

    I don't know if we have the same problem but I put new version on BetterLoot on my server, and when I delete somes lines in LootTable.json for make them disappear on the server like chocolate or granolabar. They pop in little trash (with bottles) I try to delete or other test but nothing !
    It's the same problem ?
    If no, what's mine ? ^^

    Thank you and sorry for english !
    Regards,
    Katenn

    EDIT : Same problem if I put "chocholate" and "granolabar" in the Blacklist.json.... I'm really confused...
     
    Last edited by a moderator: Jul 13, 2016
  13. Strange, I've reinstalled all plugins since the xp update - but I've struggled with the newest version of this one. I might roll it back to a previous version that worked rather well, but it keep refreshing all the containers every single minute - rendering some huge lag spikes for all the players:

    [Oxide] 02:35 [Info] [BetterLoot] Refreshed 14 containers (1 destroyed)
    [Oxide] 02:36 [Info] [BoxLooters] BoxLooters: Data saved!
    [Oxide] 02:36 [Info] [BetterLoot] Refreshed 16 containers (0 destroyed)
    [Oxide] 02:37 [Info] [BetterLoot] Refreshed 15 containers (0 destroyed)
    [Oxide] 02:38 [Info] [BetterLoot] Refreshed 16 containers (0 destroyed)
    [Oxide] 02:39 [Info] [BetterLoot] Refreshed 7 containers (0 destroyed)

    (I left everything as default, so no, the config does not say refresh every minute.)
     
  14. The trashpiles are not included by default.
    To change this successful the FAQ-section will help you: BetterLoot for Rust - FAQ | Oxide
    This part: Changing included barrels/crates
    [DOUBLEPOST=1468403272][/DOUBLEPOST]
    Its does what 'sit configured to, but it splits the given containers at start to spread them over time, and those which are newly generated have their time window once they spawn. If the plugin really would do ALL containers every minute, believe me, this would then be a lag, if only sone containers are taking down your FPS already.
    Conclusion: all fine :)
     
  15. Okay thank you ^^
     
  16. Wow ! Thank you Fujikura! I read the FAQ like 50 times ! but doesn't see the changement with traspile !
    Best Regards,
    Katenn
     
  17. Ok I have steel the problem with chocolate and granolabar... I put this :

    "Crate": {
    "crateTypes": "crate_normal|Trash-Pile-1",
    "maxItemsPerCrate": 5,
    "minItemsPerCrate": 2,
    "refreshCrates": true

    It's correct ?

    Regards,
    Katenn
     
  18. Had suddenly a type mismatch in the FAQ. plz write "trash-pile-1" (lowercase). Sorry for this.
    I need to sort this out to be not case sensitive in a next version to prevent this problem.
     
  19. YES ! Thank you it's works ! :D
    Thank's a lot Fujikura !
     
  20. Fujikura updated BetterLoot with a new update entry:

    2.6.0


    [DOUBLEPOST=1468419725][/DOUBLEPOST]
    with newest version it will prevent such unregcognized entrys ;)