Jump to content

loot boxes disappear randomly

Pending 3.0.6

tacman1981


tacman1981

Posted

as the title says, there is a random issue with boxes having no contents when broken. it only seems to happen periodically according to player reports.

nivex

Posted

hi, this would be caused by another plugin. we are trying rcon narrow it down. but its inconsistent 

  • Like 1
K9N_Twitch

Posted (edited)

The same problem is occurring.

I'm not sure if it's related, but items have also disappeared from BetterNPC's corpse bag.

Edited by K9N_Twitch
  • Like 1
nivex

Posted

It is related. The problem is due to pooling, which affects multiple plugins or game behavior related to items.

A restart can temporarily fix it. There's no known cause yet. I see no indication of RB being the cause yet either.

 

  • Like 1
K9N_Twitch

Posted

Rcon: Item.SetParent caused remove - this shouldn't ever happen

nivex

Posted

Doubt it's related

tacman1981

Posted

1 hour ago, nivex said:

It is related. The problem is due to pooling, which affects multiple plugins or game behavior related to items.

A restart can temporarily fix it. There's no known cause yet. I see no indication of RB being the cause yet either.

 

oh no, its definitely not raiadable bases causing it, it is sadly just another victim to whatever plugin is messing with all of the loot

nivex

Posted

Yeah, it's a crap shoot, and...

This isn’t a straightforward case where removing the offending plugin will instantly confirm it as the source of the problem.

No, It could take hours or even all day to determine. You can't assume that because the issue seemingly stopped that you've found the cause. It is not that simple with a pooling issue.

If someone wants to try:

1. Remove a suspected plugin .cs file
2. Restart your server
3. Wait for the issue to return
4. If the issue returns, repeat with another plugin
5. Otherwise, continue waiting for no less than 12 hours.
6. If you skip a step, then you'll likely report the wrong plugin as the cause, and you'll know this when the issue returns again.

VERY frustrating.

  • Like 2
Demo_71

Posted

hello, other thing we can do is see what plugins we have in common the test removing directly those ones, have anyone try removing the rb plugin and see if the problem shows up again? im not saying RB is causing the issue just think is a good starting point to do this "debugging".

 

nivex

Posted

shouldnt be rb. I use pooling properly.

Th3St1ckyBand1t

Posted

I didn't delete my previous version of the .json file. I only replaced the .cs file. I'm not having any issues with stuff disappearing yet. Is there a check for skinnable items that are in the box and are deleting the entire loot bag vs just the skinned item or something? Maybe I just haven't run into it yet. I turned off all the skin options manually before the force wipe to avoid having to have the RB update.

nivex

Posted

hi, nah, 

rb determines what spawns in the box. it doesn't determine what drops from it.

 

K9N_Twitch

Posted

Loaded 181 items from RaidableBases\Difficulty_Loot\Easy
Loaded 196 items from RaidableBases\Difficulty_Loot\Medium
Loaded 207 items from RaidableBases\Difficulty_Loot\Hard
Loaded 189 items from RaidableBases\Difficulty_Loot\Expert
Loaded 222 items from RaidableBases\Difficulty_Loot\Nightmare
Loaded 182 items from RaidableBases\Default_Loot
Loaded 4 items from RaidableBases\Base_Loot\Easy Bases
Loaded 4 items from RaidableBases\Base_Loot\Medium Bases
Loaded 4 items from RaidableBases\Base_Loot\Hard Bases
Loaded 4 items from RaidableBases\Base_Loot\Expert Bases
Loaded 4 items from RaidableBases\Base_Loot\Nightmare Bases
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen
Item.SetParent caused remove - this shouldn't ever happen

There is an error like this in the log. Is it related?

nivex

Posted

hi, not related 😞

Item.SetParent is from an item in the game

Items from the loot tables haven't been created at that point yet

nivex

Posted (edited)

.

 

Edited by nivex
nivex

Posted

I’ve found an issue with ServerRewards as current as 2.0.5

Please update to ServerRewards 2.0.6.

If you are currently experiencing issues, you will need to restart your server after installing the 2.0.6 update.

  • Love 1
tacman1981

Posted

after a few hours, the problem has returned, same issue. loot drops, open box, no contents, goes away on loot end.

nivex

Posted (edited)

44 minutes ago, tacman1981 said:

after a few hours, the problem has returned, same issue. loot drops, open box, no contents, goes away on loot end.

That would still be a pooling issue. Either you have not updated ServerRewards 2.0.6, or you have a second plugin with the same issue 😞

You can confirm by using this plugin. Output is shown in the server console, but there is no reason to read that output until AFTER the test:

/np.reset
ent kill on the box
loot the bag dropped from the box.
do this as quickly as you can, the issue will return.

NivexPoolReset.cs

Edited by nivex
  • Love 1
tacman1981

Posted

23 minutes ago, nivex said:

That would still be a pooling issue. Either you have not updated ServerRewards 2.0.6, or you have a second plugin with the same issue 😞

You can confirm by using this plugin. Output is shown in the server console, but there is no reason to read that output until AFTER the test:

/np.reset
ent kill on the box
loot the bag dropped from the box.
do this as quickly as you can, the issue will return.

NivexPoolReset.cs 1.46 kB · 0 downloads

this is cool. it is also insane how many ItemsTaken it quickly builds up.

  • Like 1
nivex

Posted (edited)

can you post the output of when you first ran the command? but only if you were having the issue when you ran the command, otherwise it won't be that useful @tacman1981

Edited by nivex
tacman1981

Posted (edited)

22:52 [Info] [Nivex Pool Reset] [before reset] ItemsCapacity=512 ItemsInStack=18 ItemsInUse=521 ItemsTaken=5056005 ItemsCreated=539 ItemsSpilled=0 MaxItemsInUse=539
22:52 [Info] [Nivex Pool Reset] [after reset] ItemsCapacity=512 ItemsInStack=0 ItemsInUse=0 ItemsTaken=0 ItemsCreated=0 ItemsSpilled=0 MaxItemsInUse=0

this is what i meant by it gets out of control fast.

Edited by tacman1981
tacman1981

Posted

1 minute ago, nivex said:

@tacman1981

sure. did that briefly allow the items to drop?

apparently not, players report it really only happens once the loot is on the floor, you try to loot it, and its just empty or invalid item

nivex

Posted

@tacman1981

briefly would be in a second or two, so relying on players will not work. 

you run the command, then quickly see if it drops it or not. the problem will return almost immediately by whatever plugin is causing it


1.9m

Downloads

Total number of downloads.

9k

Customers

Total customers served.

131.4k

Files Sold

Total number of files sold.

2.7m

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.