
RandomSpawner
Randomly spawn a specific amount of an entity on the map
Total Downloads: 1,856 - First Release: Nov 14, 2015 - Last Update: Apr 14, 2017
- 5/5, 4 likes
-
[Oxide] 16:47 [Error] RandomSpawner plugin failed to compile!
[Oxide] 16:47 [Error] RandomSpawner.cs(106,24): error CS1501: No overload for method `Spawn' takes `1' arguments -
Hello,
I like the sound of this plugin and my server is desperate for a respawn of resources but I get the following error, Please could you help.
[Oxide] 15:36 [Error] Error while compiling RandomSpawner.cs(106,24): error CS1501: No overload for method `Spawn' takes `1' arguments
This happened when i typed "oxide.reload RandomSpawner" to load the plugin after install.
I even tried a server restart but unfortunately, same error.
Respectfully, -
-
Thank you! +100000 for service!!!
-
LaserHydra? Know what? YOU ARE AWSOME! Thanks you very much, that really did help me a lot!
-
LaserHydra updated Random Spawner with a new update entry:
1.0.1
-
I keep getting:
[Oxide] 23:44 [Warning] Missing plugin name prefix 'randomspawner.' for permission 'rspawn.getprefabs' (by plugin 'Random Spawner')
[Oxide] 23:44 [Warning] Missing plugin name prefix 'randomspawner.' for permission 'rspawn.use' (by plugin 'Random Spawner')
Am I missing something? Very new to all of this. Thanks for any infor! -
-
UPDATE: Disregard this, I figured it out XD had to use the chat command, if I may make a suggestion though, could you implement some kind of notification when things worked properly? A bit of my confusion came from no ingame feedback, just the lucky chance to come upon an animal XD. Great plugin btw, such a relief because our map was so barren
Hey, it's me again, still having myself some trouble, noob admin here lol:
I tried to spawn some boars because for some reason our server is incredibly dead wildlife wise and got this error in the console
[Error] Failed to call hook 'ccmdSpawnRandom' on plugin 'RandomSpawner v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
I'm running the console command as:
rspawn 25 assets/bundled/prefabs/autospawn/animals/boar.prefab
and getting that error.
Edit: Clarification I'm getting that error running the console command through RustAdmin, but when I run it through the ingame console, I get no error, not even in the RustAdmin logs, I also get no notification that the spawn happened, so I'm not sure if it's working or not.Last edited by a moderator: Jan 6, 2017 -
Error while compiling RandomSpawner.cs(182,28): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `name' and no extension method `name' of type`ConsoleSystem.Command' could be found. Are you missing an assembly reference?
-
Wulf Community Admin
Wulf updated Random Spawner with a new update entry:
1.2.0
-
-
yupp it seems the download is not updating
[DOUBLEPOST=1487426242][/DOUBLEPOST]
comment out the teleportation bit
/* commenting out this bit */ like this -
Wulf Community Admin
-
Wulf Community Admin
Wulf updated Random Spawner with a new update entry:
1.2.0
-
trying to run console command within rustadmin
(15:26:23) | [RCON][xxxxxxxxxxxxxx] rspawn 10 "assets/bundled/prefabs/autospawn/animals/bear.prefab"
(15:26:23) | Failed to call hook 'ccmdSpawnRandom' on plugin 'RandomSpawner v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
error log:
Code:12:26 [Error] Failed to call hook 'ccmdSpawnRandom' on plugin 'RandomSpawner v1.2.0' (NullReferenceException: Object reference not set to an instance of an object) 12:26 [Stacktrace] at Oxide.Plugins.RandomSpawner.RunAsChatCommand (.Arg arg, System.Action`3 command) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RandomSpawner.ccmdSpawnRandom (.Arg arg) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RandomSpawner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Apr 14, 2017 -
Failed to call hook 'ccmdSpawnRandom' on plugin 'RandomSpawner v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
I also get:
FileSystem.LoadPrefab - should start with assets/ - bear
[BUNDLE] Not found: bear
Couldn't find prefab "bear" -
18:06 [Error] Error while compiling: RandomSpawner.cs(42,65): error CS0117: `GameManifest' does not contain a definition for `Get'
Plugin might be broken