Jump to content

No Reward (Economics)

Pending 2.7.4

Hey Nivex, love the plugin.

having a small issue where RB is not rewarding players on raid completion for the maintained events

Just wondering what is considered to be Raid completion? i would asume once all loot = 0 it will be complete and payment from Economics would be granted to the Owner of the raid

 

i have tried looting all the boxes and destroying the TC and no reward is given.

 

Any help would be great

Hard.json example below

Quote

"Rewards": {

    "Custom Currency": {

      "Enabled": false,

      "Item Shortname": "scrap",

      "Item Name": null,

      "Amount": 0,

      "Skin": 0

    },

    "Economics Money": 2500.0,

    "ServerRewards Points": 0,

    "SkillTree XP": 0.0,

    "Do Not Reward Buyable Events": false

  },

Skylark

Share this comment


Link to comment

heya

this is for Economics plugin on uMod and IQEconomic

try reloading that economic plugin

otherwise they weren't eligible or your oxide/carbon didn't send the call

you can't use noclip or vanish and can't be admin for rewards if Remove Admin is enabled in the config

if you lock rewards to the owner only but don't use owners then it will never reward too

Edited by nivex

Share this comment


Link to comment

Thanks for the responce man!

How do I disable owners of the maintained events?

 

 

Move Resources Into Tool Cupboard": false,
      "Move Items Into Lockers": true,
      "Lock Treasure To First Attacker": true,
      "Lock Treasure Max Inactive Time (Minutes)": 20.0,
      "Assign Lockout When Lock Treasure Max Inactive Time Expires": false,
      "Lock Players To Raid Base After Entering Zone": false,
      "Only Award First Attacker and Allies": false,
      "Only Award Owner Of Raid": false,
      "Mounts Can Take Damage From Players": false,
      "Player Cupboard Detection Radius": 125.0,
      "Players With PVP Delay Can Damage Anything Inside Zone": false,
      "Players With PVP Delay Can Damage Other Players With PVP Delay Anywhere": false,
      "PVP Delay Between Zone Hopping": 10.0,
      "Prevent Fire From Spreading": true,
      "Prevent Players From Hogging Raids": true,
      "Prevent Fall Damage When Base Despawns": true,
      "Require Cupboard To Be Looted Before Despawning": false,
      "Destroying The Cupboard Completes The Raid": true,
      "Require All Bases To Spawn Before Respawning An Existing Base": false,
      "Turn Lights On At Night": true,
      "Turn Lights On Indefinitely": false,
      "Turn Lights On Bypasses NightLantern": false,
      "Traps And Turrets Ignore Users Using NOCLIP": true,
      "Use Random Codes On Code Locks": true,
      "Wait To Start Despawn Timer When Base Takes Damage From Player": true,
      "Maximum Water Depth For All Npcs": 3.0,
      "Minutes Until Despawn After Looting (min: 1)": 30,
      "Minutes Until Despawn After Looting Resets When Damaged": true,
      "Minutes Until Despawn After Inactive (0 = disabled)": 45,
      "Minutes Until Despawn After Inactive Resets When Damaged": true

 

Share this comment


Link to comment

"Lock Treasure To First Attacker": true,

why do you want to disable that? I didn't suggest this 😛

I stated why they might not be getting a reward. if that's true then it won't prevent them from getting one.

Share this comment


Link to comment

It used to pay with a messages on final loot, now it's not. So I have definitely done something in the global settings to effect this

If I set Lock Treasure To First Attacker to false it will pay once loot is complete?

RustRewards will pay for killing Murderers and scientists.

 

Economics from umod is reloaded but same issue still not paying. I might load original default config and see if it pays and go backwards from there

Edited by skylark
Adding more info

Share this comment


Link to comment

there's no reason to set Lock Treasure To First Attacker to false...

partial settings isn't enough. i'd need the config and profile

but attach the files instead of pasting them

 

Share this comment


Link to comment

you aren't getting a reward because of 2 things:

"Move Resources Into Tool Cupboard": false,
"Destroying The Cupboard Completes The Raid": true,

it's ending the raid immediately because there's no loot in the TC and the second option requires the TC be destroyed or fully looted

you should disable one of those options until the next update, or you can edit the .cs and fix it now. nice bug find. that was probably causing issues for a few others too

return IsCompleted = IsPrivDestroyed || priv.IsKilled() || priv.inventory.IsEmpty();

to

return IsCompleted = IsPrivDestroyed || priv.IsKilled() || config.Settings.Management.Cupboard && priv.inventory.IsEmpty();

you have Send Messages To Players false so you won't see the reward message when you do fix this

Edited by nivex
  • Love 1

Share this comment


Link to comment

Oh nice! Good deal thanks for the help! ill throw loot back in to TC

And I'll update that .cs as well for future endeavours 

I turned off chat messages as I was Expecting Notify to take over for payments

 

Not even sure why I turned it offLin the first place

 

Skylark

Edited by skylark
Adding info

Share this comment


Link to comment
0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.