BetterLoot

Moved

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

4.95699/5, 93 likes
  1. the plugin not work good i get only 1 item on crate and mabe 0 items on barels and crate
     
  2. Delete All Settings and Tables in data/BetterLoot and then reload BetterLoot, this will fix anything set wrong or used wrong.
    [DOUBLEPOST=1467983318][/DOUBLEPOST]
    Then you've fukked up accidentally your config/tables :)
    I recommend to delete the tables and then let BetterLoot recreate them, and then check it gain.
     
  3. whare i can find the tables ?
     
  4. Yes but after we do that its going to be like 100000000 of an item so i edited them all and replaced the loottable and the others and when i reload it it gives me the error in console
     
  5. This tells me, you did not read the infos up yet, right? ;)

    BetterLoot uses now a complete rewritten configuration file since before Version 2.x.x.
    BetterLoot creates on first launch the following files in your servers data folder under the new folder BetterLoot:
    Example: "\data\BetterLoot\LootTable.json"
     
  6. I've deleted the .cs and .json file together with the entire data file. Still get the 650 everywhere.
     
  7. the plugin does with latest version nerf down to high values...

    Which error? you need to post this, too, to know what you're talking about ;)
    [DOUBLEPOST=1467983876][/DOUBLEPOST]
    The plugin does not do anything after it's removed..so you've got probalby a complete other problem.
    The already spawned crates/barrels stay resistent until they will be lootet....or removed:

    hit this into console and you are fine from anything BetterLoot did set
    Code:
    del "Assets/bundled/Prefabs/autospawn/resource/loot/"
    del "Assets/bundled/Prefabs/radtown/"
    spawn.fill_populations
    spawn.fill_groups
     
    Last edited by a moderator: Jul 8, 2016
  8. Here is the error i keep getting after deleting the data folder, reloading betterloot and swaping out the loottable for my custom loottable that has the numbers of an item i want but then i always get this.

    [Oxide] 23:10 [Info] Unloaded plugin BetterLoot v2.5.1 by dcode/Fujikura
    [Oxide] 23:10 [Info] Loaded plugin BetterLoot v2.5.1 by dcode/Fujikura
    [Oxide] 23:10 [Info] [BetterLoot] Updating in T-3 ...
    [Oxide] 23:10 [Info] [BetterLoot] Updating internals ...
    [Oxide] 23:10 [Info] [BetterLoot] There are 189 items in the LootTable.
    [Oxide] 23:10 [Error] [BetterLoot] OnTick scheduled update failed: Object refere
    nce not set to an instance of an object
     
  9. plz do in console...
    Code:
    oxide.version
    ...and paste the result
     
  10. Alright, after several testing, this is what we got:

    Freshly uploading BetterLoot (with server restarts)

    Code:
    [Oxide] 06:39 [Info] [BetterLoot] No Blacklist found, creating new file...
    [Oxide] 06:39 [Info] [BetterLoot] No loottable found, creating new file...
    [Oxide] 06:39 [Info] [BetterLoot] No HeliCrate data found, creating new file...
    [Oxide] 06:39 [Info] [BetterLoot] No SupplyDrop data found, creating new file...
    The files created: (See attached files)

    All files start with alot of items which is causing huge problems on the server.

    Code:
    del "Assets/bundled/Prefabs/autospawn/resource/loot/"
    del "Assets/bundled/Prefabs/radtown/"
    spawn.fill_populations
    spawn.fill_groups
    The first 2 didn't work as we already deleted everything.
    The spawn.fill didn't refill/respawn any of the barrels etc and the huge loot is still here.

    What do we need ?
    A fix why it keeps getting 650 of each item. It has to be the .cs file as we have deleted everything, restarted server, uploaded the newest version and reload it. The issue that is causing this has to be from the BetterLo-ot.cs file.

    We also need a command that reload/remove/respawn all barrels/chests etc as this is getting out of the hand.

    We had this problem once before in the update 2 weeks ago which got fixed with the update. This update only caused it.
     

    Attached Files:

  11. heres the version is it the right one ?

    [Oxide] 14:46 [Info] Oxide 2.0.2131 for Rust 939.93 (1470)
     
  12. Mine:
    [Oxide] 06:48 [Info] Oxide 2.0.2125 for Rust 939.87 (1470)

    EDIT: Updated and we now have [Oxide] 06:58 [Info] Oxide 2.0.2131 for Rust 939.93 (1470)
    Still having the same issues after restarting server, freshly uploading new file etc..
     
    Last edited by a moderator: Jul 8, 2016
  13. yea, it is..so its nearly very difficult to find any reason for your "OnTick" problem. The plugin was already designed for such cases to prevent the miss of data..which is meant by the error. I got many testers, myelf on two servers....and this case never happend for me and them :/
    [DOUBLEPOST=1467987486][/DOUBLEPOST]
    Then change all 650th values by searchreplace and you are fine. Every common editor tool should be able to do that.
    The number comes from an derivation of your stacksizes, which will be downgraded on higher stacklimits.
     
  14. Okay so What I Change in the data file is the SupplyDrop.json and the HeliCrate.json and the LootTable.json in notes and change all the high numbers per item to a smaller number most of the items i put zero's for because i don't need them in that crate I didn't change anything in the NamesList.json or Blacklist.json The plugin only wants to work for me when i reload it after deleting the data file and getting those same large numbers like 100000 and once i change 1 of those files in the data folder thats when it gives me the error OnTick.
     
  15. zero??
    Plz try to delete those lines and set them not to zero, like described in the FAQ-section. And tell me then your result
     
  16. Was i not suppose to have 0 of an item ? I just changed all zero's to 1's and switched out the loottable and it freakin works :D
     
  17. I've done that and changed all numbers but after upload, it just gets overwritten again.

    Beside that, what is the command to refresh/respawn/destroy all barrels so at least we can have the normal loot again as temp solution as this is getting way out of our hand atm that we prob are forced to wipe.
     
  18. Sounds good :p
    [DOUBLEPOST=1467988580][/DOUBLEPOST]
    Do you got full write access to your data folder? It sounds more like you got a permission problem there.
     
  19. I assume, it was there? ;)