Jump to content
Message added by imthenewguy,

Version 2.0.0 is a complete re-write of the plugin. If you are upgrading from a previous version, your config will most likely be wiped.

4 Screenshots

  • 62.5k
  • 367
  • 41.55 kB

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Flammable

Posted

So If I set the base value to 4500.0, the chance, for example, should be 45%, or the base value is from 1-100 representing 1% - 100%, and the only permission multiplier is, let's say, "weird," 1000 = 10% more. But why is 100% permission increase = 6% instead of 16% if we start with base 3%?

  • Curator
imthenewguy

Posted

3 hours ago, Flammable said:

So If I set the base value to 4500.0, the chance, for example, should be 45%, or the base value is from 1-100 representing 1% - 100%, and the only permission multiplier is, let's say, "weird," 1000 = 10% more. But why is 100% permission increase = 6% instead of 16% if we start with base 3%?

I can't comment on your math as I am not sure what your base chance is.


If you are running on the default chance, a 4500% increase would be a guaranteed casket as it would exceed the 100% mark.
It is calculated by increasing the base change by a percentage.

Base value: 3
Increase: 100%
New value = Base value x Increase, which would be 6

Base value: 3
Increase: 1000%
New value = Base value x Increase, which in this case would be 30

ChristopherS

Posted (edited)

Is it possible to add custom items to the drop tables. I'm wanting to add things from Skill Tree Items & VIP Tokens to the caskets, but in the config I don't see a place for item names. 

If I add an item, for example: "Tome of Skill Points (2)", without being able to name this, would it just show up as a skinned xmas present? 

EDIT: Don't mind me, today I'm just a little blind. I've just had a chance to sit down with my kids going wild and can clearly see there's a section for "display name". Sorry about that 😞

Edited by ChristopherS
  • Haha 1
KayKay

Posted (edited)

Plugin looks like its broken.

Reeling in caskets even before getting the catch, just by having the tackle in the water.

Dev, please look into this.

Disabling Skill tree seems to have fixed it ! :]

Edited by KayKay
ChristopherS

Posted

48 minutes ago, KayKay said:

Plugin looks like its broken.

Reeling in caskets even before getting the catch, just by having the tackle in the water.

Dev, please look into this.

Disabling Skill tree seems to have fixed it ! :]

There's a fix available on Discord. It's a beta version so in testing, but you should join there to get quick access to this.

All you have to do is send proof of purchase to im the new guy and he'll give you access to the fishing treasure channel where you can pick it up.

  • Curator
imthenewguy

Posted

I am waiting for my discord users to confirm the patch works before I push it out.

RustyInf

Posted

weird question... but I was wondering, since the change to fishing, they really wanted to focus on the scrap from fishing conversion... rather than the actual experience of fishing... now its just a bear meat -> shark machine. I was wondering, is it possible on a private server to actually modify item values like bait values for an item? Ive already found that if I just edit some of the skill plugins and such I can make it so i fish so much fish like 3x or 10x or whatever that the bait values over time dont actually matter and you still accumulate fish, but its janky as hell, Id much rather just make it so i can use raw fish as bait as before, and leave everything else the same.

 

i figured since you had to update this plugin after those changes, you might have some insight about it.

thanks man

Pahuan

Posted

When opening a casket, the following error appears in the console.
And if there is a stack of caskets (for example 5), when trying to open one, two caskets are consumed at once, leaving only 3 in the stack.

Failed to call hook 'OnItemAction' on plugin 'FishingTreasure v2.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FishingTreasure.OpenCasket (BasePlayer player) [0x0003f] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.FishingTreasure.OnItemAction (Item item, System.String action, BasePlayer player) [0x00060] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.FishingTreasure.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00653] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0

 

  • Curator
imthenewguy

Posted

23 hours ago, Pahuan said:

When opening a casket, the following error appears in the console.
And if there is a stack of caskets (for example 5), when trying to open one, two caskets are consumed at once, leaving only 3 in the stack.

Failed to call hook 'OnItemAction' on plugin 'FishingTreasure v2.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.FishingTreasure.OpenCasket (BasePlayer player) [0x0003f] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.FishingTreasure.OnItemAction (Item item, System.String action, BasePlayer player) [0x00060] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.FishingTreasure.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00653] in <c3fe4d586ae24a92816b187b3fac9958>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0

 

You have a plugin conflict it seems. Unload all other plugins and test again. Let me know how it goes.

 

Pahuan

Posted

On 9/21/2025 at 10:18 AM, imthenewguy said:

You have a plugin conflict it seems. Unload all other plugins and test again. Let me know how it goes.

 

I tested it with only one plugin running - same issue. Maybe the default configuration is generated incorrectly. Here it is:

