Jump to content

Plugin not working - errors in console

Pending 1.2.0

CoreSnap
CoreSnap

Posted

Hello,

I just bought this plugin and can't get it to work at all. Just in its default state, nothing happens on my game when opening a crate, but I get this error in my console:

Failed to call internal hook 'CanLootEntity' on plugin 'LootReroll v1.2.0' [1627232611] (Object reference not set to an instance of an object)
   at object Oxide.Plugins.LootReroll.CanLootEntity(BasePlayer player, StorageContainer container) in C:/RustServer/GTADelayed/carbon/plugins/LootReroll.cs:line 599
   at object Oxide.Plugins.LootReroll.InternalCallHook(uint hook, object[] args) in LootReroll.cs/Internal:line 35
Failed to call internal hook 'OnLootEntityEnd' on plugin 'LootReroll v1.2.0' [3392492984] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.LootReroll.OnLootEntityEnd(BasePlayer player, BaseCombatEntity entity) in C:/RustServer/GTADelayed/carbon/plugins/LootReroll.cs:line 648
   at object Oxide.Plugins.LootReroll.InternalCallHook(uint hook, object[] args) in LootReroll.cs/Internal:line 205

 

I noticed here i forgot to set the 'Enable Data' to True. After removing all instances of the plugin and re-adding it to my server, I made my changes, set to True, saved, reloaded plugin and seemingly same error occurs:

Failed to call internal hook 'CanLootEntity' on plugin 'LootReroll v1.2.0' [1627232611] (Object reference not set to an instance of an object)
   at object Oxide.Plugins.LootReroll.CanLootEntity(BasePlayer player, StorageContainer container) in C:/RustServer/GTADelayed/carbon/plugins/LootReroll.cs:line 599
   at object Oxide.Plugins.LootReroll.InternalCallHook(uint hook, object[] args) in LootReroll.cs/Internal:line 35
Failed to call internal hook 'OnLootEntityEnd' on plugin 'LootReroll v1.2.0' [3392492984] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.LootReroll.OnLootEntityEnd(BasePlayer player, BaseCombatEntity entity) in C:/RustServer/GTADelayed/carbon/plugins/LootReroll.cs:line 648
   at object Oxide.Plugins.LootReroll.InternalCallHook(uint hook, object[] args) in LootReroll.cs/Internal:line 205

 

I noticed there's no currency set and no crates selected, in which 'null' usually means ALL, but for the currency selection, you usually just type in your answer, which causes an error here (tried 'ServerRewards' and 'economics'...both show errors after saving file. This is the first plugin I think I've come across that you can't just overwrite 'null' with your answer.

 

Can you please advise on how this plugin/config needs to be configured in order to work? 

I noticed that this is all the config file has in its default state:

{
  "Enable Data - Set to true once config changes are final to generate data file": true,
  "Currency type (serverrewards/economics/item)": null,
  "Currency display": null,
  "Currency display location (e.g. left = $100 and right = 100$)": null,
  "Item ID (if Currency Type = item)": 0,
  "Free Rerolls (Daily)": 3,
  "Daily Reroll Limit": 5,
  "Free Rerolls VIP (Daily)": 5,
  "Daily Reroll Limit VIP": 10,
  "Crates that can be rerolled": null,
  "Event Preset Names for Sputnik, Convoy, etc...": null
}

 

One of the comments in the discussion mentioned that the old version used to have the entire list of containers added, and now they're not. When trying to add containers in the format he provided, plugin errors out. 

 

Let me know if you have any questions or need further information. 

Aaron

2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

143k

Files Sold

Total number of files sold.

3m

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.