after rebooting the server error immediately appears
Code:[Oxide] 04:04 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object)

Zone Command
Executes the commands when a player is entering a zone
Total Downloads: 1,112 - First Release: Jul 22, 2015 - Last Update: Mar 17, 2017
- 5/5, 6 likes
-
When it is finished and I reload it per "reload" its works without any problems
Code:(00:10:42) | Loading Complete (00:10:42) | Enforcing SpawnPopulation Limits (00:10:44) | Map Spawned 44757 entities (00:10:44) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:45) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:45) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:45) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:46) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:46) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:47) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:47) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:47) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:48) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:48) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:48) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:49) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:49) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:50) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:50) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:50) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:51) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:51) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:52) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:52) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:52) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:53) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:53) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:53) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:54) | [Oxide] 00:11 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' took: 682ms (00:10:54) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:55) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:55) | [Oxide] 00:11 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' took: 512ms (00:10:55) | [Oxide] 00:11 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' took average: 965ms (00:10:55) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:56) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:56) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:56) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:57) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:58) | [Oxide] 00:11 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' took: 668ms (00:10:58) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:58) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:58) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:59) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:10:59) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:11:00) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:11:00) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:11:00) | [Oxide] 00:11 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.22' (NullReferenceException: Object reference not set to an instance of an object) (00:11:22) | Initializing 44624 entity links (00:11:24) | 12639 / 44624 (00:11:26) | 18948 / 44624 (00:11:28) | 25471 / 44624 (00:11:30) | 34082 / 44624 (00:11:32) | Initializing 27006 stability supports (00:11:32) | Initializing 25241 conditional models (00:11:34) | 7651 / 25241 (00:11:36) | 15809 / 25241 (00:11:38) | 24046 / 25241 (00:11:40) | Connected to Steam
Now it comes also sometimes while the server is running -
deer_SWAG updated Zone Command with a new update entry:
0.0.25
-
After Update and the new database that has to be created, still the same error.
Code:(05:36:20) | Loading Complete (05:36:20) | Enforcing SpawnPopulation Limits (05:36:21) | loot (SpawnPopulation) has 447 objects, but max allowed is 419 (05:36:21) | - deleting 28 objects (05:36:23) | Map Spawned 50638 entities (05:36:23) | [Oxide] 05:36 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:23) | [Oxide] 05:36 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object)[...] >> Deleted around 15 entries to be able to post it here <<(05:36:49) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 562ms (05:36:49) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:49) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 544ms (05:36:50) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:50) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 509ms (05:36:50) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:51) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 932ms (05:36:52) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:52) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:53) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 546ms (05:36:53) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:53) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 561ms (05:36:54) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:54) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 507ms (05:36:54) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:55) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 654ms (05:36:55) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:56) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 907ms (05:36:56) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took average: 797ms (05:36:56) | [Oxide] 05:37 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) (05:36:57) | [Oxide] 05:37 [Warning] CallHook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' took: 674ms (05:37:22) | Initializing 50496 entity links (05:37:25) | 13665 / 50496 (05:37:27) | 20054 / 50496 (05:37:29) | 27939 / 50496 (05:37:31) | 37162 / 50496 (05:37:33) | 50051 / 50496 (05:37:33) | Initializing 31772 stability supports (05:37:33) | Initializing 29660 conditional models (05:37:35) | 7125 / 29660 (05:37:37) | 14780 / 29660 (05:37:39) | 22560 / 29660 (05:37:44) | Connected to Steam
I only have 4 small zones (radius 3 - 5) with the teleport command. -
[DOUBLEPOST=1461137623][/DOUBLEPOST]Do you have the latest version of Zones Manager for Rust | Oxide -
And yes I have that version
Could it be a problem with the teleport.topos command and the thing that it seems that your plugin is initializing really early - before any other plugin is starting? -
I don't know. My plugin is starting when server has been initialized. I'll try "teleport.topos"
[DOUBLEPOST=1461229533][/DOUBLEPOST]Oh. You using teleportation system?
[DOUBLEPOST=1461229599][/DOUBLEPOST]Teleportation System [Unmaintained] | Oxide ?
[DOUBLEPOST=1461229714][/DOUBLEPOST]Hmm... Is it a command that should be executed from client console?
[DOUBLEPOST=1461230053][/DOUBLEPOST]Code:Command not found Command not found Command not found
-
Code:{ "Zones": [ { "Id": "8956579", "Method": 0, "Mode": 0, "Executed": false, "Amount": 0, "Commands": [ "teleport.topos $player.id 45 220 617" ], "Players": [] }, { "Id": "98383632", "Method": 0, "Mode": 0, "Executed": false, "Amount": 0, "Commands": [ "teleport.topos $player.id 45 220 617" ], "Players": [] }, { "Id": "26749068", "Method": 0, "Mode": 0, "Executed": false, "Amount": 0, "Commands": [ "teleport.topos $player.id 45 220 617" ], "Players": [] }, { "Id": "34809313", "Method": 0, "Mode": 0, "Executed": false, "Amount": 0, "Commands": [ "teleport.topos $player.id 45 220 617" ], "Players": [] } ] }
-
I am new to programing well not really programing, more like stumbling through Mods. I am trying to set up Events like Gun Game and so on. Is this the Mod I need to get those started?
Admitedly much of thios information seems based on prior knowledge of other Mods or Something.
A little help would be sweet , please. -
-
OK, sorry about thiat, I thought I was in the Event Manager Mod, I was looking at Zone Control too :/
-
After the daily restart a few minutes ago I see it is still present.Last edited by a moderator: Apr 25, 2016 -
Do I use this Mod at all to set up the GunGame for the Event Manager?
-
Is there a way to prompt a message if a player leaves a zone?
-
-
Code:
[Oxide] 12:24 [Error] Failed to call hook 'OnEnterZone' on plugin 'ZoneCommand v0.0.25' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 12:24 [Debug] at Oxide.Plugins.ZoneCommand.OnEnterZone (System.String zoneID, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ZoneCommand.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Can't recreate the error. When it's happening?
-
deer_SWAG updated Zone Command with a new update entry:
0.0.35
-
is there a way to add a cooldown instead of always/perplayer?
-