This seems to be an issue when the plugin is loaded for the very first time, feel free to use the attached version that resolves this issue![]()
Better Start [Unmaintained]
Discussion in 'Plugin Support' started by ColonelAngus, Feb 7, 2015.
-
Attached Files:
-
-
Works! Thanks Mughisi
-
Getting this error:
[4/8/2015 11:23:16 PM] [Oxide] 11:23 PM [Error] Failed to call hook 'OnPlayerSpawn' on plugin 'Better Start' (ArgumentException: failed to convert parameters)
after getting this
- I tried reconfiguring the config file - didn't work
- Downloading the plugin again - didn't work
- removing the plugin and config file - SAME ERROR? How?
-
Wulf Community Admin
-
Seem to be pulling this error now:
Code:[Oxide] 1:08 AM [Error] Failed to call hook 'OnPlayerSpawn' on plugin 'Better Start' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 1:08 AM [Debug] at Oxide.Plugins.BetterStart.teachPlayerBlueprints (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterStart.OnPlayerSpawn (.BasePlayer player) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Code:private void teachPlayerBlueprints(BasePlayer player) { PlayerBlueprints blueprints = player.blueprints; foreach (string name in config.startingBlueprints) { Item item = ItemManager.CreateByName(name, 1); item.isBlueprint = true; blueprints.Learn(item.info); } }
Last edited by a moderator: Apr 10, 2015 -
[Warning] BetterStart plugin is using deprecated hook: OnPlayerSpawn
-
Code:
[Oxide] 11:57 AM [Debug] at Oxide.Plugins.BetterStart.giveItem (.BasePlayer player, System.String inventoryName, Oxide.Plugins.itemMeta meta) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterStart.givePlayerStartingItems (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BetterStart.OnPlayerSpawn (.BasePlayer player) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Still get this. Nothing?
-
Wulf Community Admin
-
yes
-
Was also receiving the error. I took out the blueprint portion though, so it is not throwing errors now. I just cannot give blueprints on start any more. :/
See: http://oxidemod.org/threads/better-start-unmaintained.6731/page-3#post-78306 -
is there a plugin like this that is being supported? I guess it would be using the autokit feature of kits and metabolism control...
Last edited by a moderator: May 1, 2015