Jump to content

Not works command

Not a Bug 3.3.3

BenDer

no command is working
] Failed to call hook 'UILevelsShow' on plugin 'RaidProtection v3.3.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RaidProtection.FormatCurrency (System.String userIdString, System.Nullable`1[T] amount, System.Boolean round) [0x000cb] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0 
  at Oxide.Plugins.RaidProtection.ShowLevels (BasePlayer basePlayer) [0x0082c] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0 
  at Oxide.Plugins.RaidProtection.UILevelsShow (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00015] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0 
  at Oxide.Plugins.RaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02537] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0
[10.28 11:17:35] Failed to call hook 'UILevelsShow' on plugin 'RaidProtection v3.3.3' (NullReferenceException: Object reference not set to an instance of an object)
[10.28 11:17:35] at Oxide.Plugins.RaidProtection.FormatCurrency (System.String userIdString, System.Nullable`1[T] amount, System.Boolean round) [0x000cb] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0
[10.28 11:17:35] at Oxide.Plugins.RaidProtection.ShowLevels (BasePlayer basePlayer) [0x0082c] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0
[10.28 11:17:35] at Oxide.Plugins.RaidProtection.UILevelsShow (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00015] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0
[10.28 11:17:35] at Oxide.Plugins.RaidProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x02537] in <e02bc4f9272d489eb8348d1f9fc36ab7>:0
[10.28 11:17:35] at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0
[10.28 11:17:35] at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0
[10.28 11:17:35] at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

Edited by BenDer
Link to comment

The commands seem to be working for me. Which command in particular are you having issues with? Is it possible there is another plugin that has a conflicting command?

Link to comment

I managed to find a fault, everything is working now, I have only one question, how to replace the icon of the economy with another one, I want to insert a dollar or another currency there

 

Edited by BenDer
  • Like 1
Link to comment

Glad to hear you fixed the issue! You can change the formatting of the economy currency in the lang file. Its this entry:
image.png.1b10b672e805b80c3890ce5a92f5b193.png

If you want it to be a dollar sign you can change the value to "${0}". Hope that helps!

  • Love 1
Link to comment
1.2m

Downloads

Total number of downloads.

5.9k

Customers

Total customers served.

87.1k

Files Sold

Total number of files sold.

1.7m

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.