Jump to content

ServerRewards errors in console

Gremlins 1.0.6 1.0.7

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

Share this comment


Link to comment

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

 

Share this comment


Link to comment

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)

Share this comment


Link to comment

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

 

 

  • Like 1

Share this comment


Link to comment

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.3k

Files Sold

Total number of files sold.

1.6m

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.