Jump to content

Errors opening GUI after adding rewards

Pending 1.3.1

scarecr0w12

Getting the following error after adding rewards:
 

(23:22:49) | [Oxide] 23:22 [Error] Failed to call hook 'CmdOpenUi' on plugin 'Referrals v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Referrals.MainUi (BasePlayer player, System.Int32 page, System.Int32 rPage, System.Boolean first) [0x010cb] in <30ddfd3f28ce43098c584b33a8e3e7a6>:0 
  at Oxide.Plugins.Referrals.CmdOpenUi (Oxide.Core.Libraries.Covalence.IPlayer cov, System.String command, System.String[] args) [0x00091] in <30ddfd3f28ce43098c584b33a8e3e7a6>:0 
  at Oxide.Plugins.Referrals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0096f] in <30ddfd3f28ce43098c584b33a8e3e7a6>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Config is attached. I think it is because i have 2 rewards for the same amount of referrals? I was thinking this would be how to give 2 rewards

Referrals.json

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

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.