Jump to content

Huge BUG

Not a Bug 1.2.2

SlayersRust
SlayersRust

Posted (edited)

So the Bug is that the player respawns with all their loot, but their loot is also left on their corpse essentially doubling the amount of loot players can get.

One player had 1000 C4 on his dead body bag and then he respawned using death modifier and now he has 2000 C4.

How can we fix this @Khan?

Here is my config. Also if I set it not to have any allowed containers the corpse has no loot on it at all and erases it.

  "Permissions": {
    "vip": {
      "Resets Cost Increment after x seconds, 0 = disabled": 0,
      "Sets Increment penalty for quick repeated use, 0 = disabled": 0.0,
      "Sets price": 15.0,
      "Sets default currency, 0 = disabled, 1 = Economics, 2 = ServerRewards": 0,
      "Seconds for how long after respawn until you can take damage, 0 = disabled": 0,
      "Sets allowed containers, Belt = 0 | Main = 1 | Wear = 2 | All = 3": [
     3

This appears to only happen within the Raidable Bases spheres of a raidable base plugin by nivex

maybe from corpses turning into body bags in raidable bases zones too fast for your plugin to erase??

Eject Corpses From Enemy Raids is in the profiles.
not an issue with RB though. it is an issue with his plugin and I don't have it so I can't tell you.

probably isn't using the eject hooks or API provided by RB (edited)

object OnRaidablePlayerCorpseCreate(PlayerCorpse corpse, Vector3 raidPos, bool pvp, int mode, BasePlayer owner, List<BasePlayer> raiders, string BaseName)
object OnRaidableBaseBackpackEject(DroppedItemContainer backpack, ulong playerSteamID, Vector3 raidPos, bool pvp, int mode, BasePlayer owner, List<BasePlayer> raiders, string BaseName)
bool EventTerritory(Vector3)

 

Edited by SlayersRust
Khan

Posted

My plugin uses the oxide hooks to prevent backpacks & items from dropping when you die etc.

Raidable Bases Should ignore players inside the bubble so that it does not affect 3rd party plugins.  ( It used to )

The problem is, the hook "OnRaidablePlayerCorpseCreate" does not work to stop raidable bases from modifying / messing up the players corpse when you die. 

Because it is only ever triggered when the config setting in raidable bases is set to true for 'EjectBackpacks' & the player doesn't have a perm called "reviverplayer.use" 

Which means this hook is only called sometimes depending on the players permission & the config toggle.

It still messes up the corpse after that.
further down.

Radiable bases would have to ignore the players body & stop modifying them, or fix the hook so we can actually stop raidable bases from touching the corpse at all, etc. 

image.png.e5049499f6eefceebbf20e33f9079bc0.png
image.png.368e6adf3dfc450f8892a20961636a95.png

Khan

Posted

Changed Status from Pending to Not a Bug

Khan

Posted

Also this is not a bug, but simply a plugin compatibility problem.

Khan

Posted

I've reached out to Nivex & we have worked out a Raidable Bases update with hook changes so that I can update mine & they will work happy together again. 

 

Please wait for the next raidable bases update & death modifier update. 🙂

SlayersRust

Posted

4 hours ago, Khan said:

I've reached out to Nivex & we have worked out a Raidable Bases update with hook changes so that I can update mine & they will work happy together again. 

 

Please wait for the next raidable bases update & death modifier update. 🙂

Okay thank you so much for the help 🙏

SlayersRust

Posted

Wanted to report that this is happening again with raidbases that i i spawn with my loot and my bodybag spawns outside with my stuff also. Nivex suggested I had Raidable Bases kick the loot outside of the zone which I did. But now after the update the loot gets duplicated. It puts the players loot in corpse and they also spawn with it in their inventory. So players can abuse and dupe this.

I have to remove the plugin for further notice. I hope you find a fix soon as my players really rely on this plugin

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

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.