Jump to content

1 Screenshot

  • 836k
  • 7.3k
  • 52.51 kB

Recommended Comments



  • Administrator

Just looking at the description again, his example config has a section called

"Send In Npc BackUp Settings"

and it has an option called

""Loot From CustomLoot Profile Name": [],

 

so it looks like maybe the plugin already supports CustomLoot for its npcs' loot. 👍

 

Link to comment
Share on other sites

Hey, does this work side by side with Magic Loot? I mean Im using magic loot for crate's loot, and planning to use your plugin for solely NPC loot.

Link to comment
Share on other sites
  • Administrator

Hi,
Yes, you can enable settings for npc corpses only without affecting any loot crates or barrels, if you want. 👍

  • Like 1
Link to comment
Share on other sites

Hi,

Since this wipe, custom loot for Bradley and Heli crates does not seem to work anymore. While other crates have their loot changed with no problem (I have at least tested hackablelockedcrates, elitecrates and supplydrops).
I do run Bradley Tiers/Bradley Guards as well as Personal Heli on my server, but all loot options on their side have been set to false, and Custom Loot has always worked with those plugins as well.

My server had a one-week event with vanilla loot at the end of previous wipe, therefor I cannot guarantee this happened because of the new wipe, but when reactiving CustomLoot for this wipe both Bradley crates and Heli crates had their loot reverted to vanilla loot (no change in configs from when it was working).

Any idea as to why this happened ? And specifically only for (presumably) these two types of crates ?

Thanks for the help 🙂

Link to comment
Share on other sites
1 hour ago, eov-dev said:

Hi,

Since this wipe, custom loot for Bradley and Heli crates does not seem to work anymore. While other crates have their loot changed with no problem (I have at least tested hackablelockedcrates, elitecrates and supplydrops).
I do run Bradley Tiers/Bradley Guards as well as Personal Heli on my server, but all loot options on their side have been set to false, and Custom Loot has always worked with those plugins as well.

My server had a one-week event with vanilla loot at the end of previous wipe, therefor I cannot guarantee this happened because of the new wipe, but when reactiving CustomLoot for this wipe both Bradley crates and Heli crates had their loot reverted to vanilla loot (no change in configs from when it was working).

Any idea as to why this happened ? And specifically only for (presumably) these two types of crates ?

Thanks for the help 🙂

The Heli loot might have something to do with the Helicopter name change by FP  (?)

  • Like 1
Link to comment
Share on other sites
  • Administrator

@eov-dev- Most likely some plugin is giving those crates and OwnerID - Probably so they're tied to a certain player.
CustomLoot ignores crates with OwnerID not zero, as it usually indicates some other plugin has spawned, or is modifying, that crate.

If you use a plugin that locks loot to a certain player, take a look at its config and see if it has any options relating to CustomLoot.

Link to comment
Share on other sites
26 minutes ago, Steenamaroo said:

@eov-dev- Most likely some plugin is giving those crates and OwnerID - Probably so they're tied to a certain player.
CustomLoot ignores crates with OwnerID not zero, as it usually indicates some other plugin has spawned, or is modifying, that crate.

If you use a plugin that locks loot to a certain player, take a look at its config and see if it has any options relating to CustomLoot.

Thanks for your quick response. I do have LootDefender (by nivex) installed, but I always had that plugin and never encountered the problem with Bradley/Heli crates before. I've checked the config file and did not see any option relating to CustomLoot. I'll investigate further this evening.

  • Like 1
Link to comment
Share on other sites
On 10/9/2023 at 4:16 PM, eov-dev said:

Thanks for your quick response. I do have LootDefender (by nivex) installed, but I always had that plugin and never encountered the problem with Bradley/Heli crates before. I've checked the config file and did not see any option relating to CustomLoot. I'll investigate further this evening.

So I tested it and indeed if I unload LootDefender, CustomLoot works again on those crates. It's really surprising because it worked fine until now, and none of the two plugins have been updated recently. Also, for some reason Hackable locked crates or supply drops, which are also accounted for in LootDefender, do have CustomLoot loots. I have tried a few settings but I haven't found any that worked. Guess I'll have to remove LootDefender for now

Link to comment
Share on other sites

Hi,

 

Sorry to bother (again) 😞 But as of yesterdays update, map markers for locked crates disappear due to CustomLoot.

This can be reproduced with only CustomLoot installed, and it only seem to destroy cratemarkers, the console gives as message :
Calling kill - but already IsDestroyed!? cratemarker[0]
However, no idea if that message is directly generated by CustomLoot or by Rust itself.
The map marker appears for a split second and then is killed. Oil rig, chinook crate and event-based locked crate are all affected by this.
Removing CustomLoot resolved the issue for me, I have also tested it locally with only CustomLoot installed and got the same problem.