{
  "General Settings": {
    "Base chance of obtaining a casket when catching a fish [%]": 3.0,
    "Permission based chance modifiers [1.0 = 100% increase to the base chance value]": {},
    "Loot rolls per casket": 3,
    "Casket info": {
      "shortname": "halloween.lootbag.large",
      "skin": 2560835553,
      "displayName": "casket"
    },
    "Sounds when opened": {
      "Common": "assets/prefabs/misc/halloween/lootbag/effects/bronze_open.prefab",
      "Rare": "assets/prefabs/misc/halloween/lootbag/effects/silver_open.prefab",
      "Epic": "assets/prefabs/misc/halloween/lootbag/effects/gold_open.prefab"
    },
    "Should this plugin handle the item splitting for caskets? [set to false if using a stacks plugin]": false,
    "Automatically enable any new items that are added to the config from Rust updates?": false,
    "Item blacklist [shortname]": []
  },
  "Hotspot Settings": {
    "Enable fishing treasure hotspots": false,
    "Name the hotspot shows when it appears on the map": "Fishing Treasure Hotspot",
    "Sphere darkness": 6,
    "Hotspot size": 50.0,
    "Minimum time a hotspot can be alive for [seconds]": 1600.0,
    "Maximum time a hotspot can be alive for [seconds]": 2000.0,
    "Delay between hotspot deployments [seconds]": 3600.0,
    "Minimum modifier that will be applied to a hotspot": 1.0,
    "Maximum modifier that will be applied to a hotspot": 4.0,
    "Should the hotspot check to see if players have entered/left the zone and notify them?": true,
    "If monitoring for players, how often should we check for players in the hotspot?": 1.0
  },
  "SkillTree settings": {
    "Set to true if you want to add the FishingTreasure buff to the skill tree": true,
    "Maximum level for the modifier buff": 5,
    "Chance increase per level for finding caskets [0.2 = 20%]": 0.2
  },
  "Loot Table": {
    "Common": {
      "enabled": false,
      "tableWeight": 100,
      "loot": []
    },
    "Rare": {
      "enabled": false,
      "tableWeight": 25,
      "loot": []
    },
    "Epic": {
      "enabled": false,
      "tableWeight": 10,
      "loot": []
    }
  }
}

Could you share an example of a working configuration with some values filled in?

  • Curator
imthenewguy

Posted

3 hours ago, Pahuan said:

I tested it with only one plugin running - same issue. Maybe the default configuration is generated incorrectly. Here it is:

{
  "General Settings": {
    "Base chance of obtaining a casket when catching a fish [%]": 3.0,
    "Permission based chance modifiers [1.0 = 100% increase to the base chance value]": {},
    "Loot rolls per casket": 3,
    "Casket info": {
      "shortname": "halloween.lootbag.large",
      "skin": 2560835553,
      "displayName": "casket"
    },
    "Sounds when opened": {
      "Common": "assets/prefabs/misc/halloween/lootbag/effects/bronze_open.prefab",
      "Rare": "assets/prefabs/misc/halloween/lootbag/effects/silver_open.prefab",
      "Epic": "assets/prefabs/misc/halloween/lootbag/effects/gold_open.prefab"
    },
    "Should this plugin handle the item splitting for caskets? [set to false if using a stacks plugin]": false,
    "Automatically enable any new items that are added to the config from Rust updates?": false,
    "Item blacklist [shortname]": []
  },
  "Hotspot Settings": {
    "Enable fishing treasure hotspots": false,
    "Name the hotspot shows when it appears on the map": "Fishing Treasure Hotspot",
    "Sphere darkness": 6,
    "Hotspot size": 50.0,
    "Minimum time a hotspot can be alive for [seconds]": 1600.0,
    "Maximum time a hotspot can be alive for [seconds]": 2000.0,
    "Delay between hotspot deployments [seconds]": 3600.0,
    "Minimum modifier that will be applied to a hotspot": 1.0,
    "Maximum modifier that will be applied to a hotspot": 4.0,
    "Should the hotspot check to see if players have entered/left the zone and notify them?": true,
    "If monitoring for players, how often should we check for players in the hotspot?": 1.0
  },
  "SkillTree settings": {
    "Set to true if you want to add the FishingTreasure buff to the skill tree": true,
    "Maximum level for the modifier buff": 5,
    "Chance increase per level for finding caskets [0.2 = 20%]": 0.2
  },
  "Loot Table": {
    "Common": {
      "enabled": false,
      "tableWeight": 100,
      "loot": []
    },
    "Rare": {
      "enabled": false,
      "tableWeight": 25,
      "loot": []
    },
    "Epic": {
      "enabled": false,
      "tableWeight": 10,
      "loot": []
    }
  }
}

Could you share an example of a working configuration with some values filled in?

Can you move this to a support ticket please?

Pahuan

Posted

On 9/25/2025 at 1:38 PM, imthenewguy said:

Can you move this to a support ticket please?

Do you no longer support this plugin? I don’t understand where exactly I should open this ticket.

  • Curator
imthenewguy

Posted

5 hours ago, Pahuan said:

Do you no longer support this plugin? I don’t understand where exactly I should open this ticket.

I do support it. This is for generally discussions about the plugin (pre-sale questions etc). Support is handled in the support area of the site, like all other plugins.

image.png.735c2a7c0fdcbac6e4fe1ae9a6f4797c.png

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 3

User Feedback

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

136.6k

Files Sold

Total number of files sold.

2.9m

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.