Jump to content

Error in console

Closed 0.4.9 0.5.0

MightyBeard

Posted

Server is getting this error as soon as a player uses gmini.

NullReferenceException: Object reference not set to an instance of an object
Failed to call hook 'OnPlayerInput' on plugin 'MyMiniCopter v0.4.9' (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.MyMiniCopter.OnPlayerInput (BasePlayer player, InputState input) [0x001e0] in <bfb39093c69e4c6fb673029941b2d805>:0
  at Oxide.Plugins.MyMiniCopter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d7] in <bfb39093c69e4c6fb673029941b2d805>:0                                                                                                                                       22kb/s in, 232kb/s out
  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 <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
MightyBeard

Posted

Here is the config.

{
  "Global": {
    "allowWhenBlocked": true,
    "allowRespawnWhenActive": false,
    "useCooldown": true,
    "useNoEscape": false,
    "useFriends": false,
    "useClans": false,
    "useTeams": false,
    "copterDecay": false,
    "allowDamage": false,
    "killOnSleep": false,
    "allowFuelIfUnlimited": false,
    "allowDriverDismountWhileFlying": true,
    "allowPassengerDismountWhileFlying": true,
    "debug": false,
    "StopEngineOnfmini": false,
    "stdFuelConsumption": 0.25,
    "cooldownmin": 15.0,
    "mindistance": 0.0,
    "fminidistance": 0.0,
    "minDismountHeight": 7.0,
    "startingFuel": 0.0,
    "Prefix": "[My MiniCopter]: ",
    "TimedHover": false,
    "DisableHoverOnDismount": true,
    "EnableRotationOnHover": true,
    "PassengerCanToggleHover": false,
    "HoverWithoutEngine": false,
    "UseFuelOnHover": true,
    "HoverDuration": 60.0,
    "UseKeystrokeForHover": true,
    "HoverKey": 134217728
  },
  "Version": {
    "Major": 0,
    "Minor": 4,
    "Patch": 9
  },
  "VIPSettings": {}
}

 

RFC1920

Posted

Changed Fixed In to Next Version

  • Like 1
RFC1920

Posted

Changed Status from Pending to Closed

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

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.