Any idea what could cause this ?

Thanks in advance

(Also, I don't know if it is better to write here for these kind of problems or to open a support ticket ?)

Edited by eov-dev
Link to comment
Share on other sites
6 minutes ago, eov-dev said:

Hi,

 

Sorry to bother (again) 😞 But as of yesterdays update, map markers for locked crates disappear due to CustomLoot.

This can be reproduced with only CustomLoot installed, and it only seem to destroy cratemarkers, the console gives as message :
Calling kill - but already IsDestroyed!? cratemarker[0]
However, no idea if that message is directly generated by CustomLoot or by Rust itself.
The map marker appears for a split second and then is killed. Oil rig, chinook crate and event-based locked crate are all affected by this.
Removing CustomLoot resolved the issue for me, I have also tested it locally with only CustomLoot installed and got the same problem.

Any idea what could cause this ?

Thanks in advance

(Also, I don't know if it is better to write here for these kind of problems or to open a support ticket ?)

I'm getting same error "Calling kill - but already IsDestroyed!? cratemarker[0]" after 7th Dec update, but it was from different plugin(Guarded Crate)

So It might not exactly from this plugin but might be related to plugins that provides API, or possibly just FP changed something in their code.

Link to comment
Share on other sites
25 minutes ago, abcderanzi said:

I'm getting same error "Calling kill - but already IsDestroyed!? cratemarker[0]" after 7th Dec update, but it was from different plugin(Guarded Crate)

So It might not exactly from this plugin but might be related to plugins that provides API, or possibly just FP changed something in their code.

Oh, that's strange. I also have GuardedCrate but removing it did not solve the problem. I've just tested it again with only GuardedCrate and no problems with map markers. As soon as I add CustomLoot however, the problem reappears: that is, mapmarkers are actively destroyed (it is not just the new ones)

Link to comment
Share on other sites
  • Administrator

Thanks for reporting this.
I guess something that CustomLoot does, and some other plugins do, must now trigger a refresh or something like that.
I'll see if I can recreate it on a test server and work around it. 👍

  • Love 2
Link to comment
Share on other sites
  • Administrator

I see what's changed.
Should be a quick and easy fix. I'll see about getting it public either tonight or tomorrow.
Thanks again!

  • Like 2
Link to comment
Share on other sites

anyone got a link to a video or something i cant follow these instructions, im setting the npcs to false etc and theyre all still spawning everything the same, trying to make a prim server but the npcs keep dropping rifle ammo etc

Edited by carlness
Link to comment
Share on other sites
On 12/8/2023 at 7:08 PM, Steenamaroo said:

I see what's changed.
Should be a quick and easy fix. I'll see about getting it public either tonight or tomorrow.
Thanks again!

Hey Steenamaroo, any news on this ? Would be awesome, thanks 🙂

  • Like 1
Link to comment
Share on other sites

No, it isn't  😞
Please look at your own post from 08.12 🙂
With custom loot installed I get constantly these "
Calling kill - but already IsDestroyed!? cratemarker[0]" errors
and the crate isn't shown on the map.

Link to comment
Share on other sites
  • Administrator

Oh, ok. The marker issue.
Apart from the marker not showing, the plugin should work fine.


I have a fix for that that someone was testing but I never heard back. As far as I know it should work well, though, so I'll publish that soon.
Thanks for the reminder.

Edited by Steenamaroo
  • Like 1
Link to comment
Share on other sites

Yes. I think it's only the marker. But it is important as well 🙂
Having a fix sounds great ! Looking forward to it !
Thanks for your effort !

  • Like 1
Link to comment
Share on other sites
9 hours ago, Steenamaroo said:

Oh, ok. The marker issue.
Apart from the marker not showing, the plugin should work fine.


I have a fix for that that someone was testing but I never heard back. As far as I know it should work well, though, so I'll publish that soon.
Thanks for the reminder.

Still working great for me , had no idea the crate marker was for this plugin as it doesnt generate crates afaik , anyway have a great New Year

Link to comment
Share on other sites
  • Administrator

You're right - CustomLoot doesn't create the crate, or the marker, but recent changes in Rust code mean that the vanilla marker gets destroyed if anything is moved into, or out of, the crate.
I've written a workaround for that which I'll drop here for testing asap, although my rust computer's not likely to be up today.
Maybe tonight...if not tomorrow.

  • Love 2
Link to comment
Share on other sites
  • Administrator

I added additional null checking as per reply so, yes, hopefully that should be resolved.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 3
  • Love 6

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.