Jump to content

Join command error

Closed 1.0.3 1.0.4

Ondraasek


hey, if players wanna join, it says at console:

11/30 19:26:01 | Failed to call hook 'joinCommand' on plugin 'SubWars v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SubWars.joinCommand (Oxide.Core.Libraries.Covalence.IPlayer iplayer, System.String command, System.String[] args) [0x0002f] in <dfa0cf563d644e48abbde193f1125dce>:0
at Oxide.Plugins.SubWars.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00cd3] in <dfa0cf563d644e48abbde193f1125dce>: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

11/30 19:26:12 | Failed to call hook 'joinCommand' on plugin 'SubWars v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SubWars.joinCommand (Oxide.Core.Libraries.Covalence.IPlayer iplayer, System.String command, System.String[] args) [0x0002f] in <dfa0cf563d644e48abbde193f1125dce>:0
at Oxide.Plugins.SubWars.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00cd3] in <dfa0cf563d644e48abbde193f1125dce>: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

the permission is only for person starting the event

give me a sec

permission is case sens. "oxide.grant group default subwars.use" change this to 

 

oxide.grant group admin SubWars.use

 

players should not have this permission ..... permisssion only for person starting event ..... aka admin

 

and joinsubwars only works if event was created by admin

 

Edited by NooBlet

Share this comment


Link to comment

no its not working even to me when I try to do /joinsubwars:

 

11/30 19:47:51 | Failed to call hook 'joinCommand' on plugin 'SubWars v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SubWars.joinCommand (Oxide.Core.Libraries.Covalence.IPlayer iplayer, System.String command, System.String[] args) [0x0002f] in <dfa0cf563d644e48abbde193f1125dce>:0
at Oxide.Plugins.SubWars.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00cd3] in <dfa0cf563d644e48abbde193f1125dce>: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

let me know if it works now   . there is a check that detects if a admin uses radar to cheat then kicks them from event ..... didnt think about if server does not use that plugin

Share this comment


Link to comment

works but when I started the event, it ported us under ground and we all are stuck now.

Console says:

11/30 20:01:13 | Failed to run a 1.00 timer in 'SubWars v1.0.4' (KeyNotFoundException: The given key was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.SubWars.RemovePlayerfromEvent (BasePlayer player) [0x00012] in <eab2691da1ea4099954cba990cb3cf08>:0
at Oxide.Plugins.SubWars+<OnEntityDeath>c__AnonStorey0.<>m__0 () [0x00000] in <eab2691da1ea4099954cba990cb3cf08>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

Share this comment


Link to comment

1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

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.