Jump to content

ServerRewards errors in console

Fixed 1.0.6 1.0.7

Salatschleuder
Salatschleuder

Posted

Hey we tried to change to ServerRewards as currency but getting only errors in console:
 

Quote

 

| Failed to call hook 'Upgrade' on plugin 'QuarryLevels v1.0.6' (InvalidCastException: Null object cannot be converted to a value type.)

at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0

at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <99d545163fdd4d57a562df7989f2ca0a>:0

at Oxide.Plugins.QuarryLevels.Upgrade (ConsoleSystem+Arg arg) [0x000fa] in <0d59d6ee0d894183a3f1c22adcd319fd>:0

at Oxide.Plugins.QuarryLevels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0050d] in <0d59d6ee0d894183a3f1c22adcd319fd>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0

 

We created the data file completely new and only switched to  "EnableServerRewards": true,

When we change to economics its works as wanted, just with RP we get the errors.

Kind regards

Mabel

Posted

Having the same problem , getting the following error when trying too use ServerRewards to upgrade 
 

Quote

Failed to call hook 'Upgrade' on plugin 'QuarryLevels v1.0.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.QuarryLevels.Upgrade (ConsoleSystem+Arg arg) [0x000fa] in :0 at Oxide.Plugins.QuarryLevels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0050d] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

Rust Admin

Posted

Failed to call hook 'Upgrade' on plugin 'QuarryLevels v1.0.6' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.QuarryLevels.Upgrade (ConsoleSystem+Arg arg) [0x000fa] in <1048b5e7f07042ba9ff58f8c449492cd>:0
  at Oxide.Plugins.QuarryLevels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0050d] in <1048b5e7f07042ba9ff58f8c449492cd>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

  • Administrator
Death

Posted

Changed Status from Pending to Work in Progress

  • Administrator
Death

Posted

Changed Status from Work in Progress to fixed

Changed Fixed In to Next Version

Salatschleuder

Posted

Thanks but unfortunatly it still does not work for us...:
 

Quote

 

Failed to call hook 'Upgrade' on plugin 'QuarryLevels v1.0.7' (InvalidCastException: Null object cannot be converted to a value type.)

at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0

at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <99d545163fdd4d57a562df7989f2ca0a>:0

at Oxide.Plugins.QuarryLevels.Upgrade (ConsoleSystem+Arg arg) [0x000fa] in <52c4b90e44c1481dbbb321b8850094d1>:0

at Oxide.Plugins.QuarryLevels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0050d] in <52c4b90e44c1481dbbb321b8850094d1>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0

 

 

ZEODE

Posted

Also broken for me, same error when using server rewards.

Bolotnii_Doktor

Posted

Failed to call hook 'Upgrade' on plugin 'QuarryLevels v1.0.7' (InvalidCastException: Null object cannot be converted to a value type.)

at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0

at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Plugins.QuarryLevels.Upgrade (ConsoleSystem+Arg arg) [0x000fa] in <01ab8cef0ccc44b88de62aefb1564f72>:0

at Oxide.Plugins.QuarryLevels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0050d] in <01ab8cef0ccc44b88de62aefb1564f72>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

chuck norris

Posted

@Deathsame error when using server rewards.... 

is there already a solution? I just bought the plugin :s

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.5k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.