Ok. So.
I was using the BetterLoot plugin, but then we can't get quarries anywhere... I'd love to be able to add things to the drop list, but the LootConfig plugin is really not friendly to use.
Something like LootConfig, for barrels and airdrops, but getting BetterLoot's results and functionality and user-friendly-ness...
I don't think there's anything out there already in the plugin list. Can it be made to happen?
I would help out all I could, but I'm still learning.
Thanks!![]()
Solved Better loot
Discussion in 'Plugin Requests' started by KittyMeowMeow, Jul 8, 2015.
-
So basically you want a BetterLoot with a config file?
-
Like, if BetterLoot used the data folder and had a full list of all the items, with the rarity value that it uses editable as well...
Something like that... -
Well i kinda just wrote something similiar for Supply drops, but you gotta add every item yourself xD, once im done with this plugin ill see if i can do this
-
Hello,
So, I've posted in some other forums about my frustrations with the loot plugins out there. Better Loot isn't updating anymore, and I couldn't get any Mining Quarries in my drops. Loot Config's config is wayyy too complicated.
So I want to make a new one. Modifying the existing ones, or what have you.
The problem is, I don't know enough about coding, or coding these plugins specifically. So I have some questions.
First, from the Loot Config Plugin, these lines:
private readonly Regex _findLoot = new Regex("loot|crate|supply_drop", RegexOptions.Compiled | RegexOptions.IgnoreCase); (27)
var prefabs = GameManifest.Get().pooledStrings.ToList().ConvertAll(p => p.str).Where(p => _findLoot.IsMatch("loot|crate|supply_drop")).ToArray(); (184)
... I'm gathering I need to learn something about regular expressions... where does GameManifest.Get() come from? I should learn Arrays too.
For the Better Loot Plugin:
Why wouldn't loot containers have mining quarries in them? The plugin seems to use the item list...
It uses a "rarity" system... Is there any way to see what items have what rarities?
Like is there code for that?
Bonus points for helping me figure out what's up with the
using Rust
using Linq
using System
What are those and where are they located? where does the "using" thing point to?
That's all the questions I have for now. Thank you very very much with any help you can provide. -
Wow those are some loaded questions. I'm not familiar with Loot Config (can't even find the download for it) but I have BetterLoot here.
If you're coming at this with absolutely no coding experience, this is probably too complicated for a newbie. I can give this a try myself, but I'm busy on a few other plugins right now.
If you want to get into coding, you're going to need to decompile the Rust DLL's using something like dotPeek (that's what I use, there may be other, better ones out there). Specifically the RustDedicated_Data/Managed/Assembly-CSharp.dll file. (Do this with server code, not your local client code.
Since I don't have the code for LootConfig I can't tell you why it uses Regex. But I would probably be, partially right, in saying you don't necessarily need regex.
GameManifest is in the Assembly-CSHarp.dll I mentioned above. http://screencast.com/t/bPXcxRcU
Item info is in the Assemply-CSharp.dll again, in the Item and ItemDefinition classes. The code I linked you above will access it.
using is C#, which tells it to use the Rust, System and Linq libraries. It allows your script to access classes and functions in these libraries.
I know my answer is pretty damn scattered but no one has answered you, so here is the best I can do.
On that github I linked are all of my plugins, peruse through the code a bit and see if any of it makes sense. If you have previous coding experience with other languages, maybe it'll start to click. -
BetterLoot would work fine if the author looked thru it. As you say, some items doesn't seem to drop from barrels. Other than that I relaly like BetterLoot, it just needs to be looked at and maybe update. Sadly many of the good big plugins seems to be "inactiv" now.
-
What's wrong with BetterLoot? I've been using it for a while and it seems fine... Drops new items and all..?
Just for the record I'm using BetterLoot and I did get a mining quarry in a barrel this week.. I guess it's just the RNG being mean to you. I have yet to see explosive ammo drop though, but that's probably the RNG being mean to meLast edited by a moderator: Jul 8, 2015 -
Hello, I saw that with the old "BetterLoot" mod, there is no loot spawn in the server and it fucks with the bp frags aswell. I'm looking for another better loot mod. I really liked the old one, It worked great. Can you please help me, I don't want to find a Torch in a chest. Thanks.
-
Wulf Community Admin
There are few versions in its thread, but if someone wants to and is capable, the plugin is available from the original author for someone to maintain.
-
-
If you can find me a similar mod you'll help a lot. -
Lord, check Cornucopia it allows you to add barrels and rad town crates over the map. While they still have the vanilla loot if you add enough it ends up being similarm
-