Jump to content

Raidable Bases Quest Error Messages

Closed 1.37.7

Yuki
Yuki

Posted

After completing a RaidableBases Event the console is throwing the following Error Message

Failed to call hook 'OnRaidableBaseCompleted' on plugin 'Battlepass v1.37.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Battlepass.GetMissionAmount (Oxide.Plugins.Battlepass+MissionConfig mission, Item item, BaseEntity entity, System.Int32 grade, System.Int32 itemAmount, System.String mode, ItemDefinition definition) [0x003be] in <34a6eb9e37934d85a6dd3a571f9cd7a4>:0
at Oxide.Plugins.Battlepass+GeneralMission.Check (BasePlayer player, Oxide.Plugins.Battlepass+PlayerData& data, Oxide.Plugins.Battlepass+MissionType type, Item item, BaseEntity entity, System.Int32 greade, System.Int32 itemAmount, System.String mode, ItemDefinition definition) [0x00076] in <34a6eb9e37934d85a6dd3a571f9cd7a4>:0
at Oxide.Plugins.Battlepass+<OnMissionsProgress>c__AnonStorey6.<>m__0 (Oxide.Plugins.Battlepass+GeneralMission check) [0x00000] in <34a6eb9e37934d85a6dd3a571f9cd7a4>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.Battlepass.OnMissionsProgress (BasePlayer player, Oxide.Plugins.Battlepass+MissionType type, Item item, BaseEntity entity, System.Int32 grade, System.Int32 itemAmount, System.String mode, ItemDefinition definition) [0x0009e] in <34a6eb9e37934d85a6dd3a571f9cd7a4>:0
at Oxide.Plugins.Battlepass.OnRaidableBaseCompleted (UnityEngine.Vector3 raidPos, System.Int32 mode, System.Boolean allowPVP, System.String id, System.Single spawnTime, System.Single despawnTime, System.Single loadTime, System.UInt64 ownerId, BasePlayer owner, System.Collections.Generic.List`1[T] raiders, System.Collections.Generic.List`1[T] intruders, System.Collections.Generic.List`1[T] entities) [0x00045] in <34a6eb9e37934d85a6dd3a571f9cd7a4>:0
at Oxide.Plugins.Battlepass.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e9e] in <34a6eb9e37934d85a6dd3a571f9cd7a4>: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

Tryed all 3 types of config choices

"134": {
      "Mission description": "Raide eine einfache NPC-Basis",
      "Mission type": "RaidableBases",
      "Shortname/prefab": "",
      "Skin (0 - any item)": 0,
      "Upgrade Level (for 'Upgrade' missions)": 0,
      "Display Name (for 'Kill' missions)": "",
      "Amount": 1,
      "Amount of main reward": 1,
      "Give extra reward?": false,
      "Settings extra reward": {
        "Display Name (for display in the interface)": null,
        "ID": 0,
        "Chance": 0.0,
        "Item type": "Item",
        "Image (if empty - the icon is taken by shortname) ": null,
        "Display name (for the item) (if empty - standard)": null,
        "Shortname": null,
        "Skin": 0,
        "Amount (for item)": 0,
        "Command": null,
        "Plugin": null
      },
      "Give second currency?": false,
      "Amount of second currency": 0,
      "Mode (for 'RaidableBases' missions)": "Easy"
    },
	"135": {
      "Mission description": "Raide eine Medium NPC-Basis",
      "Mission type": "RaidableBases",
      "Shortname/prefab": "",
      "Skin (0 - any item)": 0,
      "Upgrade Level (for 'Upgrade' missions)": 0,
      "Display Name (for 'Kill' missions)": "",
      "Amount": 1,
      "Amount of main reward": 1,
      "Give extra reward?": false,
      "Settings extra reward": {
        "Display Name (for display in the interface)": null,
        "ID": 0,
        "Chance": 0.0,
        "Item type": "Item",
        "Image (if empty - the icon is taken by shortname) ": null,
        "Display name (for the item) (if empty - standard)": null,
        "Shortname": null,
        "Skin": 0,
        "Amount (for item)": 0,
        "Command": null,
        "Plugin": null
      },
      "Give second currency?": false,
      "Amount of second currency": 0,
      "Mode (for 'RaidableBases' missions)": null
    },
	"136": {
      "Mission description": "Raide eine schwere NPC-Basis",
      "Mission type": "RaidableBases",
      "Shortname/prefab": "",
      "Skin (0 - any item)": 0,
      "Upgrade Level (for 'Upgrade' missions)": 0,
      "Display Name (for 'Kill' missions)": "",
      "Amount": 1,
      "Amount of main reward": 1,
      "Give extra reward?": false,
      "Settings extra reward": {
        "Display Name (for display in the interface)": null,
        "ID": 0,
        "Chance": 0.0,
        "Item type": "Item",
        "Image (if empty - the icon is taken by shortname) ": null,
        "Display name (for the item) (if empty - standard)": null,
        "Shortname": null,
        "Skin": 0,
        "Amount (for item)": 0,
        "Command": null,
        "Plugin": null
      },
      "Give second currency?": false,
      "Amount of second currency": 0,
      "Mode (for 'RaidableBases' missions)": ""
    }

 

Yuki

Posted (edited)

Ticket can be closed. Found the soultion myself.
Raidable Bases modes are Easy = 0, Medium = 1, Hard = 2, Expert = 3, Nightmare = 4

Edited by Yuki
Paul H.

Posted

I have the same problem, where and how did you solve it exactly?

 

Mevent

Posted

@Paul H.

There was an empty "Mode" in the config:

      "Mode (for 'RaidableBases' missions)": ""

 

Mevent

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.