BetterLoot

Moved

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

4.95699/5, 93 likes
  1. then try maybe "betterloot.reload" from console...sure this works always
     
  2. nothing happens when i tape this from console, but on admin panel through the provider it works. And other plugins, which need to be an admin, work. For instance when i try a command as /rate 0 it works.
    I tried the plugin CustomLootTable and i'd need to add myself with grant user Aeriith customloottable.admin and i wondering if it didn't change something
     
  3. But the chatcommand works as Owner..did test it these minutes ;)
     
  4. Will the new LR300 Assault Rifle be in the loot tables without changing anything in the configs?
     
  5. Okay, I'm now at wit's end. Even after server update, BetterLoot.cs refuses to work. I've enabled it, deleted it, reinstalled it, enabled it, and still says " Plugin not active after first Setup. Change 'pluginEnabled' by config" Can you please copy/paste the entire ENABLED contents of BetterLoot.cs so I can try that? I'm going nuts trying to fix it. Thanks.
     
  6. NullReferenceException: Object reference not set to an instance of an object
    Oxide.Plugins.RemoverTool.GetRefund (.BaseEntity TargetEntity) Oxide.Plugins.RemoverTool.GUIRefundUpdate (.BasePlayer player, Boolean useRefund, .BaseEntity TargetEntity) Oxide.Plugins.RemoverTool+ToolRemover.RemoveUpdate ()
    [DOUBLEPOST=1472187141][/DOUBLEPOST]What is it ? After updating
     
  7. should be asking in the remover tool plugin forum by the looks of it, (?)
    anyway still no luck with this one, i am very sad to say, will leave it "plugged in" as it were just in case it decides it likes me :)
    RCON][85.236.96.34:36627] Oxide.reload BetterLoot
    [Oxide] 16:25 [Info] BetterLoot was compiled successfully in 1795ms
    [Oxide] 16:25 [Info] Unloaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 16:25 [Info] Loaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 16:25 [Info] [BetterLoot] Updating T-'9' Ticks
    [Oxide] 16:25 [Info] [BetterLoot] HeliCrate > loot population is disabled by 'excludeHeliCrate'
    [Oxide] 16:25 [Info] [BetterLoot] SupplyDrop > loot population is disabled by 'includeSupplyDrop'
    [Oxide] 16:25 [Info] [BetterLoot] Updating internals ...
    [Oxide] 16:25 [Info] [BetterLoot] There are 189 items in the global LootTable.
    [Oxide] 16:25 [Error] [BetterLoot] OnTick scheduled update failed: Object reference not set to an instance of an object
     
  8. No, you need to take the correct name from "NamesList.json" and insert it then into the disired file.
    [DOUBLEPOST=1472222382][/DOUBLEPOST]
    Yea, looks you slipped off from RemoverTool to here :)
    [DOUBLEPOST=1472222496][/DOUBLEPOST]
    Whats the "entire ENABLED contents of BetterLoot.cs"? Plz append your config as file with current state of not activating the plugin.
     
  9. The missing option to install custom plugins for some testing on your host prevents to my compunction any solution finding...
     
  10. After many, many tries, I finally got it working. Maybe make the instructions step by step or something, not everyone is a 15 year old computer genius. Thanks for the help. But hold that thought, I'm waiting for crates to repopulate before I know it worked for sure, because I'm getting this message:

    [Oxide] 16:54 [Warning] [BetterLoot] Plugin disabled, no table data found > Creating a new file.
    [Oxide] 16:54 [Warning] [BetterLoot] HeliCrate > table not found, option disabled by 'excludeHeliCrate' > Creating a new file.
    [Oxide] 16:54 [Warning] [BetterLoot] SupplyDrop > table not found, option disabled by 'includeSupplyDrop' > Creating a new file.

    The tables are right where they should be in the data file... I configured them how I want them and it still won't look at them?

    OH And BONUS! I went to reload it to see if it would update the tables? And we're right back to square one.

    [Oxide] 17:08 [Info] Unloaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 17:08 [Info] Loaded plugin BetterLoot v2.6.4 by dcode/Fujikura
    [Oxide] 17:08 [Info] [BetterLoot] Updating T-'3' Ticks
    [Oxide] 17:08 [Warning] [BetterLoot] Plugin not active after first Setup. Change 'pluginEnabled' by config

    NOW what do I do.
     
    Last edited by a moderator: Aug 26, 2016
  11. So where was the "problematic part"?
     
  12. No need to wait. Put 'betterloot.reload' into console to refresh all crates.
     
  13. There aren't step by step instructions, is the "problematic part". You leave first-time users in the dust. Anyway, I had stopped my server, deleted ALL trace of BetterLoot from my server, started the server, waited, server.writecfg to save its current status.... then shut it down again, loaded in a brand new BetterLoot.cs, and it seemed to load fine (meaning RCON didn't return the same 'Plugin not active after first Setup' error) for all of 4 minutes, when I noticed the loot tables weren't loading... and I reloaded BetterLoot .... now it's straight back to "Plugin not active after first Setup. Change 'pluginEnabled' by config".
     
  14. So you need to edit Betterloot.json in your config folder to include "pluginEnabled": true," then reload BetterLoot plugin.
     
  15. It's not betterLoot.json, it's BetterLoot.cs, and I've done "pluginEnabled: true," at least 35 times, but it refuses to load in RCON unless it's a fresh install and I've edited it BEFORE I put it in my plugins folder. Hope that helps anyone else having this problem.
     
  16. Asking or telling?
    The file you need to edit is Betterloot.json in the config folder.

    You'll see "pluginEnabled": false,
    Change it to true.

    If you've edited Betterloot.cs, I'd delete it and reinstall vanilla.
     
  17. M'kay....trying to tyke the dust from it:

    On clean install, the plugin creates the default config.
    Then it checks for the 3 lootable files. This is done by simply counting the lines in them. If they do not exist, it counts ZERO.
    In this case, it will create the files new.
    For each file which was created new, it gives then feedback like this:
    Code:
    Plugin disabled, no table data found > Creating a new file.
    HeliCrate > table not found, option disabled by 'excludeHeliCrate' > Creating a new file.
    SupplyDrop > table not found, option disabled by 'includeSupplyDrop' > Creating a new file
    To bring it on, it's "normally" enough, to switch in config...
    Code:
        "pluginEnabled": true,
    ...and then do reload the plugin.

    The plugin should then load.

    If the plugin was'nt able to read the "LootTable.json", or it did not found any item lines in it, it will create the file new, and revert back "pluginEnabled" to FALSE. You get then again:
    Code:
    Plugin disabled, no table data found > Creating a new file.
    In Your case, maybe you got any issue with uploading/editing files perftp in the data-folder, or sth else.
     
  18. Thank you, it works fine, with my adjustments also. Simple instructions were all I needed. Maybe put that ^^ in the Overview.
     
  19. Would anyone be able to post their loottable? I am getting this error

    [Oxide] 15:27 [Error] [BetterLoot] OnTick scheduled update failed: Error parsing positive infinity value. Path '', line 0, position 0.
     

    Attached Files: